Project

General

Profile

V25 » History » Version 2

Henning Blohm, 21.05.2017 14:17

1 1 Henning Blohm
h1. Z2-Environment version 2.5
2
3
TBC
4
5
("Version 2.4.1":https://redmine.z2-environment.net/versions/43)
6
7
Apart from various minor bug fixes, version 2.5 brings some important improvements:
8
9
h2. Dynamically evaluated component property expressions 
10
11
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.
12
13
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. 
14
15 2 Henning Blohm
For example, deriving a host name from an environment variable *HOST_NAME* is as simple as
16 1 Henning Blohm
17 2 Henning Blohm
<pre><code class="bash">
18 1 Henning Blohm
hostName\:JEXl3=env.HOST_NAME
19 2 Henning Blohm
</code></pre>
20 1 Henning Blohm
21
22
h2. Better handling of worker configuration and Windows environments
23
24
The way worker processes are configured and executed has been overhauled and has no problems with blanks in parameters and paths anymore (#1963).
25
26
h2. Supporting tags and multiple roots in GitCR
27
28
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).
29
30
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).