Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-10840

Add property to disable CamundaBpmWebappAutoConfiguration

      CamundaBpmAutoConfiguration can be disabled with property camunda.bpm.enabled=false (default:true)

      To be consistent there should be a property that disables CamundaBpmWebappAutoConfiguration.
      Example: camunda.bpm.webapp.enabled=false (default: true)

      Background:
      In our application we disable the CamundaBpmAutoConfiguration by default. It is only enabled if a specific property is set.
      If the CamundaBpmWebappAutoConfiguration is enabled and CamundaBpmAutoConfiguration is disabled, the Spring Boot application fails to start:

      Field properties in org.camunda.bpm.spring.boot.starter.webapp.CamundaBpmWebappAutoConfiguration required a bean of type 'org.camunda.bpm.spring.boot.starter.property.CamundaBpmProperties' that could not be found.

        This is the controller panel for Smart Panels app

            [CAM-10840] Add property to disable CamundaBpmWebappAutoConfiguration

            Hi Roland,

            thank you for reaching out to us with your request.

            I will have a look and come back to you soon.

            Stay tuned!

            Cheers,
            Tassilo

            Tassilo Weidner added a comment - Hi Roland, thank you for reaching out to us with your request. I will have a look and come back to you soon. Stay tuned! Cheers, Tassilo

            Hi Roland,

            Thanks for your patience.

            What is the problem?

            • Right now it is not possible to disable the auto configuration for the Webapps via properties
            • However, this is the case for the Workflow Engine (i. e. process engine configuration)
            • Furthermore, the Spring Boot Application does not start up if..
              1. the auto configuration for the workflow engine is disabled via properties
              2. the webapps are present

            I have forwarded your bug request for decision-making.

            Please stay tuned!

            Cheers,
            Tassilo

            Tassilo Weidner added a comment - Hi Roland, Thanks for your patience. What is the problem? Right now it is not possible to disable the auto configuration for the Webapps via properties However, this is the case for the Workflow Engine (i. e. process engine configuration) Furthermore, the Spring Boot Application does not start up if.. the auto configuration for the workflow engine is disabled via properties the webapps are present I have forwarded your bug request for decision-making. Please stay tuned! Cheers, Tassilo

            Hello Roland,

            Thanks for reporting this problem. Would you like to contribute a fix?

            Best regards,
            Thorben

            Thorben Lindhauer added a comment - Hello Roland, Thanks for reporting this problem. Would you like to contribute a fix? Best regards, Thorben

            Would you like to contribute a fix?

            Yes, I would give it a try.

            Roland Weisleder added a comment - Would you like to contribute a fix? Yes, I would give it a try.

            Great, we are looking forward to it. Let us know if you have any questions.

            Thorben Lindhauer added a comment - Great, we are looking forward to it. Let us know if you have any questions.

            I've submitted Pull Requests for both the spring-boot-starter project and for the documentation project. Please let me know if there are any issues.

            Roland Weisleder added a comment - I've submitted Pull Requests for both the spring-boot-starter project and for the documentation project. Please let me know if there are any issues.

            Great, thank you. tassilo.weidner will review the PRs and will get back to you.

            Thorben Lindhauer added a comment - Great, thank you. tassilo.weidner will review the PRs and will get back to you.

            Thorben Lindhauer added a comment - https://github.com/camunda/camunda-docs-manual/pull/312 https://github.com/camunda/camunda-bpm-spring-boot-starter/pull/341

              Unassigned Unassigned
              rweisleder Roland Weisleder
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: