Skip to content

Add secret mapping golden files

02f3990
Select commit
Loading
Failed to load commit list.
Open

CF-1873 : Manage CMF secret mappings #3306

Add secret mapping golden files
02f3990
Select commit
Loading
Failed to load commit list.
SonarQube-Confluent / SonarQube Code Analysis succeeded Apr 6, 2026 in 39s

Annotations

Check failure on line 613 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-mapping/create-success.golden" 3 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=cli&pullRequest=3306&issues=cd4b2618-6849-4b36-ac58-df2884365811&open=cd4b2618-6849-4b36-ac58-df2884365811

Check failure on line 27 in internal/flink/command_secret_mapping_list.go

See this annotation in the file changed.

@sonarqube-confluent sonarqube-confluent / SonarQube Code Analysis

Refactor this method to reduce its Cognitive Complexity from 21 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=3306&issues=10f08ad8-1790-4ef2-9cb4-b77dd69ab367&open=10f08ad8-1790-4ef2-9cb4-b77dd69ab367

Check failure on line 666 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-mapping/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=3306&issues=83f2066d-3bc2-4351-a2e9-a1b59455c54b&open=83f2066d-3bc2-4351-a2e9-a1b59455c54b

Check failure on line 664 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-mapping/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=3306&issues=86f012e7-7b65-410d-b65d-b1a7153cac13&open=86f012e7-7b65-410d-b65d-b1a7153cac13

Check failure on line 663 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-mapping/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=3306&issues=5bfd5491-0d36-4d05-86f2-6e41c4604aa6&open=5bfd5491-0d36-4d05-86f2-6e41c4604aa6

Check failure on line 412 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=3306&issues=bc919619-e679-4cc2-80d6-bc4e40ddae83&open=bc919619-e679-4cc2-80d6-bc4e40ddae83

Check failure on line 617 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-mapping/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=3306&issues=e5d18656-6ed4-4ed5-a904-dd9fd5c72b79&open=e5d18656-6ed4-4ed5-a904-dd9fd5c72b79

Check failure on line 614 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-mapping/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=3306&issues=bdfd7d0b-3956-4393-83d6-4c3239be3052&open=bdfd7d0b-3956-4393-83d6-4c3239be3052

Check failure on line 662 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-mapping/update-success.golden" 3 times.

[S1192] String literals should not be duplicated
 See more on https://sonarqube.confluent.io/project/issues?id=cli&pullRequest=3306&issues=233c84f4-5eb4-4d70-874e-33442f5b02b0&open=233c84f4-5eb4-4d70-874e-33442f5b02b0

Check failure on line 615 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-mapping/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=3306&issues=d70882d5-d241-4d4f-a9d3-1b67d39cd587&open=d70882d5-d241-4d4f-a9d3-1b67d39cd587