0

I have a couple spring-boot applications (clients) and one spring-boot-admin. I would like to manage environment variables in my clients applications but by default spring-boot-admin-starter-client and spring-boot-admin-starter-server does not support this feature (v1.5.2).

In my SBA I see logs, metrics etc. except environment management. I tried spring-cloud-commons and eureka but it doesn't seem to work. Can someone tell me, which extensions (spring-cloud, etc.) are required?

Mark Amery
  • 143,130
  • 81
  • 406
  • 459
jswieca
  • 115
  • 1
  • 2
  • 12
  • 1
    Problem solved. Helped `org.springframework.cloud spring-cloud-context` in client application – jswieca Jul 11 '17 at 13:06

1 Answers1

0

You can use the spring-cloud-starter maven dependency. The AutoConfiguration should take care of activating the EnvironmentManagerMvcEndpoint

joshiste
  • 2,638
  • 1
  • 14
  • 19
  • Your answer is correct as `spring-cloud-starter` transitively brings in `spring-cloud-context ` making @jakub-Świeca comment (answer) more correct, if one prefers to only bring in dependencies that are going to use. – DaddyMoe Nov 22 '17 at 16:30