Skip to content
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

Add a GET /constraints/ API #133

Open
jeremie-leproust opened this issue Oct 22, 2018 · 6 comments
Open

Add a GET /constraints/ API #133

jeremie-leproust opened this issue Oct 22, 2018 · 6 comments

Comments

@jeremie-leproust
Copy link

'/constraints/{message_id}':

Should we add a GET /constraints/ API to retrieve the list of active or future constraints (UAS volume reservations)?
This would allow a USS that comes online to query those for instance.

@nasajoey
Copy link
Member

We do need a way to have for folks to GET current UVRs. It is a little confusing right now... this endpoint exists, but is only required to be implemented by those USSs with the public safety role. You can see the endpoint here:

The odd part is that you are not guaranteed to have any such USS in any given place at any given time, so there is no certain way to find someone to hit at this endpoint. And we didn't want every USS to be responsible to every other USS to provide such data (what if they are wrong or out of date?).

There may be a solution in GUD by forcing anyone announcing a new UVR to write it into all grids that are affected. Unclear on potential solution for traditional discovery.

This is something that has to be further discussed. Thanks for opening ticket to track it.

@nasajoey
Copy link
Member

I've added this to the gridded platform as an issue. We can use that to determine solutions for other discovery approaches as well: interuss/dss#39

@jeremie-leproust
Copy link
Author

I am not sure I understand the following sentence:

And we didn't want every USS to be responsible to every other USS to provide such data (what if they are wrong or out of date?).

Why wouldn't a USS only return the UVRs he owns, just like it does for operations (USSs don't return flights owned by other USSs)?

@nasajoey
Copy link
Member

nasajoey commented Oct 22, 2018 via email

@jeremie-leproust
Copy link
Author

Oh I see. Isn't that the same anyway for missions owned by a USS? Whenever a USS (instance) operates a mission, then it needs to stay online and available. Could it be the same for UVRs?

@nasajoey
Copy link
Member

Yes, that could be a requirement. We've seen issues in testing where this becomes more involved than expected, but it is indeed possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants