NASA-PDS / registry-loader

Tools used to load and update data in the registry, currently harvest and registry manager package in a docker image.
Other
1 stars 0 forks source link

NASA PDS Registry Loader

Starting with release 0.5.1 of the Registry API, an archive status field was introduced which enables the selective availability of data based on its value for each product, collection and bundle. Archive status may be assigned a value of; staged, restricted, certified and archived. Only those records with an archive status of archived are visible through the API.

The script contained in this repository; upgrade/archive-status.sh introduces this field to all records stored within the indicated ElasticSearch/Opensearch endpoint, setting all values to staged. If you are upgrading the Registry API from any release before 0.5.1 to 0.5.1 or later, this script must be applied to your Registry's Opensearch endpoint.

The syntax for invoking this script is as follows:

archive-status.sh <Opensearch URL> [<Opensearch username> <Opensearch password>]

Once this script has been applied, the registry-manager utility is used to promote the archive status of the products, collections and bundles to other values. Refer to the registry-manager documentation on using the set-archive-status command.

Contributing

Within the NASA Planetary Data System, we value the health of our community as much as the code. Towards that end, we ask that you read and practice what's described in these documents:

License

The project is licensed under the Apache version 2 license.