aboutsummaryrefslogtreecommitdiffstats
path: root/packages/policy-xacmlpdp-docker/src
AgeCommit message (Collapse)AuthorFilesLines
2022-06-28OCI image spec labels for XACML-PDPdanielhanrahan2-0/+17
Issue-ID: POLICY-4256 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I9df32d52821fc4f25326b1d5a904af93a4672f50
2022-06-03OpenSuse docker file for xacml-pdpdanielhanrahan3-3/+52
Issue-ID: POLICY-4194 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I59af00368d35d9a4ade1332fcff5f3013edf3528
2022-05-17Support postgres in XACML-PDPwaynedunican2-1/+66
Issue-ID: POLICY-4187 Change-Id: Ifed655e214ce95b9cc8208cd5b0907e7bb00b463 Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2022-04-27update references in policy/xacml-pdp pomliamfallon1-1/+1
updated references in the policy/xacml-pdp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I8e2d15baad5a4e56fc06395ea043ff2bdff7ef0f
2022-04-12update references in policy/xacml-pdp pomliamfallon1-1/+1
updated references in the policy/xacml-pdp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I95baf1129135a38e864bada201f8ce2978929bbf
2022-03-10update references in policy/xacml-pdp pomliamfallon1-1/+1
updated references in the policy/xacml-pdp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I780cf2f77c5f5b713a5aa83d951b3757f5755f37 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-11-25Update parent and common referencesliamfallon1-1/+1
*** Release Phase 7: This commit is generated by a PF release script *** This is the seventh release phase, it updates parent, common and models references in policy/xacml-pdp. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Id9163c2d99d260d94959fe4416f80d84ca77bc81 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-13Update parent/common/models/docker referencesliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: Ie0edcbcd7bd7d351f13d415553aa04744b5ab285 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-08-26Use policy/docker image 2.3.0Jim Hahn1-1/+1
Issue-ID: POLICY-3587 Change-Id: I30c13c533635147d0ce70f58d42aaa8ac1a09604 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-04-07Use sh instead of ash in xacml-pdpJim Hahn1-2/+2
Issue-ID: POLICY-3160 Change-Id: I168a7d4630c487dd9d219f25383cd2f4fd781028 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-23use base policy-jre-alpine:2.2.1 imagejhh1-2/+2
Issue-ID: POLICY-3088 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I3eed92d8f3014580565efebdabb4464d9e38f13e Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-01-05use jre base 2.2.0 - xacmlTaka Cho1-1/+1
use jre base 2.2.0 Issue-ID: POLICY-2917 Change-Id: Id2683ff127fc1a290589e5295995f1d08481c50a Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-11-30move all bash to ash shell scripts - xacmlTaka Cho2-8/+7
bash scripts convert to ash Issue-ID: POLICY-2847 Change-Id: I181e353997d8874eaadd73d6c39594c04a856e4c Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-09-14Use alpine base image 2.1.1Jim Hahn1-1/+1
Issue-ID: POLICY-2819 Change-Id: I680120b164881f69f094dd3c979f58eb0e158db8 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-04point to 2.1.0 policy-alpine base - xacmlTaka Cho1-1/+21
In G-rel, using 2.1.0 base. Issue-ID: POLICY-2789 Change-Id: I8d1e4387a210326ef356aa452e8f34ac89c143c4 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-08-03environment variables to support cert. store pathsjhh1-7/+10
Issue-ID: POLICY-2615 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I8360ee5f3bf30c0ea00b58a1f891ef46e9ea9f00
2020-06-15get cert store passwords from envjhh1-5/+2
Issue-ID: POLICY-2575 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Icd6395fe4403b1fc2dd838a5ecdd3295f42639d2
2020-03-01Point to docker 2.0.1Pamela Dragosh1-1/+1
policy/docker is released Issue-ID: POLICY-2378 Change-Id: I1ca967d48dca59d72d3490044ee499770d04f286 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-01-16Use alpine image for xacml-pdpJim Hahn1-3/+4
Issue-ID: POLICY-1586 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I4ed9fa70dd95d061f0cd4c81822853b92387e2f6
2020-01-15Update policy-xacml-pdp for java11 dockerJim Hahn2-3/+3
Issue-ID: POLICY-1586 Change-Id: I6ff51d191a506297cbe69161114c0721b59bb5d2 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-01-09Enabling logback file to be loaded using oom configmapa.sreekumar1-2/+7
Change-Id: Icda10390a6ff3b6b524907562050658f3b283afd Issue-ID: POLICY-2308 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-10-17override cert storesjhh1-3/+14
Issue-ID: POLICY-2064 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ia98f383de7e1946e49c1f2c6117f2065c84ad26e
2019-07-04Remove topic.properties and incorporate into overall config file for xacmla.sreekumar1-13/+1
Change-Id: I3be6248db65041f5d9b7acfcf0fcd2f49d9d70f8 Issue-ID: POLICY-1744 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-06-28Remove POLICY_PDPX_HOME in policy-pdpx.sh and Dockerfileshaoqiu2-12/+12
Update the policy-pdpx.sh and Dockerfile according to the comments in commit: https://gerrit.onap.org/r/c/policy/api/+/89972 Issue-ID: POLICY-1702 Change-Id: Id46c108f5893d3e81e2038d9d5063b9f8a5eb5ee Signed-off-by: shaoqiu <tim.huang@est.tech>
2019-06-18Create the operationshistory table from pdpxMichael Mokry2-5/+7
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-06-05Fix xacml docker chmodJim Hahn1-1/+1
The chmod in the docker builder for my local VM does not appear to support the "+x" style options. Modified the xacml docker file to use "755" instead. Change-Id: I6cba12e62d84f626e03b3aee33d50d71faa602c4 Issue-ID: POLICY-1829 Signed-off-by: Jim Hahn <jrh3@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-26Rebase image on policy-common-alpineDmitry Puzikov1-15/+4
Issue-ID: INT-1003 Change-Id: I671156732399a8cd6f4a68e29f35112b8aa7657f Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.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-10Test decision from main entryPamela Dragosh1-10/+7
Tests a decision upon startup. This also updates the use of ToscaPolicyTypeIdentifier for all the applications. Very basic packaging for applications and their properties. Added cleaning of unused imports to remove sonar issues. Added production persistence.xml file to guard application. Not sure if we need a copy in the application/common resource directory. Issue-ID: POLICY-1440 Change-Id: If96eef5a9e0a7c6cc5461c0bdb6f0cd708cc41bb Signed-off-by: Pamela Dragosh <pdragosh@research.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-17Add NSS libraries to imagesJorge Hernandez1-2/+2
Alpine OpenJDK was updated 2 days ago (3/14), this upgrade seems to break java applications that depend on libnss*.so OS libraries, which seem are no longer installed with the jdk Change-Id: Iac67f7ff2e74f36369e8ce7b8ef91a940ae5c4d8 Issue-ID: POLICY-1604 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-03-07Use Alpine as base docker image in xacml-pdpshaoqiu2-19/+12
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-28Fix pdp-x docker image build problemsJorge Hernandez1-2/+2
Change-Id: I4023e4b5474b6ebb712179d134616f723e75432d Issue-ID: POLICY-1436 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-02-13Package and Create Docker Image for Xacml PDPMichael Mokry2-0/+89
- 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>