[
https://issues.apache.org/jira/browse/CAMEL-11598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16331884#comment-16331884
]
ASF GitHub Bot commented on CAMEL-11598:
----------------------------------------
davsclaus closed pull request #2184: "CAMEL-11598:camel-spring-boot - actuator
endpoints - Make it read-on…
URL: https://github.com/apache/camel/pull/2184
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git
a/examples/camel-example-spring-boot-supervising-route-controller/src/main/resources/application.properties
b/examples/camel-example-spring-boot-supervising-route-controller/src/main/resources/application.properties
index 8533f6b9525..ba6d516ea6e 100644
---
a/examples/camel-example-spring-boot-supervising-route-controller/src/main/resources/application.properties
+++
b/examples/camel-example-spring-boot-supervising-route-controller/src/main/resources/application.properties
@@ -24,7 +24,7 @@
logging.level.org.apache.camel.impl.SupervisingRouteController = DEBUG
logging.level.org.apache.camel.util.backoff = DEBUG
logging.level.sample.camel = DEBUG
-endpoints.enabled = false
+endpoints.enabled = true
endpoints.jmx.enabled = false
endpoints.health.enabled = true
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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)