1 .. This work is a derivative of https://wiki.onap.org/display/DW/Modeling+Concepts#Concepts-198012600 by IBM
2 .. used under Creative Commons Attribution 4.0 International License.
3 .. http://creativecommons.org/licenses/by/4.0
4 .. Copyright (C) 2020 Deutsche Telekom AG.
10 -------------------------------------
12 TOSCA provides for a set of functions to reference elements within the template or to retrieve runtime values.
14 **Below is a list of supported expressions**
22 The **get_input** function is used to retrieve the values of properties declared
23 within the inputs section of a TOSCA Service Template.
25 Within CDS, this is mainly Workflow inputs.
28 <http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.2/csd01/TOSCA-Simple-Profile-YAML-v1.2-csd01.html#_Toc494454178>`_
32 `<https://github.com/onap/ccsdk-cds/blob/master/components/model-catalog/blueprint-model/test-blueprint/golden/Definitions/golden-blueprint.json#L210>`_
37 "get_input": "resolution-key"
44 The **get_property** function is used to retrieve property values between modelable
45 entities defined in the same service template.
48 <http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.2/csd01/TOSCA-Simple-Profile-YAML-v1.2-csd01.html#_Toc494454178>`_
54 .. tab:: get_attribute
58 The **get_attribute** function is used to retrieve the values of named attributes declared
59 by the referenced node or relationship template name.
62 <http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.2/csd01/TOSCA-Simple-Profile-YAML-v1.2-csd01.html#_Toc494454178>`_
66 `<https://github.com/onap/ccsdk-cds/blob/master/components/model-catalog/blueprint-model/test-blueprint/golden/Definitions/golden-blueprint.json#L64-L67>`_
71 "resource-assignment",
75 .. tab:: get_operation_output
77 **get_operation_output**
79 The **get_operation_output** function is used to retrieve property values between modelable
80 entities defined in the same service template.
83 <http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.2/csd01/TOSCA-Simple-Profile-YAML-v1.2-csd01.html#_Toc494454180>`_
93 The **get_artifact** function is used to retrieve property values between modelable
94 entities defined in the same service template.
97 <http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.2/csd01/TOSCA-Simple-Profile-YAML-v1.2-csd01.html#_Toc494454182>`_