aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/test/resources/e2e/deployPolicies.json
blob: d9cdfe834584ffe40d90121d52438ab057ace2ae (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
{
    "groups": [
        {
            "name": "deployPolicies",
            "pdpGroupState": "ACTIVE",
            "pdpSubgroups": [
                {
                    "pdpType": "pdpTypeA",
                    "desiredInstanceCount": 2,
                    "pdpInstances": [
                        {
                            "instanceId": "pdpBA_1",
                            "pdpState": "ACTIVE",
                            "healthy": "HEALTHY"
                        },
                        {
                            "instanceId": "pdpBA_2",
                            "pdpState": "ACTIVE",
                            "healthy": "HEALTHY"
                        }
                    ],
                    "supportedPolicyTypes": [
                        {
                            "name": "onap.policies.monitoring.cdap.tca.hi.lo.app",
                            "version": "1.0.0"
                        }
                    ],
                    "policies": []
                },
                {
                    "pdpType": "pdpTypeB",
                    "desiredInstanceCount": 1,
                    "pdpInstances": [
                        {
                            "instanceId": "pdpBB_1",
                            "pdpState": "ACTIVE",
                            "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"
                        }
                    ]
                }
            ]
        }
    ]
}