-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a GET /restrictions endpoint for Operator #29
Comments
so this is for the NUSS client side API, not the USS spec. Does that sound right? |
Yes, this issue was created for operator to be able to GET the constraints from a USS. Priya mentioned CONSTRAINT_MANAGER will also need to GET the constraints that it PUTs. Not sure if they need to be separate endpoints for an operator and for CONSTRAINT_MANAGER. |
OK, back on this one. Will try to address tomorrow morning. |
There is an error referencing the domain. Will need help resolving: Error resolving $ref pointer "https://raw.githubusercontent.com/nasa/utm-apis/v4-draft/utm-domains/utm-domain-geojson.yaml#/definitions/ConstraintMessage". Token "ConstraintMessage" does not exist.
OK, @punamverma please take a look at this commit. Is this a reasonable approach? Just copied the old manager_constraint endpoints and updated to point to correct model and renamed. There is a swagger problem pointing to an external domain, so I need help with that. I think you know how to fix that?
|
@nasajoey The Constraint message is under utm-domain-commons.yaml I guess thats what you wanted to be resolved. Pleas let me know. Thanks |
@nasajoey I committed the correct link for ConstraintMessage. |
@punamverma is this still a question? I don't think operator will be POSTing restrictions, unless I am misunderstanding need/use case. |
Hi @nasajoey , |
Operator not POSTing restrictions... unneeded endpoint.
@punamverma please see if that last commit finalizes this or not. |
@punamverma pinging again. would like to close out. @issmith1 or @myspri may also take a look so we can close this. |
Assignee (currently Shankar) ensure there is, or create a test for this endpoint. Postman (see Ops Lifecycle test) is a reasonable impl, then close out. @myspri may want to create JIRA to manage this in our sprint. |
@nasajoey @punamverma there are two pieces to this, both of which do not need changes to uss-api.
@punamverma you might want to consider moving this issue under public-safety. |
But does the operator-api's /restrictions endpoint have at least 2 tests? (Pos and Neg) |
No @issmith1 ..its not implemented yet. |
note Dynamic Restrictions is now renamed to UAS Volume Reservation (UVR). |
Operator should be able to query a restriction by constraint id.
The text was updated successfully, but these errors were encountered: