Implement metadata upload from Kudaflib-CLI directly to Kudaf-Metadata backend and upload DBH metadata
Definition of Done:
-
CLI is YAML file Catalog (and Organization), Dataset, Unit Type and Variable metadata -
CLI reads API_KEY and Target system (DEV, STAGING, PRODUCTION) from local environment variable (or .envfile) -
CLI triggers Kudaf-Metadata endpoints to create Catalogs, Datasets, Unit Types and Variables -
Modify Kudaf-Metadata backend logic/security to add possibility to operate via API-Key, modify schemas as needed, etc -
Upload HKDIR's DBH metadata (15 variales from Microdata) via CLI to Kudaf-Metadata Staging/Prod - Further work:
-
Add command option to the CLI to upload the metadata -
Refactor logic to process nested YAML file (instead of sequential) -
Add possibility to input the API-key manually when running the program, or specify it in the command line -
Add more detailed documentation to README file -
Build new package version 0.2 and publish
-
Edited by Daniel Diguele