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 kafka and http message formatting
  • Loading branch information
vordimous committed Jun 3, 2024
commit a23579b985ea59da2573a49cf76ac1700d9e894a
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public String format(
case REQUEST_ACCEPTED:
{
HttpRequestAcceptedExFW ex = extension.requestAccepted();
result = String.format("%s %s %s %s %s", identity(ex.identity()), asString(ex.scheme()), asString(ex.method()),
result = String.format("%s %s %s://%s%s", identity(ex.identity()), asString(ex.method()), asString(ex.scheme()),
asString(ex.authority()), asString(ex.path()));
break;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public String format(
case AUTHORIZATION_FAILED:
{
KafkaAuthorizationFailedExFW ex = extension.authorizationFailed();
result = String.format("%s", identity(ex.identity()));
result = String.format("Unable to authenticate client with identity (%s).", asString(ex.identity()));
break;
}
case API_VERSION_REJECTED:
Expand All @@ -61,10 +61,10 @@ public String format(
return result;
}

private static String identity(
StringFW identity)
private static String asString(
StringFW stringFW)
{
int length = identity.length();
return length <= 0 ? "-" : identity.asString();
String s = stringFW.asString();
return s == null ? "" : s;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ telemetry:
- qname: test.net0
id: binding.http.request.accepted
name: BINDING_HTTP_REQUEST_ACCEPTED
message: "- http GET localhost:8080 /"
message: "- GET http://localhost:8080/"
bindings:
net0:
type: http
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ telemetry:
- qname: test.net0
id: binding.http.request.accepted
name: BINDING_HTTP_REQUEST_ACCEPTED
message: "- http GET localhost:8080 /"
message: "- GET http://localhost:8080/"
bindings:
net0:
type: http
Expand Down