Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
13d20ae
feat: replace static event name with dynamic based on event id
vordimous May 15, 2024
8c44723
update event.name test value
vordimous May 15, 2024
db6c249
Update incubator/catalog-filesystem/src/main/java/io/aklivity/zilla/r…
vordimous May 15, 2024
a9b16cd
Update runtime/exporter-stdout/src/main/java/io/aklivity/zilla/runtim…
vordimous May 15, 2024
db918eb
Update runtime/exporter-otlp/src/main/java/io/aklivity/zilla/runtime/…
vordimous May 15, 2024
5b3b00d
Build event name in Engine context
vordimous May 15, 2024
35f3254
fix build errors
vordimous May 16, 2024
5608829
update tests
vordimous May 16, 2024
34deb18
fix http binding event test
vordimous May 16, 2024
981fed4
move event names out of format
vordimous May 20, 2024
7bff9fe
correct code to pass tests
vordimous May 30, 2024
1ba8a8e
refactor the compact session topic event
vordimous May 30, 2024
30430b8
move the static reason into the event formatter
vordimous Jun 3, 2024
f3ccc93
update model validation event messages
vordimous Jun 3, 2024
c45effe
update jwt guard event message
vordimous Jun 3, 2024
74af1f5
update catalog filesystem event message
vordimous Jun 3, 2024
d11f441
Add generic tls error message
vordimous Jun 3, 2024
0d122ac
update tcp event message
vordimous Jun 3, 2024
7bdd8e3
add context to mqtt client connected message
vordimous Jun 3, 2024
a23579b
update kafka and http message formatting
vordimous Jun 3, 2024
4086ca4
update apicurio artifact fetch messages
vordimous Jun 3, 2024
369e109
update karapace schema registry message formatting
vordimous Jun 3, 2024
6cd31b3
fix test
vordimous Jun 3, 2024
656b19a
Update runtime/binding-tls/src/main/java/io/aklivity/zilla/runtime/bi…
vordimous Jun 3, 2024
187bd0e
Improve jwt message with added reason
vordimous Jun 3, 2024
140f628
rename
vordimous Jun 3, 2024
6377a8a
improve mqtt session topic compated event message
vordimous Jun 3, 2024
0b38f7a
update code coverage for guard-jwt project to 0.97
vordimous Jun 3, 2024
5d6e603
Merge branch 'develop' into feature/1013-use-full-event-id-and-the-ev…
vordimous Jun 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update apicurio artifact fetch messages
  • Loading branch information
vordimous committed Jun 3, 2024
commit 4086ca45aec3bcd97daa5ec100a360f81869f4e8
Original file line number Diff line number Diff line change
Expand Up @@ -51,33 +51,44 @@ public String format(
case UNRETRIEVABLE_ARTIFACT_SUBJECT_VERSION:
{
ApicurioUnretrievableArtifactSubjectVersionExFW ex = extension.unretrievableArtifactSubjectVersion();
result = String.format("%s %s", asString(ex.subject()), asString(ex.version()));
result = String.format(
"Unable to fetch artifact for subject %s with version %s.",
asString(ex.subject()),
asString(ex.version())
);
break;
}
case UNRETRIEVABLE_ARTIFACT_SUBJECT_VERSION_STALE_ARTIFACT:
{
ApicurioUnretrievableArtifactSubjectVersionStaleArtifactExFW ex = extension
.unretrievableArtifactSubjectVersionStaleArtifact();
result = String.format("%s (%s) | stale artifactId (%d)", asString(ex.subject()),
asString(ex.version()), ex.artifactId());
result = String.format(
"Unable to fetch artifact for subject %s with version %s; using stale artifact with id %d.",
asString(ex.subject()),
asString(ex.version()),
ex.artifactId()
);
break;
}
case UNRETRIEVABLE_ARTIFACT_ID:
{
ApicurioUnretrievableArtifactIdExFW ex = extension.unretrievableArtifactId();
result = String.format("%d", ex.artifactId());
result = String.format("Unable to fetch artifact id %d.", ex.artifactId());
break;
}
case RETRIEVED_ARTIFACT_SUBJECT_VERSION:
{
ApicurioRetrievableArtifactSubjectVersionExFW ex = extension.retrievableArtifactSubjectVersion();
result = String.format("%s %s", asString(ex.subject()), asString(ex.version()));
result = String.format("Successfully fetched artifact for subject %s with version %s.",
asString(ex.subject()),
asString(ex.version())
);
break;
}
case RETRIEVED_ARTIFACT_ID:
{
ApicurioRetrievableArtifactIdExFW ex = extension.retrievableArtifactId();
result = String.format("$d", ex.artifactId());
result = String.format("Successfully fetched artifact id %d.", ex.artifactId());
break;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ telemetry:
- qname: test.catalog0
id: catalog.apicurio.unretrievable.artifact.id
name: CATALOG_APICURIO_UNRETRIEVABLE_ARTIFACT_ID
message: 1
message: Unable to fetch artifact id 1.
- qname: test.catalog0
id: catalog.apicurio.retrievable.artifact.id
name: CATALOG_APICURIO_RETRIEVED_ARTIFACT_ID
message: 1
name: CATALOG_APICURIO_RETRIEVABLE_ARTIFACT_ID
message: Successfully fetched artifact id 1.
catalogs:
catalog0:
type: apicurio
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,10 @@ telemetry:
type: test
options:
events:
- qname: test.catalog0
id: catalog.apicurio.remote.access.rejected
name: CATALOG_APICURIO_REMOTE_ACCESS_REJECTED
message: GET http://localhost:8081/apis/registry/v2/ids/globalIds/1 0
- qname: test.catalog0
id: catalog.apicurio.unretrievable.artifact.subject.version
name: CATALOG_APICURIO_UNRETRIEVABLE_ARTIFACT_SUBJECT_VERSION
message: artifactId latest
message: Unable to fetch artifact for subject artifactId with version latest.
catalogs:
catalog0:
type: apicurio
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ telemetry:
- qname: test.catalog0
id: catalog.apicurio.unretrievable.artifact.subject.version
name: CATALOG_APICURIO_UNRETRIEVABLE_ARTIFACT_SUBJECT_VERSION
message: artifactId latest
message: Unable to fetch artifact for subject artifactId with version latest.
- qname: test.catalog0
id: catalog.apicurio.unretrievable.artifact.subject.version.stale.artifact
name: UNRETRIEVABLE_ARTIFACT_SUBJECT_VERSION_STALE_ARTIFACT
message: artifactId (latest) | stale artifactId (1)
name: CATALOG_APICURIO_UNRETRIEVABLE_ARTIFACT_SUBJECT_VERSION_STALE_ARTIFACT
message: Unable to fetch artifact for subject artifactId with version latest; using stale artifact with id 1.
- qname: test.catalog0
id: catalog.apicurio.retrievable.artifact.subject.version
name: CATALOG_APICURIO_RETRIEVED_ARTIFACT_SUBJECT_VERSION
message: artifactId latest
name: CATALOG_APICURIO_RETRIEVABLE_ARTIFACT_SUBJECT_VERSION
message: Successfully fetched artifact for subject artifactId with version latest.
catalogs:
catalog0:
type: apicurio
Expand Down