aboutsummaryrefslogtreecommitdiffstats
path: root/policy-jdk
AgeCommit message (Collapse)AuthorFilesLines
2023-05-25Set snapshot and/or references of policy/docker for new releaseliamfallon2-2/+2
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4662 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I35fcba9154ad884a1980e1c6c921f5384b2f259b
2023-04-24Update snapshot and/or references of policy/docker to latest snapshotsrameshiyer272-2/+2
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4648 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech> Change-Id: Iea14df61ba745fa3121b7b51fa4f8d419695fdce
2023-02-28Update snapshot and/or references of policy/docker to latest snapshotssaul.gill2-2/+2
policy/docker 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: Ie7cebf3963d13081b4ec1c31e454c7026370aef3 Signed-off-by: saul.gill <saul.gill@est.tech>
2023-02-14Remove integration base images from PF base imagesliamfallon2-127/+54
The Docker base image from the integration project is now unmaintained. We replace the Integration base image by updating our own base image to work directly off Alpine. Issue-ID: POLICY-4558 Change-Id: I00097cede2536c88ade3f318479eab309695b41e Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-12-15Update snapshot and/or references of policy/docker to latest snapshotsliamfallon2-2/+2
policy/docker 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: Id9c0499baef561e5c48688c5071d07f4f2d08c3a
2022-10-21Set snapshot and/or references of policy/docker for new releaseliamfallon2-2/+2
policy/docker 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: Id900a74168359265a327fa652d958edc56e15214
2022-10-20Update snapshot and/or references of policy/docker to latest snapshotsliamfallon2-2/+2
policy/docker 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: Ic99f4fe294722c669639aebc362b96b25b1ed07c
2022-09-22Update snapshot and/or references of policy/docker to latest snapshotsliamfallon2-2/+2
policy/docker 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: I57d1adc21b8fedd6346edd467f524a6849632429
2022-09-09Fix minor issues with CSITsliamfallon1-4/+4
Issue-ID: POLICY-4350 Change-Id: I2bbc47122aa5984fbe3f03edc252ea56e47dba73 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-08-22Generate onap images locally on ARM architectureliamfallon2-8/+101
The defailt ONAP base images are generated for X86 64 architecture. On ARM architecture, these base images cannot be used locally because they don't run properly in Docker on ARM architecture. Docker images based on these images are also forced to X86 64 architecure. In order to run the Policy Framework locally on a computer with ARM architecture such as an Apple M1 Macbook, local Docker images should be built that use ARM archtiecture. The changes in this commit introduce a profile in the POMs for the POLICY Framework base images. This profile is triggered only on builds running on ARM architecture. This new profile builds the onap-java and onap-pthon base images on ARM architeclture locally when the build is run on a machine with ARM architecture. - The onap-java base image docker file does not build on ARM architecture becasue its base image (an Alpine version with Java 11 preinstalled). Therefore, for this base image, a Dockerfile is introduced that uses the Alpine base image and adds Java 11. - The onap-python image docker file does build on ARM architecture so the repo is simply checked out and built on ARM architecture Once these ARM based ONAP base images are available locally, the rest of the docker images in the Policy Framework build fine on a machine with ARM architecture, and can be used to run docker-compose compositions such as CSITs. Issue-ID: POLICY-4287 Change-Id: I1938e232f6457f7ad1c18a0952c65fdee04d169b Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-07-15Update parent references on docker filesliamfallon1-1/+1
Issue-ID: POLICY-4287 Change-Id: I9c6c59e264624d35b70b26640c2442f937419527 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-06-29OCI image spec labels for policy-docker imagesdanielhanrahan2-0/+13
Issue-ID: POLICY-4264 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I8ab51f82a441361b8aa6b5f9aa0b6917ceea5399
2022-05-03Set snapshot and/or references of policy/docker for new releaseliamfallon2-2/+2
policy/docker 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: Ibc0b2ea07a80ece136ae81b6dec8bb457fc86fa9 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-27Update snapshot and/or references of policy/docker to latest snapshotsliamfallon2-2/+2
policy/docker 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: Ib1f5eaf1f685d3789375dc32fce07104fa4faf65
2022-04-12Update snapshot and/or references of policy/docker to latest snapshotsliamfallon2-2/+2
policy/docker 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: Icf8d329eeb1713f6edd6cb94d45015c952b43a98
2022-03-09Update snapshot and/or references of policy/docker to latest snapshotsliamfallon2-2/+2
policy/docker 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: I5779febc813b6a2c663c1f2cd863df150f2c9837
2022-02-07Fix failing build in jdk base imagesaul.gill1-2/+3
Fix originally put in drools-pdp Upgraded Python pip package as was causing build failure Issue-ID: POLICY-3905 Change-Id: Ib5320790914a6a1344ae0548aeda3c7cf4585734 Signed-off-by: saul.gill <saul.gill@est.tech>
2021-11-24Update snapshot of policy/docker to 2.4.1-SNAPSHOTliamfallon2-2/+2
*** This commit is generated by a PF release script *** This commit updates the snapshot of the repo to the next patch version. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I838765b413507978fff7dffce324df3f9f7e9dcf
2021-10-14Bump policy/docker to Jakarta 2.4.0-SNAPSHOTliamfallon2-2/+2
Issue-ID: POLICY-3696 Change-Id: I48777921ed97ec578fb797521c6dd1240a116d4b Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-14Bump policy/docker to 2.3.2-SNAPSHOTliamfallon2-2/+2
Issue-ID: POLICY-3696 Change-Id: Id00233078bb6add59e5c90311cc78d7a4f29490d Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-08-25Bump docker to 2.3.1Jim Hahn2-2/+2
Also changed db-migrator to base off of 2.3.0 jre-alpine version. (We have a "chicken and egg" problem where the migrator can't point to the current docker version, as it hasn't been released yet, thus pointing it to the latest released version, which is one back.) Issue-ID: POLICY-3587 Change-Id: Idf34e9c6a724e31f16636388e239bed059c5dd3e Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-10use url resource for docker-tag -- dockerTaka Cho1-19/+5
use groovy url resource from docker repo to identify the tag for docker With this change, the "SNAPSHOT-latest" docker tag will change from "2.3.0-SNAPSHOT-latest" to "2.3-SNAPSHOT-latest" for jdk/jre alpine base image as well as db_migrator docker. Also fix a bug in println groovy script. Issue-ID: POLICY-3378 Change-Id: I72bd15e2535f688629ee5f1a823409d8fe83cdb1 Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-07-19Use docker registry properties in docker imagesJim Hahn1-3/+1
Issue-ID: POLICY-3374 Change-Id: Icebaf8184c2177778891bcd24a61ec93b2a46491 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-07-14Base policy-jdk image on onap-python imageJim Hahn1-2/+2
The onap-java image only installs the java jre, but policy needs the jdk, thus we have been uninstalling the jre and then installing the jdk. Unfortunately, this means that the policy-jdk image does not use the latest ONAP-specified point release for either the java jdk OR python. With this change, the policy-jdk image will start with the onap-python image instead, thus python, at least will be up to date, even if the jdk is not. Note: tried using the latest adoptjdk image, but apparently there's something different about that image that triggers a stack overflow in apex-pdp. Consequently, we'll stay with the openjdk installed via alpine "apk". This is still java 11, which satisfies ONAP requirements, it just isn't the point release that is preferred. Issue-ID: POLICY-3486 Change-Id: I0959c7048a38e30927b37b58deb887cc961a2150 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-06-16Use newer onap docker base imageJim Hahn1-1/+1
Modified the docker files to use the newer onap docker base image. Issue-ID: POLICY-3390 Change-Id: Ia9b57d1909917225b22eea5920f91ad193655911 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-04-19Make base image name a propertyliamfallon1-2/+6
The base image name is not configurable for Policy builds. This change makes the base image name configurable so it can be reconfigured if needs be. Issue-ID: POLICY-2971 Change-Id: I8ba39aa109c5b4ddb516c27f65bf20dc1020d220 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-03-26Use base image for policy-jdk docker imagesJim Hahn1-7/+9
Couldn't figure out a way to remove the jre, but was able to install the jdk over top of it. Issue-ID: POLICY-3134 Change-Id: I6096ff765500977f58449800192bbf2b53848efa Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-11Bump version to 2.3.0 in dockerJim Hahn2-2/+2
Issue-ID: POLICY-3105 Change-Id: Ieabed46bee9f553aaf75445327c384f7ed3e9fb0 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-22Bump version to 2.2.2-SNAPSHOT in dockerJim Hahn2-2/+2
Issue-ID: POLICY-3088 Change-Id: Ie019d5eab6a7ec087ad689c50482dabb317010a9 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-01-05bump up version 2.2.1-SNAPSHOTTaka Cho2-2/+2
bump up to next version Issue-ID: POLICY-2917 Change-Id: I10c70240478ac9b7b633219c65d033823fde1d7c Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-12-16remove all GPL-3.0 and plus license packageTaka Cho1-1/+1
change to /bin/sh for policy user Issue-ID: POLICY-2847 Change-Id: Ie2c88b3e15ab4ca2bf5e6d928f0f9c40c0688c4b Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-11-19remove all GPL-3.0 and plus license packageTaka Cho1-5/+0
this gerrit would be the second step to not to use any GPL-3.0 and plus license Issue-ID: POLICY-2847 Change-Id: I637b8db2fd39a1f0864c8320b5744fc99350108c Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-10-27Bump docker master to 2.2.0-SNAPSHOTJim Hahn2-2/+2
Bumping minor version now that guilin branch has been created. Also repointed to snapshot versions for dependencies. Issue-ID: POLICY-2875 Change-Id: I9e84ca07f8d932d2e6fb80a1746eb26878bb7857 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-14Bump version to 2.1.2Jim Hahn2-2/+2
Issue-ID: POLICY-2819 Change-Id: I2383dd7e2cc7d0262ea27b9a03152216b006389e Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-14Update alpine images for jdk112.1.1Jim Hahn1-7/+9
Updated the docker images to alpine 3.12.0 so that a newer version of openjdk11 would be pulled in. Modified the jdk image to download maven via curl rather than installing it via apk so-as to prevent it from installing java8 as a dependency. Issue-ID: POLICY-2819 Change-Id: Iba4e2448b826ce6abb5df506228c99b9a3676495 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-04Bump version to 2.1.1Jim Hahn2-2/+2
Issue-ID: POLICY-2789 Change-Id: I994fd59c7ec7a8a9472c08e1404f1afc7a14d112 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-02remove debian docker image build2.1.0Taka Cho4-195/+0
In order to comply license violation, have to move to alpine docker image build. Hence removed all debian docker image build Issue-ID: POLICY-2793 Change-Id: Ifa225b37dd65d366e54aebef317853f43c79311e Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-08-21Bump docker version to 2.1.0Jim Hahn3-3/+3
Issue-ID: POLICY-2787 Change-Id: I8293c1684d6fa628f2a4866458a28ea0bb12bc9f Signed-off-by: Jim Hahn <jrh3@att.com>
2020-06-23Changing format of timestamp for dockerRossC1-0/+1
Issue-ID: POLICY-2598 Change-Id: Ic72ec6ee112dc8a6b160702218480dcfafb3e811 Signed-off-by: RossC <ross.carter@est.tech>
2020-06-18Removing multiarch support from docker repoRossC2-22/+10
Issue-ID: POLICY-2598 Change-Id: I233e235ad22a4acda3d53060eae6cec454dec1a1 Signed-off-by: RossC <ross.carter@est.tech>
2020-06-08Change alpine docker images to match debianfrankfurtJim Hahn1-5/+2
Various changes were made to the policy debian-slim docker images. Made the same changes to the alpine images. Issue-ID: POLICY-2374 Change-Id: I1acc6a7791dc7c4a9ba44ea2c70b19ebeb0acf94 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-03-02Merge "Bump policy/docker 2.0.2"Ram Krishna Verma3-3/+3
2020-03-02Bump policy/docker 2.0.2Pamela Dragosh3-3/+3
2.0.1 is released, bump to next patch. Also ensure configuration for dependencies is correct. Issue-ID: POLICY-2378 Change-Id: Ia581392df30614f92d30b52ef4799258991f584b Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-02-29Updating alpine version to 3.11.3 in policy-docker Dockerfiles2.0.1a.sreekumar1-1/+2
Change-Id: I9291f36e94d4b262cfe5bd0d420af86ce21205a8 Issue-ID: POLICY-2378 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2020-02-21Bump policy/docker to 2.0.1Pamela Dragosh3-3/+3
2.0.0 was released, there are changes so there needs to be a release for 2.0.1 Issue-ID: POLICY-2378 Change-Id: Ib9cd12ffc4ab06016d4208d45f4a5183e62432d1 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-02-16Remove creation of POLICY_HOME/etc/ssljhh1-5/+2
onap/policy-jdk-debian is only used by policy/drools and policy/engine. Their corresponding Dockerfiles remove the precreated $POLICY_HOME/etc/ssl in order to proceed with their images build. In any case, the directory layout under $POLICY_HOME should be handled by its respective derived images. Miscellaneous clean up of packages in the base image. Some packages are only used in drools and not in engine, hence removed and moved to drools. The python dependencies (python 2) created issues with tooling (http and telemetry). Issue-ID: POLICY-2181 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I3028cc9aa10bb453110c45769a1dba0315f7704f Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-02-04Add vim to debian docker images2.0.0Jim Hahn1-0/+1
Already included in alpine images. Issue-ID: POLICY-1586 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I6b659dd0512493041a8ab3c83e7cdb5d2ca2e1bd
2020-01-16Re-add alpine docker imagesJim Hahn2-9/+12
Split the RUN into separate items in an attempt to get past the sporadic I/O Error when building the policy alpine docker images. Updates per review comments: - removed nss - removed openssh (for now) Issue-ID: POLICY-1586 Change-Id: I9e6181e67333a5fdf01c8a4286f117b673e50076 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-01-15Comment out alpine docker imagesJim Hahn1-0/+3
Issue-ID: POLICY-1586 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I2d6dc8c2d4b233cc17b5acf5260780416c55217b
2020-01-15Remove BUILD_VERSION argumentjhh2-6/+0
Issue-ID: POLICY-1586 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I0ae7e03262a5e7e2af2773c63c681535b73284e5