Skip to content

Add generic SSL TLS configuration support

e335983
Select commit
Loading
Failed to load commit list.
Draft

Add generic SSL/TLS configuration support #17854

Add generic SSL TLS configuration support
e335983
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 5, 2026 in 2m 53s

Quality Gate failed

Failed conditions
6.7% Duplication on New Code (required ≤ 5%)
B Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 141 in iotdb-client/cli/src/main/java/org/apache/iotdb/cli/AbstractCli.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6XaZczOPSex0CpCscf&open=AZ6XaZczOPSex0CpCscf&pullRequest=17854

Check warning on line 66 in iotdb-client/session/src/main/java/org/apache/iotdb/session/AbstractSessionBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sslProviderClass a static final constant or non-public and provide accessors if needed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6XaZghOPSex0CpCsci&open=AZ6XaZghOPSex0CpCsci&pullRequest=17854

Check warning on line 109 in iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/BaseRpcTransportFactory.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '83'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6XaZZ6OPSex0CpCsce&open=AZ6XaZZ6OPSex0CpCsce&pullRequest=17854

Check warning on line 80 in iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/RpcSslUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Abbreviation in name 'createTSSLTransportParameters' must contain no more than '2' consecutive capital letters.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6XaZZsOPSex0CpCscV&open=AZ6XaZZsOPSex0CpCscV&pullRequest=17854

Check warning on line 156 in iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/RpcSslUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Abbreviation in name 'createSSLContext' must contain no more than '2' consecutive capital letters.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6XaZZsOPSex0CpCscW&open=AZ6XaZZsOPSex0CpCscW&pullRequest=17854

Check warning on line 345 in iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/RpcSslUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This accessibility update should be removed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6XaZZsOPSex0CpCscR&open=AZ6XaZZsOPSex0CpCscR&pullRequest=17854

Check warning on line 335 in iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/RpcSslUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '61'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6XaZZsOPSex0CpCscb&open=AZ6XaZZsOPSex0CpCscb&pullRequest=17854

Check warning on line 73 in iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/RpcSslUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Abbreviation in name 'createTSSLTransportParameters' must contain no more than '2' consecutive capital letters.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6XaZZsOPSex0CpCscU&open=AZ6XaZZsOPSex0CpCscU&pullRequest=17854

Check warning on line 50 in external-service-impl/rest/src/main/java/org/apache/iotdb/rest/RestService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Method has 9 parameters, which is greater than 7 authorized.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6XaZTCOPSex0CpCscO&open=AZ6XaZTCOPSex0CpCscO&pullRequest=17854

Check warning on line 66 in iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/RpcSslUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Abbreviation in name 'createTSSLTransportParameters' must contain no more than '2' consecutive capital letters.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6XaZZsOPSex0CpCscT&open=AZ6XaZZsOPSex0CpCscT&pullRequest=17854

Check warning on line 130 in iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/BaseRpcTransportFactory.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Method has 9 parameters, which is greater than 7 authorized.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6XaZZ6OPSex0CpCscc&open=AZ6XaZZ6OPSex0CpCscc&pullRequest=17854

Check warning on line 275 in iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/RpcSslUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Abbreviation in name 'newSSLContext' must contain no more than '2' consecutive capital letters.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6XaZZsOPSex0CpCsca&open=AZ6XaZZsOPSex0CpCsca&pullRequest=17854

Check warning on line 53 in iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/RpcSslUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a thread-safe type; adding "volatile" is not enough to make this field thread-safe.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6XaZZsOPSex0CpCscQ&open=AZ6XaZZsOPSex0CpCscQ&pullRequest=17854

Check warning on line 166 in iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/RpcSslUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Abbreviation in name 'createSSLContext' must contain no more than '2' consecutive capital letters.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6XaZZsOPSex0CpCscX&open=AZ6XaZZsOPSex0CpCscX&pullRequest=17854

Check warning on line 183 in iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/RpcSslUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Abbreviation in name 'createSSLContext' must contain no more than '2' consecutive capital letters.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6XaZZsOPSex0CpCscY&open=AZ6XaZZsOPSex0CpCscY&pullRequest=17854

Check warning on line 143 in iotdb-client/cli/src/main/java/org/apache/iotdb/cli/AbstractCli.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6XaZczOPSex0CpCscg&open=AZ6XaZczOPSex0CpCscg&pullRequest=17854

Check warning on line 152 in external-service-impl/rest/src/main/java/org/apache/iotdb/rest/RestService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Abbreviation in name 'configureSSL' must contain no more than '2' consecutive capital letters.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6XaZTCOPSex0CpCscP&open=AZ6XaZTCOPSex0CpCscP&pullRequest=17854

Check warning on line 65 in iotdb-client/session/src/main/java/org/apache/iotdb/session/AbstractSessionBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sslProtocol a static final constant or non-public and provide accessors if needed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6XaZghOPSex0CpCsch&open=AZ6XaZghOPSex0CpCsch&pullRequest=17854

Check warning on line 227 in iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/RpcSslUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Abbreviation in name 'getSSLContextProviderName' must contain no more than '2' consecutive capital letters.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6XaZZsOPSex0CpCscZ&open=AZ6XaZZsOPSex0CpCscZ&pullRequest=17854

Check warning on line 190 in iotdb-client/session/src/main/java/org/apache/iotdb/session/SessionConnection.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Abbreviation in name 'useSSL' must contain no more than '2' consecutive capital letters.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6XaZizOPSex0CpCscj&open=AZ6XaZizOPSex0CpCscj&pullRequest=17854

Check warning on line 93 in iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/BaseRpcTransportFactory.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Abbreviation in name 'getTransportWithSSLConfig' must contain no more than '2' consecutive capital letters.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6XaZZ6OPSex0CpCscd&open=AZ6XaZZ6OPSex0CpCscd&pullRequest=17854

Check warning on line 377 in iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/RpcSslUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty array instead of null.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6XaZZsOPSex0CpCscS&open=AZ6XaZZsOPSex0CpCscS&pullRequest=17854