Skip to content

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

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

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

reworked tests

8babe73
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jun 22, 2026 in 1m 11s

Annotations

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 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 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 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 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