Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add harvester control process to build all GCMD vocabularies from configuration files #14

Closed
hmaier-fws opened this issue Aug 3, 2023 · 0 comments · Fixed by #12
Closed
Labels
documentation Improvements or additions to documentation enhancement Improve or modify an existing feature

Comments

@hmaier-fws
Copy link
Contributor

From PR #12:

New harvesters/src/gcmd-all.js

Along with the new harvester process is this control process that will build all the GCMD vocabularies listed in the config file harvesters/conf/gcmd-vocabularies.json. It also uses harvesters/conf/gcmd-all.json config file and generates resources/gcmd-vocabularies-dynamic.json.

New keywords files

To demonstrate the new GCMD harvester, new files for all the GCMD vocabularies are included.

New npm run scripts

package.json has new scripts

"gcmd": "node src/index.js source=gcmd",
"usgs": "node src/index.js source=usgs",
"sb": "node src/index.js source=sciencebase"

Main control process command line options

harvesters/src/index.js was modified to handle command line options. This allows only the specified source to be compiled and all other vocabularies to be ignored. It still uses the profiles-list.json file from mdProfiles.

@hmaier-fws hmaier-fws added enhancement Improve or modify an existing feature documentation Improvements or additions to documentation labels Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement Improve or modify an existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant