summaryrefslogtreecommitdiffstats
path: root/packages/policy-api-docker/src/main/docker/Dockerfile
AgeCommit message (Collapse)AuthorFilesLines
2023-04-25update references in policy/api pomrameshiyer271-1/+1
updated references in the policy/api pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4648 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech> Change-Id: I62762f90748fb7378e7c5fdbaa494187570fde6b
2023-03-01Update snapshot and/or references of policy/api to latest snapshotssaul.gill1-1/+1
policy/api updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4570 Signed-off-by: saul.gill <saul.gill@est.tech> Change-Id: Id95ea702a90ae07dfd256d9b1aa37da0431efd47
2023-02-28update references in policy/api pomsaul.gill1-1/+1
updated references in the policy/api pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4570 Signed-off-by: saul.gill <saul.gill@est.tech> Change-Id: Icadaa830ac0e013029bee6d1f65dc05bb2997e29
2023-02-14Update Dockerfile for PF base imageliamfallon1-1/+2
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: Idde5d41c667644610d1cdb070a6ddf9dbaa44b75 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-12-15Update snapshot and/or references of policy/api to latest snapshotsliamfallon1-1/+1
policy/api 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: I6e0e8be495ba56a259245c8452813a0a5d1d1a6a
2022-12-15update references in policy/api pomliamfallon1-1/+1
updated references in the policy/api pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Icf8ccc5d5874eab7a9fbb3b784a5d110a5d2f322
2022-10-21Set snapshot and/or references of policy/api for new releaseliamfallon1-1/+1
policy/api 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: I02910c3a06fb00167ba366281f5e06663395683f
2022-10-21Update snapshot and/or references of policy/api to latest snapshotsliamfallon1-1/+1
policy/api 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: I3156e55b0bc6557e3ff157b3f07339c1d165d29e
2022-10-21update references in policy/api pomliamfallon1-1/+1
updated references in the policy/api pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ica25ba4472653ab47c604ee20cfe99692eadd8fd
2022-09-23Update snapshot and/or references of policy/api to latest snapshotsliamfallon1-1/+1
policy/api 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: I5309004eb6e4bda552ed9896d61a9a0b92a18ea0
2022-09-22update references in policy/api pomliamfallon1-1/+1
updated references in the policy/api pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Icb28267afb10efd92eb5cd63627cb68c3aec64d9
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: Ie1831cad682864c35cf0f7c08308a1f8e78ec656
2022-07-13Reduce size of docker images for APIdanielhanrahan1-9/+13
Remove unused jar files from image (not needed since spring boot) Avoid creating extra layers when extracting tarball Reduce size of Alpine image by 73% (956MB to 259MB) Reduce size of OpenSuse image by 62% (1.12GB to 423MB) Issue-ID: POLICY-4265 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I321cd42ade294a8af40c64612037d3ca1cf58341
2022-06-28OCI image spec labels for APIdanielhanrahan1-1/+10
Issue-ID: POLICY-4253 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I994f16f3c6432a77b1b4c1468e0ca299a0db9624
2022-04-27update references in policy/api pomliamfallon1-1/+1
updated references in the policy/api pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I924f7541fade3884a3bed0926ad7a598e278a06d
2022-04-12update references in policy/api pomliamfallon1-1/+1
updated references in the policy/api pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I8e2d394be2baad3ab4020d9e457e7a3e0298bc72
2022-03-10update references in policy/api pomliamfallon1-1/+1
updated references in the policy/api pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Idc17a71a7ab98cd035a93efb76d7963bbc2e5aa9 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-02-10Migrate policy api startup & config, controller to springbootRashmi Pujar1-3/+5
Issue-ID: POLICY-3753 Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca> Change-Id: I4537ed49b7fc57683bfc487f0d212642b7e69f17
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/api. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I91ed4f245909d7d98b38b918a9835b4d3711df10 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-13Update parent/common/models/docker referencesliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: If496413f8ab038c81ba18731d2341860f564d592 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: Id8ac81784bd0deb83654d391205e8c83d68e0d6f Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-23Point to released artifactsPamela Dragosh1-2/+2
policy-common 1.8.0 policy-models 2.4.0 policy-parent 3.3.0 docker image 2.2.1 Issue-ID: POLICY-3088 Change-Id: Id68459351878c5e3221c5b9044f3ccb40016e6f7 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-01-05use jre base 2.2.0 - apiTaka Cho1-1/+1
use jre base 2.2.0 Issue-ID: POLICY-2917 Change-Id: Ie587b46ce53c223f73dde99ff42df56c034be2aa Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-11-30move all bash to ash shell scripts - apiTaka Cho1-1/+1
bash scripts convert to ash Issue-ID: POLICY-2847 Change-Id: I1121f77d0bfb35152ba5474f5a592a57a1362822 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: I2f0342bdefafd33b46c36b3253e29d7b325de016 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-04point to 2.1.0 policy-alpine base - apiTaka Cho1-1/+21
In G-rel, using 2.1.0 base. Issue-ID: POLICY-2789 Change-Id: I2ac6c7b2dad7e49ffcd88857399c7dd388e6fa2d Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-03-01Point to docker 2.0.1Pamela Dragosh1-1/+1
Release docker 2.0.1 Issue-ID: POLICY-2378 Change-Id: Ib839cb1a5e8db9e815d41c42421839255072f658 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-01-16Use alpine image for policy-apiJim Hahn1-4/+3
Issue-ID: POLICY-1586 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: Ie6ea1f8dffdc6c859f5f09b726e0ed7a65b62f68
2020-01-15Switch to debain for policy-apiJim Hahn1-1/+1
Use the latest jre image for now. Issue-ID: POLICY-1586 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: Ia5e57a5c94fbe40940c6b0b02c1127fd448abcf8
2020-01-14Update policy-api for java11 dockerJim Hahn1-1/+1
Issue-ID: POLICY-1586 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: Ifeb693b4849dfd07057d2139b9f5b58e2ce3f0e5
2019-06-25Remove POLICY_API_HOME in Dockerfileshaoqiu1-9/+9
To use POLICY_HOME not POLICY_XXX_HOME Issue-ID: POLICY-1702 Change-Id: I14e3415f1ee00cd7a82b0d1768eb6c1ab8775424 Signed-off-by: shaoqiu <tim.huang@est.tech>
2019-06-04Fix api 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 api docker file to use "755" instead. Change-Id: Idf376d0d4e2a44ee5a605b473b0307d8770b4ced Issue-ID: POLICY-1829 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-04-24Add exact version of parent imageDmitry Puzikov1-2/+2
Change-Id: I70b6f703e7eaf63c348df75e15b93a42834b2b3e Issue-ID: INT-998 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2019-04-24Rebase api image on policy-common-alpineDmitry Puzikov1-19/+5
Issue-ID: INT-998 Change-Id: I7d128035bb94db860036d9f80151439e79aac8f6 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2019-03-17Manually add NSS libraries to images.Jorge 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 Added other nice to have basic utilities for debugging to base image. Change-Id: Ia836c15b17836d46cd61d312f514bd6eb9a8c956 Issue-ID: POLICY-1604 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-03-06Use Alpine as base docker image in /policy/apishaoqiu1-18/+11
Issue-ID: POLICY-1549 Change-Id: I422ea3d70469dc6d2a840c5ce3aa70117f83864f Signed-off-by: shaoqiu <tim.huang@est.tech>
2019-02-12Change ubuntu version in DockerFileChenfei Gao1-1/+1
Changed ubuntu from 14.04 to 16.04 in DockerFile Issue-ID: POLICY-1270 Change-Id: I17a4ee632eb7fb10ddfb3cd2c0c8d57ff22347ff Signed-off-by: Chenfei Gao <cgao@research.att.com>
2019-02-07Add changes to basic structure of api componentChenfei Gao1-0/+46
Includes: 1) Changed logging from FlexLogger to slf4j and used the logback.xml aligned with v1.2 logging requirements. 2) Added https as a configurable parameter of api rest server. 3) Added aaf as a condfigurable parameter of api rest server. 4) Added AafFilter classes for healthcheck and statistics. 5) Added api statistics REST entry point. 6) Created related junit tests. 7) Packaged docker Issue-ID: POLICY-1270 Change-Id: I638f61361bb052545e8597531ba3d58019bf1f24 Signed-off-by: Chenfei Gao <cgao@research.att.com>