commit | 5dd6d165a0b3ee88563e5bcabd4c2a7fc42a676b | [log] [tgz] |
---|---|---|
author | Michael Mokry <michael.mokry@att.com> | Tue Apr 02 07:33:28 2019 -0500 |
committer | Michael Mokry <michael.mokry@att.com> | Fri Apr 05 16:18:24 2019 -0500 |
tree | 7ccbffea7dc53835b375d63fd4cbd6bde54c3286 | |
parent | 9bf471abe906598ffd2cd280d372e7cb9474a418 [diff] |
Xacml PDP Register/Unregister Changes 1) Modified activator - Extend and use ServiceManagerContainer - add topicSink and topicSource properties to TopicEndpoint manager 2) Added PAP registration class 3) Added PDP message formatting class 4) Added PDP State Change listener to listen for state change and send back PDP Status.. then start heartbeat if not started already 5) Added Heartbeat publisher code to send heartbeat status on periodic interval 6) UPDATE: Made changes to satisfy Jim's review comments 7) Added code to XacmlPdpApplicationManager to get supportedPolicyTypes 8) UPDATE: more changes to satisfy Jim's latest review comments 9) Fixed the failed Junits causing build failure 10) Made change to use NetworkUtil for getting PdpStatus name value per Jorge's comment Still need to in separate review: 1) Write Junits for new code Registration and heartbeat flow as I understand it: 1) PDP starts and sends initial status to PAP with PASSIVE state 2) PDP listens for State Change from the PAP 3) PDP sends updated Active state to the AP 4) PDP begins sending periodic heartbeat status to the PAP Change-Id: Iafa06ae3f1ee195c7da3710a12d9c095c5413ec2 Issue-ID: POLICY-1449 Signed-off-by: Michael Mokry <michael.mokry@att.com>
Copyright 2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
This source repository contains the ONAP Policy XACML PDP engine code.
To build it using Maven 3, run: mvn clean install