summaryrefslogtreecommitdiffstats
path: root/runtime/src/test/resources
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2021-09-29 10:00:04 +0200
committersebdet <sebastien.determe@intl.att.com>2021-09-29 10:02:51 +0200
commit9239e962d4c4502e2e77e7dea66ddfafb6fda43d (patch)
tree5d16d2d0789540fa1a61508a499656284dca2c3a /runtime/src/test/resources
parent2e1d9ec7bf612998b7316d2c3395e824b372044e (diff)
Add Instant Serializer/deserializer
In order to decode the PdpGroup Json properly the instant serializer/deserializer must be added. Issue-ID: POLICY-3684 Issue-ID: POLICY-3682 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I25d96fa3293d8338a2cb6073083121c7663f19b4 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'runtime/src/test/resources')
-rw-r--r--runtime/src/test/resources/http-cache/example/policy/pap/v1/pdps/.file40
1 files changed, 36 insertions, 4 deletions
diff --git a/runtime/src/test/resources/http-cache/example/policy/pap/v1/pdps/.file b/runtime/src/test/resources/http-cache/example/policy/pap/v1/pdps/.file
index 467409f47..8b75fc216 100644
--- a/runtime/src/test/resources/http-cache/example/policy/pap/v1/pdps/.file
+++ b/runtime/src/test/resources/http-cache/example/policy/pap/v1/pdps/.file
@@ -8,7 +8,15 @@
{
"currentInstanceCount": 0,
"desiredInstanceCount": 1,
- "pdpInstances": [],
+ "pdpInstances": [
+ {
+ "instanceId": "controlloop-f8287777-5f3e-4f0f-b21b-d8829c93f57b",
+ "pdpState": "ACTIVE",
+ "healthy": "HEALTHY",
+ "message": "Pdp Heartbeat",
+ "lastUpdate": "2021-09-29T02:51:21Z"
+ }
+ ],
"pdpType": "apex",
"policies": [
{
@@ -31,7 +39,15 @@
{
"currentInstanceCount": 0,
"desiredInstanceCount": 1,
- "pdpInstances": [],
+ "pdpInstances": [
+ {
+ "instanceId": "drools-f8287777-5f3e-4f0f-b21b-d8829c93f57b",
+ "pdpState": "ACTIVE",
+ "healthy": "HEALTHY",
+ "message": "Pdp Heartbeat",
+ "lastUpdate": "2021-09-29T02:51:21Z"
+ }
+ ],
"pdpType": "drools",
"policies": [
{
@@ -54,7 +70,15 @@
{
"currentInstanceCount": 0,
"desiredInstanceCount": 1,
- "pdpInstances": [],
+ "pdpInstances": [
+ {
+ "instanceId": "xacml-f8287777-5f3e-4f0f-b21b-d8829c93f57b",
+ "pdpState": "ACTIVE",
+ "healthy": "HEALTHY",
+ "message": "Pdp Heartbeat",
+ "lastUpdate": "2021-09-29T02:51:21Z"
+ }
+ ],
"pdpType": "xacml",
"policies": [],
"properties": {},
@@ -76,7 +100,15 @@
{
"currentInstanceCount": 0,
"desiredInstanceCount": 1,
- "pdpInstances": [],
+ "pdpInstances": [
+ {
+ "instanceId": "monitoring-f8287777-5f3e-4f0f-b21b-d8829c93f57b",
+ "pdpState": "ACTIVE",
+ "healthy": "HEALTHY",
+ "message": "Pdp Heartbeat",
+ "lastUpdate": "2021-09-29T02:51:21Z"
+ }
+ ],
"pdpType": "xacml",
"policies": [
{