fix: use valid gb32960 actuator endpoint id
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was canceled
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was canceled
This commit is contained in:
@@ -8,7 +8,7 @@ import org.springframework.stereotype.Component;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
@Component
|
@Component
|
||||||
@Endpoint(id = "gb32960-sessions")
|
@Endpoint(id = "gb32960sessions")
|
||||||
public class Gb32960SessionsEndpoint {
|
public class Gb32960SessionsEndpoint {
|
||||||
|
|
||||||
private final Gb32960ConnectionDiagnostics diagnostics;
|
private final Gb32960ConnectionDiagnostics diagnostics;
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ management:
|
|||||||
endpoints:
|
endpoints:
|
||||||
web:
|
web:
|
||||||
exposure:
|
exposure:
|
||||||
include: health,info,metrics,prometheus,env,gb32960-sessions
|
include: health,info,metrics,prometheus,env,gb32960sessions
|
||||||
health:
|
health:
|
||||||
redis:
|
redis:
|
||||||
enabled: ${MANAGEMENT_HEALTH_REDIS_ENABLED:false}
|
enabled: ${MANAGEMENT_HEALTH_REDIS_ENABLED:false}
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ class Gb32960IngestAppDefaultsTest {
|
|||||||
.containsEntry("lingniu.ingest.vehicle-state.enabled", false)
|
.containsEntry("lingniu.ingest.vehicle-state.enabled", false)
|
||||||
.containsEntry("lingniu.ingest.vehicle-stat.enabled", false)
|
.containsEntry("lingniu.ingest.vehicle-stat.enabled", false)
|
||||||
.containsEntry("management.endpoints.web.exposure.include",
|
.containsEntry("management.endpoints.web.exposure.include",
|
||||||
"health,info,metrics,prometheus,env,gb32960-sessions");
|
"health,info,metrics,prometheus,env,gb32960sessions");
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Properties applicationProperties() {
|
private static Properties applicationProperties() {
|
||||||
|
|||||||
Reference in New Issue
Block a user