Utilisation en ligne de commande

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

Fonctionnement général

Agent de publication des configurations de type VECTOR-TMS de la Géoplateforme.

Commandes et options

GPF PUB AGENT VECTOR TMS 1.2.0 - Agent de publication des configurations de type VECTOR-TMS de la Géoplateforme

gpf-pub-agent-vector-tms [-h] [-v] [--version] [--gs-url GEOSERVICE_URL]
                         [--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]
                         [--rabbit-login RABBIT_USERNAME] [--rabbit-password RABBIT_PASSWORD]
                         [--health-file GPF_HEALTH_FILE]
                         [--gs-url-health GEOSERVICE_URL_HEALTHCHECK]
                         [--pg-user GPF_DATABASE_STORAGE_USER]
                         [--pg-pass GPF_DATABASE_STORAGE_PWD]
                         [--pg-tileserv-pg-host PG_TILESERV_PG_HOST]
                         [--pg-tileserv-pg-port PG_TILESERV_PG_PORT]
                         [--pg-tileserv-pg-db PG_TILESERV_PG_DB]
                         [--pg-tileserv-pg-login PG_TILESERV_PG_LOGIN]
                         [--pg-tileserv-pg-password PG_TILESERV_PG_PASSWORD]
                         [--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-vector-tms options

Agent de publication des configurations de type VECTOR-TMS de la Géoplateforme.

Développé par Quy Thy TRUONG
Documentation : https://geoplateforme.pages.gpf-tech.ign.fr/

Variables d’environnement

Génériques

Nom de la variable

Argument CLI correspondant

Valeur par défaut

GEOSERVICE_URL

--geoservice-url

http://localhost:8600/

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_HEALTH_FILE

--health-file

GEOSERVICE_URL_HEALTHCHECK

--geoservice-url-healthcheck

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

PG_TILESERV_PG_HOST

--pg-tileserv-pg-host

endpoint

PG_TILESERV_PG_PORT

--pg-tileserv-pg-port

5444

PG_TILESERV_PG_DB

--pg-tileserv-pg-db

ign

PG_TILESERV_PG_LOGIN

--pg-tileserv-pg-login

ign

PG_TILESERV_PG_PASSWORD

-pg-tileserv-pg-password

ign

TODO: compléter