summaryrefslogtreecommitdiffstats
path: root/common/onap-tosca-datatype/src/test/resources/mock/trigger/operationAction.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'common/onap-tosca-datatype/src/test/resources/mock/trigger/operationAction.yaml')
-rw-r--r--common/onap-tosca-datatype/src/test/resources/mock/trigger/operationAction.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/common/onap-tosca-datatype/src/test/resources/mock/trigger/operationAction.yaml b/common/onap-tosca-datatype/src/test/resources/mock/trigger/operationAction.yaml
new file mode 100644
index 0000000000..64e2b7ab5d
--- /dev/null
+++ b/common/onap-tosca-datatype/src/test/resources/mock/trigger/operationAction.yaml
@@ -0,0 +1,34 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+
+topology_template:
+ description: topology template descroption
+
+ policies:
+ policyA:
+ type: tosca.policies.threshold
+ description: my description
+ targets: [ nodeA ]
+ triggers:
+ triggerA:
+ description: triggering event based on CPU
+ event_type: eventTypeA
+ schedule:
+ start_time: 2016-04-08T21:59:43.10-06:00
+ end_time: 2002-12-14
+ target_filter:
+ node: nodeA
+ capability: capA
+ condition:
+ constraint:
+ attName: { greater_than: 80 }
+ period: 1200 s
+ evaluations: 6
+ method: avg
+ action:
+ operationAction:
+ description: my operation
+ implementation:
+ primary: a/s/d.xml
+ inputs:
+ inputA: 3
+ inputB: {get_property: [ nodeA, propertyA ]} \ No newline at end of file