NASA-PDS / registry

PDS Registry provides service and software application necessary for tracking, searching, auditing, locating, and maintaining artifacts within the system. These artifacts can range from data files and label files, schemas, dictionary definitions for objects and elements, services, etc.
https://nasa-pds.github.io/registry
Apache License 2.0
2 stars 2 forks source link

As a user I want to specify a directory to load LDD jsons which are not available online #107

Open msbentley opened 2 years ago

msbentley commented 2 years ago

💪 Motivation

Currently I am loading LDD info using registery-manager individually (many are not available online), using load-data. It would be more convenient to be able to specify a directory where the software could look if online resolution of the dictionary failed.

⚖️ Acceptance Criteria

Given a directory of json files produced by lddtool When I perform run registry-manager with this new option Then I expect dictionary jsons which cannot be found online to be loaded from a local directory.

⚙️ Engineering Details

jordanpadams commented 2 years ago

@msbentley we will add this as a new feature, in the meantime, if you running this on linux, we can probably write a quick wrapper script for you to loop through all your JSON files and run the load-data function

msbentley commented 2 years ago

Thanks @jordanpadams that's more-or-less what I do now, so nothing needed from your end.