Utilisation en ligne de commande#

Une fois l’outil installé, il est appelable en ligne de commande : gpf-pub-agent-altimetrie.

Fonctionnement général#

Agent de publication Altimetrie.

Commandes et options#

Agent de publication Altimetrie 0.6.0 - Agent de publication Altimetrie

gpf-pub-agent-altimetrie [-h] [-v] [--version] [-w GPF_WORK_DIR]
                         [--endpoint-name GPF_ENDPOINT_NAME] [--pod-id GEOSERVICE_POD_NAME]
                         [--url-entrepot GPF_WAREHOUSE_URL] [--exchange-name EXCHANGE_NAME]
                         [--publication-result-topic PUBLICATION_RESULT_TOPIC]
                         [--rabbit-host RABBIT_HOST] [--rabbit-port RABBIT_PORT]
                         [--keycloack-user-id KEYCLOACK_USER_ID] [--user-agent USER_AGENT]
                         [--rabbit-login RABBIT_USERNAME] [--rabbit-password RABBIT_PASSWORD]
                         [--gs-url GEOSERVICE_URL] [--health-file GPF_HEALTH_FILE]
                         [--consistency-checking-timer CONSISTENCY_CHECKING_TIMER]
                         [--consistency-checking-enabled CONSISTENCY_CHECKING_ENABLED]
                         [--mattermost-webhook-scheme MATTERMOST_WEBHOOK_SCHEME]
                         [--mattermost-webhook-host MATTERMOST_WEBHOOK_HOST]
                         [--mattermost-webhook-port MATTERMOST_WEBHOOK_PORT]
                         [--mattermost-webhook-token MATTERMOST_WEBHOOK_TOKEN]
                         [--mattermost-request-timeout MATTERMOST_REQUEST_TIMEOUT]

gpf-pub-agent-altimetrie options#


Variables d’environnement#

Génériques#

Nom de la variable

Argument CLI correspondant

Valeur par défaut

GPF_WORK_DIR

--work-dir-path

Spécifiques#

Nom de la variable

Argument CLI correspondant

Valeur par défaut

GPF_DATABASE_STORAGE_USER

--pg-user

postgres

GPF_DATABASE_STORAGE_PWD

--pg-pass

postgres

GEOSERVICE_URL

--geoservice-url

http://localhost:8600/geoserver

GEOSERVER_USER

--geoservice-user

admin

GEOSERVER_PASS

--geoservice-pass

geoserver

GPF_ENDPOINT_NAME

--endpoint-name

endpoint

GEOSERVICE_POD_NAME

--pod-id

pod_id

GPF_WAREHOUSE_URL

--url-entrepot

EXCHANGE_NAME

--exchange-name

publication-{GPF_ENDPOINT_NAME}

PUBLICATION_RESULT_TOPIC

--publication-result-topic

publication-endpoint-update

RABBIT_HOST

--rabbit-host

localhost

RABBIT_PORT

--rabbit-port

5672

RABBIT_USERNAME

--rabbbit-login

RABBIT_PASSWORD

--rabbit-password

KEYCLOACK_USER_ID

--keycloack-user-id

GPF_S3_URL

--s3-url

``

GPF_S3_KEY

--s3-key

admin

GPF_S3_SECRETKEY

--s3-secret-key

minioadmin

GPF_S3_REGION

--s3-region

eu-west-3

ENDPOINT_DATA_DIR

--endpoint-data-dir

/data

GPF_HEALTH_FILE

--health-file

``

TODO: compléter