liamfallon [Wed, 19 Oct 2022 19:27:37 +0000 (20:27 +0100)]
Fix CSITS in Honolulu
Quote password for SO
Issue-ID: POLICY-4393
Change-Id: Ie5f902e55ec277de7ec809e1e2eb007a9a41ad28
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Tue, 13 Sep 2022 13:31:50 +0000 (14:31 +0100)]
Convert CSIT tests to use HTTP rather than HTTPS
This commit converts the CSITs from HTTPS to HTTP. It also does some
refactoring and tidying up on the CSIT environment.
Issue-ID: POLICY-4338
Change-Id: I6f2a3ea672b757f27e47b09183fd4c3f33709135
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Wed, 7 Sep 2022 15:17:24 +0000 (16:17 +0100)]
Fix CSITs in honolulu release
Copy certs into Honolulu.
Issue-ID: POLICY-4350
Change-Id: I4cd999d006fb0cb3a75f3ae8fb4368228ca96de5
Signed-off-by: liamfallon <liam.fallon@est.tech>
Ram Krishna Verma [Fri, 19 Aug 2022 18:24:46 +0000 (14:24 -0400)]
Point to parent 3.3.4-SNAPSHOT
Issue-ID: POLICY-4295
Change-Id: I9284aef77b1c59ace0648fc6dddcc36ca88921b8
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
liamfallon [Fri, 17 Jun 2022 10:16:18 +0000 (11:16 +0100)]
Make CSIT scripts locally executable
The CSIT scripts do not have their executable flags set, this change
makes the scripts locally executable.
Issue-ID: POLICY-4233
Change-Id: I86caefecc850a763d9dc340c98609eed4ba923ca
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Tue, 5 Jul 2022 17:49:34 +0000 (18:49 +0100)]
Update detmVers script for snapshots
The current script assumes that snapshot versions are always available.
However the Linux Foundation has now implemented a policy of deleting
snapshots on no-master branches that are older than a certain age. THis
breaks our CSITs.
This updated script copes with this by checking if a snapshot is
avaialable and, if the snapshot is not available, the script falls back
to the released version.
This script will be needed on other branches besides master as well.
CLAMP TOSCA Control Loop was not in Honolulu and the CLAMP CSITs ran
separately in the CLAMP repo. We ported the CSITs over to the
policy/docker repo in Istanbul. Therefore, we need to disable the CLAMP
CSITs in policy/docker in honolulu
Issue-ID: POLICY-4233
Change-Id: I83f0a6816942d5bfaef7c22fc69625f40ae74d23
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Mon, 11 Jul 2022 13:35:53 +0000 (14:35 +0100)]
update policy models references
updated policy models references
*** This commit is generated by a PF release script ***
Issue-ID: POLICY-4233
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: If88c7da9381fe3b8c60569cb1279e0b4ae765162
Jim Hahn [Tue, 17 Aug 2021 14:40:25 +0000 (10:40 -0400)]
Remove EPL-1.0 license
ONAP does not allow code containing an EPL-1.0 license. To address
this, the offending file was re-cloned, this time from ci-management,
which does not contain the EPL-1.0 license.
Issue-ID: POLICY-3431
Change-Id: Idd973e71beb57d55b7086f52abefd3bc5c5de65d
Signed-off-by: Jim Hahn <jrh3@att.com>
(cherry picked from commit
a179ce9586bdbd52edba9bb794473bd34f8dd02d)
Ram Krishna Verma [Mon, 5 Jul 2021 15:00:40 +0000 (11:00 -0400)]
Add savePdpStatisticsInDb flag in pap config
Adding savePdpStatisticsInDb flag in pap config
to fix csit test cases for pdp statistics in Honolulu branch.
Issue-ID: POLICY-3450
Change-Id: I59f98379f7354452a1509972db51a8b837d26ef5
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Jim Hahn [Fri, 4 Jun 2021 17:22:49 +0000 (13:22 -0400)]
Don't use pip3 wrapper script
The pip3 script generates a warning saying to use "python3 -m pip"
instead. Modified the code as such.
Issue-ID: POLICY-3155
Change-Id: I852583bea88b6d4b969a1aba20e7b9193fa24732
Signed-off-by: Jim Hahn <jrh3@att.com>
(cherry picked from commit
fe3e91c55264ba67b5130b9841e30b634ac157a6)
arkadiusz.adamski [Thu, 3 Jun 2021 15:09:29 +0000 (16:09 +0100)]
Use local version of the include script
- Use local version of the include-raw-integration-install-robotframework.sh script
- correct name of pip python module
Fixed conflict in cherry pick:
- prepare-csit.sh
Issue-ID: POLICY-3092
Signed-off-by: arkadiusz.adamski <aadamski@est.tech>
Change-Id: Iba43621b3c8aebfa715cee91a75fd6832ccbc2be
(cherry picked from commit
8f44cb7dc7737433324083c0c307bf954d535200)
Signed-off-by: Jim Hahn <jrh3@att.com>
arkadiusz.adamski [Mon, 24 May 2021 11:50:40 +0000 (12:50 +0100)]
Use python3 for CSITs
- use python3 and pip3 in scripts
- update robot-framework-http library, so it can use python3
- update selenium2library, so it can use python3
Fixed merge conflict from cherry pick:
- prepare-csit.sh
Changed to github instead of gerrit-mirror, as the mirror is flakey and
broke one of the CSIT verify jobs.
Issue-ID: POLICY-3092
Signed-off-by: arkadiusz.adamski <aadamski@est.tech>
Change-Id: I5a6a4fe43e54366859049e1d43bbce599dacd14e
(cherry picked from commit
2b1e8d08ed869124e4a363a0c5f58999f487a4be)
Signed-off-by: Jim Hahn <jrh3@att.com>
Ram Krishna Verma [Thu, 20 May 2021 21:42:36 +0000 (17:42 -0400)]
Fix drools-apps csit test
Issue-ID: POLICY-3257
Change-Id: I642a6148d81518658afe63118428b5e19314dd8c
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Ram Krishna Verma [Tue, 11 May 2021 13:57:02 +0000 (09:57 -0400)]
Fix xacml-pdp csit test cases
In the recent runs, it was found that get statitcs might take few seconds longer after the actual deployment of policies. So, increasing the "max" wait time for the test cases to 1 min. And it won't slow down the tests as the check will be made every 15 sec to verify if the assertions are passing. The moment they pass, it will move on.
Issue-ID: POLICY-3257
Change-Id: Ifb00a7745b054fe490dd66cc680732893ff2b31a
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
(cherry picked from commit
f1b994e85dd1075db23a4a23c7b2a3e88ac123c5)
Ram Krishna Verma [Thu, 13 May 2021 15:03:50 +0000 (11:03 -0400)]
Fix distribution csit failure
Fixing the path of the mount path from where csar files will be copied into the container.
Issue-ID: POLICY-3257
Change-Id: Ibea35730439ae757578660d327f0fc26e3ad45a8
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
(cherry picked from commit
9fe39e8ced6fee002fb23cd3ef7e30b2f005d431)
Jim Hahn [Wed, 12 May 2021 15:33:43 +0000 (11:33 -0400)]
Move remaining CSITs from to docker/csit
Moved the remaining CSITs from the individual policy repos to the
docker repo. The files are unchanged, except for removing trailing
spaces and adding newlines to the end of a few of them. The two
exceptions were the setup.sh scripts for drools-apps and distribution,
in which "/csit" is no longer being appended to the TESTPLANDIR, as
that variable now already includes "/csit".
Issue-ID: POLICY-3299
Change-Id: I4dd381ad7d916f334cfbcbfb541c78db97012dd2
Signed-off-by: Jim Hahn <jrh3@att.com>
(cherry picked from commit
b3a962f585a8cb22d4bfbe56c3189a1f66f4736f)
Jim Hahn [Mon, 10 May 2021 19:36:30 +0000 (15:36 -0400)]
Merge csits into docker/csit
Decided to move CSIT test source code from the individual repos into
the docker repo. This review modifies the scripts to begin the process,
and includes the CSIT code from xacml-pdp, as the first one to move.
Note: while the xacml-pdp files are new to the docker repo, they are
not actually new, thus their licenses were retained.
Issue-ID: POLICY-3299
Change-Id: I7cce548ceec38c9c1615af883f08eb118e84d132
Signed-off-by: Jim Hahn <jrh3@att.com>
(cherry picked from commit
3486a9218bc8d396dce8cdde32d0b1e38490bacf)
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
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>
(cherry picked from commit
c6d046f50f01859b9e0873f65bed8621113ec120)
Jim Hahn [Thu, 11 Mar 2021 16:23:03 +0000 (11:23 -0500)]
Default to honolulu branch
Issue-ID: POLICY-3105
Change-Id: I67ec5d35c0a7bca0a005dfd718684d961f988c29
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>