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