aboutsummaryrefslogtreecommitdiffstats
path: root/csit
AgeCommit message (Collapse)AuthorFilesLines
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-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-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>