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