1 .. This work is a derivative of https://wiki.onap.org/display/DW/Modeling+Concepts#Concepts-198012600
2 .. This work is licensed under a Creative Commons Attribution 4.0
3 .. International License. http://creativecommons.org/licenses/by/4.0
4 .. Copyright (C) 2020 Deutsche Telekom AG.
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 "get_property": ["SELF", "property-name"]
56 .. tab:: get_attribute
60 The **get_attribute** function is used to retrieve the values of named attributes declared
61 by the referenced node or relationship template name.
64 <http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.2/csd01/TOSCA-Simple-Profile-YAML-v1.2-csd01.html#_Toc494454178>`_
68 `<https://github.com/onap/ccsdk-cds/blob/master/components/model-catalog/blueprint-model/test-blueprint/golden/Definitions/golden-blueprint.json#L64-L67>`_
73 "resource-assignment",
77 .. tab:: get_operation_output
79 **get_operation_output**
81 The **get_operation_output** function is used to retrieve the values of variables
82 exposed / exported from an interface operation.
85 <http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.2/csd01/TOSCA-Simple-Profile-YAML-v1.2-csd01.html#_Toc494454180>`_
91 "get_operation_output": ["SELF", "interface-name", "operation-name", "output-property-name"]
97 The **get_artifact** function is used to retrieve artifact location between modelable
98 entities defined in the same service template.
101 <http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.2/csd01/TOSCA-Simple-Profile-YAML-v1.2-csd01.html#_Toc494454182>`_
107 "get_artifact" : ["SELF", "artifact-template", "location", true]