Commit a3e71feb authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #11091 from vpavic:endpoint-props

* pr/11091:
  Polish "Fix references to management related properties"
  Fix references to management related properties
parents f7ed24cb dfc0e392
......@@ -423,7 +423,7 @@
"type": "java.lang.Boolean",
"description": "Whether to enable the endpoint.",
"deprecation": {
"replacement": "endpoints.threaddump.enabled",
"replacement": "management.endpoint.threaddump.enabled",
"level": "error"
}
},
......@@ -460,7 +460,7 @@
"description": "Whether to enable endpoints.",
"defaultValue": true,
"deprecation": {
"replacement": "endpoints.default.enabled",
"replacement": "management.endpoints.enabled-by-default",
"level": "error"
}
},
......@@ -551,7 +551,7 @@
"description": "Time to live for cached result, in milliseconds.",
"defaultValue": 1000,
"deprecation": {
"replacement": "endpoints.health.cache.time-to-live",
"replacement": "management.endpoint.health.cache.time-to-live",
"level": "error"
}
},
......@@ -625,7 +625,7 @@
"description": "Whether to enable JMX export of all endpoints.",
"defaultValue": true,
"deprecation": {
"replacement": "endpoints.default.jmx.enabled",
"replacement": "management.endpoints.jmx.enabled",
"level": "error"
}
},
......
......@@ -25,7 +25,6 @@ import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.core.env.Environment;
import org.springframework.restdocs.mockmvc.MockMvcRestDocumentation;
import org.springframework.test.context.TestPropertySource;
import static org.springframework.restdocs.payload.PayloadDocumentation.fieldWithPath;
import static org.springframework.restdocs.payload.PayloadDocumentation.responseFields;
......@@ -37,7 +36,6 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
*
* @author Andy Wilkinson
*/
@TestPropertySource(properties = "endpoints.shutdown.enabled=true")
public class ShutdownEndpointDocumentationTests
extends AbstractEndpointDocumentationTests {
......
endpoints.metrics.web.enabled=true
management.endpoints.web.expose=*
#
# Infinispan configuration file location.
......
endpoints.flyway.web.enabled=true
management.endpoints.web.expose=*
spring.jpa.hibernate.ddl-auto=validate
spring.jpa.open-in-view=true
spring.h2.console.enabled=true
endpoints.liquibase.web.enabled=true
management.endpoints.web.expose=*
spring.h2.console.enabled=true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment