Skip to content

Fix to support multi secrets delete

22a5c8f
Select commit
Loading
Failed to load commit list.
Open

CF-1872 : Add CRUD cli commands for Secrets #3305

Fix to support multi secrets delete
22a5c8f
Select commit
Loading
Failed to load commit list.
SonarQube-Confluent / SonarQube Code Analysis succeeded Apr 4, 2026 in 38s

Annotations

Check failure on line 739 in test/flink_onprem_test.go

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal "flink/secret/update-success-yaml.golden" 3 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=cli&pullRequest=3305&issues=a144ca31-c2a8-4260-9206-c939bac3d2ed&open=a144ca31-c2a8-4260-9206-c939bac3d2ed

Check failure on line 690 in test/flink_onprem_test.go

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal "flink/secret/create-success-yaml.golden" 3 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=cli&pullRequest=3305&issues=50373c4e-db97-430f-a114-d30897c56958&open=50373c4e-db97-430f-a114-d30897c56958

Check failure on line 688 in test/flink_onprem_test.go

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal "flink/secret/create-success.golden" 3 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=cli&pullRequest=3305&issues=74ea64fd-40af-4d3d-90df-6da8489c4201&open=74ea64fd-40af-4d3d-90df-6da8489c4201

Check failure on line 737 in test/flink_onprem_test.go

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal "flink/secret/update-success.golden" 3 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=cli&pullRequest=3305&issues=99a7d497-c93e-4719-9835-2b6376f385e4&open=99a7d497-c93e-4719-9835-2b6376f385e4

Check failure on line 689 in test/flink_onprem_test.go

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal "flink/secret/create-success-json.golden" 3 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=cli&pullRequest=3305&issues=b51dde6c-d36e-4404-8ce9-e0001af3fbac&open=b51dde6c-d36e-4404-8ce9-e0001af3fbac

Check failure on line 692 in test/flink_onprem_test.go

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal "flink/secret/create-invalid-failure.golden" 3 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=cli&pullRequest=3305&issues=8863d67a-270c-4930-8f8d-40a1a6f9d1d8&open=8863d67a-270c-4930-8f8d-40a1a6f9d1d8

Check failure on line 395 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" 17 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=cli&pullRequest=3305&issues=d73dbb51-fb58-411d-ac64-12aac6bb56c6&open=d73dbb51-fb58-411d-ac64-12aac6bb56c6

Check failure on line 741 in test/flink_onprem_test.go

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal "flink/secret/update-invalid-failure.golden" 3 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=cli&pullRequest=3305&issues=9c9cf391-4555-452f-9e69-2790419b52dd&open=9c9cf391-4555-452f-9e69-2790419b52dd

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

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

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

[S3776] Cognitive Complexity of functions should not be too high
 See more on https://sonarqube.confluent.io/project/issues?id=cli&pullRequest=3305&issues=d02439bc-d013-4a10-90c1-eac2d826d569&open=d02439bc-d013-4a10-90c1-eac2d826d569

Check failure on line 738 in test/flink_onprem_test.go

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Define a constant instead of duplicating this literal "flink/secret/update-success-json.golden" 3 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=cli&pullRequest=3305&issues=8413e631-8334-41e1-805d-45f9eea87a33&open=8413e631-8334-41e1-805d-45f9eea87a33