liamfallon [Mon, 19 Apr 2021 13:10:43 +0000 (14:10 +0100)]
Make base image name a property
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>
Jim Hahn [Thu, 8 Apr 2021 19:28:15 +0000 (15:28 -0400)]
Use github in lieu of gerrit mirror
The gerrit mirror is not always accessible behind corporate firewalls,
thus changed the CSITs to use github instead.
Also modified the script to only clone ci-management to /tmp if it
does not already exist.
Issue-ID: POLICY-3179
Change-Id: I9cac98b04e000d9365e05a1f2ca1c328fef14c6c
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Thu, 25 Mar 2021 22:04:18 +0000 (18:04 -0400)]
Use base image for policy-jdk docker images
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>
Jim Hahn [Tue, 16 Mar 2021 18:52:34 +0000 (14:52 -0400)]
Use generated keystore in CSITs
Added code to the CSITs to generate a self-signed certificate, which can
then be mounted over the policy-keystore of each docker image when it is
launched.
Converted xacml's API params to BusTopicParams.
Issue-ID: POLICY-3143
Change-Id: Ic1c25a7f29d87583b81515fd2caf72ba7c44924c
Signed-off-by: Jim Hahn <jrh3@att.com>
Taka Cho [Thu, 11 Mar 2021 21:55:20 +0000 (16:55 -0500)]
change temp dir mount for csit distribution
refactor temp dir mount for csar distribution
Issue-ID: POLICY-2895
Change-Id: If5eda9b378f20766285346a6f5c9812d8623fb71
Signed-off-by: Taka Cho <takamune.cho@att.com>
Jim Hahn [Thu, 11 Mar 2021 16:33:28 +0000 (11:33 -0500)]
Bump version to 2.3.0 in docker
Issue-ID: POLICY-3105
Change-Id: Ieabed46bee9f553aaf75445327c384f7ed3e9fb0
Signed-off-by: Jim Hahn <jrh3@att.com>
Taka Cho [Fri, 5 Mar 2021 19:57:31 +0000 (14:57 -0500)]
change shell for disable feature in csit
there is no bash in container
hence need to change to sh
Issue-ID: POLICY-2895
Change-Id: I5b5ffb028e478a93e09e9ed6926c6478da15e0ef
Signed-off-by: Taka Cho <takamune.cho@att.com>
Taka Cho [Fri, 26 Feb 2021 15:25:55 +0000 (10:25 -0500)]
three scripts move to docker/csit
those three scripts appear to use in
drools and xacml. would suggest to move
to docker repo for general purpose
Issue-ID: POLICY-2895
Change-Id: Ib292f72a0df1bb45db0a9fc6dd25b3f9e172740f
Signed-off-by: Taka Cho <takamune.cho@att.com>
Ram Krishna Verma [Wed, 24 Feb 2021 15:49:29 +0000 (10:49 -0500)]
Update info.yaml in docker
Issue-ID: POLICY-3028
Change-Id: I5ab36eb2d51acef48bf56a4fe62b63b1be1d86b3
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Jim Hahn [Mon, 22 Feb 2021 22:17:22 +0000 (17:17 -0500)]
Bump version to 2.2.2-SNAPSHOT in docker
Issue-ID: POLICY-3088
Change-Id: Ie019d5eab6a7ec087ad689c50482dabb317010a9
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Mon, 22 Feb 2021 21:29:34 +0000 (16:29 -0500)]
Release docker image 2.2.1 of docker
Issue-ID: POLICY-3088
Change-Id: I122845631b5da4e84441ed2bc1c37fabf100ea1f
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Mon, 22 Feb 2021 19:26:39 +0000 (14:26 -0500)]
Point to non-snapshots in docker
Issue-ID: POLICY-3088
Change-Id: I77ad5fbf2bd3fa08ce68fbce7ae40a885751d08d
Signed-off-by: Jim Hahn <jrh3@att.com>
Pamela Dragosh [Tue, 16 Feb 2021 21:50:52 +0000 (15:50 -0600)]
xacml pdpType is configurable
Update the configuration file.
Issue-ID: POLICY-3071
Change-Id: Ib164dcc8d8b4f761d4e8a9e14555ac1ae43b7f95
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Jim Hahn [Mon, 8 Feb 2021 20:32:31 +0000 (15:32 -0500)]
Upgrade mariadb version in CSITs
OOM has moved to mariaDB 10.5.8, so upgraded the version in the CSITs to
match.
Issue-ID: POLICY-3005
Change-Id: Ia4473f8c17510a2491e442689dfa99c55166fb08
Signed-off-by: Jim Hahn <jrh3@att.com>
Taka Cho [Tue, 19 Jan 2021 18:56:54 +0000 (13:56 -0500)]
change archive dir based on new JJB template
on integration-project-robot in integration/integration-macros.yaml
it sets output-path: 'csit/archives'
policy script has to fit this setting
Issue-ID: POLICY-2895
Change-Id: Ibc6b7fb8da03bba53e82ab5bddf9a4b37a02c935
Signed-off-by: Taka Cho <takamune.cho@att.com>
Taka Cho [Fri, 15 Jan 2021 16:20:06 +0000 (11:20 -0500)]
rename to run-project-csit.sh to fit new JJB template
the project-csit jjb template is using
run-project-csit.sh by default.
also change SCRIPTS env to fit the right path
for jenkins build.
Issue-ID: POLICY-2895
Change-Id: Iec622cde4d65470ce966589082c086e6f668cb66
Signed-off-by: Taka Cho <takamune.cho@att.com>
Taka Cho [Mon, 11 Jan 2021 21:48:33 +0000 (16:48 -0500)]
move csit/scripts, docker-compose to docker repo
part of moving csit to project level
scripts shares with all applications repo reside in
docker repo.
all docker-compose relate volume files reside in
docker repo.
align with new JJB template
Issue-ID: POLICY-2895
Change-Id: I8fd97c6932e41779b01c1c941564763415c83f16
Signed-off-by: Taka Cho <takamune.cho@att.com>
Taka Cho [Tue, 5 Jan 2021 20:02:00 +0000 (15:02 -0500)]
bump up version 2.2.1-SNAPSHOT
bump up to next version
Issue-ID: POLICY-2917
Change-Id: I10c70240478ac9b7b633219c65d033823fde1d7c
Signed-off-by: Taka Cho <takamune.cho@att.com>
Taka Cho [Tue, 5 Jan 2021 19:16:33 +0000 (14:16 -0500)]
release jdk and jre base
release 2.2.0 jdk and jre base
image
Issue-ID: POLICY-2917
Change-Id: Icb7021e3d8810e0b5a71862c86878faf132d903b
Signed-off-by: Taka Cho <takamune.cho@att.com>
Taka Cho [Fri, 18 Dec 2020 14:42:52 +0000 (09:42 -0500)]
use java11 jre base from onap
1, use onap/integration-java11 as a base for JRE
2, sym-link to the original JAVA_HOME to ensure
all startup scripts worked
Issue-ID: POLICY-2917
Change-Id: I2c8333f227f8ae2076a6c784cf344db8fb59345b
Signed-off-by: Taka Cho <takamune.cho@att.com>
Taka Cho [Wed, 16 Dec 2020 20:42:38 +0000 (15:42 -0500)]
remove all GPL-3.0 and plus license package
change to /bin/sh for policy user
Issue-ID: POLICY-2847
Change-Id: Ie2c88b3e15ab4ca2bf5e6d928f0f9c40c0688c4b
Signed-off-by: Taka Cho <takamune.cho@att.com>
Taka Cho [Tue, 8 Dec 2020 20:41:01 +0000 (15:41 -0500)]
remove all GPL-3.0 and plus license package
this gerrit would be the second step
to not to use any GPL-3.0 and plus license
Issue-ID: POLICY-2847
Change-Id: Idd299ddb6d69bf8ad11a8df7919331062837a510
Signed-off-by: Taka Cho <takamune.cho@att.com>
Taka Cho [Thu, 19 Nov 2020 19:32:35 +0000 (14:32 -0500)]
remove all GPL-3.0 and plus license package
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>
Jim Hahn [Tue, 27 Oct 2020 18:29:13 +0000 (14:29 -0400)]
Bump docker master to 2.2.0-SNAPSHOT
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>
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>
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
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>
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>
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>
Jim Hahn [Fri, 4 Sep 2020 21:06:37 +0000 (21:06 +0000)]
Merge "Bump version to 2.1.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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Ram Krishna Verma [Mon, 2 Mar 2020 14:25:55 +0000 (14:25 +0000)]
Merge "Bump policy/docker 2.0.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>
Pamela Dragosh [Sun, 1 Mar 2020 19:54:33 +0000 (19:54 +0000)]
Merge "Release policy-docker 2.0.1"
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>
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>
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>
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
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
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>
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
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
Ram Krishna Verma [Thu, 30 Jan 2020 12:57:37 +0000 (12:57 +0000)]
Merge "Expose system proxy settings via base.conf"
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
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
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
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>
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
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
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
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
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
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
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>
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
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
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
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>