aboutsummaryrefslogtreecommitdiffstats
path: root/packages
AgeCommit message (Collapse)AuthorFilesLines
2022-10-26Make apex-pdp dockerfile consistentdanielhanrahan3-27/+41
Make apex dockerfile consistent with other PF dockerfiles: Change apexuser to policy user Remove duplicate copy of examples directory Issue-ID: POLICY-4411 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iee7560cf3263d13d38cd829af9b0389cbc256f49
2022-10-21Set snapshot and/or references of policy/apex-pdp for new releaseliamfallon4-4/+4
policy/apex-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I3463647a8a3689518769a5fe5aaab2cfea8438e7
2022-10-21Update snapshot and/or references of policy/apex-pdp to latest snapshotsliamfallon4-4/+4
policy/apex-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic5da8f09888e81bfe6b0132c8fd725a3a4a40aed
2022-10-21update references in policy/apex-pdp pomliamfallon1-1/+1
updated references in the policy/apex-pdp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ia6d496c122f1057b0e0ad62393421fef0d314e9f
2022-09-23Update snapshot and/or references of policy/apex-pdp to latest snapshotsliamfallon4-4/+4
policy/apex-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ib4d723d5d687714011e76f22edf6a6c6f44aad5b
2022-09-22update references in policy/apex-pdp pomliamfallon1-1/+1
updated references in the policy/apex-pdp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I33ad4776113d66027c62c4e13a7f6d2feefccd86
2022-09-01Allow setting external dockerfile for apex-pdpdanielhanrahan1-0/+2
If building with an external dockerfile, e.g. using mvn clean install -Pdocker -DdockerFile=/path/to/dockerfile docker will look for project files in the same directory as the new dockerfile. A new property is added for setting the context path, to allow using existing project files in src/main/docker. Issue-ID: POLICY-4334 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I52606f85b720449e8ed9b532e55200c9f825e3cd
2022-07-29Update docker base image to snapshotliamfallon1-1/+1
Update docker base image to snapshot *** This commit is generated by a PF release script *** Issue-ID: POLICY-4287 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: If5d65a14fb695e2de6ec9031017e026b5dbdf089
2022-07-20Adding JSON Schema support in APEX-PDPa.sreekumar1-1/+6
More details can be found here: https://wiki.onap.org/display/DW/JSON+Schema+support+in+APEX-PDP A separate review will be raised as part of POLICY-4292 with a reference example on how to use the JSON Schema. Change-Id: I903d48969c6c5a24c63b8465b2412ed0b75b9351 Issue-ID: POLICY-4291 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-07-13Remove debian packaging from apex-pdp builddanielhanrahan6-338/+1
Issue-ID: POLICY-4285 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I599d05d19d97c70c5339c554d469c4c79b4c420e
2022-07-13Reduce size of docker images for APEX-PDPdanielhanrahan2-33/+19
Avoid creating extra layers when extracting tarball Remove redundant chown/chmod commands Reduce size of Alpine image by 25% (853MB to 638MB) Reduce size of OpenSuse image by 27% (826MB to 606MB) Issue-ID: POLICY-4272 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iebcad1d0b0f784b85a7d1e96c7b8edfd45b27060
2022-07-11Upgrade OpenSuse version to 15.4 for apex-pdpdanielhanrahan1-1/+1
Issue-ID: POLICY-4278 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ida486b651aa9d7ec9dde96668d33b3f0b73936f3
2022-06-28OCI image spec labels for APEX-PDPdanielhanrahan3-1/+44
Issue-ID: POLICY-4255 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iedd26861fe66d5cd11d168c9e6534a7c04676a42
2022-05-31OpenSuse docker file for APEX-PDPdanielhanrahan3-1/+68
Create OpenSuse docker file Add build profile for OpenSuse docker image Issue-ID: POLICY-4190 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I2a2635a0353ff4e402e8c9049245b947fe5781d3
2022-05-03Set snapshot and/or references of policy/apex-pdp for new releaseliamfallon3-3/+3
policy/apex-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4073 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I36c398ac9f30480b55e7ad15b3fb4161d8999206 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-28Update snapshot and/or references of policy/apex-pdp to latest snapshotsliamfallon3-3/+3
policy/apex-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: If859b088c5975c8dda67c34f335658c98341be57
2022-04-27update references in policy/apex-pdp pomliamfallon1-1/+1
updated references in the policy/apex-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: Id4f807154fa39b33e1f3316998f45952473156ce
2022-04-12Update snapshot and/or references of policy/apex-pdp to latest snapshotsliamfallon3-3/+3
policy/apex-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ida537dd5acbd299893f3e30bac84146e134d3a0f
2022-04-12update references in policy/apex-pdp pomliamfallon1-1/+1
updated references in the policy/apex-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: Id62dfd01928b8f46d7365a350fe5299b43f1f7e8
2022-03-11Update snapshot and/or references of policy/apex-pdp to latest snapshotsliamfallon3-3/+3
policy/apex-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I838a8d4d6365de1df2feda9d7ba7ffefbfd82c4f
2022-03-11Remove bad dependency in apex POMliamfallon1-7/+0
Eclipselink and direct persistence was removed from Apex in Jakarta. Issue-ID: POLICY-3982 Change-Id: I5f6d2a31b51688d78662d6a30208a96a61869555 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-11Remove bad dependency in apex POMliamfallon1-5/+0
Websocket carrier, which used jax-rs was removed in Jakarta. Issue-ID: POLICY-3982 Change-Id: Ia8a3919968166a52e802f5d04c9c2a984208a338 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-11Merge "Remove bad dependency in apex POM"Liam Fallon1-5/+0
2022-03-10Remove bad dependency in apex POMliamfallon1-5/+0
XML event protocol was removed as jax-rs dependencies were removed in Jakarta. Issue-ID: POLICY-3982 Change-Id: I5e8881ae8062fd46b46a1ec655e1210b8ccf2fbf Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-10update references in policy/apex-pdp pomliamfallon1-1/+1
updated references in the policy/apex-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: I908f81ff66d652ce97f82763887ad08034de6900 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-02-03Remove direct DB Load/Save from apex-pdpliamfallon1-263/+0
This review is part of a series of reviews to move the apex-pdp state machine model to use the base model types in policy models. Persistence of policies for apex-pdp is now implemented in PAP and API. The historic direct load and save functionality for APEX policy state machine models to and from databases is no longer used and no longer supported. This revmoves the DAO code from apex-pdp and the associated handling and test code. The next review will remove the JPA annotations. Subsequent reviews will mvoe the mdoel across to use the policy models base model types. Issue-ID: POLICY-1820 Change-Id: Iabf034b40a413d32fe62091fe3446f52ec30d3af Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-01-27Remove references to MariaDB from resource fileswaynedunican3-26/+44
Issue-ID: POLICY-2086 Change-Id: If38af6a319211c96f8be94f32551dc00b91d6ed1 Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2021-11-29Update snapshot of policy/apex-pdp to 2.7.1-SNAPSHOTliamfallon3-3/+3
*** This commit is generated by a PF release script *** policy/apex-pdp is update from 2.7.0-SNAPSHOT to 2.7.1-SNAPSHOT Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I334dda447490f6c3e848be7b58f4a5119ae70ead
2021-11-25Update parent,common.models and docker 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/apex-pdp. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I501aab4ddf6dbf2ed6700f2ecbf7da80ecaadf3d
2021-10-14Bump policy/apex-pdp to Jakarta 2.7.0-SNAPSHOTa.sreekumar3-3/+3
Change-Id: I8ead26be4968b94980dcafd269c7ab32022b34d0 Issue-ID: POLICY-3696 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-10-14Bump policy/apex-pdp to 2.6.2-SNAPSHOTa.sreekumar3-3/+3
Change-Id: I0db6ab5efb0595cba86ce9cbaaafab88349818ff Issue-ID: POLICY-3696 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-10-13Update parent/common/models/docker referencesliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: If4c5290890639fdf99de37501a134f820c92696b Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-15Bump apex-pdp to 2.6.1-SNAPSHOTa.sreekumar3-3/+3
Change-Id: Ie39d324e02a302b882318d46735a727322ce409d Issue-ID: POLICY-3587 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-08-26Use policy/docker image 2.3.0Jim Hahn1-1/+1
Issue-ID: POLICY-3587 Change-Id: I5beff4d99dc869e85497621f50b6a56d3d95e7db Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-25Remove GPLv3 from apex-pdp imageJim Hahn1-3/+3
The apex-pdp docker image includes libelf, which is GPLv3 and is therefore disallowed by ONAP. Appears to be included with "iproute2", which isn't needed anymore, so just removed it. Also added code to update the "apk" repo list. Issue-ID: POLICY-2845 Change-Id: I7472d584bdd391b7a711c6718f2596b1081c032c Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-09use url resource for docker-tag -- apexTaka Cho1-18/+4
use groovy url resource from docker repo to identify the tag for docker Issue-ID: POLICY-3378 Change-Id: I73be74f19d0d39912676d839c99f918fdfcf2078 Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-07-19Use docker registry properties in apex-pdpJim Hahn1-2/+1
Issue-ID: POLICY-3374 Change-Id: I7d9cfecdea244db6215f2c594f61b2d9b6cf96e0 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-05-11Update the default logback.xml in APEX to log to STDOUTa.sreekumar1-0/+14
Update the default logback.xml to log to STDOUT, so that while running in standalone mode, logs can be seen easily. Change-Id: Ie0ccdbe11672c33723c920767ce14d1b26fa9762 Issue-ID: POLICY-3303 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-05-05Updating APEX base image from policy-jre-alpine to policy-jdk-alpinea.sreekumar1-1/+1
The stackoverflow issue is happening only in standalone mode when RestManager class is called from APEX Javascript logic to post a JSON body, that too 6-7 out of 10 times. To identify the exact root cause may need more investigation, but changing the base image from policy-jre-alpine to policy-jdk-alpine seems to have fixed the issue during local testing. (Issue didn't happen 10 out of 10 times) Change-Id: Ibe718294ff9ab04c70349b3bc52c3c66619f2093 Issue-ID: POLICY-3066 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-04-19Fix name of target-database property in persistence.xml filesktimoney1-22/+23
Updated property javax.persistence.target-database to eclipselink.target-database Removed tools/tools-common/testing.txt Added Modifications Copyright to headers Updated Postgres references to MySQL Updated user information Issue-ID: POLICY-3059 Change-Id: I42ad294458809c0a3dca4d3ce9dd1ae5a7daa417 Signed-off-by: ktimoney <kevin.timoney@est.tech>
2021-04-07Use sh instead of ash in apex-pdpJim Hahn8-44/+40
Issue-ID: POLICY-3160 Change-Id: Ic48de952b5717e4f33d0eac47b41c41a2a97b883 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-23Override to default entry point in apex-pdpRam Krishna Verma1-0/+1
Overriding to default entry point (/bin/sh) in apex-pdp docker file to support stand alone installations of docker image. Issue-ID: POLICY-3062 Change-Id: I100674cedf78f7221128bc87dd562835f297e0dd Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-03-19Delete keystores from apexJim Hahn1-0/+0
The Keystore is no longer needed in the tarball, as it is supplied externally by the CSITs and Helm charts. Deleted that file. Also modified the junits to use utils-test to generates keystores at runtime, thus deleted the junit keystore file, too. Issue-ID: POLICY-3143 Change-Id: I9bb53fcb5887e73d661ec4c4083970630c61e5c1 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-16Update policy-keystore with newer certificatesjhh1-0/+0
Issue-ID: POLICY-3139 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ia67cb1486a5625385a710c5f6c2b4325ca108820
2021-03-12Bump apex-pdp to 2.6.0-SNAPSHOTliamfallon3-3/+3
Issue-ID: POLICY-3105 Change-Id: I53abd7e9cf8c1425d115b0bb917db6389e9ded92 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-03-10Bump apex-pdp to 2.5.2-SNAPSHOTa.sreekumar3-3/+3
Change-Id: I291f968367b1f864bb417a72fd0bdb22a07ba0f7 Issue-ID: POLICY-3127 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-02-24Bump apex-pdp to 2.5.1-SNAPSHOTa.sreekumar3-3/+3
Change-Id: I761ded255a97128f858d3a7ce95f2479b6208a4e Issue-ID: POLICY-3088 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-02-23Point to released version of docker, parent, common and modelsa.sreekumar1-1/+2
Change-Id: I17e2e093421733fc94a3de8f5946b867b3b73ba9 Issue-ID: POLICY-3088 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-01-05use jre base 2.2.0 - apexTaka Cho1-1/+1
use jre base 2.2.0 Issue-ID: POLICY-2917 Change-Id: I75ae9f401c3665cfad6bc9657511e8c59fe09d02 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-12-07move all bash to ash shell scripts - apexTaka Cho8-129/+200
bash scripts convert to ash Issue-ID: POLICY-2847 Change-Id: I4617223d4914820797f5ea121f75ee5f69a6ba40 Signed-off-by: Taka Cho <takamune.cho@att.com>