java - How to customize management endpoint path in HashiCorp Consul -


if try customize management endpoint of spring boot consul application other path, example:

management.context-path=/manage 

hashicorp consul server can not detect if microservice working fine. there inform consul server endpoint path should for?

if comment property "management.context-path", consul server works fine again, because goes root endpoint path.

i appreciate help.

right, after looking while on internet found out answer:

management:   context-path: /manage  spring:   cloud:     consul:       discovery:         healthcheckpath: /manage/health 

source: https://github.com/spring-cloud/spring-cloud-consul/blob/master/docs/src/main/asciidoc/spring-cloud-consul.adoc


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -