Skip to content

Fix suggested by copilot and claude review

be210a1
Select commit
Loading
Failed to load commit list.
Open

CF-3138 : Add cli command for ApplicationEvent list #3315

Fix suggested by copilot and claude review
be210a1
Select commit
Loading
Failed to load commit list.
SonarQube-Confluent / SonarQube Code Analysis succeeded Apr 11, 2026 in 39s

Annotations

Check failure on line 393 in test/test-server/flink_onprem_handler.go

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal "Unexpected method %s" 16 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=cli&pullRequest=3315&issues=c88e668c-aeed-43d1-855a-c60766514bbc&open=c88e668c-aeed-43d1-855a-c60766514bbc

Check failure on line 470 in test/test-server/flink_onprem_handler.go

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal "default-application-2" 5 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=cli&pullRequest=3315&issues=8f12d590-27ce-4e56-8f1d-2ab7baa140b3&open=8f12d590-27ce-4e56-8f1d-2ab7baa140b3

Check failure on line 469 in test/test-server/flink_onprem_handler.go

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal "default-application-1" 6 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=cli&pullRequest=3315&issues=f9646ccd-77a2-4dae-a836-d35c886dd5d2&open=f9646ccd-77a2-4dae-a836-d35c886dd5d2

Check failure on line 474 in test/test-server/flink_onprem_handler.go

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal "Application not found" 3 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=cli&pullRequest=3315&issues=b21a5761-37a0-403a-a75d-38a5eb922057&open=b21a5761-37a0-403a-a75d-38a5eb922057

Check failure on line 427 in test/test-server/flink_onprem_handler.go

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal "Environment not found" 13 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=cli&pullRequest=3315&issues=a1f3307b-ee1e-4993-835b-45c7242006b6&open=a1f3307b-ee1e-4993-835b-45c7242006b6

Check failure on line 471 in test/test-server/flink_onprem_handler.go

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal "default-application-s" 4 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=cli&pullRequest=3315&issues=762ec91d-00bb-42eb-872c-4ccf0a925d72&open=762ec91d-00bb-42eb-872c-4ccf0a925d72