aboutsummaryrefslogtreecommitdiffstats
path: root/csit/xacml-pdp
AgeCommit message (Collapse)AuthorFilesLines
2022-07-15Make CSIT scripts locally executableliamfallon2-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 snapshotsliamfallon1-1/+1
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>
2021-06-07Don't use pip3 wrapper scriptJim Hahn1-3/+3
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 python3 for CSITsarkadiusz.adamski1-3/+4
- 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 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-20Merge csits into docker/csitJim Hahn9-0/+297
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>