Skip to content

feat: disable webhook v1 by default and add startup Quartz migration job - #4066

Open
alfespa17 wants to merge 2 commits into
feat/webhook-v1-disable-flagfrom
feat/webhook-v1-to-v2-startup-migration
Open

alfespa17 wants to merge 2 commits into
feat/webhook-v1-disable-flagfrom
feat/webhook-v1-to-v2-startup-migration

fix: group v1->v2 migration by repo, confirm v1 deletes, and add retr…

491a78d
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 30, 2026 in 1m 16s

Annotations

Check failure on line 550 in api/src/main/java/io/terrakube/api/plugin/vcs/provider/bitbucket/BitBucketWebhookService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "no response" 3 times.

See more on https://sonarcloud.io/project/issues?id=AzBuilder_azb-server&issues=AaIs_Hk5hE9oDkEaq_5o&open=AaIs_Hk5hE9oDkEaq_5o&pullRequest=4066

Check failure on line 652 in api/src/main/java/io/terrakube/api/plugin/vcs/provider/gitlab/GitLabWebhookService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=AzBuilder_azb-server&issues=AaIs_HrmhE9oDkEaq_5q&open=AaIs_HrmhE9oDkEaq_5q&pullRequest=4066

Check warning on line 641 in api/src/main/java/io/terrakube/api/plugin/vcs/provider/gitlab/GitLabWebhookService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested try block into a separate method.

See more on https://sonarcloud.io/project/issues?id=AzBuilder_azb-server&issues=AaIs_HrmhE9oDkEaq_5p&open=AaIs_HrmhE9oDkEaq_5p&pullRequest=4066

Check failure on line 56 in api/src/main/java/io/terrakube/api/plugin/scheduler/webhook/WebhookV1ToV2MigrationService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=AzBuilder_azb-server&issues=AaIoAE-cVNjnvCNino1O&open=AaIoAE-cVNjnvCNino1O&pullRequest=4066