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 supersede / update product version functionality in Registry Manager #46

Merged
merged 6 commits into from
Jun 27, 2022

Conversation

tdddblog
Copy link
Collaborator

@tdddblog tdddblog commented Apr 13, 2022

🗒️ Summary

Add supersede / update product version functionality in Registry Manager

⚙️ Test Data and/or Report

Build the projects
(1) Build and install "registry-common" jar first (see NASA-PDS/registry-common#24)
(2) Build registry manager

Test

urn:nasa:pds:context:instrument:crs.vg1::1.0,urn:nasa:pds:context:instrument:vg1.crs::1.0
  • Run registry manager's new "update-alt-ids" command. Pass a file path of the CSV file:
registry-manager update-alt-ids -file /tmp/alt-ids.csv
  • Check OpenSearch index. Both urn:nasa:pds:context:instrument:crs.vg1::1.0 and urn:nasa:pds:context:instrument:vg1.crs::1.0 documents should have following "alternative_ids" values:
["urn:nasa:pds:context:instrument:crs.vg1",
"urn:nasa:pds:context:instrument:crs.vg1::1.0",
"urn:nasa:pds:context:instrument:vg1.crs",
"urn:nasa:pds:context:instrument:vg1.crs::1.0"]

♻️ Related Issues

NASA-PDS/registry#56
NASA-PDS/registry#59

NASA-PDS/registry-api#426
NASA-PDS/registry-api#427

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