diff options
author | shiria <shiri.amichai@amdocs.com> | 2018-10-10 15:16:15 +0300 |
---|---|---|
committer | Oren Kleks <orenkle@amdocs.com> | 2018-10-15 09:43:40 +0000 |
commit | 1f50c72eb501af42c61c4ddbb011302a6290afdb (patch) | |
tree | bea97a3203f3560ab5bbd2a38fcb7316ec3e259d /common/onap-tosca-datatype/src/test/resources/mock/trigger/operationAction.yaml | |
parent | b54343dc3868300178017e60e4cd2c26dc08ff24 (diff) |
Fix Policy type and Policy definition
Fix policy according to TOSCA spec
Change-Id: I4e3da732666dd52895c4458f0cbd16c6ca47c1cd
Issue-ID: SDC-1782
Signed-off-by: shiria <shiri.amichai@amdocs.com>
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.yaml | 34 |
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 |