Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-incubating
-
None
Description
Right now the ProcessDAO is a mix of both configuration information (deploy date, custom properties, active/retired, serialized compiled process) and runtime information (instances, correlators) which isn't so nice. It's also the source of many deployment problems as we have some duplicate information between the filesystem (the deployed process bundles) and the database.
To clean that up I'm going to introduce some sort of process configuration store (still haven't found a really impressive name for it). It would handle process deployment, maintaining these deployments over time (which involves redeployment or undeployment but could also be versioning in the future) and configuration changes. The runtime would use it to get information about processes currently deployed to activate them.
That would both introduce a cleaner separation between runtime and static process definitions and would be much more in line with the deployment specifications. It would also make clustering easier as configuration could be easily propagated.