History | View | Annotate | Download (40.8 kB)
astakosclient: PEP8 fixes
This commit makes astakosclient PEP8 compliant.
astakosclient: Fix url paths
Fix some Astakos' urls paths that were broken.Remove get_endpoints and rename get_user_info_with_endpointsto get_endpoints.Fix tests.
astakos: Generate tokens without trailing equal signs
Strip padding ("=") introduced during the base64 encoding.Update token examples in docs.
astakosclient: Implement get_user_info_with_endpoints
This function uses the keystone alike authentication API of Astakos
quotaholder: Store timestamps using DateTimeField
Add new fields issue_datetime in Commission and issue_datetime,log_datetime in ProvisionLog. Migrate away from custom string-basedissue_time and log_time fields.
astakosclient: Implement get_endpoints method
astakosclient: Code refactoring for astakos api urls
Export astakos api urls as global variables that can beeasily changed, rather than hard coded values.
astakos: WIP move all api calls under ``/astakos/api``
Refs: #3340
astakosclient: Change provisions argument to dict
astakos: Set and return commission names in API calls
Support issue_commission's `name' parameter for an optional descriptionof the commission. Include this field in the dict returned byget_commission.
Change astakosclient accordingly.
quotaholder: Improve data of NoCapacityError
Replace `available' by two fields: `limit' and `usage'.
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...
astakosclient: Create function issue_one_commission
Refs #3440
astakosclient: Resolve multiple commissions at once
astakosclient: Add some more unit-tests
astakosclient: Rename some functions
astakosclient: Add request for commission's actions
astakosclient: Add request for commission's info
astakosclient: Add request for pending commissions
astakosclient: Add request for Commissions
astakosclient: Replace ValueError with BadValue
All Exceptions that AstakosClient is raising shouldbe under AstakosClientException class
astakosclient: Add request for Quotas
astakoclient: Add request for Resource List
astakosclient: AstakosClientException now has details attr
Rename snf-astakos-client to astakosclient