summaryrefslogtreecommitdiffstats
path: root/packages/apex-pdp-docker/src/main
AgeCommit message (Collapse)AuthorFilesLines
2023-02-14Update Dockerfile for PF base imageliamfallon1-0/+1
The Policy Framework base image run under the "onap" user rather than under the "root" user. This means that root access has to be enabled in child Dockerfiles for configuraiton that requires root access. Root access is turned off again later in the Dockerfile so that the image will run under another user. Issue-ID: POLICY-4558 Change-Id: I3cef40fa259f0646c75edcb835258d24e3fb0e9c Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-12-15Update snapshot and/or references of policy/apex-pdp to latest snapshotsliamfallon1-1/+1
policy/apex-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ia964f8a4e9fceb9f38f4b560b641af10cda312da
2022-12-15update 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-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I2429296205d003f2da39aab2dbfafa32aaf66081
2022-10-26Make apex-pdp dockerfile consistentdanielhanrahan2-20/+18
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 releaseliamfallon1-1/+1
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 snapshotsliamfallon1-1/+1
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 snapshotsliamfallon1-1/+1
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-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-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-PDPdanielhanrahan2-1/+17
Issue-ID: POLICY-4255 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iedd26861fe66d5cd11d168c9e6534a7c04676a42
2022-05-31OpenSuse docker file for APEX-PDPdanielhanrahan1-0/+55
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-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 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-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>
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-13Update parent/common/models/docker referencesliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: If4c5290890639fdf99de37501a134f820c92696b 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: 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-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-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-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-09-14Use alpine base image 2.1.1Jim Hahn1-1/+1
Issue-ID: POLICY-2819 Change-Id: I28b4c8acdef0302b6419a07c4445d60c398c4f73 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-04point to 2.1.0 policy-alpine base - apexTaka Cho1-1/+2
In G-rel, using 2.1.0 base. Issue-ID: POLICY-2789 Change-Id: Ieff7433ab0c85abca218032a0a3c91bb42081a80 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-03-01Point to docker 2.0.1Pamela Dragosh1-1/+1
policy/docker is released. Issue-ID: POLICY-2378 Change-Id: If3ed5a595f9e6138c18ed8d7386e07a776d7c903 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-01-23Run apex-pdp in Java 11: base changesliamfallon1-22/+33
This change brings in the minimum changes to get apex-pdp running in Java 11. Other reviews will bring in changes to remove Java 11 warnings and to convert apex-pdp Javascript handling from the now deprecated nashorn engine. Issue-ID: POLICY-1581 Change-Id: I879bbae08d4e67aca3f1bfeedeca639d8dbbc281 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-01-06Changing ownership of configuration files in APEXa.sreekumar1-2/+3
Default user when logging into APEX container is apexuser. Updating the ownership of configuration files such as logback.xml and key files so that these can be updated at runtime. Change-Id: Icf21e0b408d3b4ef829e1b1c5505f142a7d08adc Issue-ID: POLICY-2308 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-06-19Use io.fabric8:docker-maven-plugin to build and push docker imagesRashmi Pujar1-13/+9
Issue-ID: POLICY-969 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: Ia3c7c2d6b77d87848c344f212f4a0266db90426e
2019-06-04Fix apex docker chmodjrh31-1/+1
The chmod in the docker builder for my local VM does not appear to support the "+x" style options. Modified the apex docker file to use "755" instead. Issue-ID: POLICY-1829 Signed-off-by: jrh3 <jrh3@att.com> Change-Id: I99faa8a31e92243bcc28207afba40b2b680ba1bf
2019-06-03Remove POLICY_APEX_PDP_HOME in Dockerfileshaoqiu1-7/+6
To use POLICY_HOME not POLICY_XXX_HOME Issue-ID: POLICY-1702 Change-Id: I145164f662d2d0fdd94875e8bcacd4f7a669309a Signed-off-by: shaoqiu <tim.huang@est.tech>
2019-05-01Fix docker version for Apexliamfallon1-1/+1
Docker build is breaking, version of base alpine set in this review. Changed to use version 1.4.0. Issue-ID: INT-997 Change-Id: Icacb31e1fa9abef29930507fab7d53af125588e3 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-04-30Rebase image on policy-base-alpineDmitry Puzikov1-15/+26
Issue-ID: INT-997 Change-Id: I1a39eaf9cc0fc546eafde10d0b81a90ed5d32b13 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2019-03-17Add NSS libraries to imagesJorge Hernandez1-1/+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. Added some other libraries to aid when debugging. Change-Id: I80ba6a4e145f107219f4380da1cb90ede5ccc056 Issue-ID: POLICY-1604 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-02-28Use Alpine as base docker imageHengye1-13/+5
change docker base image from ubuntu 16.04 to Alpine 3.9 Issue-ID: POLICY-1555 Change-Id: Ia21f5e8185bd26f4b04276eed204ac358f655a59 Signed-off-by: Hengye <yehui.wang@est.tech>
2018-10-19Add utility packages to Apex docker imageliamfallon1-0/+1
Add zip/curl/ping/vi to the image for debugging Issue-ID: POLICY-812 Change-Id: I31b156aedd1500ef0ae50a45354f033b057dc7e4 Signed-off-by: liamfallon <liam.fallon@ericsson.com>
2018-07-17Set user in Dockerfile to apexusermmis1-3/+4
Set the user in Dockerfile to apexuser so as the user will be set to apexuser upon container starts up. Only apexuser is permitted to start apex. Issue-ID: POLICY-866 Change-Id: Ib9e29503d8fc252760df6385a78f353e8961c3d2 Signed-off-by: mmis <michael.morris@ericsson.com>
2018-07-10Create docker image for apex-pdpmmis1-0/+41
Issue-ID: POLICY-866 Change-Id: I6bc322224e087acae1c92a67c48506f061a59d14 Signed-off-by: mmis <michael.morris@ericsson.com>