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

issue 50: add all known ref_lid_* #51

Closed al-niessner closed 1 year ago

al-niessner commented 1 year ago

🗒️ Summary

Added missing keys to registry.json

⚙️ Test Data and/or Report

open search requests now work:

$ curl --insecure --location --request GET 'https://localhost:9200/registry/_search' --header 'Accept: application/json' --header 'Content-Type: application/json' --user admin:admin -d @Projects/PDS/q1.json | jq
{
  "took": 2,
  "timed_out": false,
  "_shards": {
    "total": 1,
    "successful": 1,
    "skipped": 0,
    "failed": 0
  },
  "hits": {
    "total": {
      "value": 1,
      "relation": "eq"
    },
    "max_score": 0.39556286,
    "hits": [
      {
        "_index": "registry",
        "_id": "urn:nasa:pds:insight_rad::2.1",
        "_score": 0.39556286,
        "_source": {
          "lid": "urn:nasa:pds:insight_rad",
          "ref_lid_collection": [
            "urn:nasa:pds:insight_rad:data_calibrated",
            "urn:nasa:pds:insight_rad:data_derived",
            "urn:nasa:pds:insight_rad:data_raw"
          ]
        }
      }
    ]
  }
}

♻️ Related Issues

NASA-PDS/registry#81 NASA-PDS/registry-api#150