TOSCA Compliant Guard Policies
[policy/models.git] / models-examples / src / main / resources / policies / vCPE.policy.operational.input.tosca.json
index 6f3545b..3057560 100644 (file)
@@ -1,5 +1,5 @@
 {
-  "tosca_definitions_version": "tosca_simple_yaml_1_0_0",
+  "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
   "topology_template": {
     "policies": [
       {
@@ -21,9 +21,9 @@
                 "description": "Restart the VM",
                 "operation": {
                   "actor": "APPC",
-                  "recipe": "Restart",
+                  "operation": "Restart",
                   "target": {
-                    "type": "VNF"
+                    "targetType": "VNF"
                   }
                 },
                 "timeout": 1200,