aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-10-27Bump docker master to 2.2.0-SNAPSHOTJim Hahn6-8/+8
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-10-07Fixing policy-models-simulator helm issuesa.sreekumar1-23/+26
This review updates the config file for the simulator in order to fix below 2 issues: 1) Too much logs due to SSL related errors causing POD to be evicted every 30minutes. 2) Invalid Parameters causing the container to crash (RestServerParameters validation in dmaapProvider making it mandatory to add host and port) Change-Id: I5cd1b44b0a142627071dccd93b6d3e40400db711 Issue-ID: POLICY-2828 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-10-05Helm chart for policy-models-simulatorputhuparambil.aditya18-0/+624
Issue-ID: POLICY-2828 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Ic5e94edb2bc76067d5cde03dae2670dc6cf99a0e
2020-09-14Bump version to 2.1.2Jim Hahn6-6/+6
Issue-ID: POLICY-2819 Change-Id: I2383dd7e2cc7d0262ea27b9a03152216b006389e Signed-off-by: Jim Hahn <jrh3@att.com>
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