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

Refactor membership endpoints to support AOSS and add test cases #499

Merged
merged 10 commits into from
Jul 24, 2024

Conversation

alexdunnjpl
Copy link
Contributor

@alexdunnjpl alexdunnjpl commented Jul 18, 2024

🗒️ Summary

Reimplements requirements #223 #451 #452 #453 #454
Implements catch-all BadRequestException class and handler, returning HTTP400

⚙️ Test Data and/or Report

New tests added in NASA-PDS/registry#298
Happy-path tests implemented for all four endpoints.
HTTP400 paths tested manually

♻️ Related Issues

part of #424

@alexdunnjpl alexdunnjpl force-pushed the edunn-membership-endpoints branch 2 times, most recently from 2b80b08 to 2bfb351 Compare July 19, 2024 17:52
- implement member-of and member-of/member-of endpoints
- implement RegistrySearchRequestBuilder methods matchFieldAnyOf() and matchFieldAnyOfIdentifiers()
…functions

- apply default behaviour of resolving LID to latest-LIDVID and only allowing non-superseded results in output data
- implement ProductsController.resolveIdentifierToLidvid()
- implement member-of and member-of/member-of endpoints
- important explanatory comment
- implement members and members/members products subroutes
@alexdunnjpl alexdunnjpl force-pushed the edunn-membership-endpoints branch from ce42d7e to 0547f29 Compare July 19, 2024 19:57
@alexdunnjpl alexdunnjpl marked this pull request as ready for review July 19, 2024 19:57
@alexdunnjpl
Copy link
Contributor Author

Ready for review. Sorry about the messy commit history - had some unintended overlap that stopped me squashing it perfectly.

@jordanpadams jordanpadams changed the title 424 membership endpoints Refactor membership endpoints to support AOSS Jul 23, 2024
@jordanpadams jordanpadams changed the title Refactor membership endpoints to support AOSS Refactor membership endpoints to support AOSS and add test cases Jul 23, 2024
Copy link
Member

@tloubrieu-jpl tloubrieu-jpl left a comment

Choose a reason for hiding this comment

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

Thanks @alexdunnjpl , that look good to me.

@alexdunnjpl alexdunnjpl merged commit acc790f into develop Jul 24, 2024
1 check passed
@alexdunnjpl alexdunnjpl deleted the edunn-membership-endpoints branch July 24, 2024 20:29
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.

2 participants