- 13 Feb, 2014 7 commits
-
-
Giorgos Korfiatis authored
Replace POST with PUT in the API call the modifies a project.
-
Giorgos Korfiatis authored
Pass GET options in project API calls as GET parameters rather than a json body.
-
Giorgos Korfiatis authored
Get only active projects where request user is an active member if mode is set to `member'.
-
Giorgos Korfiatis authored
Remove get application calls and set application_action to post to the project endpoint.
-
Giorgos Korfiatis authored
Add API call for a service to request the project quota for its own resources.
-
Giorgos Korfiatis authored
Add issue_commission wrapper for assigning resources to a new project.
-
Giorgos Korfiatis authored
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.
-
- 09 Jan, 2014 1 commit
-
-
Ilias Tsitsimpis authored
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.
-
- 16 Dec, 2013 2 commits
-
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
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 <iliastsi@grnet.gr> Signed-off-by:
Sofia Papagiannaki <spapagian@grnet.gr>
-
- 05 Dec, 2013 1 commit
-
-
Ilias Tsitsimpis authored
A new endpoint (astakos_oauth2) was added to Astakos service. Add this endpoint to the astakosclient tests.
-
- 03 Dec, 2013 4 commits
-
-
Sofia Papagiannaki authored
Change setting and url prefixes from `oa2` to `oauth2`
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
-
- 31 Oct, 2013 1 commit
-
-
Stavros Sachtouris authored
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=..)
-
- 29 Oct, 2013 6 commits
-
-
Giorgos Korfiatis authored
Use POST /tokens to authenticate. Delete AstakosClient.get_user_info() and replace its uses by AstakosClient.authenticate().
-
Giorgos Korfiatis authored
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. Initialize endpoints lazily: when a URL is missing, get_endpoints() is triggered.
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
Astakos' Authenticate Api Method has deprecated the `usage' request parameter. Remove it from AstakosClient.
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
Accept auth_url as the default entry point and query astakos endpoints to find out the account and ui urls.
-
- 16 Oct, 2013 1 commit
-
-
Giorgos Korfiatis authored
Add missing imports; remove call to sqlite3_changes; set key and val in render_meta.
-
- 07 Aug, 2013 1 commit
-
-
Giorgos Korfiatis authored
-
- 05 Aug, 2013 1 commit
-
-
Christos Stavrakakis authored
This commit makes astakosclient PEP8 compliant.
-
- 04 Jul, 2013 2 commits
-
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
-
- 12 Jun, 2013 1 commit
-
-
Ilias Tsitsimpis authored
Fix some Astakos' urls paths that were broken. Remove get_endpoints and rename get_user_info_with_endpoints to get_endpoints. Fix tests.
-
- 11 Jun, 2013 1 commit
-
-
Georgios D. Tsoukalas authored
-
- 10 Jun, 2013 2 commits
-
-
Christos Stavrakakis authored
Make astakosclient log a warning, instead of info, when retrying requests to Astakos.
-
Christos Stavrakakis authored
Make the default status code of API Fault and AstakosClientException to be 500.
-
- 07 Jun, 2013 1 commit
-
-
Giorgos Korfiatis authored
Strip padding ("=") introduced during the base64 encoding. Update token examples in docs.
-
- 05 Jun, 2013 1 commit
-
-
Georgios D. Tsoukalas authored
-
- 04 Jun, 2013 2 commits
-
-
Kostas Papadimitriou authored
-
Georgios D. Tsoukalas authored
- 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.
-
- 03 Jun, 2013 4 commits
-
-
Giorgos Korfiatis authored
Employ helper function `filter_public' in service-export-* commands. Also set `pithos_ui' service to non-public and clear version of `astakos_ui'.
-
Georgios D. Tsoukalas authored
-
Georgios D. Tsoukalas authored
-
Georgios D. Tsoukalas authored
https://service.deployment.vendor.tld/service-base/api-prefix/hard/path |___________________________________| |__________| |________| |_______| BASE_HOST BASE_PATH PREFIX Hardcoded |_________________________________________________| SERVICE_BASE_URL - Introduce <SERVICE>_BASE_URL setting, and <API>_PREFIX constants for all services. Extract BASE_HOST, BASE_PATH from the setting. - Use settings and constants to construct top-level patterns (base-path/api-prefix) in services' urls.py - Refactor/extend proxy() to be compatible with the above. - Change URLs passed around (ui, e-mails) to be compatible. (needs more work) Notes: This configuration REQUIRES that any rewriting and proxying on the front-end must eventually result in the application server (gunicorn) getting the original path of the request, otherwise the view-generated URLs will be different. Changes: - set top-level urlpatterns from <SERVICE>_BASE_URL - rename setting: APP_INSTALL_URL to CYCLADES_BASE_URL - rename setting: ASTAKOS_URL to ASTAKOS_BASE_URL everywhere - introduce setting: PITHOS_BASE_URL - update shipped .confs, quick install admin guide, upgrade guide - fix urls/views/reverse()/other that were broken - (more not listed)
-
- 29 May, 2013 1 commit
-
-
Ilias Tsitsimpis authored
This function uses the keystone alike authentication API of Astakos
-