- 13 Feb, 2014 3 commits
-
-
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>
-
- 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 5 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
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.
-
- 07 Aug, 2013 1 commit
-
-
Giorgos Korfiatis authored
-
- 05 Aug, 2013 1 commit
-
-
Christos Stavrakakis authored
This commit makes astakosclient PEP8 compliant.
-
- 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.
-
- 05 Jun, 2013 1 commit
-
-
Georgios D. Tsoukalas authored
-
- 04 Jun, 2013 1 commit
-
-
Kostas Papadimitriou authored
-
- 03 Jun, 2013 2 commits
-
-
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
-
- 27 May, 2013 1 commit
-
-
Ilias Tsitsimpis authored
-
- 23 May, 2013 2 commits
-
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
Export astakos api urls as global variables that can be easily changed, rather than hard coded values.
-
- 20 May, 2013 1 commit
-
-
Kostas Papadimitriou authored
do not lstrip slashes from the path of astakos url to avoid making requests with relative uris.
-
- 17 May, 2013 1 commit
-
-
Ilias Tsitsimpis authored
-
- 10 May, 2013 1 commit
-
-
Sofia Papagiannaki authored
Refs: #3340
-
- 29 Apr, 2013 2 commits
-
-
Ilias Tsitsimpis authored
This reverts commit da18207e2825b4a0a4cb3abc6a9fbef541eda05b. Issue resolved by commit 214058a911c5b4b8b3d9108ba891536a0b40dc49.
-
Ilias Tsitsimpis authored
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.
-
- 25 Apr, 2013 3 commits
-
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
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.
-
- 23 Apr, 2013 2 commits
-
-
Giorgos Korfiatis authored
So that it follows the naming scheme of other astakosclient calls.
-
Ilias Tsitsimpis authored
All Exceptions that AstakosClient is raising should be under AstakosClientException class
-
- 19 Apr, 2013 1 commit
-
-
Giorgos Korfiatis authored
-
- 18 Apr, 2013 1 commit
-
-
Giorgos Korfiatis authored
-
- 15 Apr, 2013 1 commit
-
-
Ilias Tsitsimpis authored
-