problems with tasks, task schemas

Bug #1597126 reported by Brian Rosmaita
This bug affects 1 person
Affects Status Importance Assigned to Milestone
In Progress
Cyril Roelandt

Bug Description

The v2/schemas/tasks and v2/schemas/task responses aren't incorrect, but they're not as accurate as they could be.

task schema:
- missing "links": [{"href":"{schema}","rel":"describedby"},{"href":"{self}","rel":"self"}]
- should have "additionalProperties": false
- some properties are already marked "readOnly":true , but there are other properties (e.g., "id") that should also be marked as read only
- could have a list of required properties added (I think that would be all except expires_at; the schema says it can have a null value, but i think in practice it doesn't appear in the response unless it's non-null)

tasks schema:
- same as the above readOnly situation
- same as the above required and expires_at situation

Changed in glance:
assignee: nobody → Cyril Roelandt (cyril-roelandt)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

Fix proposed to branch: master

Changed in glance:
status: New → In Progress
Revision history for this message
Nikhil Komawar (nikhil-komawar) wrote :

This has a documentation and api impact.

Changed in glance:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on glance (master)

Change abandoned by Cyril Roelandt (<email address hidden>) on branch: master
Reason: Cleaning up :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers