Skip to content

Commit 0b3d267

Browse files
committed
use deprecated configs temporarily
1 parent 235321f commit 0b3d267

File tree

6 files changed

+16
-5
lines changed

6 files changed

+16
-5
lines changed

examples/p2p-tutorial/broker/alice/conf/config.yml.template

+2
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@ storage:
2626
max_open_conns: 100
2727
conn_max_idle_time: 2m
2828
conn_max_lifetime: 5m
29+
# deprecated configs, temporarily reserved for compatibility with older versions
30+
engines: ["engine_alice:8003"]

examples/p2p-tutorial/broker/bob/conf/config.yml.template

+2
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@ storage:
2626
max_open_conns: 100
2727
conn_max_idle_time: 2m
2828
conn_max_lifetime: 5m
29+
# deprecated configs, temporarily reserved for compatibility with older versions
30+
engines: ["engine_alice:8003"]

examples/p2p-tutorial/engine/alice/conf/gflags.conf.template

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@
1212
# set peer_engine_enable_ssl_as_client to true when peer SCQLEngine has https enabled
1313
--peer_engine_enable_ssl_as_client=true
1414
# set false when SCQLBroker IntraServer not enable https
15-
--driver_enable_ssl_as_client=false
15+
--driver_enable_ssl_as_client=false
16+
# deprecated configs, temporarily reserved for compatibility with older versions
17+
--scdb_enable_ssl_as_client=false

examples/p2p-tutorial/engine/bob/conf/gflags.conf.template

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@
1212
# set peer_engine_enable_ssl_as_client to true when peer SCQLEngine has https enabled
1313
--peer_engine_enable_ssl_as_client=true
1414
# set false when SCQLBroker IntraServer not enable https
15-
--driver_enable_ssl_as_client=false
15+
--driver_enable_ssl_as_client=false
16+
# deprecated configs, temporarily reserved for compatibility with older versions
17+
--scdb_enable_ssl_as_client=false

examples/scdb-tutorial/engine/alice/conf/gflags.conf.template

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@
99
--enable_self_auth=true
1010
--enable_peer_auth=true
1111
--private_key_pem_path=/home/admin/engine/conf/ed25519key.pem
12-
--authorized_profile_path=/home/admin/engine/conf/authorized_profile.json
12+
--authorized_profile_path=/home/admin/engine/conf/authorized_profile.json
13+
# deprecated configs, temporarily reserved for compatibility with older versions
14+
--scdb_enable_ssl_as_client=false

examples/scdb-tutorial/engine/bob/conf/gflags.conf.template

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
--driver_enable_ssl_as_client=false
66
--peer_engine_enable_ssl_as_client=false
77
--embed_router_conf={"datasources":[{"id":"ds001","name":"mysql db","kind":"MYSQL","connection_str":"db=bob;user=root;password=__MYSQL_ROOT_PASSWD__;host=mysql;auto-reconnect=true"}],"rules":[{"db":"*","table":"*","datasource_id":"ds001"}]}
8-
98
# party authentication flags
109
--enable_self_auth=true
1110
--enable_peer_auth=true
1211
--private_key_pem_path=/home/admin/engine/conf/ed25519key.pem
13-
--authorized_profile_path=/home/admin/engine/conf/authorized_profile.json
12+
--authorized_profile_path=/home/admin/engine/conf/authorized_profile.json
13+
# deprecated configs, temporarily reserved for compatibility with older versions
14+
--scdb_enable_ssl_as_client=false

0 commit comments

Comments
 (0)