From 016ca37ec296b7c077fc9fe15e570f21e116e508 Mon Sep 17 00:00:00 2001 From: AJ Date: Thu, 30 May 2024 10:29:08 -0400 Subject: [PATCH] correct code to pass tests --- .../catalog/apicurio/internal/ApicurioEventFormatter.java | 2 +- .../aklivity/zilla/specs/binding/tls/config/client.event.yaml | 2 +- .../io/aklivity/zilla/specs/model/json/config/event.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/catalog-apicurio/src/main/java/io/aklivity/zilla/runtime/catalog/apicurio/internal/ApicurioEventFormatter.java b/runtime/catalog-apicurio/src/main/java/io/aklivity/zilla/runtime/catalog/apicurio/internal/ApicurioEventFormatter.java index e28375b1e8..4cbd88cac3 100644 --- a/runtime/catalog-apicurio/src/main/java/io/aklivity/zilla/runtime/catalog/apicurio/internal/ApicurioEventFormatter.java +++ b/runtime/catalog-apicurio/src/main/java/io/aklivity/zilla/runtime/catalog/apicurio/internal/ApicurioEventFormatter.java @@ -77,7 +77,7 @@ public String format( case RETRIEVED_ARTIFACT_ID: { ApicurioRetrievableArtifactIdExFW ex = extension.retrievableArtifactId(); - result = String.format(RETRIEVED_ARTIFACT_ID, ex.artifactId()); + result = String.format("$d", ex.artifactId()); break; } } diff --git a/specs/binding-tls.spec/src/main/scripts/io/aklivity/zilla/specs/binding/tls/config/client.event.yaml b/specs/binding-tls.spec/src/main/scripts/io/aklivity/zilla/specs/binding/tls/config/client.event.yaml index dd6913bd7b..8f5ba26a93 100644 --- a/specs/binding-tls.spec/src/main/scripts/io/aklivity/zilla/specs/binding/tls/config/client.event.yaml +++ b/specs/binding-tls.spec/src/main/scripts/io/aklivity/zilla/specs/binding/tls/config/client.event.yaml @@ -24,7 +24,7 @@ telemetry: events: - qname: test.app0 id: binding.tls.handshake.failed - name: HANDSHAKE_FAILED + name: BINDING_TLS_HANDSHAKE_FAILED message: "" vaults: client: diff --git a/specs/model-json.spec/src/main/scripts/io/aklivity/zilla/specs/model/json/config/event.yaml b/specs/model-json.spec/src/main/scripts/io/aklivity/zilla/specs/model/json/config/event.yaml index 1184cdcfb3..aca649b07c 100644 --- a/specs/model-json.spec/src/main/scripts/io/aklivity/zilla/specs/model/json/config/event.yaml +++ b/specs/model-json.spec/src/main/scripts/io/aklivity/zilla/specs/model/json/config/event.yaml @@ -24,7 +24,7 @@ telemetry: - qname: test.net0 id: model.json.validation.failed name: MODEL_JSON_VALIDATION_FAILED - message: [1,10][/id] The value must be of string type, but actual type is integer. + message: "[1,10][/id] The value must be of string type, but actual type is integer." catalogs: test0: type: test