From 2637d7a3ae3cc5081e31be572f5464774632c765 Mon Sep 17 00:00:00 2001 From: Daniil Kashapov <81564730+JoBeR007@users.noreply.github.com> Date: Fri, 12 Apr 2024 17:25:34 +0500 Subject: [PATCH] fix router.yaml config file (#612) * fix router.yaml config file * fix router.yaml config file * add user and password to router.yaml --- examples/router.yaml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/examples/router.yaml b/examples/router.yaml index c067b499b..8592791c8 100644 --- a/examples/router.yaml +++ b/examples/router.yaml @@ -1,4 +1,4 @@ -host: '[spqr_router_1_1]' +host: '[localhost]' router_port: '8432' admin_console_port: '8433' grpc_api_port: '7001' @@ -13,6 +13,9 @@ time_quantiles: - 0.5 - 0.9 +init_sql: "examples/init.sql" +use_init_sql: false + frontend_tls: key_file: /etc/odyssey/ssl/server.key cert_file: /etc/odyssey/ssl/server.crt @@ -42,6 +45,9 @@ backend_rules: auth_method: md5 password: strong + +log_level: debug + shards: sh1: tls: @@ -52,21 +58,13 @@ shards: pwd: 12345678 type: DATA hosts: - - '192.168.233.2:6432' + - 'localhost:5550' sh2: tls: root_cert_file: /path/to/root.ca sslmode: disable - type: DATA - hosts: - - '192.168.233.3:6432' - w1: - tls: - root_cert_file: /path/to/root.ca - sslmode: disable - db: db1 usr: user1 pwd: 12345678 - type: WORLD + type: DATA hosts: - - '192.168.233.8:6432' + - 'localhost:5551'