aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2019-08-07Update to latest common/models released versionsjhh2-6/+6
policy/models: 2.1.1 policy/common: 1.5.1 Change-Id: I703e2fb1c86e84893c8752bee5b8d69ce554baa5 Issue-ID: POLICY-1953 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-06-20Upgrade to release 3.0.0 parentPamela Dragosh1-1/+1
Policy/parent released Issue-ID: POLICY-1737 Change-Id: Iba8dbccd95a88e623dd1a05f238b83506db67bfd Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-31Bump docker 1.5.05.0.0-ONAPPamela Dragosh7-10/+10
Due to dublin branch. Also update the configuration for CSIT tests. Issue-ID: POLICY-1747 Change-Id: Ifb8f89f12b534543a5bded0a6f673c44f857b761 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-31Remove unsupported vagrant and update READMEjhh4-105/+5
Change-Id: I1f2c9723a3dae88da524ff4ec5b2b5c0aad813c5 Issue-ID: POLICY-1816 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-05-23Update to releasedPamela Dragosh1-2/+2
Released drools-applications and models. Issue-ID: POLICY-1700 Change-Id: I24b044cfd72a77514e8f07cdd8f61ebee165fc00 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-23Update INFO.yamlPamela Dragosh1-1/+17
Add ram and Jim Issue-ID: POLICY-1775 Change-Id: Ia1ef6afb2ad7b901cf0bff849167120af1fa4105 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-15Upgrade to release drools-appsPamela Dragosh1-1/+1
Point to latest drools-applications release Issue-ID: POLICY-1630 Change-Id: I8732445928530ea6eb70b2465025f713d47f2f6d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-15Update to release policy/modelsPamela Dragosh1-1/+1
Point to release version as the SNAPSHOT will disappear in about 2-3 weeks. Issue-ID: POLICY-1630 Change-Id: If1ffa5703b5647588806538609d72bf927c1d7db Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-01Upgrade parent and bump snapshotPamela Dragosh6-7/+8
The version for this wasn't quite correct either. Fixed to ensure follows the 1.4.x as defined in version.properties. Updated to point to policy/parent release version and remove warning for relative path. Issue-ID: POLICY-1700 Change-Id: I6772a272f3f291af5fd6ee9efc3f10b0ac3edfd1 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-04-29No fetching applications loadjhh4-178/+2
drools-pdp in docker when it sees this configuration files, it will try to execute them. Since the alpine common image has an immutable BUILD_VERSION that does not refer to the actual drools build, it will not find it. Two solutions: (a) update the scripts to look for the newly added BUILD_VERSION_DROOLS to counter the presence of that variable, or (b) remove them altogether since the control loop application being the only one that is used will have the control loop applications image cooked. Change-Id: Ie8adb4b50565601b09e1100578458e3071ee6e54 Issue-ID: POLICY-1712 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-29No dependency.json manipulation in brmsgwjhh1-11/+0
There are multiple VERSIONS that make it to the dependency.json since some libraries are coming from models and others from drools-applications. Change-Id: Ide1764962531e09ed5fc733cd18d22550d53c7da Issue-ID: POLICY-1712 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-26Use policy-pdpd-cl image for droolsjhh4-9/+10
Change-Id: I233d2da28fea73bd594ee25cba8cd5740aa9236a Issue-ID: POLICY-1664 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-17Fix pom.xml parent, add artifact version4.0.0-ONAP1.4.0Dmitry Puzikov1-1/+3
Change-Id: Icd321dcc6f2ed3578e63f9712bf8ab923b9b7861 Issue-ID: INT-996 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2019-04-15Fix lost version.properties fileDmitry Puzikov1-0/+13
Lost version.properites file causes build failure. Version set for 1.4.0 Change-Id: I58d6150a08da1432c5eca4f66397d7f51f730ca4 Issue-ID: INT-996 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2019-04-02Add licence headers, fix notesDmitry Puzikov6-13/+47
Change-Id: I7664605a55554caad347c13d159908537b7c4fb0 Issue-ID: INT-996 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2019-03-27Base and common images for Policy appsDmitry Puzikov9-0/+509
Alpine based base and common images to use across Policy project Change-Id: I01d504b48ee361d1751dfa982e1515705b9e343e Issue-ID: INT-996 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2019-03-15Update INFO.yaml fileJessica Wagantall1-2/+25
Update missing information blocks and indentation to pass verify job. Change-Id: I5fe22533c9d493e957fc483aa265d0f26acf79df Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-03-07Companion changes to Alpine moveJorge Hernandez2-2/+2
Change-Id: I4b237c91b0c7e24804bc7f28af24e1600e2333f6 Issue-ID: POLICY-1551 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>