NASA-PDS / registry-mgr

Standalone Registry Manager application responsible for managing the PDS Registry (https://github.com/NASA-PDS/registry) schemas and indexes.
https://nasa-pds.github.io/registry
Other
0 stars 2 forks source link

Update registy-mgr to use schema from schemaLocation in file #31

Closed jordanpadams closed 2 years ago

jordanpadams commented 2 years ago

💪 Motivation

...so that I can seamlessly update registry schema without requiring manual intervention for past versions.

📖 Additional Details

All products in PDS4 contain a schemaLocation:

<Product_Bundle xmlns="http://pds.nasa.gov/pds4/pds/v1" xmlns:pds="http://pds.nasa.gov/pds4/pds/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://pds.nasa.gov/pds4/pds/v1 https://pds.nasa.gov/pds4/pds/v1/PDS4_PDS_1B10.xsd">

Use that to find the JSON vs. using the latest version

⚖️ Acceptance Criteria

Given products with differing versions of When I perform Then I expect

⚙️ Engineering Details

tloubrieu-jpl commented 2 years ago

New command in registry manager to list the LDD loaded in the registry.

tloubrieu-jpl commented 2 years ago

Some previously used LDD are not available online:

@tdddblog will provide a list of the LDD version he did not find.

jordanpadams commented 2 years ago

resolved per https://github.com/NASA-PDS/harvest/pull/72 and https://github.com/NASA-PDS/pds-registry-mgr-elastic/pull/39