Skip to content

fix(downloader): resolve OpenTofu versions beyond the newest 30 releases - #120

Merged
alfespa17 merged 1 commit into
masterfrom
fix/tofu-release-pagination
Nov 18, 2026
Merged

alfespa17 merged 1 commit into
masterfrom
fix/tofu-release-pagination

fix(downloader): resolve OpenTofu versions beyond the newest 30 releases

16f3672
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 18, 2026 in 24s

Annotations

Check warning on line 775 in terraform-client/src/test/java/io/terrakube/terraform/TerraformDownloaderTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "Thread.sleep()".

See more on https://sonarcloud.io/project/issues?id=AzBuilder_terraform-spring-boot&issues=AaHs0n29VBegY2Jq7j_m&open=AaHs0n29VBegY2Jq7j_m&pullRequest=120

Check failure on line 372 in terraform-client/src/main/java/io/terrakube/terraform/TerraformDownloader.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=AzBuilder_terraform-spring-boot&issues=AaHs0n3YVBegY2Jq7j_o&open=AaHs0n3YVBegY2Jq7j_o&pullRequest=120

Check warning on line 385 in terraform-client/src/test/java/io/terrakube/terraform/TerraformDownloaderTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use assertNotEquals instead.

See more on https://sonarcloud.io/project/issues?id=AzBuilder_terraform-spring-boot&issues=AaHs0n29VBegY2Jq7j_j&open=AaHs0n29VBegY2Jq7j_j&pullRequest=120

Check warning on line 542 in terraform-client/src/main/java/io/terrakube/terraform/TerraformDownloader.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof IOException ioexception'

See more on https://sonarcloud.io/project/issues?id=AzBuilder_terraform-spring-boot&issues=AaHs0n3YVBegY2Jq7j_s&open=AaHs0n3YVBegY2Jq7j_s&pullRequest=120

Check warning on line 743 in terraform-client/src/test/java/io/terrakube/terraform/TerraformDownloaderTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move the conditional expression inside this operation.

See more on https://sonarcloud.io/project/issues?id=AzBuilder_terraform-spring-boot&issues=AaHs0n29VBegY2Jq7j_l&open=AaHs0n29VBegY2Jq7j_l&pullRequest=120

Check failure on line 495 in terraform-client/src/main/java/io/terrakube/terraform/TerraformDownloader.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=AzBuilder_terraform-spring-boot&issues=AaHs0n3YVBegY2Jq7j_r&open=AaHs0n3YVBegY2Jq7j_r&pullRequest=120

Check warning on line 454 in terraform-client/src/main/java/io/terrakube/terraform/TerraformDownloader.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=AzBuilder_terraform-spring-boot&issues=AaHs0n3YVBegY2Jq7j_p&open=AaHs0n3YVBegY2Jq7j_p&pullRequest=120

Check warning on line 379 in terraform-client/src/main/java/io/terrakube/terraform/TerraformDownloader.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=AzBuilder_terraform-spring-boot&issues=AaHs0n3YVBegY2Jq7j_n&open=AaHs0n3YVBegY2Jq7j_n&pullRequest=120

Check warning on line 986 in terraform-client/src/main/java/io/terrakube/terraform/TerraformDownloader.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=AzBuilder_terraform-spring-boot&issues=AaHs0n3YVBegY2Jq7j_t&open=AaHs0n3YVBegY2Jq7j_t&pullRequest=120

Check warning on line 477 in terraform-client/src/test/java/io/terrakube/terraform/TerraformDownloaderTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this String concatenation with Text block.

See more on https://sonarcloud.io/project/issues?id=AzBuilder_terraform-spring-boot&issues=AaHs0n29VBegY2Jq7j_k&open=AaHs0n29VBegY2Jq7j_k&pullRequest=120

Check warning on line 464 in terraform-client/src/main/java/io/terrakube/terraform/TerraformDownloader.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move the conditional expression inside this operation.

See more on https://sonarcloud.io/project/issues?id=AzBuilder_terraform-spring-boot&issues=AaHs0n3YVBegY2Jq7j_q&open=AaHs0n3YVBegY2Jq7j_q&pullRequest=120

Check warning on line 271 in terraform-client/src/test/java/io/terrakube/terraform/TerraformDownloaderTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "Thread.sleep()".

See more on https://sonarcloud.io/project/issues?id=AzBuilder_terraform-spring-boot&issues=AaHs0n29VBegY2Jq7j_i&open=AaHs0n29VBegY2Jq7j_i&pullRequest=120