Z2-Environment version 2.5¶
Apart from various minor bug fixes, version 2.5 brings some important improvements:
For some configuration aspects, such as connectivity information, it can be very handy to use system properties or process environment variables rather than hard-coded, checked in configuration.
Version 2.5 supports just that (and actually much more) by providing an extensible mechanism of expression language usage in component descriptors (#1697). Built-in support at the (lowest) core level includes the use of JEXL3 expressions (doc).
For example, deriving a host name from an environment variable HOST_NAME is as simple as
The way worker processes are configured and executed has been overhauled and has no problems with blanks in parameters and paths anymore (#1963).
Support for Git-backed component repositories made a leap forward. The internal structure of the Git repo does not need to reflect a single component repository file structure anymore. Instead by listing a set of root paths in the repo, and flexible provision of components from Git stored definitions is now supported (#1958).
In order to choose an effective version that is supposed to be read by z2, the Git component repository can be made to use any Git reference. In particular this includes tags and branches (#1965).