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;
|
||||
|
||||
@Component
|
||||
@Endpoint(id = "gb32960-sessions")
|
||||
@Endpoint(id = "gb32960sessions")
|
||||
public class Gb32960SessionsEndpoint {
|
||||
|
||||
private final Gb32960ConnectionDiagnostics diagnostics;
|
||||
|
||||
@@ -119,7 +119,7 @@ management:
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: health,info,metrics,prometheus,env,gb32960-sessions
|
||||
include: health,info,metrics,prometheus,env,gb32960sessions
|
||||
health:
|
||||
redis:
|
||||
enabled: ${MANAGEMENT_HEALTH_REDIS_ENABLED:false}
|
||||
|
||||
@@ -32,7 +32,7 @@ class Gb32960IngestAppDefaultsTest {
|
||||
.containsEntry("lingniu.ingest.vehicle-state.enabled", false)
|
||||
.containsEntry("lingniu.ingest.vehicle-stat.enabled", false)
|
||||
.containsEntry("management.endpoints.web.exposure.include",
|
||||
"health,info,metrics,prometheus,env,gb32960-sessions");
|
||||
"health,info,metrics,prometheus,env,gb32960sessions");
|
||||
}
|
||||
|
||||
private static Properties applicationProperties() {
|
||||
|
||||
Reference in New Issue
Block a user