Commit 7999ff4e by Johannes Edmeier

Also probe for new endpoint names

When the base-path for the actuator is set to `/` on spring boot 2 the endpoints can't be queried via the actuator index and need to be probed. Therefore we need to probe not only for the old names but also for the names in boot 2.0. fixes #793
parent 44846dd4
......@@ -51,8 +51,9 @@ public class AdminServerProperties {
* For Spring Boot 1.x applications SBA probes for the specified endpoints using an OPTIONS request.
* If the path differs from the id you can specify this as id:path (e.g. health:ping).
*/
private String[] probedEndpoints = {"health", "env", "metrics", "httptrace:trace", "threaddump:dump", "jolokia",
"info", "logfile", "refresh", "flyway", "liquibase", "heapdump", "loggers", "auditevents"};
private String[] probedEndpoints = {"health", "env", "metrics", "httptrace:trace", "httptrace", "threaddump:dump",
"threaddump", "jolokia", "info", "logfile", "refresh", "flyway", "liquibase", "heapdump", "loggers",
"auditevents"};
public void setContextPath(String contextPath) {
this.contextPath = PathUtils.normalizePath(contextPath);
......
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