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 CMSA support flag to mock_uss #878

Open
BenjaminPelletier opened this issue Jan 10, 2025 · 0 comments
Open

Add CMSA support flag to mock_uss #878

BenjaminPelletier opened this issue Jan 10, 2025 · 0 comments
Labels
enhancement New feature or request P2 Normal priority

Comments

@BenjaminPelletier
Copy link
Member

Is your feature request related to a problem? Please describe.
When mock_uss is involved as a normal participant in F3548 automated testing in an interoperability ecosystem where CMSA is not supported, currently, it will still attempt to perform CMSA operations. But, this attempt will fail because the auth server will not grant tokens with the CMSA scope, and mock_uss will correspondingly return 500 for the flight planning request (e.g., Declare non-conforming test step)

Describe the solution you'd like
When mock_uss is in an interoperability ecosystem that does not support CMSA, it should indicate NotSupported to a request involving CMSA operations. This would probably be configured per Locality, adding something like a uses_cmsa() method to the Locality base class.

Describe alternatives you've considered
Other ways of determining capabilities could be used -- for instance, mock_uss could be informed of what scopes it is authorized to obtain and work out capabilities relative to those.

@BenjaminPelletier BenjaminPelletier added enhancement New feature or request P2 Normal priority labels Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P2 Normal priority
Projects
None yet
Development

No branches or pull requests

1 participant