aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/test/resources/rest/pdpGroup.json
blob: 279d80792a9311af9d0dabca938f795b7cc6b3fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
    "groups": [
        {
            "name": "queryGroup1",
            "description": "my description",
            "pdpGroupState": "PASSIVE",
            "properties": {
                    "abc": "def"
                },
            "pdpSubgroups": [
                {
                    "pdpType": "pdpTypeA",
                    "currentInstanceCount": 3,
                    "desiredInstanceCount": 2,
                    "properties": {
                            "ten": 10
                        },
                    "pdpInstances": [
                        {
                            "instanceId": "pdpAA_1",
                            "pdpState": "PASSIVE",
                            "healthy": "HEALTHY"
                        },
                        {
                            "instanceId": "pdpAA_2",
                            "pdpState": "PASSIVE",
                            "healthy": "HEALTHY"
                        },
                        {
                            "instanceId": "pdpAA_3",
                            "pdpState": "PASSIVE",
                            "healthy": "HEALTHY"
                        }
                    ],
                    "supportedPolicyTypes": [
                        {
                            "name": "onap.policies.monitoring.cdap.tca.hi.lo.app",
                            "version": "1.0.0"
                        }
                    ],
                    "policies": [
                        {
                            "name": "onap.restart.tca",
                            "version": "1.0.0"
                        }
                    ]
                },
                {
                    "pdpType": "pdpTypeB",
                    "currentInstanceCount": 1,
                    "desiredInstanceCount": 1,
                    "pdpInstances": [
                        {
                            "instanceId": "pdpAB_1",
                            "pdpState": "PASSIVE",
                            "healthy": "HEALTHY"
                        }
                    ],
                    "supportedPolicyTypes": [
                        {
                            "name": "onap.policies.monitoring.cdap.tca.hi.lo.app",
                            "version": "1.0.0"
                        }
                    ],
                    "policies": []
                }
            ]
        },
        {
            "name": "queryGroup2",
            "pdpGroupState": "ACTIVE",
            "pdpSubgroups": [
                {
                    "pdpType": "pdpTypeA",
                    "currentInstanceCount": 2,
                    "desiredInstanceCount": 2,
                    "pdpInstances": [
                        {
                            "instanceId": "pdpBA_1",
                            "pdpState": "PASSIVE",
                            "healthy": "HEALTHY"
                        },
                        {
                            "instanceId": "pdpBA_2",
                            "pdpState": "PASSIVE",
                            "healthy": "HEALTHY"
                        }
                    ],
                    "supportedPolicyTypes": [
                        {
                            "name": "onap.policies.monitoring.cdap.tca.hi.lo.app",
                            "version": "1.0.0"
                        }
                    ],
                    "policies": [
                        {
                            "name": "onap.restart.tcaB",
                            "version": "1.0.0"
                        }
                    ]
                }
            ]
        }
    ]
}