Update timestamp of PDP record 13/122113/2
authorJim Hahn <jrh3@att.com>
Fri, 18 Jun 2021 21:41:15 +0000 (17:41 -0400)
committerJim Hahn <jrh3@att.com>
Tue, 22 Jun 2021 19:05:27 +0000 (15:05 -0400)
commit00e9e19f5ac50cb5ce4cd09a9c403797a6e8f2b3
treeafd61e2422ad3c8a71ebc1c0939d555cecc0f0aa
parent8672dbc24a711798a9ac3098b24ac135e656f08e
Update timestamp of PDP record

Modified the code to update the record timestamp when a heartbeat is
received from a PDP.
Also used Map operations instead of List operations to construct policy
deploy/undeploy lists so they can be constructed in O(N) instead of
O(N^2).

Issue-ID: POLICY-2898
Change-Id: Ic7b2b9a249fa0563b625e98855c79f96c6ee81d4
Signed-off-by: Jim Hahn <jrh3@att.com>
main/src/main/java/org/onap/policy/pap/main/comm/PdpStatusMessageHandler.java