Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centralized configuration for JDBC driver #1290

Merged
merged 3 commits into from
Mar 18, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add custom settings for test envrironment
  • Loading branch information
zhicwu committed Mar 18, 2023
commit 575fc5f3e02436d798a6207f0408d17efd6eb450
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
</server>
</openSSL>

<custom_settings_prefixes>custom_</custom_settings_prefixes>

<!-- single node cluster: single_node_cluster_localhost -->
<keeper_server>
<force_recovery>1</force_recovery>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
<clickhouse>
<profiles>
<managed1>
<!-- overridden parameters -->
<custom_jdbc_config><![CDATA['a=1&!b&compress_algorithm=gzip&transactionSupport']]></custom_jdbc_config>
</managed1>
<managed2>
<!-- whitelisted parameters -->
<custom_jdbc_config><![CDATA['*&a=1&!b&compress_algorithm=gzip&transactionSupport']]></custom_jdbc_config>
</managed2>
</profiles>
<users>
<dba>
<access_management>1</access_management>
Expand All @@ -25,6 +35,22 @@
<password></password>
<quota>default</quota>
</oof>
<poorman1>
<profile>managed1</profile>
<networks>
<ip>::/0</ip>
</networks>
<password></password>
<quota>default</quota>
</poorman1>
<poorman2>
<profile>managed2</profile>
<networks>
<ip>::/0</ip>
</networks>
<password></password>
<quota>default</quota>
</poorman2>
<test>
<profile>default</profile>
<networks incl="networks" replace="replace">
Expand Down