aboutsummaryrefslogtreecommitdiffstats
path: root/models-pdp/src/test/resources/testdata/PdpGroups0Update.json
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2021-06-18 16:03:04 -0400
committerAjith Sreekumar <ajith.sreekumar@bell.ca>2021-06-22 08:37:55 +0000
commitf144c7386aff063dc9f696cc2e1bbb393e9e3f93 (patch)
tree26df0aaa4cdc551d83810bc85a93adfcb17ec5fd /models-pdp/src/test/resources/testdata/PdpGroups0Update.json
parent9e01b2e7180f61d8a57e55fed6a2fa5619f9f947 (diff)
Add timestamp to Pdp records
To support the case where multiple PAPs are running, added a timestamp to the PDP records so the PAPs can all be kept in sync as far as when a PDP was last responsive. Issue-ID: POLICY-2898 Change-Id: Ia7e0fd17363ff5827564cbc1537e516156b7f53a Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'models-pdp/src/test/resources/testdata/PdpGroups0Update.json')
-rw-r--r--models-pdp/src/test/resources/testdata/PdpGroups0Update.json14
1 files changed, 9 insertions, 5 deletions
diff --git a/models-pdp/src/test/resources/testdata/PdpGroups0Update.json b/models-pdp/src/test/resources/testdata/PdpGroups0Update.json
index 05594fa47..06d0aeff0 100644
--- a/models-pdp/src/test/resources/testdata/PdpGroups0Update.json
+++ b/models-pdp/src/test/resources/testdata/PdpGroups0Update.json
@@ -32,19 +32,22 @@
"instanceId": "apex-0",
"pdpState": "ACTIVE",
"healthy": "NOT_HEALTHY",
- "message": "message from PDP"
+ "message": "message from PDP",
+ "lastUpdate": "1970-01-01T00:00:00Z"
},
{
"instanceId": "apex-1",
"pdpState": "ACTIVE",
"healthy": "NOT_HEALTHY",
- "message": "message from PDP"
+ "message": "message from PDP",
+ "lastUpdate": "1970-01-01T00:00:00Z"
},
{
"instanceId": "apex-2",
"pdpState": "ACTIVE",
"healthy": "NOT_HEALTHY",
- "message": "message from PDP"
+ "message": "message from PDP",
+ "lastUpdate": "1970-01-01T00:00:00Z"
}
]
},
@@ -72,11 +75,12 @@
"instanceId": "drools-0",
"pdpState": "ACTIVE",
"healthy": "NOT_HEALTHY",
- "message": "message from PDP"
+ "message": "message from PDP",
+ "lastUpdate": "1970-01-01T00:00:00Z"
}
]
}
]
}
]
-} \ No newline at end of file
+}