summaryrefslogtreecommitdiffstats
path: root/main/src/test/resources/e2e/deployGroups2.json
blob: 6d784bfa50bbc4dc6effc13ecaa8b2e457fba976 (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
{
    "groups": [
        {
            "name": "deployGroups",
            "pdpGroupState": "PASSIVE",
            "properties": {
                "hello": "world"
            },
            "pdpSubgroups": [
                {
                    "pdpType": "pdpTypeA",
                    "desiredInstanceCount": 2,
                    "properties": {},
                    "pdpInstances": [
                        {
                            "instanceId": "pdpAA_1",
                            "pdpState": "ACTIVE",
                            "healthy": "HEALTHY"
                        },
                        {
                            "instanceId": "pdpAA_2",
                            "pdpState": "ACTIVE",
                            "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"
                        },
                        {
                            "name": "onap.restart.tcaB",
                            "version": "1.0.0"
                        },
                        {
                            "name": "onap.restart.tcaC",
                            "version": "1.0.0"
                        }
                    ]
                },
                {
                    "pdpType": "pdpTypeB",
                    "desiredInstanceCount": 1,
                    "properties": {},
                    "pdpInstances": [
                        {
                            "instanceId": "pdpAB_1",
                            "pdpState": "ACTIVE",
                            "healthy": "HEALTHY"
                        }
                    ],
                    "supportedPolicyTypes": [
                        {
                            "name": "onap.policies.monitoring.cdap.tca.hi.lo.app",
                            "version": "1.0.0"
                        }
                    ],
                    "policies": []
                }
            ]
        }
    ]
}