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

Tag ingested data with the node it is ingested by #22

Closed tdddblog closed 3 years ago

tdddblog commented 3 years ago

See https://github.com/NASA-PDS/pds-registry-app/issues/147

Test Instructions

Harvest (1) Update Harvest configuration file with new required attribute:

<harvest nodeName="PDS_ENG">
...

(2) Run Harvest (3) Check that registry-docs.json output file has the following field "ops:Harvest_Info/ops:node_name":"PDS_ENG"

Registry Manager (1) Recreate registry:

registry-manager delete-registry
registry-manager create-registry

(2) Load data files generated by Harvest

registry-manager load-data -dir /path-to-harvest-out-dir

(3) Check that registry index in Elasticsearch has the following field "ops:Harvest_Info/ops:node_name":"PDS_ENG" in all ingested documents.