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

Allow setting bpmnParseFactory in configuration

      Background
      Currently, the field bpmnParseFactory in ProcessEngineConfigurationImpl mark is protected, and there are no setters/getters. To specify my implementation of BpmnParseFactory, I need to create custom config ProcessEngineConfigurationImpl, but this is inconvenient.

      Given:
      A custom BpmnParseFactory implementation.

      When:
      An instance of the custom BpmnParseFactory needs to be set in the ProcessEngineConfigurationImpl

      Then:
      A custom config of ProcessEngineConfigurationImpl needs to be created.

      Expected:
      A Setter exists for the protected ProcessEngineConfigurationImpl.bpmnParseFactory property that allows replacing the factory through a plugin.

        This is the controller panel for Smart Panels app

            [CAM-12179] Allow setting bpmnParseFactory in configuration

            Nikola Koevski added a comment - - edited

            Hey bespaltovyj,

            That's a cool suggestion. I reformatted the ticket description to better describe the problem and will forward it for a decision.

            Since this might not be immediately resolved, you can speed up the process by contributing a PR that adds the necessary getter and setter in the ProcessEngineConfigurationImpl in the Camunda BPM Platgorm GitHub repo here: https://github.com/camunda/camunda-bpm-platform

            Best,
            Nikola

            Nikola Koevski added a comment - - edited Hey bespaltovyj , That's a cool suggestion. I reformatted the ticket description to better describe the problem and will forward it for a decision. Since this might not be immediately resolved, you can speed up the process by contributing a PR that adds the necessary getter and setter in the ProcessEngineConfigurationImpl in the Camunda BPM Platgorm GitHub repo here: https://github.com/camunda/camunda-bpm-platform Best, Nikola

            Hi Pavel,

            a pull request would be much appreciated. We will probably also publish the ticket as a contribution candidate during Hacktoberfest this year.

            Thanks and best regards,
            Thorben

            Thorben Lindhauer added a comment - Hi Pavel, a pull request would be much appreciated. We will probably also publish the ticket as a contribution candidate during Hacktoberfest this year. Thanks and best regards, Thorben

            Hi, I'll do it soon.

            Pavel Pletnev added a comment - Hi, I'll do it soon.

              miklas.boskamp Miklas Boskamp
              bespaltovyj Pavel Pletnev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: