-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
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
Description |
Original:
Currently field bpmnParseFactory in ProcessEngineConfigurationImpl mark is protecred and there are no setters/getters. And to specify my implementation of bpmnParseFactory I need to create custom config ProcessEngineConfigurationImpl, but this is inconvenient.
Setter allows replacing factroty in plugin. You can add setter for bpmnParseFactory? |
New:
*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. |
Mentioned Roles |
Assignee | New: Nikola Koevski [ nikola.koevski ] |
Mentioned Groups |
Mentioned Roles |
Mentioned Groups |
Mentioned Roles |
Mentioned Groups |
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