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

camunda.bpm.enabled=false does not disable camunda in SpringBootTest with EnableProcessApplication

    • Icon: Bug Report Bug Report
    • Resolution: Cannot Reproduce
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • spring-boot
    • None

      We support the camunda.bpm.enabled property for quite a while now.
      It is supposed to disable the camunda engine setup in (test-)contexts.

      However, a colleague just showed me a SpringBootTest that has the property set to false via yaml and fails due to the context error that ProcessEngine can not be injected into the SpringBootProcessApplication

      We should verify that this property still works as documented, especially in combination with the "EnableProcessApplication" annotation.

        This is the controller panel for Smart Panels app

            [CAM-10370] camunda.bpm.enabled=false does not disable camunda in SpringBootTest with EnableProcessApplication

            Jan Galinski added a comment -

            Note: first step would be verification ... I built the property feature myself some while ago and I believed it worked as designed ...

            Jan Galinski added a comment - Note: first step would be verification ... I built the property feature myself some while ago and I believed it worked as designed ...

            Hi Jan,

            thanks for creating this bug issue.

            I will try to reproduce the problem and share my results with you later this week.

            Cheers,
            Tassilo

            Tassilo Weidner added a comment - Hi Jan, thanks for creating this bug issue. I will try to reproduce the problem and share my results with you later this week. Cheers, Tassilo

            Hi Jan,

            unfortunately I was not able to reproduce your problem. Could you please share a test case?

            Cheers,
            Tassilo

            Tassilo Weidner added a comment - Hi Jan, unfortunately I was not able to reproduce your problem. Could you please share a test case? Cheers, Tassilo

            Jan Galinski added a comment -

            well, I do not think this is unfortunate ... I built and tested the property and obviously it seems to work as designed. Thanks for verifying!

            I will ask my colleagues what they were actually doing when they detected this and come back with a new, more concrete issue if it proves to be a problem.

            Suggestion: close this one.

            Jan Galinski added a comment - well, I do not think this is unfortunate ... I built and tested the property and obviously it seems to work as designed. Thanks for verifying! I will ask my colleagues what they were actually doing when they detected this and come back with a new, more concrete issue if it proves to be a problem. Suggestion: close this one.

            Hi Jan,

            thanks for your fast response. I will close this ticket.
            Feel free to open a new one if you have more insights.

            Cheers,
            Tassilo

            Tassilo Weidner added a comment - Hi Jan, thanks for your fast response. I will close this ticket. Feel free to open a new one if you have more insights. Cheers, Tassilo

              tassilo.weidner Tassilo Weidner
              jan.galinski@holisticon.de Jan Galinski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: