blob: b16e83ee6b9e7ebf8d97bc3861b21e10d1115541 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
ONAP data provider custom YAML tags
===================================
In ONAP data provider we created a few custom YAML tags which could be used (and useful) in entities files.
!join tag
---------
Concatenate multiple strings in YAML value.
`!join [a, b, c]` result is `abc`
`!join ['_', [a, b, c]]` result is `a_b_c`
!uuid4 tag
----------
Generates a random UUID4
`!uuid4` result is random UUID4 value
!onap_resource_property
-----------------------
Gets the property value from the already existing ONAP resources.
Available resources:
* SDC service
`!onap_resource_property service identifier service-model-name` result is a SDC service "service-model-name" model "identifier" property value
`!onap_resource_property service identifier service-model-name 1.0` result is a SDC service "service-model-name" version 1.0 model "identifier" property value
|