aboutsummaryrefslogtreecommitdiffstats
path: root/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx.sh
AgeCommit message (Collapse)AuthorFilesLines
2019-06-18Create the operationshistory table from pdpxMichael Mokry1-2/+5
Added create table sql statement to the policy-pdpx.sh to create the operationshistory table during xacml-pdp installation Added changes per Jorge's review 1) Added sql file with create table statement 2) Added bash script to execute sql file 3) modified policy-pdpx.sh to execute new bash script 4) other changes Change-Id: Iaae63dc65db1ff9181de12928e072f04c87e50e7 Issue-ID: POLICY-1827 Signed-off-by: Michael Mokry <michael.mokry@att.com>
2019-05-14Changes to fix db connection issues in xacml-pdpMichael Mokry1-0/+4
Added code to copy the oom xacml.properties file to the proper directory Made change based on Jorge's comments Change-Id: I0c46a01ca4407fa4d18391ca9ad81d37a0f46969 Issue-ID: POLICY-1760 Signed-off-by: Michael Mokry <michael.mokry@att.com>
2019-04-11Fixing install script that is failing CSITMichael Mokry1-1/+2
1.) Made a change to address syntax error in script Change-Id: I671e533c7ba09f0a75f871f1a47b42cbe8a91b37 Issue-ID: POLICY-1449 Signed-off-by: Michael Mokry <michael.mokry@att.com>
2019-04-11Fix the xacml-pdp CSIT failuresMichael Mokry1-3/+8
Looks like CSIT uses docker to install xacml-pdp so a change in OOM is not necessary to fix this problem. I took a look at the PAP script and found some small differenences and made those changes in xacml-pdp. I have not been able to successfully test this as I spent all night trying to figure out how to execute it in my VM with and without arguments. I added some debugger code in as well to get more information in the logs and see if the property file is actually being found. Change-Id: Ib6ca95edab4483aa4e65efca73a9f58342cc1ec0 Issue-ID: POLICY-1449 Signed-off-by: Michael Mokry <michael.mokry@att.com>
2019-04-05Xacml PDP Register/Unregister ChangesMichael Mokry1-1/+6
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>
2019-03-07Use Alpine as base docker image in xacml-pdpshaoqiu1-1/+1
Issue-ID: POLICY-1554 Change-Id: Ia80f01317f2f224e55ddc18139ac49ca19883cd1 Signed-off-by: shaoqiu <tim.huang@est.tech>
2019-03-01Change package name to fix docker image issueMichael Mokry1-1/+1
Change package name used in the policy-pdpx.sh for org.onap.policy.pdpx.main.startstop.Main Change-Id: Ibfc68827f8675ae447aa2797c8a0a42fc6c502d5 Issue-ID: POLICY-1436 Signed-off-by: Michael Mokry <michael.mokry@att.com>
2019-02-13Package and Create Docker Image for Xacml PDPMichael Mokry1-0/+43
- Creates docker image of policy xacml-pdp - Creates zip package of policy xacml-pdp - Also committed changes from Healthcheck/Statitics review that were allowed to be deferred Change-Id: Ia5fb72be05a30a341692453fe4ff32c7b112e861 Issue-ID: POLICY-1436 Signed-off-by: Michael Mokry <michael.mokry@att.com>