-
Notifications
You must be signed in to change notification settings - Fork 0
Paster Commands
The plugin also comes with two paster commands the can be executed via the CLI.
create_schema
paster --plugin=ckanext-mongodatastore create_schema -c [PATH TO YOUR CONFIG]
This command generates the table, that is used for storing query metadata (timestamp, query hash, result hash, etc.)
check_integrity
paster --plugin=ckanext-mongodatastore check_integrity -c [PATH TO YOUR CONFIG]
This command reexecutes every query, that is stored in the querystore and checks if the stored hash values still match the retrieved results from the MongoDB
!!Pleas be aware, that this command can take some time, depending on the number of queries, that are already stored in the querystore!!
Florian Wörister | ORCID: 0000-0003-4967-8595 | florian.woerister[at]tuwien.ac.at | TU Wien