Benjamin Dauvergne
05c4031776
To prevent loosing currently loaded data wcs-olap, failing ro rename the temporary schema to its final name, wcs-olap will: - first, inside a transaction, rename the current schema instead of dropping it, then rename the new schema to the current schema's name; in case of failure it will retry 33 times sleeping 1 second between each attempt; - if successfull, drop the renamed old schema, again in a retry loop, if it fails to drop it logs an error, without aborting the current feeding. |
||
---|---|---|
debian | ||
tests | ||
wcs_olap | ||
Jenkinsfile | ||
MANIFEST.in | ||
README.rst | ||
get_wcs.sh | ||
pylint.sh | ||
setup.py | ||
tox.ini |
README.rst
w.c.s. OLAP ~~~~~~~~~~~ Tool to export w.c.s. data in a database with star schema for making an OLAP cube. :: usage: wcs-olap [--no-feed] [-a | --url URL] [-h] [--orig ORIG] [--key KEY] [--pg-dsn PG_DSN] [--schema SCHEMA] [config_path] Export W.C.S. data as a star schema in a postgresql DB positional arguments: config_path optional arguments: --no-feed only produce the model -a, --all synchronize all wcs --url URL url of the w.c.s. instance -h, --help show this help message and exit --orig ORIG origin of the request for signatures --key KEY HMAC key for signatures --pg-dsn PG_DSN Psycopg2 DB DSN --schema SCHEMA schema name Requirements ------------ PostgreSQL > 9.4 is required.