Adding 'name' to yamls and json in model
[policy/models.git] / models-examples / src / main / resources / policies / vCPE.policy.operational.input.tosca.yaml
index 27d0202..700ef6c 100644 (file)
@@ -1,12 +1,14 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
+tosca_definitions_version: tosca_simple_yaml_1_1_0
 topology_template:
     policies:
     -   operational.restart:
             type: onap.policies.controlloop.operational.common.Drools
             type_version: 1.0.0
             version: 1.0.0
+            name: operational.restart
             metadata:
                 policy-id: operational.restart
+                policy-version: 1
             properties:
                 id: ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e
                 timeout: 3600
@@ -28,4 +30,4 @@ topology_template:
                     failure_retries: final_failure_retries
                     failure_exception: final_failure_exception
                     failure_guard: final_failure_guard
-                controllerName: usecases
+                controllerName: frankfurt