Add dtc subcommand import #30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "import"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds the
dtcsubcommandimport.importreads records written byexportfrom a file system and inserts them into a dump-things-server. This includes the curated area and the incoming areas.By default, the destination server URL and collection name are read from the file
description.jsonin the exported data area. Both can be overridden by command line options.importsupports JSON and YAML files. File type is detected by the extension, i.e.,.jsonor.yaml.The file `description.json` is part of an export and contains information about the exported data. This commit adds the two fiels: - date: the date of the export - service: the URL of the dump-things-server from which the data was exportedimport7fd73a0e2d7fd73a0e2dtodcef7facda9c1148ee9btoaa025fecab