Deprecate eca.model config entity type

Created on 7 April 2025, about 1 month ago

Problem/Motivation

ECA 3 will no longer handle 2 different config entities for 1 model. The raw data from the modeler will either be ignored or stored in thirdparty settings of the eca.eca config entity.

Proposed resolution

  • Deprecate the model config entity type
  • Provide an update hook in the last ECA 2.x release which needs to run before the upgrade to ECA 3
  • Update the readme and project from page
📌 Task
Status

Active

Version

2.1

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jurgenhaas
  • 🇩🇪Germany mxh Offenburg

    The raw data from the modeler will either be ignored or stored in thirdparty settings of the eca.eca config entity.

    You want to store the BPMN XML data in third party settings of eca.eca.* configuration entities? This will mean a significant load overhead when loading an ECA process configuration just for execution. Until now by separating this, loading that data was only done when needed (i.e. when configuring ECA via UI).

  • 🇩🇪Germany jurgenhaas Gottmadingen

    Yes, the overhead of handling a separate config file outweighs that easily. And the XML data storage will be optional, so it can be turned off, as we can now open ECA models in bpmn_io without having the XML data available. So, users who're worried about the size of the XML data will be able to turn their storage off.

  • 🇩🇪Germany mxh Offenburg

    So, users who're worried about the size of the XML data will be able to turn their storage off.

    Our clients are using the modeler UI in order to better understand it. And one particular detail is the way *they* have arranged & placed the items in that modeler, not how the system would do this automatically. It is a visual helper which brings massive value for better understanding. So I don't think this is an acceptable compromise.

  • 🇩🇪Germany jurgenhaas Gottmadingen

    Yeah, one can not have everything at any time.

  • 🇩🇪Germany jurgenhaas Gottmadingen

    There is another option, which should be easy to implement:

    We move this over to the Modeler API and provide 3 options in the configuration for each combination of model owner and modeler:

    1. Do not save raw model data at all
    2. Do save raw model data as third-party setting with the model owner's config entity
    3. Do save raw model data in a separate config entity

    This will be implemented in 📌 Extend handling of raw model data Active .

  • 🇩🇪Germany jurgenhaas Gottmadingen

    The proposal from #6 is now implemented in modeler_api 1.0.x

Production build 0.71.5 2024