Skip to content

Commit

Permalink
fix http binding event test
Browse files Browse the repository at this point in the history
  • Loading branch information
vordimous committed May 30, 2024
1 parent 32bb90f commit d6c1529
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@

public class StdoutEventsStream
{
// {zilla namespace}:{component name} [dd/MMM/yyyy:HH:mm:ss Z] {event name} - {event body}\n
private static final String FORMAT = "%s [%s] %s - %s%n";
// {zilla namespace}:{component name} [dd/MMM/yyyy:HH:mm:ss Z] {event name} {event body}\n
private static final String FORMAT = "%s [%s] %s %s%n";
private static final DateTimeFormatter FORMATTER = DateTimeFormatter.ofPattern("dd/MMM/yyyy:HH:mm:ss Z");

private final StdoutExporterContext context;
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: "- http GET 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: "- http GET localhost:8080 /"
bindings:
net0:
type: http
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@
{
"type": "string"
},
"name":
{
"type": "string"
},
"message":
{
"type": "string"
Expand Down

0 comments on commit d6c1529

Please sign in to comment.