Adding code for db config & initial group creation
[policy/pap.git] / main / src / main / resources / PapDb.json
1 {
2   "groups": [
3     {
4       "name": "controlloop",
5       "version": "1.0.0",
6       "description": "This group should be used for managing all control loop related policies and pdps",
7       "pdpGroupState": "ACTIVE",
8       "pdpSubgroups": [
9         {
10           "pdpType": "xacml",
11           "supportedPolicyTypes": [
12             {
13               "name": "onap.policies.controlloop.Guard",
14               "version": "1.0.0"
15             }
16           ],
17           "currentInstanceCount": 0,
18           "desiredInstanceCount": 1
19         },
20         {
21           "pdpType": "drools",
22           "supportedPolicyTypes": [
23             {
24               "name": "onap.policies.controlloop.Operational",
25               "version": "1.0.0"
26             }
27           ],
28           "currentInstanceCount": 0,
29           "desiredInstanceCount": 1
30         },
31         {
32           "pdpType": "apex",
33           "supportedPolicyTypes": [
34             {
35               "name": "onap.policies.controlloop.Operational",
36               "version": "1.0.0"
37             }
38           ],
39           "currentInstanceCount": 0,
40           "desiredInstanceCount": 1
41         }
42       ]
43     },
44     {
45       "name": "monitoring",
46       "version": "1.0.0",
47       "description": "This group should be used for managing all monitoring related policies and pdps",
48       "pdpGroupState": "ACTIVE",
49       "pdpSubgroups": [
50         {
51           "pdpType": "xacml",
52           "supportedPolicyTypes": [
53             {
54               "name": "onap.policies.Monitoring",
55               "version": "1.0.0"
56             }
57           ],
58           "currentInstanceCount": 0,
59           "desiredInstanceCount": 1
60         }
61       ]
62     }
63   ]
64 }