@@ -204,28 +204,29 @@ The plugin and the configuration tool provides a set of predefined system proper
204204 "description": "Name for the 'Hello World' message.",
205205 "fields": {
206206 "attributeValue#0": { <3>
207- "property ": "foobar ", <4>
207+ "source ": "property ", <4>
208208 "type": "string", <5>
209209 "used": true, <6>
210- "value": null <7>
210+ "value": "foobar" <7>
211211 }
212212 }
213213 },
214214 "/[CircuitContainer]name=Hello World/[FilterCircuit]name=Hello World Message/[SetAttributeFilter]name=Build time": {
215215 "description": "Build time in ISO format.",
216216 "fields": {
217217 "attributeValue#0": {
218- "property ": "_system.build.datetime", <8>
218+ "source ": "property",
219219 "type": "string",
220220 "used": true,
221- "value": null
221+ "value": "_system.build.datetime" <8>
222222 }
223223 }
224224 }
225225 "/[CircuitContainer]name=Hello World/[FilterCircuit]name=Hello World Message/[SetAttributeFilter]name=Network zone": {
226226 "description": "Network zone the API Gateway is located.",
227227 "fields": {
228228 "attributeValue#0": {
229+ "source": "value"
229230 "type": "string",
230231 "used": true,
231232 "value": "internal" <9>
@@ -241,21 +242,18 @@ The plugin and the configuration tool provides a set of predefined system proper
241242<1> Environmentalized entities are configured under an `entities` attribute.
242243<2> Short hand key of the environmentalized entity.
243244<3> Name and index of the environmentalized field.
244- <4> Name of the property containing the value.
245- _null_ or missing property indicates that no property is used to configure the value.
245+ <4> Declares a property (named `foobar`, see "value") as the source of the field value.
246246<5> Type of the field (just for documentation, don't change it).
247247<6> Indicates if the configured field is used.
248248If _false_ the field is no longer environmentalized or the entity is renamed or removed.
249249The property is automatically maintained by the plugin.
250- <7> Value of the field.
251- _null_ indicates that no value is defined.
252- If `value` and `property` are configured the `property` value has precedence.
250+ <7> Name of the property containing the value.
253251<8> Use value of the predefined system property `_system.build.datetime`.
254- <9> Value for the field.
252+ <9> Literal value for the field.
255253<10> An optional local definition of properties.
256254If the same property is defined in a separate property file (see below), the separate property has precedence.
257255
258- NOTE: If `value` and `property` is _null_ the field is treated as undefined and the build will fail.
256+ NOTE: If `value` is _null_ the field is treated as undefined and the build will fail.
259257
260258=== Certificates
261259The configuration for certificates is stored in a separate JSON file.
@@ -288,6 +286,7 @@ It specifies the alias of the certificates within the project and the source of
288286 "update": {
289287 "file": "cert/server.p12",
290288 "password": "server", <9>
289+ "source": "password", <10>
291290 "type": "p12"
292291 }
293292 },
@@ -298,12 +297,13 @@ It specifies the alias of the certificates within the project and the source of
298297 "subject": "CN=DST Root CA X3, O=Digital Signature Trust Co."
299298 }
300299 },
301- "update": null <10 >
300+ "update": null <11 >
302301 },
303- "test2": { <11 >
302+ "test2": { <12 >
304303 "update": {
305304 "file": "cert/server.p12",
306- "password-property": "server.password", <12>
305+ "password": "server.password", <13>
306+ "source": "property", <14>
307307 "type": "p12"
308308 }
309309 }
@@ -321,11 +321,13 @@ A missing `update` attribute indicates a new/unconfigured certificate.
321321<7> Path to the new certificate file.
322322<8> Type of the certificate.
323323`crt` for certificates and `p12` for certificates with key.
324- <9> Password to for the `.p12` file.
325- <10> _null_ value indicates that the certificate will not be updated.
326- <11> Certificate without a `origin` attribute.
324+ <9> Literal password for the `.p12` file.
325+ <10> Declares a property (`server.password`, see "password") as the source for the password.
326+ <11> _null_ value indicates that the certificate will not be updated.
327+ <12> Certificate without a `origin` attribute.
327328This certificate will be added to the certificate store.
328- <12> Password for the `.p12` file is retrieved from the property configuration file.
329+ <13> Password for the `.p12` file is retrieved from the property configuration file.
330+ <14> Declares the property "password" as the source of the password for the `.p12` file.
329331
330332=== Properties
331333
0 commit comments