Skip to content
Merged
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void statusReportsNotRegisteredByDefault() {
String text = (String) console.call(DevConsole.MediaType.TEXT, Map.of("command", "status"));

assertThat(text)
.contains("registered: false")
.contains("runtimeEvents: false")
.contains("event route")
.contains("event processor")
.contains("event exchange")
Expand All @@ -92,7 +92,7 @@ void statusReportsRegisteredWhenRuntimeInstrumentationEnabled() throws Exception

String text = (String) resolveConsole(ctx).call(DevConsole.MediaType.TEXT, Map.of("command", "status"));

assertThat(text).contains("registered: true");
assertThat(text).contains("runtimeEvents: true");
}
}

Expand Down Expand Up @@ -180,7 +180,7 @@ void jsonStatusAndToggleReflectLiveState() {
CamelJfrDevConsole console = resolveConsole(context);
try (Recording recording = startRecordingWithAllEvents()) {
JsonObject status = (JsonObject) console.call(DevConsole.MediaType.JSON, Map.of("command", "status"));
assertThat(status.getBoolean("registered")).isFalse();
assertThat(status.getBoolean("runtimeEvents")).isFalse();
assertThat(status.getJsonObject("events")).containsEntry("route", true);

JsonObject toggle = (JsonObject) console.call(DevConsole.MediaType.JSON,
Expand Down