Skip to content

[client-v2, jdbc-v2] Implement SSL Modes #2874

Merged
chernser merged 10 commits into
mainfrom
06/10/26/ssl_modes
Jun 23, 2026
Merged

[client-v2, jdbc-v2] Implement SSL Modes #2874
chernser merged 10 commits into
mainfrom
06/10/26/ssl_modes

Made building ssl context in builder way. Renamed SSLMode constants t…

ea14e4f
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 17, 2026 in 1m 5s

Quality Gate failed

Annotations

Check warning on line 809 in jdbc-v2/src/test/java/com/clickhouse/jdbc/ConnectionTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "ClickHouseNode"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ61JW4sZBZf2NUkYWjj&open=AZ61JW4sZBZf2NUkYWjj&pullRequest=2874

Check failure on line 1159 in client-v2/src/main/java/com/clickhouse/client/api/Client.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ7TbFntIRleBA2bJ1df&open=AZ7TbFntIRleBA2bJ1df&pullRequest=2874

Check warning on line 439 in client-v2/src/test/java/com/clickhouse/client/HttpTransportTests.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "ClickHouseNode"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ61JW2LZBZf2NUkYWjZ&open=AZ61JW2LZBZf2NUkYWjZ&pullRequest=2874

Check warning on line 100 in client-v2/src/main/java/com/clickhouse/client/api/internal/SslContextProvider.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract the assignment out of this expression.

See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ7TbFmfIRleBA2bJ1de&open=AZ7TbFmfIRleBA2bJ1de&pullRequest=2874

Check warning on line 302 in client-v2/src/test/java/com/clickhouse/client/HttpTransportTests.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "ClickHouseNode"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ61JW2LZBZf2NUkYWjW&open=AZ61JW2LZBZf2NUkYWjW&pullRequest=2874

Check warning on line 336 in jdbc-v2/src/main/java/com/clickhouse/jdbc/internal/JdbcConfiguration.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 65 to 64, Complexity from 18 to 14, Nesting Level from 4 to 2, Number of Variables from 17 to 6.

See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ61JW5XZBZf2NUkYWjl&open=AZ61JW5XZBZf2NUkYWjl&pullRequest=2874

Check failure on line 336 in jdbc-v2/src/main/java/com/clickhouse/jdbc/internal/JdbcConfiguration.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 32 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ61JW5XZBZf2NUkYWjk&open=AZ61JW5XZBZf2NUkYWjk&pullRequest=2874

Check warning on line 772 in jdbc-v2/src/test/java/com/clickhouse/jdbc/ConnectionTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "ClickHouseNode"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ61JW4sZBZf2NUkYWji&open=AZ61JW4sZBZf2NUkYWji&pullRequest=2874

Check warning on line 423 in client-v2/src/test/java/com/clickhouse/client/HttpTransportTests.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "ClickHouseNode"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ7Mi4obmszxWMRM48J5&open=AZ7Mi4obmszxWMRM48J5&pullRequest=2874

Check warning on line 362 in client-v2/src/test/java/com/clickhouse/client/HttpTransportTests.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "ClickHouseNode"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ61JW2LZBZf2NUkYWjX&open=AZ61JW2LZBZf2NUkYWjX&pullRequest=2874

Check warning on line 408 in client-v2/src/test/java/com/clickhouse/client/HttpTransportTests.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "ClickHouseNode"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ61JW2LZBZf2NUkYWjY&open=AZ61JW2LZBZf2NUkYWjY&pullRequest=2874