Merge "ExecutionServiceHandler error handler error fix."
[ccsdk/cds.git] / docs / microservices / expression.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0
2 .. International License. http://creativecommons.org/licenses/by/4.0
3 .. Copyright (C) 2019 IBM.
4
5 Expression
6 ==========
7
8 TOSCA provides for a set of functions to reference elements within the template or to retrieve runtime values.
9
10 Below is a list of supported expressions
11
12 get_input
13 ---------
14
15 The get_input function is used to retrieve the values of properties declared within the inputs section of a TOSCA Service Template.
16
17 http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.2/csd01/TOSCA-Simple-Profile-YAML-v1.2-csd01.html#_Toc494454178
18
19 get_property
20 ------------
21
22 The get_property function is used to retrieve property values between modelable entities defined in the same service template.
23
24 http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.2/csd01/TOSCA-Simple-Profile-YAML-v1.2-csd01.html#_Toc494454178
25
26 get_attribute
27 -------------
28
29 The get_attribute function is used to retrieve the values of named attributes declared by the referenced node or relationship template name.
30
31 http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.2/csd01/TOSCA-Simple-Profile-YAML-v1.2-csd01.html#_Toc494454179
32
33 get_operation_output
34 --------------------
35
36 The get_operation_output function is used to retrieve the values of variables exposed / exported from an interface operation.
37
38 http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.2/csd01/TOSCA-Simple-Profile-YAML-v1.2-csd01.html#_Toc494454180
39
40 get_artifact
41 ------------
42
43 The get_artifact function is used to retrieve artifact location between modelable entities defined in the same service template.
44
45 http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.2/csd01/TOSCA-Simple-Profile-YAML-v1.2-csd01.html#_Toc494454182