Statistics
| Branch: | Tag: | Revision:

root / astakosclient @ d9fca80b

# Date Author Comment
d9fca80b 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Do a PUT to modify project, not POST

Replace POST with PUT in the API call the modifies a project.

4334d1c8 02/13/2014 04:20 pm Giorgos Korfiatis

astakosclient: Update project calls to new scheme

Remove get application calls and set application_action to post to the
project endpoint.

edc51a21 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Add member mode in GET projects

Get only active projects where request user is an active member if mode is
set to `member'.

a1ff970b 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Filter with GET params in project API

Pass GET options in project API calls as GET parameters rather than a json
body.

da9bcceb 02/13/2014 04:20 pm Giorgos Korfiatis

astakosclient: Hide provision complexity

Both issue_one_commission and the new call issue_commission_generic act
as wrappers on top of _issue_commission. They create the appropriate
project-level provisions, based on the original ones provided by the
astakosclient user.

1f4a46dd 02/13/2014 04:20 pm Giorgos Korfiatis

astakosclient: Support resource reassignment

Add issue_commission wrapper for assigning resources to a new project.

dccd7fa0 02/13/2014 04:20 pm Giorgos Korfiatis

astakos: Get service related project quota

Add API call for a service to request the project quota for its own
resources.

e6a61e6a 01/09/2014 01:11 pm Ilias Tsitsimpis

astakosclient: Remove basicConfig from root logger

Don't use basicConfig inside astakosclient library. This function should
be called from the main thread. The user of our library should be able
to set a handler for `astakosclient' logger if she wants to.

259a5f9a 12/16/2013 01:03 pm Ilias Tsitsimpis

astakosclient: Pep8 fixes

6476ceb7 12/16/2013 12:22 pm Ilias Tsitsimpis

astakosclient: Suppress endpoint failures

Add an option to _fill_endpoints to only query for the oauth2
endpoint if needed. This way we are keeping astakosclient compatible
with the older Astakos versions.

Signed-off-by: Ilias Tsitsimpis <>...

8204cb4c 12/05/2013 11:00 am Ilias Tsitsimpis

astakosclient: Fix unittests

A new endpoint (astakos_oauth2) was added to Astakos service.
Add this endpoint to the astakosclient tests.

fe7d0186 12/03/2013 09:47 pm Sofia Papagiannaki

astakos oa2: rename settings and url prefixes

Change setting and url prefixes from `oa2` to
`oauth2`

75144caa 12/03/2013 09:47 pm Sofia Papagiannaki

astakosclient: Fix Content-Type header in get_token requests

d2104099 12/03/2013 09:43 pm Sofia Papagiannaki

astakosclient: Provide call for requesting oa2 token

b39ca571 12/03/2013 09:43 pm Sofia Papagiannaki

astakosclient: Provide call for validating a temporary oa2 token

2cd636fe 10/31/2013 11:51 am Stavros Sachtouris

Log http requests/responses in members variables

This feature is useful for logging by external applications like kamaki
New member variables:
self.log_request=dict(method=.., path=.., headers=.., body=..)
self.log_response=dict(status=.., message=.., data=..)

9c3cbd0d 10/29/2013 04:15 pm Ilias Tsitsimpis

astakosclient: Update documentation

837d85bb 10/29/2013 04:15 pm Ilias Tsitsimpis

astakosclient: Usage request parameter deprecated

Astakos' Authenticate Api Method has deprecated the `usage' request
parameter. Remove it from AstakosClient.

283a43e9 10/29/2013 04:15 pm Ilias Tsitsimpis

astakosclient: Fix astakosclient tests

45c0bcf8 10/29/2013 04:15 pm Giorgos Korfiatis

astakosclient: Separate public/private POST /tokens

Introduce function authenticate(), which performs POST /tokens in
private mode, i.e. giving a token to be checked for authentication.
Function get_endpoints() performs the call in public mode, in order
to retrieve the endpoints....

b4b82ec4 10/29/2013 04:15 pm Giorgos Korfiatis

astakos: Remove call GET /authenticate

Use POST /tokens to authenticate. Delete AstakosClient.get_user_info()
and replace its uses by AstakosClient.authenticate().

2c9c147e 10/29/2013 03:37 pm Ilias Tsitsimpis

astakosclient: Complete redesign astakosclient

Accept auth_url as the default entry point and
query astakos endpoints to find out the
account and ui urls.

c1b7f449 09/10/2013 03:29 pm Christos Stavrakakis

Update objpool dependency to version 0.3

47bb45c0 08/07/2013 12:01 pm Giorgos Korfiatis

astakosclient: Implement project calls

8975f6f6 08/05/2013 03:59 pm Christos Stavrakakis

astakosclient: PEP8 fixes

This commit makes astakosclient PEP8 compliant.

69938f7a 07/04/2013 11:10 am Ilias Tsitsimpis

astakosclient: Don't retry when response is 413

34f707ce 06/19/2013 11:06 am Christos Stavrakakis

astakosclient: Fix bug in setup.py

astakosclient should be added to the beggining of the sys.path instead,
of the end, since astakosclient may already be installed on the system.

b173906e 06/12/2013 03:08 pm Ilias Tsitsimpis

astakosclient: Fix url paths

Fix some Astakos' urls paths that were broken.
Remove get_endpoints and rename get_user_info_with_endpoints
to get_endpoints.
Fix tests.

bdb325a1 06/11/2013 12:42 pm Georgios D. Tsoukalas

astakos: add weblogin service for non-web clients

02d597a0 06/10/2013 09:20 pm Christos Stavrakakis

astakosclient: Log warning when retrying

Make astakosclient log a warning, instead of info, when retrying
requests to Astakos.

2b40f200 06/10/2013 08:00 pm Christos Stavrakakis

Make API faults have default 500 status code

Make the default status code of API Fault and AstakosClientException
to be 500.

26498848 06/07/2013 05:44 pm Giorgos Korfiatis

astakos: Generate tokens without trailing equal signs

Strip padding ("=") introduced during the base64 encoding.
Update token examples in docs.

923e6582 06/05/2013 05:31 pm Georgios D. Tsoukalas

Rename astakos_keystone to astakos_identity

389642a0 06/04/2013 08:31 pm Kostas Papadimitriou

astakosclient: Append api version

47d421ae 06/04/2013 05:31 pm Georgios D. Tsoukalas

Incorporate all resources into service definitions

- Add 'service_origin' key in resources, as the normative name of
the service that exported it.
- Keep resources backwards compatible, export-resource-service
reads resources from the service list.

b55b9692 06/03/2013 02:09 pm Giorgos Korfiatis

common: Export only services specified as public

Employ helper function `filter_public' in service-export-* commands.
Also set `pithos_ui' service to non-public and clear version of
`astakos_ui'.

00d2a0ee 06/03/2013 11:50 am Georgios D. Tsoukalas

astakosclient: add service catalog

4080a1df 06/03/2013 11:50 am Georgios D. Tsoukalas

service catalogs: autofill endpoints from BASE_URL

e3ff6830 06/03/2013 11:49 am Georgios D. Tsoukalas

make synnefo URLs consistent and configurable

https://service.deployment.vendor.tld/service-base/api-prefix/hard/path |___________________________________| |__________| |________| |_______|
BASE_HOST BASE_PATH PREFIX Hardcoded...

25a04cdd 05/29/2013 03:32 pm Ilias Tsitsimpis

astakosclient: Implement get_user_info_with_endpoints

This function uses the keystone alike authentication API of Astakos

164e64d5 05/28/2013 06:21 pm Giorgos Korfiatis

quotaholder: Store timestamps using DateTimeField

Add new fields issue_datetime in Commission and issue_datetime,
log_datetime in ProvisionLog. Migrate away from custom string-based
issue_time and log_time fields.

f8958a97 05/27/2013 01:22 pm Ilias Tsitsimpis

astakosclient: Update package description

f20c20fe 05/27/2013 11:54 am Ilias Tsitsimpis

astakosclient: Update documentation

108be31f 05/27/2013 10:38 am Ilias Tsitsimpis

astakosclient: Implement get_endpoints method

92683993 05/23/2013 03:35 pm Ilias Tsitsimpis

astakosclient: Implement send_feedback function

7b5a37fd 05/23/2013 03:30 pm Ilias Tsitsimpis

astakosclient: Code refactoring for astakos api urls

Export astakos api urls as global variables that can be
easily changed, rather than hard coded values.

ed8c7696 05/23/2013 01:28 pm Constantinos Venetsanopoulos

Make README files of sub-components obsolete

Since v0.14 everything belonging in a README file should be written
as part of the documentation and thus under docs/. Remove all
unnecessary README files, adjust MANIFEST.in and setup.py files
accordingly and move README files that should be merged into the...

4833a703 05/23/2013 12:43 pm Constantinos Venetsanopoulos

Keep single Changelog, remove all local ones

Since 0.13 there is only one single Changelog file at the root
directory. Thus, any new component should not have its own
Changelog file. Specifically, remove local Changelog files for:

  • snf-astakosclient
  • snf-branding...
c7027e2e 05/20/2013 07:59 pm Kostas Papadimitriou

astakosclient: Prevent relative uri's requests

do not lstrip slashes from the path of astakos url to avoid making requests
with relative uris.

5790b031 05/17/2013 01:32 pm Ilias Tsitsimpis

astakosclient: Trick setup into loading version module

setup.py tries to load astakosclient.version module
before checking for astakosclient package dependencies
which leads to importErrors.

Trick setup to load only version module by changing sys.path.

9848f747 05/17/2013 12:21 pm Ilias Tsitsimpis

astakosclient: Use path given in astakos_url (if any)

79b5d61b 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: WIP move all api calls under ``/astakos/api``

Refs: #3340

d5f086f2 04/29/2013 05:18 pm Ilias Tsitsimpis

Revert "astakosclient: don't check resolve_commissions' parameters"

This reverts commit da18207e2825b4a0a4cb3abc6a9fbef541eda05b.
Issue resolved by commit 214058a911c5b4b8b3d9108ba891536a0b40dc49.

214058a9 04/29/2013 05:12 pm Christos Stavrakakis

astakosclient: Fix bug in checking arguments

da18207e 04/29/2013 04:29 pm Ilias Tsitsimpis

astakosclient: don't check resolve_commissions' parameters

In resolve_commissions, accept_serials and reject_serials
may be empty lists. Don't do a validation check for this
parameters and let the servers respond with an error
if bad values was given.

8b68fa76 04/25/2013 05:56 pm Giorgos Korfiatis

astakosclient: Update provisions' type in docstring

567f49a2 04/25/2013 05:54 pm Giorgos Korfiatis

astakosclient: Change provisions argument to dict

3a1bed03 04/25/2013 05:49 pm Giorgos Korfiatis

astakos: Set and return commission names in API calls

Support issue_commission's `name' parameter for an optional description
of the commission. Include this field in the dict returned by
get_commission.

Change astakosclient accordingly.

65fb5cf6 04/25/2013 04:22 pm Giorgos Korfiatis

Merge branch 'develop' into feature-quotas

Conflicts:
astakosclient/astakosclient/__init__.py
astakosclient/astakosclient/errors.py
astakosclient/astakosclient/tests.py
docs/index.rst

58161871 04/23/2013 03:43 pm Constantinos Venetsanopoulos

Merge branch 'feature-admin-guide-update' into develop

34e79416 04/23/2013 03:40 pm Constantinos Venetsanopoulos

Make docs.dev.grnet.gr URL oblsolete

Everything should point to http://www.synnefo.org/*
This patch updates the URL everywhere in the repo.

271d2c4c 04/23/2013 03:40 pm Giorgos Korfiatis

astakos: Rename get_service_quotas to service_get_quotas

So that it follows the naming scheme of other astakosclient calls.

4dce387e 04/23/2013 01:10 pm Ilias Tsitsimpis

astakosclient: Replace ValueError with BadValue

All Exceptions that AstakosClient is raising should
be under AstakosClientException class

e311d555 04/19/2013 06:32 pm Giorgos Korfiatis

quotaholder: Improve data of NoCapacityError

Replace `available' by two fields: `limit' and `usage'.

480974e6 04/19/2013 06:32 pm Giorgos Korfiatis

astakos: Change response for API call `quotas'

The following indicators are returned for each holding:
"limit": the quota limit (as before)
"usage": the current usage (pessimistically, includes any pending
allocations)
"pending": the difference of max and min allocation, indicates...

db9f7a2b 04/19/2013 01:45 pm Giorgos Korfiatis

astakosclient: Add user option in get_service_quotas

5b33b8e5 04/18/2013 12:38 pm Giorgos Korfiatis

astakosclient: Add request for service quotas

fa7a3ca1 04/15/2013 01:40 pm Ilias Tsitsimpis

astakosclient: Documentation changes

  • Document 3 new AstakosClient Exceptions
  • Change package name from snf-astakos-client to astakosclient
5c418e94 04/15/2013 01:25 pm Ilias Tsitsimpis

astakosclient: Add documentation for quotas functionality

12eab714 04/15/2013 12:51 pm Ilias Tsitsimpis

astakosclient: Create function issue_one_commission

Refs #3440

10797183 04/15/2013 12:27 pm Ilias Tsitsimpis

astakosclient: Create function check_input to simplify code

81875157 04/15/2013 11:23 am Ilias Tsitsimpis

astakosclient: Resolve multiple commissions at once

Refs #3440

7b7392a6 04/12/2013 05:55 pm Ilias Tsitsimpis

astakosclient: Add some more unit-tests

925d0fee 04/12/2013 05:50 pm Ilias Tsitsimpis

astakosclient: Rephrase some comments

Most astakos-quotas calls use services' tokens

b5008ef0 04/12/2013 05:49 pm Ilias Tsitsimpis

astakosclient: Rename some functions

19198628 04/12/2013 05:37 pm Ilias Tsitsimpis

astakosclient: Raise BadValue when failing to parse request data

805e294c 04/12/2013 05:17 pm Ilias Tsitsimpis

astakosclient: Add request for commission's actions

0a2a342c 04/12/2013 05:16 pm Ilias Tsitsimpis

astakosclient: ReRaise json Exceptions as AstakosClient ones

994f37b6 04/12/2013 01:06 pm Ilias Tsitsimpis

astakosclient: Add request for commission's info

Refs #3440

7a0180ef 04/12/2013 12:37 pm Ilias Tsitsimpis

astakosclient: Add request for pending commissions

Refs #3440

670b67f4 04/12/2013 11:52 am Ilias Tsitsimpis

astakosclient: PEP-8 style fixes

fd420756 04/12/2013 11:36 am Ilias Tsitsimpis

astakosclient: Add request for Commissions

Refs #3440

83f9157b 04/12/2013 11:32 am Ilias Tsitsimpis

astakosclient: Replace ValueError with BadValue

All Exceptions that AstakosClient is raising should
be under AstakosClientException class

baeb2ba5 04/12/2013 11:29 am Ilias Tsitsimpis

astakosclient: Add request for Quotas

Refs #3440

c4644612 04/12/2013 11:27 am Ilias Tsitsimpis

astakoclient: Add request for Resource List

Refs #3440

21190887 04/10/2013 11:50 am Ilias Tsitsimpis

astakosclient: AstakosClientException now has details attr

334dc272 04/09/2013 05:46 pm Ilias Tsitsimpis

astakosclient: For objpool pool_size is now size

1ecb12b5 04/08/2013 02:56 pm Christos Stavrakakis

Rename snf-astakos-client to astakosclient