chore: stop exposing actuator env by default
This commit is contained in:
@@ -70,7 +70,7 @@ management:
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: health,info,metrics,prometheus,env
|
||||
include: health,info,metrics,prometheus
|
||||
metrics:
|
||||
tags:
|
||||
application: vehicle-analytics-app
|
||||
|
||||
@@ -35,7 +35,8 @@ class VehicleAnalyticsAppDefaultsTest {
|
||||
"${VEHICLE_STAT_ENABLED:true}")
|
||||
.containsEntry(
|
||||
"lingniu.ingest.sink.mq.consumer.bindings.vehicleStatEnvelopeConsumerProcessor.group-id",
|
||||
"${KAFKA_GROUP_STAT:vehicle-stat}");
|
||||
"${KAFKA_GROUP_STAT:vehicle-stat}")
|
||||
.containsEntry("management.endpoints.web.exposure.include", "health,info,metrics,prometheus");
|
||||
|
||||
assertThat(properties.stringPropertyNames())
|
||||
.noneMatch(name -> name.startsWith("lingniu.ingest.event-file-store."))
|
||||
|
||||
Reference in New Issue
Block a user