diff options
author | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2019-11-05 14:41:32 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-11-05 14:41:32 +0000 |
commit | b1d90848b1ae826a45fb08f3acabb0563f02c739 (patch) | |
tree | fe5b6839a6caa4fa46ccdf44b0c1fac19a7424cb /main/src/test/resources | |
parent | 396320d69e0bff1308f090330b1464ce2b07be49 (diff) | |
parent | b8c8f44f81eee778f6f038ae8dd171cc9f583741 (diff) |
Merge "Add REST api to query policy status from PAP"
Diffstat (limited to 'main/src/test/resources')
-rw-r--r-- | main/src/test/resources/e2e/policyStatus.json | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/main/src/test/resources/e2e/policyStatus.json b/main/src/test/resources/e2e/policyStatus.json new file mode 100644 index 00000000..973e2c0e --- /dev/null +++ b/main/src/test/resources/e2e/policyStatus.json @@ -0,0 +1,56 @@ +{ + "groups": [ + { + "name": "policyStatus", + "pdpGroupState": "ACTIVE", + "pdpSubgroups": [ + { + "pdpType": "pdpTypeA", + "desiredInstanceCount": 2, + "pdpInstances": [ + { + "instanceId": "pdpA_1", + "pdpState": "ACTIVE", + "healthy": "HEALTHY" + }, + { + "instanceId": "pdpA_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": "pdpB_1", + "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" + } + ] + } + ] + } + ] +} |