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

[qualifier] DSS0210,A2-7-2,7 validate authentication for OIR CRUD+search endpoints #546

Merged
merged 3 commits into from
Mar 21, 2024

Conversation

Shastick
Copy link
Contributor

@Shastick Shastick commented Mar 12, 2024

Extend the authentication checking scenario to include the OIR endpoint.

@Shastick Shastick force-pushed the dss0210-a7-oir branch 4 times, most recently from d335fb6 to d1d47b3 Compare March 15, 2024 09:42
@Shastick Shastick marked this pull request as ready for review March 15, 2024 10:56
@BenjaminPelletier
Copy link
Member

If a PR is not ready for review (because, for instance, it depends on another PR that has not yet been merged), let's mark it as draft since it is not yet ready for review.

@Shastick Shastick marked this pull request as draft March 19, 2024 10:25
@Shastick Shastick force-pushed the dss0210-a7-oir branch 2 times, most recently from a2dbc13 to adc4535 Compare March 19, 2024 16:01
@Shastick Shastick marked this pull request as ready for review March 19, 2024 16:02
@Shastick Shastick force-pushed the dss0210-a7-oir branch 2 times, most recently from 299262e to 23bcc8f Compare March 20, 2024 13:36
@Shastick Shastick force-pushed the dss0210-a7-oir branch 2 times, most recently from e0f8777 to 841fd38 Compare March 20, 2024 16:43
Copy link
Contributor Author

@Shastick Shastick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First batch of updates. (Covers everything except for two things that require a rebase on top of #535, I'll try to have this done by tomorrow)

with self._scenario.check(
"Create operational intent reference with missing scope", self._pid
) as check:
if no_scope_q.status_code != 401:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our DSS currently returns a 401 here, which stands for Unauthorized which is not false if a scope is missing. (403 is Forbidden and would not be wrong either)

I'll fix the comment below

@Shastick Shastick force-pushed the dss0210-a7-oir branch 2 times, most recently from eb86908 to e539259 Compare March 20, 2024 18:54
@Shastick Shastick requested a review from mickmis March 20, 2024 18:55
@Shastick
Copy link
Contributor Author

@mickmis I integrated the latest OIR fragments (and even split the create and update ones for OIR), this is ready for review.

@Shastick Shastick force-pushed the dss0210-a7-oir branch 2 times, most recently from 762cead to 6266987 Compare March 21, 2024 10:46
Copy link
Contributor

@mickmis mickmis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - please fix the remaining 403 though before merging

@mickmis mickmis merged commit 08d09cc into interuss:main Mar 21, 2024
9 checks passed
github-actions bot added a commit that referenced this pull request Mar 21, 2024
…rch endpoints (#546)

* DSS0210,A2-7-2,7 OIR

* PR comments

* last fixes 08d09cc
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

Successfully merging this pull request may close these issues.

3 participants