Skip to content

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

Open
chernser wants to merge 9 commits into
mainfrom
06/10/26/ssl_modes
Open

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

Added test to verify that strict mode throws exception with no trust …

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

Quality Gate failed

Annotations

Check warning on line 365 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 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 442 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 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 26 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 411 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

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 warning on line 11 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 unused import 'com.clickhouse.client.api.DataTransferException'.

See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ7Wnq6bqnArnm-tvhog&open=AZ7Wnq6bqnArnm-tvhog&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 64 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 unused import 'javax.net.ssl.SSLHandshakeException'.

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

Check warning on line 305 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 426 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 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 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 51 in client-v2/src/test/java/com/clickhouse/client/api/ClientBuilderTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

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