Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11598

camel-spring-boot - actuator endpoints - Make it read-only by default

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.21.0
    • Component/s: camel-spring-boot
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: