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

Throw fatal error upon encountering an invalid logical identifier #6

Open
jordanpadams opened this issue Jan 24, 2020 · 0 comments
Open
Labels
enhancement New feature or request Epic icebox

Comments

@jordanpadams
Copy link
Member

jordanpadams commented Jan 24, 2020

L5.NSS.11 - The tool shall require a Submission Information Package manifest only contain products with valid logical identifiers according to the PDS4 Standards Reference.

According to the SR 6D.2, logical identifiers must follow the following formation rule:

urn:nasa:pds:<bundle_id>:<collection_id>:<product_id>

where <bundle_id> and <collection_id> are parsed from their identifiers.

If the SIP Gen software encounters these invalid LIDs in bundle references or collection inventories, display critical errors for each failed LID and then exit (stop before going to product level and generating manifest)

At the end, display some notice like the following:

SIP Generation Failed: NSSDCA Submission Information Package cannot be generated for bundles that contain malformed logical identifiers.

Please contact [email protected] for a workaround method for submission.

Applicable requirements
Primary - 🦄 #53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Epic icebox
Projects
Status: ToDo
Development

No branches or pull requests

1 participant