a54ec53eacadda3141e21f738d98c0bc9e441bf1
[policy/models.git] / models-pdp / src / test / resources / testdata / PdpGroups0Update.json
1 {
2     "groups": [
3         {
4             "name": "PdpGroup0",
5             "version": "1.2.3",
6             "description": "group description",
7             "pdpGroupState": "PASSIVE",
8             "properties": {
9                 "groupProperty0": "Value of Group Property 0"
10             },
11             "pdpSubgroups": [
12                 {
13                     "pdpType": "APEX",
14                     "supportedPolicyTypes": [
15                         {
16                             "name": "policy.type.0",
17                             "version": "1.2.3"
18                         }
19                     ],
20                     "policies": [
21                         {
22                             "name": "Policy0",
23                             "version": "4.5.6"
24                         }
25                     ],
26                     "currentInstanceCount": 123,
27                     "desiredInstanceCount": 456,
28                     "properties": {
29                         "subgroupProperty0": "Value of sub Group Property 0"
30                     },
31                     "pdpInstances": [
32                         {
33                             "instanceId": "apex-0",
34                             "pdpState": "ACTIVE",
35                             "healthy": "NOT_HEALTHY",
36                             "message": "message from PDP"
37                         },
38                         {
39                             "instanceId": "apex-1",
40                             "pdpState": "ACTIVE",
41                             "healthy": "NOT_HEALTHY",
42                             "message": "message from PDP"
43                         },
44                         {
45                             "instanceId": "apex-2",
46                             "pdpState": "ACTIVE",
47                             "healthy": "NOT_HEALTHY",
48                             "message": "message from PDP"
49                         }
50                     ]
51                 },
52                 {
53                     "pdpType": "Drools",
54                     "supportedPolicyTypes": [
55                         {
56                             "name": "policy.type.1",
57                             "version": "4.5.6"
58                         }
59                     ],
60                     "policies": [
61                         {
62                             "name": "Policy0",
63                             "version": "4.5.6"
64                         }
65                     ],
66                     "currentInstanceCount": 123,
67                     "desiredInstanceCount": 456,
68                     "properties": {
69                         "subgroupProperty0": "Value of sub Group Property 0"
70                     },
71                     "pdpInstances": [
72                         {
73                             "instanceId": "drools-0",
74                             "pdpState": "ACTIVE",
75                             "healthy": "NOT_HEALTHY",
76                             "message": "message from PDP"
77                         }
78                     ]
79                 }
80             ]
81         }
82     ]
83 }