Adding 'name' to yamls and json in model
[policy/models.git] / models-examples / src / main / resources / policies / vFirewall.policy.operational.input.tosca.yaml
index e3166f7..67caf94 100644 (file)
@@ -1,9 +1,11 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
+tosca_definitions_version: tosca_simple_yaml_1_1_0
 topology_template:
     policies:
     -   operational.modifyconfig:
             type: onap.policies.controlloop.operational.common.Drools
             type_version: 1.0.0
+            version: 1.0.0
+            name: operational.modifyconfig
             metadata:
                 policy-id: operational.modifyconfig
             properties:
@@ -19,8 +21,10 @@ topology_template:
                         operation: ModifyConfig
                         target:
                             targetType: VNF
-                            entityId:
+                            entityIds:
                                 resourceID: bbb3cefd-01c8-413c-9bdd-2b92f9ca3d38
+                            payload:
+                                streams: '{"active-streams": 5 }'
                     timeout: 300
                     retries: 0
                     success: final_success
@@ -29,4 +33,4 @@ topology_template:
                     failure_retries: final_failure_retries
                     failure_exception: final_failure_exception
                     failure_guard: final_failure_guard
-                controllerName: usecases
\ No newline at end of file
+                controllerName: frankfurt