Skip to content

Fix stg access group validation#13562

Draft
Pearl1594 wants to merge 6 commits into
4.22from
fix-stg-access-group-validation
Draft

Fix stg access group validation#13562
Pearl1594 wants to merge 6 commits into
4.22from
fix-stg-access-group-validation

Merge branch '4.22' of https://github.com/apache/cloudstack into fix-…

e481cb0
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 16, 2026 in 9m 38s

Annotations

Check warning on line 3339 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zgc&open=AZ9rl3b5p7yOvkko-zgc&pullRequest=13562

Check warning on line 3215 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zfi&open=AZ9rl3b5p7yOvkko-zfi&pullRequest=13562

Check warning on line 3221 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zfn&open=AZ9rl3b5p7yOvkko-zfn&pullRequest=13562

Check warning on line 3283 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless assignment to local variable "storagePool1".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zf-&open=AZ9rl3b5p7yOvkko-zf-&pullRequest=13562

Check warning on line 3303 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zgK&open=AZ9rl3b5p7yOvkko-zgK&pullRequest=13562

Check warning on line 3229 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zfs&open=AZ9rl3b5p7yOvkko-zfs&pullRequest=13562

Check warning on line 3256 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zf3&open=AZ9rl3b5p7yOvkko-zf3&pullRequest=13562

Check warning on line 3319 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zgT&open=AZ9rl3b5p7yOvkko-zgT&pullRequest=13562

Check warning on line 3225 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zfq&open=AZ9rl3b5p7yOvkko-zfq&pullRequest=13562

Check warning on line 3368 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless assignment to local variable "storagePool2".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zgl&open=AZ9rl3b5p7yOvkko-zgl&pullRequest=13562

Check warning on line 3240 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "verify".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zfw&open=AZ9rl3b5p7yOvkko-zfw&pullRequest=13562

Check warning on line 3257 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zf4&open=AZ9rl3b5p7yOvkko-zf4&pullRequest=13562

Check warning on line 3347 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zgi&open=AZ9rl3b5p7yOvkko-zgi&pullRequest=13562

Check warning on line 3389 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zg7&open=AZ9rl3b5p7yOvkko-zg7&pullRequest=13562

Check warning on line 3315 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zgQ&open=AZ9rl3b5p7yOvkko-zgQ&pullRequest=13562

Check warning on line 7330 in server/src/main/java/com/cloud/vm/UserVmManagerImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the total number of break and continue statements in this loop to use at most one.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3S-p7yOvkko-zfW&open=AZ9rl3S-p7yOvkko-zfW&pullRequest=13562

Check warning on line 3265 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zf8&open=AZ9rl3b5p7yOvkko-zf8&pullRequest=13562

Check warning on line 3367 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless assignment to local variable "storagePool1".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zgm&open=AZ9rl3b5p7yOvkko-zgm&pullRequest=13562

Check warning on line 3212 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless assignment to local variable "storagePool1".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zfZ&open=AZ9rl3b5p7yOvkko-zfZ&pullRequest=13562

Check warning on line 3320 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zgU&open=AZ9rl3b5p7yOvkko-zgU&pullRequest=13562

Check warning on line 596 in server/src/main/java/com/cloud/vm/UserVmManagerImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3S-p7yOvkko-zfX&open=AZ9rl3S-p7yOvkko-zfX&pullRequest=13562

Check warning on line 3382 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zg4&open=AZ9rl3b5p7yOvkko-zg4&pullRequest=13562

Check warning on line 3367 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zgr&open=AZ9rl3b5p7yOvkko-zgr&pullRequest=13562

Check warning on line 3253 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "storagePool1" local variable.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zf1&open=AZ9rl3b5p7yOvkko-zf1&pullRequest=13562

Check warning on line 3312 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ9rl3b5p7yOvkko-zgO&open=AZ9rl3b5p7yOvkko-zgO&pullRequest=13562