diff options
author | jrh3 <jrh3@att.com> | 2019-06-11 10:56:25 -0400 |
---|---|---|
committer | jrh3 <jrh3@att.com> | 2019-06-11 17:23:35 -0400 |
commit | a240d7a4020d0346040fe4d86682a6ab8fcd757a (patch) | |
tree | 31b2fa3a76c38f00a0ab5a45fca5a4d17508e45f /main/src/test/resources/comm/PdpTracker.json | |
parent | fde702471743115e7492951873dd48ba3dbc66bb (diff) |
Add PDP heart beat expiration timer
Added heart beat interval to the PDP-UPDATE message sent in response
to a heart beat message received from a PDP.
Added timers to detect missing heart beats and remove the PDP from
the DB - PdpTracker.
Modified current heart beat listener to update PdpTracker when a
heart beat is received.
Allow 3 missed heart beats instead of 2.
Change-Id: I81621fefbe494e0c4d6f0b9767b00b2a9dd398d8
Issue-ID: POLICY-1795
Signed-off-by: jrh3 <jrh3@att.com>
Diffstat (limited to 'main/src/test/resources/comm/PdpTracker.json')
-rw-r--r-- | main/src/test/resources/comm/PdpTracker.json | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/src/test/resources/comm/PdpTracker.json b/main/src/test/resources/comm/PdpTracker.json new file mode 100644 index 00000000..5c8942d5 --- /dev/null +++ b/main/src/test/resources/comm/PdpTracker.json @@ -0,0 +1,41 @@ +{ + "groups": [ + { + "name": "group-X", + "pdpSubgroups": [ + { + "pdpType": "apex", + "pdpInstances": [ + { + "instanceId": "pdp-A" + }, + { + "instanceId": "pdp-B" + } + ] + }, + { + "pdpType": "drools", + "pdpInstances": [ + { + "instanceId": "pdp-C" + } + ] + } + ] + }, + { + "name": "group-Y", + "pdpSubgroups": [ + { + "pdpType": "apex", + "pdpInstances": [ + { + "instanceId": "pdp-D" + } + ] + } + ] + } + ] +} |