diff options
author | Jim Hahn <jrh3@att.com> | 2020-04-16 10:21:15 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2020-04-16 11:08:55 -0400 |
commit | d3f7c6e9cf6bad3fc295fd35283e1d79e6166f3d (patch) | |
tree | 940d3517bb8b917b9c9da987a4a16acac295f9f9 /models-examples/src/main/resources/policies/vCPE.policy.monitoring.output.tosca.yaml | |
parent | 85841e358763f6d71a3b2ac27d3fd39dc60667c0 (diff) |
Add version to example yaml files
Determined that some of the yaml files were not suitable for use
in the CSITs, because they were missing the "version" property.
Added it where needed. Also added type_version where it was missing,
as well.
Issue-ID: POLICY-2491
Change-Id: I47bf0ec2b99d29580390a6e90512dfd903b042d6
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'models-examples/src/main/resources/policies/vCPE.policy.monitoring.output.tosca.yaml')
-rw-r--r-- | models-examples/src/main/resources/policies/vCPE.policy.monitoring.output.tosca.yaml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/models-examples/src/main/resources/policies/vCPE.policy.monitoring.output.tosca.yaml b/models-examples/src/main/resources/policies/vCPE.policy.monitoring.output.tosca.yaml index eae1cd4dc..4928bbe80 100644 --- a/models-examples/src/main/resources/policies/vCPE.policy.monitoring.output.tosca.yaml +++ b/models-examples/src/main/resources/policies/vCPE.policy.monitoring.output.tosca.yaml @@ -4,6 +4,7 @@ topology_template: - onap.restart.tca: type: onap.policies.monitoring.cdap.tca.hi.lo.app + type_version: 1.0.0 version: 1.0.0 metadata: policy-id: onap.restart.tca @@ -11,15 +12,15 @@ topology_template: properties: tca_policy: domain: measurementsForVfScaling - metricsPerEventName: - - + metricsPerEventName: + - eventName: Measurement_vGMUX controlLoopSchemaType: VNF policyScope: DCAE policyName: "DCAE.Config_tca-hi-lo" policyVersion: "v0.0.1" - thresholds: - - + thresholds: + - closedLoopControlName: "ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e" version: "1.0.2" fieldPath: "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value" @@ -27,7 +28,7 @@ topology_template: direction: EQUAL severity: MAJOR closedLoopEventStatus: ABATED - - + - closedLoopControlName: "ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e" version: "1.0.2" fieldPath: "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value" |