Commit graph

22 commits

Author SHA1 Message Date
Sukhwinder Dhillon
7605d5e007 LegacyConfigParser: Property $prevKey can be null 2023-08-24 13:29:10 +02:00
Johannes Meyer
3fe17336dc Escape semicolons in node names
fixes #312
2023-08-08 08:46:48 +02:00
Sukhwinder Dhillon
83194e4942 Drop support for external_info and extra_info flag 2023-07-19 13:34:39 +02:00
Sukhwinder Dhillon
be2473864b Introduce new XOR (^) operator 2023-07-13 10:19:08 +02:00
Sukhwinder Dhillon
ecdd51b6a0 LegacyConfigParser: Ignore empty lines in parseHeaderLine()
- Otherwise the index 0 of the empty line in elseif cannot be checked, which leads to an error
2023-07-12 11:26:14 +02:00
raviks789
3a7dc64a50
Fix storing of business process with Description having new lines (#339)
* Fix storing of business process with `Description` having new lines

The `LegacyConfigRenderer::renderHeader()` should render new lines in the `Description` field as comments.

This fix avoids occurrence of future issues due to new lines in `Description` field while adding or modifying the
business processes.

* Parse new lines in header

The new lines in header which may belong to the field like `Description` must be parsed correctly.
2022-09-14 09:53:54 +02:00
Valentina Da Rold
b78983f539 Add Degraded operator implementation
Refs #298
2022-02-18 11:41:06 +01:00
Johannes Meyer
49ebbc4cdb Apply state overrides on demand instead of directly
Internally non-process children are only instantiated once.
This means when applying state overrides directly they're
used everywhere and do not differ between the containing
process. State overrides are now applied explicitly and
on demand, decoupling them from children.
2020-07-01 08:54:34 +02:00
Johannes Meyer
0c7fca926f config: Use an extra line to store state overrides
Storing overrides as part of a node's name leads to way too complicated
code. A separate field is not only better for compatibility but also
more straightforward to process.
2020-06-26 14:08:05 +02:00
Christian Menapace
98b6b2c6d0 Add Service Override 2020-06-26 11:32:09 +02:00
Johannes Meyer
144bcdf852 Remove space after reference operators 2020-02-26 09:19:31 +01:00
Johannes Meyer
c5d3127303 Storage: Properly escape and unescape names with operators
fixes #205
2019-02-28 10:58:06 +01:00
Johannes Meyer
75a3d1fd5e LegacyConfigParser: Restore ability to defer referenced process initialization 2019-02-22 12:26:24 +01:00
Johannes Meyer
8465bc0bc3 LegacyConfigParser: Establish parent-child relationships
This replaces commit d1f32c5 as this is the more efficient
and proper solution.

refs #134
2019-02-22 12:26:24 +01:00
Johannes Meyer
00b88055f7 BpConfig: Delay processing of imported configurations
Solves the issue that two processes cannot import each other
2019-02-22 12:26:24 +01:00
Markus Frosch
5dfe4782ea LegacyConfigParser: Trim line in parseHeaderLine
To avoid whitespace and \r in header. Also supports DOS line endings.

fixes #136
2017-05-31 14:26:31 +02:00
Thomas Gelf
52dfd0ceaa LegacyConfigParser: trim header lines
fixes #136
2017-05-31 14:09:06 +02:00
Thomas Gelf
2023cae041 LegacyConfigParser: parse metadata from string
fixes #91
2017-01-27 10:02:35 +01:00
Thomas Gelf
051f9376b7 LegacyConfig: fix info_url parsing and rendering
fixes #71
2017-01-23 23:38:43 +01:00
Thomas Gelf
fc117217dd Storage: cosmetics 2017-01-11 17:01:34 +01:00
Thomas Gelf
22583aa083 BpConfig: renamed from BusinessProcess 2017-01-11 14:09:30 +01:00
Thomas Gelf
c52c970528 LegacyConfigParser: new parser class
Takes over and cleans up logic from LegacyStorage
2017-01-11 13:36:38 +01:00