aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-10-19Fix CSITS in Honoluluhonolululiamfallon2-2/+2
Quote password for SO Issue-ID: POLICY-4393 Change-Id: Ie5f902e55ec277de7ec809e1e2eb007a9a41ad28 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-13Convert CSIT tests to use HTTP rather than HTTPSliamfallon40-281/+762
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>
2022-09-07Fix CSITs in honolulu releaseliamfallon13-12/+124
Copy certs into Honolulu. Issue-ID: POLICY-4350 Change-Id: I4cd999d006fb0cb3a75f3ae8fb4368228ca96de5 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-08-19Point to parent 3.3.4-SNAPSHOTRam Krishna Verma1-1/+1
Issue-ID: POLICY-4295 Change-Id: I9284aef77b1c59ace0648fc6dddcc36ca88921b8 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2022-07-15Make CSIT scripts locally executableliamfallon13-0/+0
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>
2022-07-15Update detmVers script for snapshotsliamfallon21-94/+203
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>
2022-07-11update policy models referencesliamfallon1-1/+1
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
2021-08-17Remove EPL-1.0 licenseJim Hahn1-16/+18
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)
2021-07-05Add savePdpStatisticsInDb flag in pap configRam Krishna Verma1-0/+1
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>
2021-06-07Don't use pip3 wrapper scriptJim Hahn9-24/+25
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)
2021-06-04Use local version of the include scriptarkadiusz.adamski2-9/+4
- 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>
2021-06-04Use python3 for CSITsarkadiusz.adamski12-37/+96
- 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>
2021-05-20Fix drools-apps csit testRam Krishna Verma1-1/+1
Issue-ID: POLICY-3257 Change-Id: I642a6148d81518658afe63118428b5e19314dd8c Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-05-20Fix xacml-pdp csit test casesRam Krishna Verma1-12/+12
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)
2021-05-20Fix distribution csit failureRam Krishna Verma1-1/+2
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)
2021-05-20Move remaining CSITs from to docker/csitJim Hahn39-23/+9206
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)
2021-05-20Merge csits into docker/csitJim Hahn11-37/+339
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>
2021-03-23change temp dir mount for csit distributionTaka Cho1-1/+1
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)
2021-03-11Default to honolulu branchJim Hahn1-1/+1
Issue-ID: POLICY-3105 Change-Id: I67ec5d35c0a7bca0a005dfd718684d961f988c29 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-05change shell for disable feature in csitTaka Cho1-2/+2
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>
2021-02-26three scripts move to docker/csitTaka Cho3-0/+126
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>
2021-02-24Update info.yaml in dockerRam Krishna Verma1-2/+2
Issue-ID: POLICY-3028 Change-Id: I5ab36eb2d51acef48bf56a4fe62b63b1be1d86b3 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-22Bump version to 2.2.2-SNAPSHOT in dockerJim Hahn6-6/+6
Issue-ID: POLICY-3088 Change-Id: Ie019d5eab6a7ec087ad689c50482dabb317010a9 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-22Release docker image 2.2.1 of docker8.0.0-ONAPJim Hahn1-0/+10
Issue-ID: POLICY-3088 Change-Id: I122845631b5da4e84441ed2bc1c37fabf100ea1f Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-22Point to non-snapshots in docker8.0.2-PF-I18.0.1-ONAP2.2.1Jim Hahn1-1/+1
Issue-ID: POLICY-3088 Change-Id: I77ad5fbf2bd3fa08ce68fbce7ae40a885751d08d Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-16xacml pdpType is configurablePamela Dragosh1-0/+1
Update the configuration file. Issue-ID: POLICY-3071 Change-Id: Ib164dcc8d8b4f761d4e8a9e14555ac1ae43b7f95 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-02-08Upgrade mariadb version in CSITsJim Hahn1-1/+1
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>
2021-01-19change archive dir based on new JJB templateTaka Cho1-6/+6
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>
2021-01-15rename to run-project-csit.sh to fit new JJB templateTaka Cho1-6/+3
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>
2021-01-14move csit/scripts, docker-compose to docker repoTaka Cho22-0/+1425
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>
2021-01-05bump up version 2.2.1-SNAPSHOTTaka Cho6-6/+6
bump up to next version Issue-ID: POLICY-2917 Change-Id: I10c70240478ac9b7b633219c65d033823fde1d7c Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-01-05release jdk and jre baseTaka Cho1-0/+10
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>
2020-12-18use java11 jre base from onap2.2.0Taka Cho1-3/+5
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>
2020-12-16remove all GPL-3.0 and plus license packageTaka Cho2-2/+2
change to /bin/sh for policy user Issue-ID: POLICY-2847 Change-Id: Ie2c88b3e15ab4ca2bf5e6d928f0f9c40c0688c4b Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-12-08remove all GPL-3.0 and plus license packageTaka Cho1-5/+0
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>
2020-11-19remove all GPL-3.0 and plus license packageTaka Cho1-5/+0
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>
2020-10-27Bump docker master to 2.2.0-SNAPSHOTJim Hahn6-8/+8
Bumping minor version now that guilin branch has been created. Also repointed to snapshot versions for dependencies. Issue-ID: POLICY-2875 Change-Id: I9e84ca07f8d932d2e6fb80a1746eb26878bb7857 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-10-07Fixing policy-models-simulator helm issuesa.sreekumar1-23/+26
This review updates the config file for the simulator in order to fix below 2 issues: 1) Too much logs due to SSL related errors causing POD to be evicted every 30minutes. 2) Invalid Parameters causing the container to crash (RestServerParameters validation in dmaapProvider making it mandatory to add host and port) Change-Id: I5cd1b44b0a142627071dccd93b6d3e40400db711 Issue-ID: POLICY-2828 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-10-05Helm chart for policy-models-simulatorputhuparambil.aditya18-0/+624
Issue-ID: POLICY-2828 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Ic5e94edb2bc76067d5cde03dae2670dc6cf99a0e
2020-09-14Bump version to 2.1.2Jim Hahn6-6/+6
Issue-ID: POLICY-2819 Change-Id: I2383dd7e2cc7d0262ea27b9a03152216b006389e Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-14Release docker 2.1.17.0.0-ONAPJim Hahn1-0/+10
Issue-ID: POLICY-2789 Change-Id: I020252f5ca31d79915740a418eccbc194e868f46 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-14Update alpine images for jdk112.1.1Jim Hahn2-11/+11
Updated the docker images to alpine 3.12.0 so that a newer version of openjdk11 would be pulled in. Modified the jdk image to download maven via curl rather than installing it via apk so-as to prevent it from installing java8 as a dependency. Issue-ID: POLICY-2819 Change-Id: Iba4e2448b826ce6abb5df506228c99b9a3676495 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-04Merge "Bump version to 2.1.1"Jim Hahn6-6/+6
2020-09-04Update container after stage-releaseJim Hahn1-3/+3
Previously forgot to "stage-release" the docker images. Having done that, now need to update the container.yaml to match it. Issue-ID: POLICY-2789 Change-Id: Id0d5c061ae8f49ac17d796594647c5426157466f Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-04Bump version to 2.1.1Jim Hahn6-6/+6
Issue-ID: POLICY-2789 Change-Id: I994fd59c7ec7a8a9472c08e1404f1afc7a14d112 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-03Release docker 2.1.0Jim Hahn1-0/+10
Issue-ID: POLICY-2789 Change-Id: I350c68fe8b1bed96c639bd1f4a81bc4dd4d71760 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-02remove debian docker image build2.1.0Taka Cho8-387/+0
In order to comply license violation, have to move to alpine docker image build. Hence removed all debian docker image build Issue-ID: POLICY-2793 Change-Id: Ifa225b37dd65d366e54aebef317853f43c79311e Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-08-21Bump docker version to 2.1.0Jim Hahn8-9/+9
Issue-ID: POLICY-2787 Change-Id: I8293c1684d6fa628f2a4866458a28ea0bb12bc9f Signed-off-by: Jim Hahn <jrh3@att.com>
2020-08-21Release 2.0.2 docker containersJim Hahn2-0/+15
Issue-ID: POLICY-2787 Change-Id: I7ab2b4c045085562461521e70a5ac64617273c87 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-07-30Update INFO.yaml in policy-docker2.0.2Jim Hahn1-12/+16
Verified with Jessica W that the "type" should still be "Addition", even when updating the PTL. Updated to Mature, per TSC. Issue-ID: POLICY-2738 Change-Id: Idd77cdbd590d87d5cbbc59147f867d3dc440aa94 Signed-off-by: Jim Hahn <jrh3@att.com>