find all primary and secondary collections for the bundle
find all primary and secondary products for those collections
a. if product comes from secondary collection, ALL products from those collections should be considered secondary
Acceptance Criteria
Given I have a bundle LID OR LIDVID
When I perform an API query by that LIDVID for its products
Then I expect the API to return the primary product(s) AND any secondary product(s) for that bundle
For more information on how to populate this new feature request, see the PDS Wiki on User Story Development:
https://github.com/NASA-PDS/nasa-pds.github.io/wiki/Issue-Tracking#user-story-development
Motivation
...so that I can <why do you want to do this?>
Additional Details
Notional API Design:
See https://github.com/NASA-PDS/registry/issues/109 and https://github.com/NASA-PDS/registry/issues/108 for how the registry ingests primary and secondary products.
Note: The logic here is a little funky:
Acceptance Criteria
Given I have a bundle LID OR LIDVID When I perform an API query by that LIDVID for its products Then I expect the API to return the primary product(s) AND any secondary product(s) for that bundle
Sub-tasks