[
https://issues.apache.org/jira/browse/CAMEL-11598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16331862#comment-16331862
]
ASF GitHub Bot commented on CAMEL-11598:
----------------------------------------
GitHub user ramu11 opened a pull request:
https://github.com/apache/camel/pull/2184
"CAMEL-11598:camel-spring-boot - actuator endpoints - Make it read-on…
…ly by default"
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ramu11/camel CAMEL-11598-fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/2184.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2184
----
commit 32af029dd066466212bdc9250fe545a53a5b1acc
Author: Ramu <kkakarla@...>
Date: 2018-01-19T07:06:00Z
"CAMEL-11598:camel-spring-boot - actuator endpoints - Make it read-only by
default"
----
> camel-spring-boot - actuator endpoints - Make it read-only by default
> ---------------------------------------------------------------------
>
> Key: CAMEL-11598
> URL: https://issues.apache.org/jira/browse/CAMEL-11598
> Project: Camel
> Issue Type: Improvement
> Components: camel-spring-boot
> Reporter: Claus Ibsen
> Priority: Major
> Fix For: 2.21.0
>
>
> We should make these commands read-only by default, as you can today stop and
> start routes. This can be a little bit problematic. It may be nice to have
> read-only actions to get route statistics etc.
> We can then add some option the user must set to allow to control the routes
> Maybe it should be named read-only and be true by default?
> endpoints.camelroutes.read-only = true|false
> Or we can come up with a better name. And allow to specify which actions to
> turn on
> endpoints.camelroutes.allow=info
> endpoints.camelroutes.allow=info,start,stop
> endpoints.camelroutes.allow=*
> I am not sure what spring-boot may come OOTB in this regard, they may have
> something also, for user roles to allow invoking certain operations etc.
> But it would be nice with read-only OOTB so you can see the state of all your
> routes always.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)