DGS-21268 Add support for full payload encryption #1452
Quality Gate failed
Annotations
Check failure on line 97 in schemaregistry/serde/avrov2/avro.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/avrov2/avro.go#L97
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.
Check failure on line 204 in schemaregistry/serde/avrov2/avro.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/avrov2/avro.go#L204
Refactor this method to reduce its Cognitive Complexity from 55 to the 15 allowed.
Check failure on line 394 in schemaregistry/serde/avrov2/avro_test.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/avrov2/avro_test.go#L394
Define a constant instead of duplicating this literal "Serializer configuration" 32 times.
Check failure on line 1540 in schemaregistry/serde/avrov2/avro_test.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/avrov2/avro_test.go#L1540
Define a constant instead of duplicating this literal "encrypt.kms.type" 11 times.
Check failure on line 406 in schemaregistry/serde/avrov2/avro_test.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/avrov2/avro_test.go#L406
Define a constant instead of duplicating this literal "Deserializer configuration" 33 times.
Check failure on line 501 in schemaregistry/serde/avrov2/avro_test.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/avrov2/avro_test.go#L501
Define a constant instead of duplicating this literal "Expected valid schema id, found %d" 37 times.
Check failure on line 1543 in schemaregistry/serde/avrov2/avro_test.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/avrov2/avro_test.go#L1543
Define a constant instead of duplicating this literal "ERROR,NONE" 8 times.
Check failure on line 1539 in schemaregistry/serde/avrov2/avro_test.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/avrov2/avro_test.go#L1539
Define a constant instead of duplicating this literal "encrypt.kek.name" 11 times.
Check failure on line 499 in schemaregistry/serde/avrov2/avro_test.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/avrov2/avro_test.go#L499
Define a constant instead of duplicating this literal "Schema registration" 37 times.
Check failure on line 1533 in schemaregistry/serde/avrov2/avro_test.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/avrov2/avro_test.go#L1533
Define a constant instead of duplicating this literal "test-encrypt" 11 times.
Check failure on line 351 in schemaregistry/serde/avrov2/avro_test.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/avrov2/avro_test.go#L351
Define a constant instead of duplicating this literal "topic1-value" 39 times.
Check failure on line 391 in schemaregistry/serde/avrov2/avro_test.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/avrov2/avro_test.go#L391
Define a constant instead of duplicating this literal "Schema Registry configuration" 33 times.
Check failure on line 388 in schemaregistry/serde/avrov2/avro_test.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/avrov2/avro_test.go#L388
Define a constant instead of duplicating this literal "mock://" 33 times.
Check failure on line 1541 in schemaregistry/serde/avrov2/avro_test.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/avrov2/avro_test.go#L1541
Define a constant instead of duplicating this literal "encrypt.kms.key.id" 11 times.
Check failure on line 1540 in schemaregistry/serde/avrov2/avro_test.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/avrov2/avro_test.go#L1540
Define a constant instead of duplicating this literal "local-kms" 14 times.
Check failure on line 99 in schemaregistry/serde/jsonschema/json_schema.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/jsonschema/json_schema.go#L99
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.
Check failure on line 208 in schemaregistry/serde/jsonschema/json_schema.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/jsonschema/json_schema.go#L208
Refactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed.
Check failure on line 242 in schemaregistry/serde/jsonschema/json_schema_test.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/jsonschema/json_schema_test.go#L242
Define a constant instead of duplicating this literal "Serializer configuration" 24 times.
Check failure on line 236 in schemaregistry/serde/jsonschema/json_schema_test.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/jsonschema/json_schema_test.go#L236
Define a constant instead of duplicating this literal "mock://" 22 times.
Check failure on line 1124 in schemaregistry/serde/jsonschema/json_schema_test.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/jsonschema/json_schema_test.go#L1124
Define a constant instead of duplicating this literal "encrypt.kms.type" 5 times.
Check failure on line 254 in schemaregistry/serde/jsonschema/json_schema_test.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/jsonschema/json_schema_test.go#L254
Define a constant instead of duplicating this literal "Deserializer configuration" 21 times.
Check failure on line 1125 in schemaregistry/serde/jsonschema/json_schema_test.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/jsonschema/json_schema_test.go#L1125
Define a constant instead of duplicating this literal "encrypt.kms.key.id" 5 times.
Check failure on line 407 in schemaregistry/serde/jsonschema/json_schema_test.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/jsonschema/json_schema_test.go#L407
Define a constant instead of duplicating this literal "Expected valid schema id, found %d" 22 times.
Check failure on line 1127 in schemaregistry/serde/jsonschema/json_schema_test.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/jsonschema/json_schema_test.go#L1127
Define a constant instead of duplicating this literal "ERROR,NONE" 5 times.
Check failure on line 1123 in schemaregistry/serde/jsonschema/json_schema_test.go
sonarqube-confluent / confluent-kafka-go Sonarqube Results
schemaregistry/serde/jsonschema/json_schema_test.go#L1123
Define a constant instead of duplicating this literal "encrypt.kek.name" 5 times.