invalid controllerName in policies robot tests
[testsuite.git] / robot / assets / policy / create_policy.json
1 {
2   "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
3   "topology_template": {
4     "policies": [
5       {
6         "operational.modifyconfig": {
7           "type": "onap.policies.controlloop.operational.common.Drools",
8           "type_version": "1.0.0",
9           "version": "1.0.0",
10           "metadata": {
11             "policy-id": "operational.modifyconfig"
12           },
13           "properties": {
14             "id": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a",
15             "timeout": 1200,
16             "abatement": false,
17             "trigger": "unique-policy-id-1-modifyConfig",
18             "operations": [
19               {
20                 "id": "unique-policy-id-1-modifyConfig",
21                 "description": "Modify the packet generator",
22                 "operation": {
23                   "actor": "CDS",
24                   "operation": "modify-config",
25                   "target": {
26                     "targetType": "VNF",
27                     "entityIds": {
28                       "resourceID": "37b008b9-b367-4359-93fd-74d3ce0ee1a0"
29                     }
30                   },
31                   "payload": {
32                     "artifact_name": "vFW-CDS",
33                     "artifact_version": "1.0.0",
34                     "data": "{\"active-streams\": \"7\"}"
35                   }
36                 },
37                 "timeout": 300,
38                 "retries": 0,
39                 "success": "final_success",
40                 "failure": "final_failure",
41                 "failure_timeout": "final_failure_timeout",
42                 "failure_retries": "final_failure_retries",
43                 "failure_exception": "final_failure_exception",
44                 "failure_guard": "final_failure_guard"
45               }
46             ]
47           }
48         }
49       }
50     ]
51   }
52 }