Skip to content

Move all actuator beans under /application #6886

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
philwebb opened this issue Sep 14, 2016 · 6 comments
Closed

Move all actuator beans under /application #6886

philwebb opened this issue Sep 14, 2016 · 6 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@philwebb
Copy link
Member

The current situation of many top-level actuator URLs makes many things hard (security being the most obvious). It would be better to move them all under a single location, e.g:

  • /application/health
  • /application/metrics
  • /application/env
  • /application/beans

etc.

@snicoll
Copy link
Member

snicoll commented Sep 15, 2016

Don't we have /actuator right now in some cases already? I am not against /application (it sounds better actually).

@bclozel
Copy link
Member

bclozel commented Sep 15, 2016

Should we prefix to avoid path collisions with the actual application, like /_application? Or maybe providing a property to customize that is enough.

@philwebb
Copy link
Member Author

@snicoll We do currently have /actuator but I would like to change that to /application.

@bclozel We'll need a property to configure it. It might clash, but probably no more likely than the current state of affairs (/env, /health etc).

@cah-andrew-fitzgerald
Copy link

Is another property really necessary?
Shouldn't changing the default value of management.context-path handle it?

@philwebb
Copy link
Member Author

@cah-andrewfitzgerald

We'll need a property to configure it

I didn't say it should be a new one :) Hopefully we can use management.context-path

@mbhave mbhave self-assigned this Oct 11, 2016
@philwebb philwebb modified the milestones: 2.0.0.M1, 1.5.0 M1 Nov 15, 2016
mbhave added a commit to mbhave/spring-boot that referenced this issue Dec 8, 2016
Context path can be configured via `management.context-path`.

Fixes spring-projectsgh-6886
@philwebb philwebb modified the milestones: 2.0.0.M1, 2.0.0 Jan 12, 2017
@mbhave mbhave closed this as completed in bcd79dd Apr 14, 2017
@philwebb philwebb modified the milestones: 2.0.0.M1, 2.0.0 Apr 17, 2017
@mbhave
Copy link
Contributor

mbhave commented Apr 19, 2017

Reopening to update the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

5 participants