History | View | Annotate | Download (13.2 kB)
astakos: Record the service originating a resource
Add field service_origin in model Resource as well as in theresource definitions, indicating the service where the resourcecomes from. It is not a foreign key, in order to allow deletinga component/service, without affecting registered resources and...
docs: Update astakos api paths
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.
quotaholder: Unify included data in overLimit errors
Replace `available' with `usage' and `limit' in NoQuantityErrorto make it similar to NoCapacityError.
astakos: Control exposing resources in projects
Add attribute `allow_in_projects' in Resource model (True by default).Set this flag for astakos.pending_app to False in the descriptionof astakos resources.
Update quota API docs
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...
astakos: Add user parameter in service_quotas API call
Using this parameter, the service can query the quotas of a specificuser.
New call astakos/api/service_quotas
Returns quotas for all resources associated with the service that makesthe call.
Remove client_key parameter from quotas API
It is not necessary, since the service token in used for authorization.The api_method decorator is modified so that it passes to the methodthe service data through the request object.
Docs for resource and quota API