aboutsummaryrefslogtreecommitdiffstats
path: root/csit/run-project-csit.sh
AgeCommit message (Collapse)AuthorFilesLines
2023-03-31Add SLA Validations for Apex-PDPwaynedunican1-1/+1
- Add multiple apex microservice SLA tests - Add single instance apex SLA tests - Single instance SLA tests to be ran as part of CSIT runs - Multiple microservice will not be ran as part of CSITs due to high resource consumption - Multiple microservice SLA test results can be found in the linked JIRA - Added setup scripts for multiple instance SLA tests - nginx added for load balancing purposes for multiple apex instances Issue-ID: POLICY-4530 Issue-ID: POLICY-4164 Change-Id: Ib86e96c57f4b7bf2b4f5e930fd7d4a3805b50687 Signed-off-by: Wayne Dunican <wayne.dunican@est.tech> Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-02-22Restructure of csit files to be used both by docker and k8s configadheli.tavares1-36/+14
Issue-ID: POLICY-4125 Change-Id: Id63b3badb1b451b36e3226970dcafaa5a62d860f Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-02-14Add SLAs validations to docker csit robot testsadheli.tavares1-11/+7
Issue-ID: POLICY-4529 Change-Id: I197a51892e9135d20c2e8a49ce7787df3bfbd4fa Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-02-02Add configurations to run SLAs validations on CSITsadheli.tavares1-3/+3
Issue-ID: POLICY-4531 Change-Id: Idf69fe888828fabd4ec0cd3c18fea7aff96caac8 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-10-18Fix CSITs for Kohn releaseliamfallon1-1/+0
Newer versions of dependencies brought in some small updates to configuraiton. Also a script called start-container.sh has been added to bring up a single Policy Framework container and its dependencies. Issue-ID: POLICY-4393 Change-Id: I17bac4d75600431fdee74592be4700761a3f8fe7 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-08Improve debugging support for CSITsliamfallon1-2/+5
The following improvements are added: - "docker ps" command added to the wait_for_port.sh script tp show status of the containers coming up and down - "docker-compose logs" added to the end of the test runs to print out the standard output from the containers - Add standard output logging to all containers - Some cleanup and use of better names Issue-ID: POLICY-4350 Change-Id: I3ae8c59dba64f9c267f310366bb4a2a6ffd5d418 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-05Convert CSIT tests to use HTTP rather than HTTPSliamfallon1-28/+31
This commit converts the CSITs from HTTPS to HTTP. It also does some refactoring and didying up on the CSIT environment. Issue-ID: POLICY-4338 Change-Id: Ie19908a8d2a457df3ae5f4e490d5528889f395c8 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-02-15Add docker configuration for Prometheus and Grafanaadheli.tavares1-2/+6
- docker compose file with the policy components - configuration files for components to allow usage of http - basic prometheus configuration to connect to api, pap, drools (apps/pdp), xaclm and apex - examples of metrics to be added to a dashboard in Grafana Issue-ID: POLICY-3886 Change-Id: Ic377b69b1a296017a85cb08ccdbbf9b8b281d8e3 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2021-06-14Don't save private keyJim Hahn1-1/+2
GitHub complains if you include a private key in a repo. Modified the CSITs to generate the root CA so that it's private key does not have to be stored. Issue-ID: POLICY-3384 Change-Id: I4bebc3e4b0e386047d7f6fbd19150812cb605899 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-06-11Rename to message-routerJim Hahn1-0/+7
Modified the CSITs to use message-router for the simulator name. Also added a Root CA so that the ssl certificates can be signed. Removed property file overrides that are no longer needed. Issue-ID: POLICY-3384 Change-Id: I6f1bc53f192567eeab0e71a64d9eaec814a38dd0 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-06-02Use python3 for CSITsarkadiusz.adamski1-1/+2
- use python3 and pip3 in scripts - update robot-framework-http library, so it can use python3 - update selenium2library, so it can use python3 Issue-ID: POLICY-3092 Signed-off-by: arkadiusz.adamski <aadamski@est.tech> Change-Id: I5a6a4fe43e54366859049e1d43bbce599dacd14e
2021-05-12Move remaining CSITs from to docker/csitJim Hahn1-23/+1
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>
2021-05-10Merge csits into docker/csitJim Hahn1-34/+41
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>
2021-04-08Use github in lieu of gerrit mirrorJim Hahn1-1/+1
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>
2021-03-19Use generated keystore in CSITsJim Hahn1-0/+5
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>
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-0/+210
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>