policy/docker.git
3 years agoPoint docker to guilin branch 95/114295/1 guilin
Jim Hahn [Tue, 27 Oct 2020 18:26:39 +0000 (14:26 -0400)]
Point docker to guilin branch

Issue-ID: POLICY-2875
Change-Id: Ibdd73d08d2e9339e878f8e4fd9a0dddfffe92447
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoFixing policy-models-simulator helm issues 79/113579/3
a.sreekumar [Tue, 6 Oct 2020 17:13:47 +0000 (18:13 +0100)]
Fixing policy-models-simulator helm issues

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>
3 years agoHelm chart for policy-models-simulator 19/113419/4
puthuparambil.aditya [Thu, 1 Oct 2020 11:06:33 +0000 (12:06 +0100)]
Helm chart for policy-models-simulator

Issue-ID: POLICY-2828
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: Ic5e94edb2bc76067d5cde03dae2670dc6cf99a0e

3 years agoBump version to 2.1.2 43/112643/1
Jim Hahn [Mon, 14 Sep 2020 19:55:03 +0000 (15:55 -0400)]
Bump version to 2.1.2

Issue-ID: POLICY-2819
Change-Id: I2383dd7e2cc7d0262ea27b9a03152216b006389e
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoRelease docker 2.1.1 37/112637/1 7.0.0-ONAP
Jim Hahn [Mon, 14 Sep 2020 19:33:58 +0000 (15:33 -0400)]
Release docker 2.1.1

Issue-ID: POLICY-2789
Change-Id: I020252f5ca31d79915740a418eccbc194e868f46
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoUpdate alpine images for jdk11 97/112497/2 2.1.1
Jim Hahn [Thu, 10 Sep 2020 14:46:21 +0000 (10:46 -0400)]
Update alpine images for jdk11

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>
3 years agoMerge "Bump version to 2.1.1"
Jim Hahn [Fri, 4 Sep 2020 21:06:37 +0000 (21:06 +0000)]
Merge "Bump version to 2.1.1"

3 years agoUpdate container after stage-release 81/112181/1
Jim Hahn [Fri, 4 Sep 2020 14:34:01 +0000 (10:34 -0400)]
Update container after stage-release

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>
3 years agoBump version to 2.1.1 79/112179/1
Jim Hahn [Fri, 4 Sep 2020 13:56:49 +0000 (09:56 -0400)]
Bump version to 2.1.1

Issue-ID: POLICY-2789
Change-Id: I994fd59c7ec7a8a9472c08e1404f1afc7a14d112
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoRelease docker 2.1.0 27/112127/1
Jim Hahn [Thu, 3 Sep 2020 17:26:34 +0000 (13:26 -0400)]
Release docker 2.1.0

Issue-ID: POLICY-2789
Change-Id: I350c68fe8b1bed96c639bd1f4a81bc4dd4d71760
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoremove debian docker image build 57/112057/1 2.1.0
Taka Cho [Wed, 2 Sep 2020 16:55:44 +0000 (12:55 -0400)]
remove debian docker image build

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>
3 years agoBump docker version to 2.1.0 64/111564/2
Jim Hahn [Fri, 21 Aug 2020 17:16:19 +0000 (13:16 -0400)]
Bump docker version to 2.1.0

Issue-ID: POLICY-2787
Change-Id: I8293c1684d6fa628f2a4866458a28ea0bb12bc9f
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoRelease 2.0.2 docker containers 61/111561/1
Jim Hahn [Fri, 21 Aug 2020 16:06:29 +0000 (12:06 -0400)]
Release 2.0.2 docker containers

Issue-ID: POLICY-2787
Change-Id: I7ab2b4c045085562461521e70a5ac64617273c87
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoUpdate INFO.yaml in policy-docker 71/110771/1 2.0.2
Jim Hahn [Thu, 30 Jul 2020 19:03:03 +0000 (15:03 -0400)]
Update INFO.yaml in policy-docker

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>
3 years agoAdd Ajith to policy-docker info 61/110561/1
Jim Hahn [Fri, 24 Jul 2020 16:49:27 +0000 (12:49 -0400)]
Add Ajith to policy-docker info

Issue-ID: POLICY-2738
Change-Id: I0e743021f25450f0848c873fe9ca87d177b923d0
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoRefer to released versions in policy/docker 35/110135/1
Jim Hahn [Mon, 13 Jul 2020 18:33:02 +0000 (14:33 -0400)]
Refer to released versions in policy/docker

Issue-ID: POLICY-2695
Change-Id: I7a38190e07c83d0cf9544e3bee53b86e9d575b64
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoChanging format of timestamp for docker 50/109450/1
RossC [Tue, 23 Jun 2020 10:19:54 +0000 (11:19 +0100)]
Changing format of timestamp for docker

Issue-ID: POLICY-2598
Change-Id: Ic72ec6ee112dc8a6b160702218480dcfafb3e811
Signed-off-by: RossC <ross.carter@est.tech>
3 years agoRemoving multiarch support from docker repo 90/109190/6
RossC [Tue, 16 Jun 2020 10:41:49 +0000 (11:41 +0100)]
Removing multiarch support from docker repo

Issue-ID: POLICY-2598
Change-Id: I233e235ad22a4acda3d53060eae6cec454dec1a1
Signed-off-by: RossC <ross.carter@est.tech>
4 years agoChange alpine docker images to match debian 31/108931/1 frankfurt
Jim Hahn [Mon, 8 Jun 2020 16:26:34 +0000 (12:26 -0400)]
Change alpine docker images to match debian

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>
4 years agoremove outdated docker compose files 62/107162/4
Taka Cho [Tue, 5 May 2020 20:53:52 +0000 (16:53 -0400)]
remove outdated docker compose files

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>
4 years agoPoint to released models, drools-apps 74/105974/1
Pamela Dragosh [Wed, 15 Apr 2020 00:43:40 +0000 (20:43 -0400)]
Point to released models, drools-apps

Issue-ID: POLICY-2378
Change-Id: I31d1dabe86f2d7d0466d7e5527de24e4a4b1224e
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoPoint to parent, common, models 71/105871/2
Pamela Dragosh [Mon, 13 Apr 2020 20:49:47 +0000 (16:49 -0400)]
Point to parent, common, models

Parent released, common and models have fixes.

Issue-ID: POLICY-2486
Change-Id: I9e34b45f23411a4660f015ee6099ad4158eb1c57
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoPoint to policy SNAPSHOT 55/105255/1
Pamela Dragosh [Tue, 7 Apr 2020 12:45:50 +0000 (08:45 -0400)]
Point to policy SNAPSHOT

Issue-ID: POLICY-2378
Change-Id: I6ccc6ec484ad8a46ec452ad6e4e9d6de4efdfb12
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoPoint to latest snapshots 85/104585/1
Pamela Dragosh [Fri, 27 Mar 2020 16:55:14 +0000 (12:55 -0400)]
Point to latest snapshots

Issue-ID: POLICY-2378
Change-Id: Ie302d4e3f9141004feb7782d5895dda040d7bdfd
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoUpdate brms dependency and models dependency versions 28/104428/2
Peyton Puckett [Wed, 25 Mar 2020 20:33:23 +0000 (15:33 -0500)]
Update brms dependency and models dependency versions

Issue-ID: POLICY-2378
Change-Id: Ie64c246fee536138c179e13d53f1ccfc854c2238
Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
4 years agoPoint to models release 91/104191/1
Pamela Dragosh [Mon, 23 Mar 2020 23:43:17 +0000 (19:43 -0400)]
Point to models release

Issue-ID: POLICY-2378
Change-Id: Ib2ca540fd6b77dbf4dec6e36b8fc75fce8a9d44b
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
4 years agoMerge "Bump policy/docker 2.0.2"
Ram Krishna Verma [Mon, 2 Mar 2020 14:25:55 +0000 (14:25 +0000)]
Merge "Bump policy/docker 2.0.2"

4 years agoBump policy/docker 2.0.2 78/102678/2
Pamela Dragosh [Sun, 1 Mar 2020 21:36:02 +0000 (16:36 -0500)]
Bump policy/docker 2.0.2

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>
4 years agoMerge "Release policy-docker 2.0.1" 6.0.0-ONAP
Pamela Dragosh [Sun, 1 Mar 2020 19:54:33 +0000 (19:54 +0000)]
Merge "Release policy-docker 2.0.1"

4 years agoRelease policy-docker 2.0.1 29/102629/5
a.sreekumar [Fri, 28 Feb 2020 19:42:54 +0000 (19:42 +0000)]
Release policy-docker 2.0.1

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>
4 years agoUpdating alpine version to 3.11.3 in policy-docker Dockerfiles 52/102652/1 2.0.1
a.sreekumar [Sat, 29 Feb 2020 11:59:14 +0000 (11:59 +0000)]
Updating alpine version to 3.11.3 in policy-docker Dockerfiles

Change-Id: I9291f36e94d4b262cfe5bd0d420af86ce21205a8
Issue-ID: POLICY-2378
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
4 years agoBump policy/docker to 2.0.1 47/102147/1
Pamela Dragosh [Fri, 21 Feb 2020 13:37:54 +0000 (08:37 -0500)]
Bump policy/docker to 2.0.1

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>
4 years agoRemove POLICY_HOME/etc/ssl and python 28/102028/1
jhh [Wed, 19 Feb 2020 23:24:50 +0000 (17:24 -0600)]
Remove POLICY_HOME/etc/ssl and python

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

4 years agoRemove drools from engine CSITs compose 41/101941/1
jhh [Wed, 19 Feb 2020 02:48:47 +0000 (20:48 -0600)]
Remove drools from engine CSITs compose

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

4 years agoRemove creation of POLICY_HOME/etc/ssl 58/101758/2
jhh [Fri, 14 Feb 2020 17:42:25 +0000 (11:42 -0600)]
Remove creation of POLICY_HOME/etc/ssl

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>
4 years agoAdd container yaml 36/100336/6
Jim Hahn [Thu, 6 Feb 2020 22:04:27 +0000 (17:04 -0500)]
Add container yaml

Issue-ID: POLICY-1586
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: I9664676f9a00c2ff47eb2b26e8af2f91574ce34c

4 years agoAdd vim to debian docker images 43/101143/1 2.0.0
Jim Hahn [Tue, 4 Feb 2020 21:39:39 +0000 (16:39 -0500)]
Add vim to debian docker images

Already included in alpine images.

Issue-ID: POLICY-1586
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: I6b659dd0512493041a8ab3c83e7cdb5d2ca2e1bd

4 years agoMerge "Expose system proxy settings via base.conf"
Ram Krishna Verma [Thu, 30 Jan 2020 12:57:37 +0000 (12:57 +0000)]
Merge "Expose system proxy settings via base.conf"

4 years agoExpose system proxy settings via base.conf 78/100878/3
Rashmi Pujar [Tue, 28 Jan 2020 20:57:58 +0000 (15:57 -0500)]
Expose system proxy settings via base.conf

Issue-ID: POLICY-2330
Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca>
Change-Id: Ibb0343ea5446bce4d35905931930fb3de5df0448

4 years agoUpdate the java path to openjdk 11 82/100882/1
Bilal A [Tue, 28 Jan 2020 22:56:18 +0000 (22:56 +0000)]
Update the java path to openjdk 11

Issue-ID: POLICY-2325
Signed-off-by: Bilal A <bilal@research.att.com>
Change-Id: I6d170616e9e0b9ff0342ef5dba6816207cb73b2e

4 years agoRemove explicit setting of JAVA_HOME 94/100394/1
jhh [Thu, 16 Jan 2020 21:04:49 +0000 (15:04 -0600)]
Remove explicit setting of JAVA_HOME

Issue-ID: POLICY-1586
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I122637aec5eb48d6bf2d452167998964f9346211

4 years agoRe-add alpine docker images 78/100378/4
Jim Hahn [Thu, 16 Jan 2020 15:41:56 +0000 (10:41 -0500)]
Re-add alpine docker images

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>
4 years agoComment out alpine docker images 26/100326/1
Jim Hahn [Wed, 15 Jan 2020 16:09:14 +0000 (11:09 -0500)]
Comment out alpine docker images

Issue-ID: POLICY-1586
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: I2d6dc8c2d4b233cc17b5acf5260780416c55217b

4 years agoUpdate parent version in docker pom 17/100317/2
Jim Hahn [Wed, 15 Jan 2020 14:15:27 +0000 (09:15 -0500)]
Update parent version in docker pom

Addressed review comments:
- removed deprecated properties

Issue-ID: POLICY-1586
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: Ib3bb5b7bc3a4483ec0f51714fa43070fa1e94d94

4 years agoRemove BUILD_VERSION argument 14/100314/1
jhh [Wed, 15 Jan 2020 13:05:29 +0000 (07:05 -0600)]
Remove BUILD_VERSION argument

Issue-ID: POLICY-1586
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I0ae7e03262a5e7e2af2773c63c681535b73284e5

4 years agoUpdate docker images for java 11 66/100266/8
Jim Hahn [Mon, 13 Jan 2020 21:36:38 +0000 (16:36 -0500)]
Update docker images for java 11

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

4 years agoconfiguration to support offline pdpd 53/99453/1
jhh [Tue, 10 Dec 2019 23:34:13 +0000 (17:34 -0600)]
configuration to support offline pdpd

Issue-ID: POLICY-2191
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I8eeb77afe17efefe413bbe6d1b1877c8a884cd6e

4 years agoAdd PdpGroup to drools docker configuration 66/99166/2
Jim Hahn [Wed, 4 Dec 2019 18:32:24 +0000 (13:32 -0500)]
Add PdpGroup to drools docker configuration

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

4 years agoRename policy-docker to match other repos 06/99006/1
Pamela Dragosh [Mon, 2 Dec 2019 14:17:42 +0000 (09:17 -0500)]
Rename policy-docker to match other repos

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>
4 years agoStop pushing the release tag 09/97909/1
Cristina Pauna [Mon, 4 Nov 2019 13:27:17 +0000 (15:27 +0200)]
Stop pushing the release tag

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

4 years agoSymmetric Key configuration 80/97580/1
jhh [Thu, 24 Oct 2019 21:20:39 +0000 (16:20 -0500)]
Symmetric Key configuration

Issue-ID: POLICY-1945
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I10885a2eba9a13a454f4ba9922aaf16054b6b015

4 years agoUpdate CDS grpc server properties to base.conf 84/97284/1
Rashmi Pujar [Thu, 17 Oct 2019 19:53:29 +0000 (15:53 -0400)]
Update CDS grpc server properties to base.conf

Issue-ID: POLICY-2088
Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca>
Change-Id: Id06c467923b3df8c7199b349571676958341c2c5

4 years agoMultiplatform support for policy 53/93953/27
Paul Vaduva [Thu, 27 Jun 2019 16:00:57 +0000 (18:00 +0200)]
Multiplatform support for policy

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>
4 years agoUpgrade to snapshot integration parent artifact 87/93087/1
Bruno Sakoto [Thu, 8 Aug 2019 12:52:34 +0000 (08:52 -0400)]
Upgrade to snapshot integration parent artifact

Issue-ID: POLICY-1603
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: Ia34d496ca7fad77584926feb254a885566b16f14

4 years agoUpdate to latest common/models released versions 08/92708/2
jhh [Mon, 5 Aug 2019 15:50:16 +0000 (10:50 -0500)]
Update to latest common/models released versions

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>
4 years agoUpgrade to release 3.0.0 parent 55/90255/1
Pamela Dragosh [Thu, 20 Jun 2019 20:26:08 +0000 (16:26 -0400)]
Upgrade to release 3.0.0 parent

Policy/parent released

Issue-ID: POLICY-1737
Change-Id: Iba8dbccd95a88e623dd1a05f238b83506db67bfd
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoBump docker 1.5.0 59/89059/2 5.0.0-ONAP
Pamela Dragosh [Fri, 31 May 2019 15:51:17 +0000 (11:51 -0400)]
Bump docker 1.5.0

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>
5 years agoRemove unsupported vagrant and update README 86/88986/3
jhh [Fri, 31 May 2019 00:59:07 +0000 (19:59 -0500)]
Remove unsupported vagrant and update README

Change-Id: I1f2c9723a3dae88da524ff4ec5b2b5c0aad813c5
Issue-ID: POLICY-1816
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
5 years agoUpdate to released 83/88383/2
Pamela Dragosh [Thu, 23 May 2019 15:47:24 +0000 (11:47 -0400)]
Update to released

Released drools-applications and models.

Issue-ID: POLICY-1700
Change-Id: I24b044cfd72a77514e8f07cdd8f61ebee165fc00
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoUpdate INFO.yaml 71/88371/2
Pamela Dragosh [Thu, 23 May 2019 15:24:28 +0000 (11:24 -0400)]
Update INFO.yaml

Add ram and Jim

Issue-ID: POLICY-1775
Change-Id: Ia1ef6afb2ad7b901cf0bff849167120af1fa4105
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoUpgrade to release drools-apps 22/87822/1
Pamela Dragosh [Wed, 15 May 2019 23:44:32 +0000 (19:44 -0400)]
Upgrade to release drools-apps

Point to latest drools-applications release

Issue-ID: POLICY-1630
Change-Id: I8732445928530ea6eb70b2465025f713d47f2f6d
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoUpdate to release policy/models 62/87762/1
Pamela Dragosh [Wed, 15 May 2019 11:54:41 +0000 (07:54 -0400)]
Update to release policy/models

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>
5 years agoUpgrade parent and bump snapshot 24/86724/1
Pamela Dragosh [Wed, 1 May 2019 15:26:58 +0000 (11:26 -0400)]
Upgrade parent and bump snapshot

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>
5 years agoNo fetching applications load 84/86584/2
jhh [Tue, 30 Apr 2019 03:04:12 +0000 (22:04 -0500)]
No fetching applications load

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>
5 years agoNo dependency.json manipulation in brmsgw 72/86572/1
jhh [Mon, 29 Apr 2019 23:45:55 +0000 (18:45 -0500)]
No dependency.json manipulation in brmsgw

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>
5 years agoUse policy-pdpd-cl image for drools 23/85723/2
jhh [Thu, 18 Apr 2019 21:40:58 +0000 (16:40 -0500)]
Use policy-pdpd-cl image for drools

Change-Id: I233d2da28fea73bd594ee25cba8cd5740aa9236a
Issue-ID: POLICY-1664
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
5 years agoFix pom.xml parent, add artifact version 66/85566/1 1.4.0 4.0.0-ONAP
Dmitry Puzikov [Wed, 17 Apr 2019 12:25:46 +0000 (14:25 +0200)]
Fix pom.xml parent, add artifact version

Change-Id: Icd321dcc6f2ed3578e63f9712bf8ab923b9b7861
Issue-ID: INT-996
Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
5 years agoFix lost version.properties file 88/85288/1
Dmitry Puzikov [Mon, 15 Apr 2019 07:17:57 +0000 (09:17 +0200)]
Fix lost version.properties file

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>
5 years agoAdd licence headers, fix notes 32/83932/1
Dmitry Puzikov [Tue, 2 Apr 2019 08:05:05 +0000 (10:05 +0200)]
Add licence headers, fix notes

Change-Id: I7664605a55554caad347c13d159908537b7c4fb0
Issue-ID: INT-996
Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
5 years agoBase and common images for Policy apps 84/83484/1
Dmitry Puzikov [Wed, 27 Mar 2019 12:55:13 +0000 (13:55 +0100)]
Base and common images for Policy apps

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>
5 years agoUpdate INFO.yaml file 90/82490/1
Jessica Wagantall [Fri, 15 Mar 2019 20:53:45 +0000 (13:53 -0700)]
Update INFO.yaml file

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>
5 years agoCompanion changes to Alpine move 33/79933/1
Jorge Hernandez [Thu, 7 Mar 2019 18:56:00 +0000 (12:56 -0600)]
Companion changes to Alpine move

Change-Id: I4b237c91b0c7e24804bc7f28af24e1600e2333f6
Issue-ID: POLICY-1551
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
5 years agoNew install/env variables for docker improvements 28/79428/1
Jorge Hernandez [Fri, 1 Mar 2019 06:36:42 +0000 (00:36 -0600)]
New install/env variables for docker improvements

Change-Id: I88c4174b0cef304fec125d92b7633475190701a6
Issue-ID: POLICY-1557
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
5 years agoUpdate INFO.yaml Liam's email 76/79376/1
Pamela Dragosh [Thu, 28 Feb 2019 16:08:21 +0000 (11:08 -0500)]
Update INFO.yaml Liam's email

est.tech

Issue-ID: POLICY-1556
Change-Id: I9a6f52f436102b0c8c596da265918ca12fa591e5
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoConsistent naming convention of install variables 70/75370/1
Jorge Hernandez [Mon, 7 Jan 2019 14:48:24 +0000 (08:48 -0600)]
Consistent naming convention of install variables

Change-Id: I4ff249d4a74ce808d81420be1b79f6752d1d6e53
Issue-ID: POLICY-1367
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
5 years agoAdd CCVPN policy in push-policies.sh script 25/73925/1
Vidyashree Rama [Thu, 29 Nov 2018 13:28:26 +0000 (18:58 +0530)]
Add CCVPN policy in push-policies.sh script

Add CCVPN policy in push-policies.sh script

Issue-ID: POLICY-1356

Change-Id: I36d22904750a4c371e5c404022b7b59d58402eb8
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
5 years agoFix bug in Guard policies for Docker 52/72552/2
Michael Mokry [Tue, 13 Nov 2018 15:33:51 +0000 (09:33 -0600)]
Fix bug in Guard policies for Docker

Modified push-policies.sh to fix pre-loaded guard policies

Change-Id: I8716079d6abb0b1ac2872c55b4450bf69842c163
Issue-ID: POLICY-1257
Signed-off-by: Michael Mokry <michael.mokry@att.com>
5 years agoRe-added requestParams to vDNS policy 67/71767/1
Jim Hahn [Fri, 2 Nov 2018 18:20:10 +0000 (14:20 -0400)]
Re-added requestParams to vDNS policy

Change-Id: Ie6d4ba979d0608b97a7dfddb41afa33a584fbf1f
Issue-ID: POLICY-1240
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoReplaced single quotes with %27 06/71606/1
Jim Hahn [Thu, 1 Nov 2018 01:27:54 +0000 (21:27 -0400)]
Replaced single quotes with %27

Change-Id: I66a26da2a7b5779d1391d227379fa3ff820a110b
Issue-ID: POLICY-1240
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoMerge "Added config params to scale-out policy"
Pamela Dragosh [Thu, 1 Nov 2018 00:46:10 +0000 (00:46 +0000)]
Merge "Added config params to scale-out policy"

5 years agoAdded config params to scale-out policy 97/71597/2
Jim Hahn [Wed, 31 Oct 2018 22:42:50 +0000 (18:42 -0400)]
Added config params to scale-out policy

Removed requestParameters and reverted name.

Change-Id: Ife2f6855a1f9977d06a881e9b243226aed99a53d
Issue-ID: POLICY-1240
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoReplaced /ecomp/mso with /onap/so in URL 83/71583/1
Jim Hahn [Wed, 31 Oct 2018 21:10:36 +0000 (17:10 -0400)]
Replaced /ecomp/mso with /onap/so in URL

Change-Id: I8bac1c98b46cf11cabec4831358a14fe1cc3d7b7
Issue-ID: POLICY-1238
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoAAF Heat installation configuration 90/71290/1 3.0.0-ONAP
Jorge Hernandez [Fri, 26 Oct 2018 03:19:40 +0000 (22:19 -0500)]
AAF Heat installation configuration

The docker repo (for heat) by default will come with
AAF configuration flag set to false.   An installer
could simply set it to true to enable AAF.

The main reason for this default in heat installs
is to not deal with routinely failures of CSIT tests
(as they will need either an AAF running or divergent
installations scripts).

OOM installations instead will have AAF enabled by default.

Change-Id: I2014877285ea776b057b45cf8875d4da6a6730a9
Issue-ID: POLICY-1216
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
5 years agoChange DMaaP hostnames 96/70096/1 1.3.0
Jorge Hernandez [Tue, 9 Oct 2018 17:14:14 +0000 (12:14 -0500)]
Change DMaaP hostnames

Change-Id: I7efadaf3f8230a8433ea7a6fe8367459581043e5
Issue-ID: POLICY-1194
Signed-off-by: Jorge Hernandez <jh1730@att.com>
5 years agoONAP Heat Install support for SDNC 21/69921/1
Jorge Hernandez [Fri, 5 Oct 2018 15:37:07 +0000 (10:37 -0500)]
ONAP Heat Install support for SDNC

Change-Id: I113094a4357ad1e9678f297054f31d4e02cfffe7
Issue-ID: POLICY-1183
Signed-off-by: Jorge Hernandez <jh1730@att.com>
5 years agodefault passwords to aaf default one 17/69517/2
Jorge Hernandez [Fri, 28 Sep 2018 18:51:09 +0000 (13:51 -0500)]
default passwords to aaf default one

Default heat installation credentials to be the same regardless
aaf is in use or not.   This will allow transparent
switching from AAF to non-AAF support without requiring
clients (robot, consul, etc ..) reconfiguring themselves
regardless of what we are using.

Change-Id: I2f3c0cbf93d6369168fb0317ff78a13e35c08c12
Signed-off-by: Jorge Hernandez <jh1730@att.com>
Issue-ID: POLICY-1156
Signed-off-by: Jorge Hernandez <jh1730@att.com>
5 years agoCADI AAF changes for policy/docker 97/68497/2
Michael Mokry [Fri, 21 Sep 2018 21:27:36 +0000 (16:27 -0500)]
CADI AAF changes for policy/docker

Added variables for cadi properties

Changed property values based on comments and removed resource property

Change-Id: I5d7ea2383e306c251f129625b9e9a671c2704ed5
Issue-ID: POLICY-913
Signed-off-by: Michael Mokry <mm117s@att.com>
5 years agoaaf related install configuration 75/67875/1
Jorge Hernandez [Wed, 19 Sep 2018 20:10:29 +0000 (15:10 -0500)]
aaf related install configuration

Change-Id: If5f1344cb0e9468fe8a807bd4dc7cb205d3f1bb1
Signed-off-by: Jorge Hernandez <jh1730@att.com>
Issue-ID: POLICY-1043

5 years agoPreload Guard Policies 97/67797/2
Michael Mokry [Wed, 19 Sep 2018 16:28:27 +0000 (11:28 -0500)]
Preload Guard Policies

Modified push_policies.sh to create and push Guard Min/Max and Frequency
Limiter policies

I also converted tabs to spaces throughout the file while I was in
there

Change-Id: Idcf5059988c9f291e6be44a069894fd2b864436f
Issue-ID: POLICY-968
Signed-off-by: Michael Mokry <mm117s@att.com>
5 years agoAdd Config and CL policies for OOF PCI use case 15/67715/2
Saravanan A [Tue, 18 Sep 2018 09:23:45 +0000 (14:53 +0530)]
Add Config and CL policies for OOF PCI use case

Following config policies to be defined for
OOF PCI use case for Casablanca:
  PCI-Handler MS config policy
  OOF config policy
  Control loop policy

Change-Id: I0e6e0370a875dbd8eb4857d0c15e4219c252efac
Issue-ID: POLICY-1086
Signed-off-by: Saravanan A<saravanan.a75@wipro.com>
5 years agoAdd Config and CL policies for OOF PCI use case 41/67241/1
Saravanan A [Tue, 18 Sep 2018 09:23:45 +0000 (14:53 +0530)]
Add Config and CL policies for OOF PCI use case

Following config policies to be defined for
OOF PCI use case for Casablanca:
  PCI-Handler MS config policy
  OOF config policy
  Control loop policy

Change-Id: I2cd0c2221ee0b950463ab939b6426def14c8b69a
Issue-ID: POLICY-1086
Signed-off-by: Saravanan A<saravanan.a75@wipro.com>
5 years agoProvide pre-loaded SDNC Naming policies 07/66407/2
Michael Mokry [Thu, 13 Sep 2018 16:03:24 +0000 (11:03 -0500)]
Provide pre-loaded SDNC Naming policies

Added curl commands to created and push SDNC vFW and vPG Naming policies
during installation

Change-Id: I01b1254199b96dbea5558a31ba8900d76c655ded
Issue-ID: POLICY-983
Signed-off-by: Michael Mokry <mm117s@att.com>
5 years agoFix cert issue with push-policies script 17/63617/1
Michael Mokry [Wed, 29 Aug 2018 21:43:17 +0000 (16:43 -0500)]
Fix cert issue with push-policies script

This should also fix the issues with the CSIT tests.  I made changes to
the push-policies.sh script to add option -k and bypass certificate
errors

Change-Id: I5b8bdc1161bc0bc88122884eedd7e63042d9ba42
Issue-ID: POLICY-781
Signed-off-by: Michael Mokry <mm117s@att.com>
5 years agopolicy/docker changes to support PE https 63/61863/1
Michael Mokry [Wed, 22 Aug 2018 15:39:12 +0000 (10:39 -0500)]
policy/docker changes to support PE https

Made changes to conf files and push-policies.sh to set variables and use
https in urls

Change-Id: I319e800a33756e771f57a8ef8bd611925fdd9299
Issue-ID: POLICY-781
Signed-off-by: Michael Mokry <mm117s@att.com>
5 years agodefault install passwords for Policy keystores 77/60977/1
Jorge Hernandez [Thu, 16 Aug 2018 21:16:01 +0000 (16:16 -0500)]
default install passwords for Policy keystores

Change-Id: I5402135e561477522aa23ec0551bcd24dad60120
Issue-ID: POLICY-1057
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agomatch brmsgw.conf dependency with dev branch 63/49863/1
Jorge Hernandez [Thu, 31 May 2018 21:12:16 +0000 (16:12 -0500)]
match brmsgw.conf dependency with dev branch

Change-Id: Ia5ae42f19930e34bac49b556e3217988e613bcb0
Issue-ID: POLICY-877
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agominor cosmetic tweaks for 1.2.3 09/49809/2
Jorge Hernandez [Thu, 31 May 2018 17:54:16 +0000 (12:54 -0500)]
minor cosmetic tweaks for 1.2.3

The changes are cosmetics to leave the docker repo
a bit more tidy for release.

The switch from openecom.org to onap.org is
functionally noop .conf files as both domain names are
supported.

The BRMS_DEPENDENCY_VERSION is noop as it will
be properly substituted by the underlying docker-install.sh
invocation during docker brmsgw container instantation
bringup.

Change-Id: I154a1e1560dd7083609080d8f56e47e4d62b99eb
Issue-ID: POLICY-877
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoAdjust conf files for logger 07/48807/1 2.0.0-ONAP 2.0.0-ONAP v1.2.3
Jim Hahn [Wed, 23 May 2018 19:47:28 +0000 (15:47 -0400)]
Adjust conf files for logger

Because this shares the log4j.properties embedded within policy/common,
the target for the IntegrityMonitor.log cannot be changed.  Thus the
PARSERLOGPATH was modified to point to that location.

Change-Id: Ib68ddb327aa9ef7520314dad354d52c2f409d42e
Issue-ID: POLICY-759
Signed-off-by: Jim Hahn <jrh3@att.com>
6 years agoUse hard-coded path in conf files 51/48551/1
Jim Hahn [Tue, 22 May 2018 18:38:20 +0000 (14:38 -0400)]
Use hard-coded path in conf files

Replace ${{POLICY_LOGS}} with hard-coded path in conf
files, as the former does not get expanded.

Change-Id: I7686ba75656086ffccb714289b927cf75f8b3e72
Issue-ID: POLICY-759
Signed-off-by: Jim Hahn <jrh3@att.com>
6 years agoheat install - update to use onap.org 29/48529/1
Jorge Hernandez [Tue, 22 May 2018 16:59:36 +0000 (11:59 -0500)]
heat install - update to use onap.org

Cosmetic in heat install as openecom.org still works.
Better to use onap.org domain moving forward though.

Change-Id: Ic3f843beb7c58326c5d6db1d8cba70c6e43a65db
Issue-ID: POLICY-853
Signed-off-by: Jorge Hernandez <jh1730@att.com>