Skip to content

StorageManager tech debt: deprecated SearchCriteria.addAnd - #14564

Open
DaanHoogland wants to merge 1 commit into
ghi12316-storage-trivial-warningsfrom
ghi12316-storage-addand-deprecations
Open

DaanHoogland wants to merge 1 commit into
ghi12316-storage-trivial-warningsfrom
ghi12316-storage-addand-deprecations

storage: replace deprecated SearchCriteria.addAnd with SearchBuilders

8c7dab4
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 6, 2026 in 3m 39s

Quality Gate failed

Annotations

Check warning on line 409 in server/src/main/java/com/cloud/storage/StorageManagerImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this field "PoolCapacitySearch" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaGxphDZYtd_M9S3tMXK&open=AaGxphDZYtd_M9S3tMXK&pullRequest=14564

Check warning on line 410 in server/src/main/java/com/cloud/storage/StorageManagerImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this field "PoolUsedStatsSearch" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaGxphDZYtd_M9S3tMXL&open=AaGxphDZYtd_M9S3tMXL&pullRequest=14564

Check failure on line 607 in server/src/main/java/com/cloud/storage/StorageManagerImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "dataCenterId" 4 times.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaGxphDZYtd_M9S3tMXI&open=AaGxphDZYtd_M9S3tMXI&pullRequest=14564

Check failure on line 613 in server/src/main/java/com/cloud/storage/StorageManagerImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "podId" 4 times.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaGxphDZYtd_M9S3tMXH&open=AaGxphDZYtd_M9S3tMXH&pullRequest=14564

Check failure on line 614 in server/src/main/java/com/cloud/storage/StorageManagerImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "clusterId" 4 times.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaGxphDZYtd_M9S3tMXJ&open=AaGxphDZYtd_M9S3tMXJ&pullRequest=14564