From 64fb79deab605757054fe0081d8a11636526abd9 Mon Sep 17 00:00:00 2001 From: Raido Kaju Date: Wed, 4 Oct 2023 14:43:30 +0300 Subject: [PATCH] Updates for Metrics release 1.2.0 (#95) (#96) * chore: fix the incorrect name in sample settings.yaml * chore: improve documentation example --- anonymizer_module/etc/settings.yaml | 4 ++-- docs/opendata_module.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/anonymizer_module/etc/settings.yaml b/anonymizer_module/etc/settings.yaml index 7a7ce454..c415af7e 100644 --- a/anonymizer_module/etc/settings.yaml +++ b/anonymizer_module/etc/settings.yaml @@ -10,8 +10,8 @@ xroad: instance: - # Security server used to collect member statistics - security-server: + # Central Server global conf used to collect member statistics + central-server: protocol: http:// host: timeout: 60.0 diff --git a/docs/opendata_module.md b/docs/opendata_module.md index a6e0c91b..a3d94380 100644 --- a/docs/opendata_module.md +++ b/docs/opendata_module.md @@ -129,7 +129,7 @@ sudo apt install postgresql ### Automatic PostgreSQL User Creation The X-Road Metrics Opendata package includes a command that creates the PostgreSQL users automatically. -To create PostgreSQL users for X-Road instance *EX* run the following commands: +To create PostgreSQL users for X-Road instance *LTT* run the following commands: ```bash sudo su postgres @@ -219,14 +219,14 @@ For detailed information see https://www.postgresql.org/docs/current/libpq-ssl.h To configure path to the SSL root certificate, set `ssl-root-cert` -Example of `/etc/settings.yaml` entry: +Example of `/etc/[module]/settings.yaml` entry: ``` postgres: host: localhost port: 5432 user: postgres password: ******* - database-name: postgres + database-name: opendata_LTT table-name: logs ssl-mode: verify-full ssl-root-cert: /etc/ssl/certs/root.crt