docs: clarify analytics runtime scope
This commit is contained in:
@@ -93,6 +93,20 @@ class PortainerComposeResourceLimitsTest {
|
||||
.doesNotContain("shared volume mounted to all three services");
|
||||
}
|
||||
|
||||
@Test
|
||||
void splitRunbookKeepsAnalyticsAsJt808MetricRuntimeOnly() throws IOException {
|
||||
String splitRunbook = Files.readString(repositoryRoot()
|
||||
.resolve("docs/operations/gb32960-service-split-runbook.md"));
|
||||
|
||||
assertThat(splitRunbook)
|
||||
.contains("Consume JT808 event Kafka records")
|
||||
.contains("vehicle_stat_metric")
|
||||
.doesNotContain("Analytics state:")
|
||||
.doesNotContain("VEHICLE_STATE_ENABLED")
|
||||
.doesNotContain("latest-state API in analytics")
|
||||
.doesNotContain("Vehicle state can also be enabled from this runtime");
|
||||
}
|
||||
|
||||
@Test
|
||||
void vehicleAnalyticsComposeOnlyExposesStatConsumerEnvironment() throws IOException {
|
||||
String compose = Files.readString(repositoryRoot().resolve("deploy/portainer/docker-compose.yml"));
|
||||
|
||||
Reference in New Issue
Block a user