summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-09-14Release docker 2.1.17.0.0-ONAPJim Hahn1-0/+10
Issue-ID: POLICY-2789 Change-Id: I020252f5ca31d79915740a418eccbc194e868f46 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-14Update alpine images for jdk112.1.1Jim Hahn2-11/+11
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-04Merge "Bump version to 2.1.1"Jim Hahn6-6/+6
2020-09-04Update container after stage-releaseJim Hahn1-3/+3
Previously forgot to "stage-release" the docker images. Having done that, now need to update the container.yaml to match it. Issue-ID: POLICY-2789 Change-Id: Id0d5c061ae8f49ac17d796594647c5426157466f Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-04Bump version to 2.1.1Jim Hahn6-6/+6
Issue-ID: POLICY-2789 Change-Id: I994fd59c7ec7a8a9472c08e1404f1afc7a14d112 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-03Release docker 2.1.0Jim Hahn1-0/+10
Issue-ID: POLICY-2789 Change-Id: I350c68fe8b1bed96c639bd1f4a81bc4dd4d71760 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-02remove debian docker image build2.1.0Taka Cho8-387/+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 Hahn8-9/+9
Issue-ID: POLICY-2787 Change-Id: I8293c1684d6fa628f2a4866458a28ea0bb12bc9f Signed-off-by: Jim Hahn <jrh3@att.com>
2020-08-21Release 2.0.2 docker containersJim Hahn2-0/+15
Issue-ID: POLICY-2787 Change-Id: I7ab2b4c045085562461521e70a5ac64617273c87 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-07-30Update INFO.yaml in policy-docker2.0.2Jim Hahn1-12/+16
Verified with Jessica W that the "type" should still be "Addition", even when updating the PTL. Updated to Mature, per TSC. Issue-ID: POLICY-2738 Change-Id: Idd77cdbd590d87d5cbbc59147f867d3dc440aa94 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-07-24Add Ajith to policy-docker infoJim Hahn1-17/+11
Issue-ID: POLICY-2738 Change-Id: I0e743021f25450f0848c873fe9ca87d177b923d0 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-07-13Refer to released versions in policy/dockerJim Hahn1-1/+1
Issue-ID: POLICY-2695 Change-Id: I7a38190e07c83d0cf9544e3bee53b86e9d575b64 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-06-23Changing format of timestamp for dockerRossC2-0/+2
Issue-ID: POLICY-2598 Change-Id: Ic72ec6ee112dc8a6b160702218480dcfafb3e811 Signed-off-by: RossC <ross.carter@est.tech>
2020-06-18Removing multiarch support from docker repoRossC5-103/+20
Issue-ID: POLICY-2598 Change-Id: I233e235ad22a4acda3d53060eae6cec454dec1a1 Signed-off-by: RossC <ross.carter@est.tech>
2020-06-08Change alpine docker images to match debianfrankfurtJim Hahn2-10/+4
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-05-06remove outdated docker compose filesTaka Cho22-1456/+0
preferable using docker-compose under csit repo for policy in order to bring up local env Issue-ID: POLICY-2541 Change-Id: I2e9a7e7e1cac5642228bd048def857879e580e71 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-04-14Point to released models, drools-appsPamela Dragosh1-2/+2
Issue-ID: POLICY-2378 Change-Id: I31d1dabe86f2d7d0466d7e5527de24e4a4b1224e Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-13Point to parent, common, modelsPamela Dragosh2-3/+3
Parent released, common and models have fixes. Issue-ID: POLICY-2486 Change-Id: I9e34b45f23411a4660f015ee6099ad4158eb1c57 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-07Point to policy SNAPSHOTPamela Dragosh1-1/+1
Issue-ID: POLICY-2378 Change-Id: I6ccc6ec484ad8a46ec452ad6e4e9d6de4efdfb12 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-27Point to latest snapshotsPamela Dragosh1-2/+2
Issue-ID: POLICY-2378 Change-Id: Ie302d4e3f9141004feb7782d5895dda040d7bdfd Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-25Update brms dependency and models dependency versionsPeyton Puckett1-2/+2
Issue-ID: POLICY-2378 Change-Id: Ie64c246fee536138c179e13d53f1ccfc854c2238 Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
2020-03-23Point to models releasePamela Dragosh2-2/+2
Issue-ID: POLICY-2378 Change-Id: Ib2ca540fd6b77dbf4dec6e36b8fc75fce8a9d44b Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-02Merge "Bump policy/docker 2.0.2"Ram Krishna Verma9-10/+10
2020-03-02Bump policy/docker 2.0.2Pamela Dragosh9-10/+10
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-03-01Merge "Release policy-docker 2.0.1"6.0.0-ONAPPamela Dragosh1-0/+16
2020-03-01Release policy-docker 2.0.1a.sreekumar1-0/+16
Pam updated to latest head which had the specification of an exact alpine image. Note, the debian was already fixed. Change-Id: Ia9624e51ff9d949b77a4ebb9969034d2f8907357 Issue-ID: POLICY-2378 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-02-29Updating alpine version to 3.11.3 in policy-docker Dockerfiles2.0.1a.sreekumar2-2/+4
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 Dragosh8-8/+8
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-19Remove POLICY_HOME/etc/ssl and pythonjhh1-5/+2
These are companion changes to https://gerrit.onap.org/r/#/c/policy/docker/+/101758/. to keep them consistent. In a nutshell, directory layout under POLICY_HOME should be done by individual components, as well as python installation. Issue-ID: POLICY-2181 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ie0a538ad7b9b245d43e707cf92303829f0dae2ff
2020-02-18Remove drools from engine CSITs composejhh1-12/+0
Engine CSITs uses docker-compose-integration.yml which is stored under policy/docker repo. This is historical as there are no robot tests on those CSITs that exercise functionality with interactions between engine components and drools. drools and drools apps are covered on its own CSITs. This change will decouple drools-pdp image from engine in CSIT tests. Issue-ID: POLICY-2181 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ib528751dbd2cdce3e912012c9ce4429d8cbac030
2020-02-16Remove creation of POLICY_HOME/etc/ssljhh2-7/+4
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-14Add container yamlJim Hahn1-0/+16
Issue-ID: POLICY-1586 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I9664676f9a00c2ff47eb2b26e8af2f91574ce34c
2020-02-04Add vim to debian docker images2.0.0Jim Hahn2-0/+2
Already included in alpine images. Issue-ID: POLICY-1586 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I6b659dd0512493041a8ab3c83e7cdb5d2ca2e1bd
2020-01-30Merge "Expose system proxy settings via base.conf"Ram Krishna Verma1-1/+18
2020-01-29Expose system proxy settings via base.confRashmi Pujar1-1/+18
Issue-ID: POLICY-2330 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: Ibb0343ea5446bce4d35905931930fb3de5df0448
2020-01-28Update the java path to openjdk 11Bilal A1-1/+1
Issue-ID: POLICY-2325 Signed-off-by: Bilal A <bilal@research.att.com> Change-Id: I6d170616e9e0b9ff0342ef5dba6816207cb73b2e
2020-01-16Remove explicit setting of JAVA_HOMEjhh1-1/+0
Issue-ID: POLICY-1586 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I122637aec5eb48d6bf2d452167998964f9346211
2020-01-16Re-add alpine docker imagesJim Hahn4-17/+21
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 Hahn2-0/+6
Issue-ID: POLICY-1586 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I2d6dc8c2d4b233cc17b5acf5260780416c55217b
2020-01-15Update parent version in docker pomJim Hahn1-7/+1
Addressed review comments: - removed deprecated properties Issue-ID: POLICY-1586 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: Ib3bb5b7bc3a4483ec0f51714fa43070fa1e94d94
2020-01-15Remove BUILD_VERSION argumentjhh3-9/+0
Issue-ID: POLICY-1586 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I0ae7e03262a5e7e2af2773c63c681535b73284e5
2020-01-14Update docker images for java 11Jim Hahn17-65/+498
Added debian-slim images based off of jre-slim. Removed alpine images from the build. If it's determined that we need a jdk instead of a jre, then "jre" can be changed to "jdk" in the policy-base Dockerfile. As an alternative, a new policy-docker-jdk image could be created, based off of "jdk" and all of the apt packages added to it. In that case, it would probably be appropriate to removed maven from the packages that are loaded into the policy-common image. Addressed first round of review comments: - use specific version of java 11 - removed docker-maven-plugin version - replaced the images with policy-jre-debian and policy-jdk-debian - added a policy-jdk-alpine image, which includes the jdk & maven, but is significantly smaller than the debian-slim version - added a policy-jre-alpine image Addressed additional review comments: - removed BUILD_VERSION - installed maven packages instead of downloading via curl - added link to /usr/lib/jvm Issue-ID: POLICY-1586 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I43fd6a5c5ff9c4a0b537d3f297fdf2ad8248ba75
2019-12-10configuration to support offline pdpdjhh1-1/+2
Issue-ID: POLICY-2191 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I8eeb77afe17efefe413bbe6d1b1877c8a884cd6e
2019-12-04Add PdpGroup to drools docker configurationJim Hahn1-0/+1
When PDPs register with PAP, they now have to specify their PDP group. Added the default group to the config file. Issue-ID: POLICY-2285 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I1e3928ff17d0d30961a8211b6c7a3c05453558a5
2019-12-02Rename policy-docker to match other reposPamela Dragosh1-1/+1
The other repos use the "name" field to name the policy repos consistency: policy-{repo}. Issue-ID: POLICY-2280 Change-Id: Ida87954d6932ebef124c5b6ef06bd2bccd0415db Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-11-04Stop pushing the release tagCristina Pauna1-1/+1
The release tag should not be pushed during the development cycle (by the stage or merge jobs). Only the release jobs should push this tag Issue-ID: POLICY-1997 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com> Change-Id: I23b317f37ad9fc3a03c5d9847f5baf7d0bf1852f
2019-10-24Symmetric Key configurationjhh1-0/+4
Issue-ID: POLICY-1945 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I10885a2eba9a13a454f4ba9922aaf16054b6b015
2019-10-17Update CDS grpc server properties to base.confRashmi Pujar2-0/+8
Issue-ID: POLICY-2088 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: Id06c467923b3df8c7199b349571676958341c2c5
2019-09-05Multiplatform support for policyPaul Vaduva9-26/+94
Add multiplatfrom support for policy-base and policy-common docker images: - the pom.xml files are modified to push and pull from dockerhub instead of nexus repository (as nexus lacks support for manifest list) - for each image that is built with maven, an arch suffix is added to the tag. The currently supported architectures are amd64 and arm64. - the creation of the timestamped tag is moved from the pom.xml files to the docker_push_manifest.sh script - for each image built via the Jenkins CI jobs, the docker_push_manifest.sh is called. The script pushes a manifest list for each tag, plus it creates the timestamp tags for SNAPSHOT or STAGING images, depending on what job called the script (merge job, or stag job) For using the images, the name of the manifest list is to be used (which is the same as the current images in nexus) Issue-ID: POLICY-1997 Change-Id: If54e7ee6ac432a999844d3584e146a90e2247323 Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com> Signed-off-by: Cristina Pauna <cristina.pauna@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2019-08-08Upgrade to snapshot integration parent artifactBruno Sakoto1-1/+1
Issue-ID: POLICY-1603 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Ia34d496ca7fad77584926feb254a885566b16f14