summaryrefslogtreecommitdiffstats
path: root/csit
AgeCommit message (Collapse)AuthorFilesLines
2023-05-16Fixed versions for all python libs used for CSIT testing.adheli.tavares2-19/+19
- some libs from pylibs.txt are incompatible with the latest pip and setuptools, so now it's fixed at version 23 or lower and 66 or lower, respectively. Issue-ID: POLICY-4680 Change-Id: I3214f91e9e0eeec2991fb505b5da81f1d6a427ca Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-05-10Keep policy installation after running test.adheli.tavares3-3/+0
As k8s tests are not running in jenkins, the uninstall of a policy component is not necessary, so the environment can be use without having to start the whole deployment. Issue-ID: POLICY-4626 Change-Id: Id36505cbed99a80d24c30827222945b4ca12cf12 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-05-09Fix Apex-PDP postgres CSIT failureswaynedunican1-3/+2
- Fix APEX_EVENTS_PORT variable - Bring up promethues Issue-ID: POLICY-4645 Change-Id: Ief2627d910f86796b42e9a8a289e12564b8c83a0 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2023-05-02Enable ACM tests in K8s CSITrameshiyer279-740/+524
Moved all the image references to the parent chart. Updating the latest image tags during installation. Disabling charts by default and enabling only the project specific ones. Issue-ID: POLICY-4541 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ie22584ff38e777379ac1ee2d61743868a8b93b5c
2023-04-27Add postgres CSIT tests for Apex-PDPwaynedunican1-0/+54
Issue-ID: POLICY-4645 Change-Id: Ia3aa4bd9f6b6852a35a60c380a1a573390838034 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2023-04-13Add CSIT for ACM in dockerrameshiyer2713-3650/+1370
Included policy particiant tests in docker. Http and Kubernetes will be tested in kubernetes env. Issue-ID: POLICY-4541 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I2dcc294d9127307ef74a0f47791aed9d641b37f2
2023-04-06Fix drools-pdp and applications mismatch names on docker compose x config folderadheli.tavares2-2/+2
Issue-ID: POLICY-4125 Change-Id: Ic63e99f19f46e494895e64525b2d9413e901bef6 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-03-31Improvements to scripts and test configurationadheli.tavares2-101/+141
- reduced csit image for k8s test from 1gb to 230mb - fixed some small hindrances with start-compose.sh - added README for how to use and configure compose script - cleaning of Chart.lock as it fails helm install if outdated even after running helm dependencies update Issue-ID: POLICY-4125 Change-Id: If1711523bb836c212f27a032a46cc18d68766478 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-03-31Add SLA Validations for Apex-PDPwaynedunican11-46/+412
- 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-03-30Disable K8s CSIT temporarily to fix timeout issue in Jenkinsrameshiyer273-228/+670
The pods take longer time than usual in Jenkins vm which prevents robot test cases getting executed. This will be fixed in the upcoming patch. Fixing supporting docker images to be pulled from nexus Issue-ID: POLICY-4541 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: If01b98bee51e36cb6104fa6eff006ad8194dc1b2
2023-03-16Fix microk8s permission issue in jenkinsrameshiyer271-12/+14
Issue-ID: POLICY-4541 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ifb33b5f292fbf50291d52e432b80719d9097ec96
2023-03-15Merge "Update PF for SNI checking support"Liam Fallon1-1/+4
2023-03-14Update PF for SNI checking supportliamfallon1-1/+4
Fix the script to allow CSITs to run on MacOS Issue-ID: POLICY-4474 Change-Id: If11ad6ba4f4b4bc52543d46d12ce5b40d3cc26be Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-03-14Add prometheus server to k8s chartsadheli.tavares1-5/+13
- add pap-slas.test to list of robot tests for k8s - fix an export var on docker compose Issue-ID: POLICY-4545 Change-Id: Id1dd55693ab6d016fd0dd38230972ffe96b28b14 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-03-14Merge "Fix consolidated health check failure in PAP CSIT"Ram Krishna Verma1-1/+2
2023-03-14Merge "Add SLA Validations for API"Liam Fallon2-7/+11
2023-03-14Fix consolidated health check failure in PAP CSITrameshiyer271-1/+2
Issue-ID: POLICY-4546 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I4e11f3b485b886878d12dc0079d245bf7d75cc0e
2023-03-13Add SLA Validations for APIwaynedunican2-7/+11
- Add tests for querying policies/policyTypes by version/id - Add tests for deletion of policies/policyTypes - Update expected response time Issue-ID: POLICY-4528 Change-Id: I393383ef8771274501509ee9b3073b3a0ef01b38 Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2023-03-07Add helm charts for distribution and http-ppnt in CSITrameshiyer272-2/+28
Issue-ID: POLICY-4542 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I18453af111dff7943c65c8b1113df0ded23b6f99
2023-03-02Fix drools-pdp helm charts to run csit testadheli.tavares1-1/+2
Issue-ID: POLICY-4125 Change-Id: I50ad9e44081faf52744dbb6fd491980225a3a754 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-03-01New Test Developmentadheli.tavares15-327/+184
- api, pap (except consolidated HC), apex and acm runtime passing on both docker and helm environment - other simulators exposed on simulator service - topics are checked on test with robot http support - apex temp engine port exposed - xacml readiness added Issue-ID: POLICY-4125 Change-Id: I39ee8c38e70dd3a4ad26ba69d7c62e61a211469e Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-03-01Merge "Add helm charts for drools,xacml pdps"Liam Fallon1-1/+5
2023-02-27Add helm charts for drools,xacml pdpsrameshiyer271-1/+5
Robot test files will be included in a common directory as part of the CSIT refactoring work. Issue-ID: POLICY-4542 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I0915bb9801d483a9ce382a8c6978de6138c86d72
2023-02-27Add SLA validations to APIwaynedunican3-1/+52
Issue-ID: POLICY-4528 Change-Id: I517cb477bbccb36d5e2000b60450a2c015d4940b Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2023-02-22Restructure of csit files to be used both by docker and k8s configadheli.tavares162-23179/+420
Issue-ID: POLICY-4125 Change-Id: Id63b3badb1b451b36e3226970dcafaa5a62d860f Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-02-21Merge "Add volume mount for storing k8s robot logs to the host"Ram Krishna Verma1-2/+3
2023-02-14Add volume mount for storing k8s robot logs to the hostrameshiyer271-2/+3
Issue-ID: POLICY-4546 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I498aa9db39d6b04e685a893c9bca41c6bb108265
2023-02-14Add SLAs validations to docker csit robot testsadheli.tavares9-28/+112
Issue-ID: POLICY-4529 Change-Id: I197a51892e9135d20c2e8a49ce7787df3bfbd4fa Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-02-13Refactor CSITs to use exposed portsliamfallon22-117/+242
The CSITs were using the ports in the Docker environment directly. This commit changes the CSITs to use published ports. Issue-ID: POLICY-4533 Change-Id: I17d60c8bceae71f1bf2175dcb6addf032f14a899 Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-02-10Merge "Fix test failures in K8s CSIT"Liam Fallon1-1/+10
2023-02-10Merge "Add scripts to automate S3P tests"Ram Krishna Verma2-0/+233
2023-02-10Fix test failures in K8s CSITrameshiyer271-1/+10
Apex-pdp - Add json response files, update sim hostnames Api,Pap - Update context paths for prometheus metrics Print console logs of test execution Issue-ID: POLICY-4546 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I1bed6e4077c7e52b986bcb927204819ec0d95d99
2023-02-08Merge "Fix robot failures in kubernetes CSITs"Liam Fallon1-10/+21
2023-02-07Add scripts to automate S3P testswaynedunican2-0/+233
- Add script to setup k8s cluster, install JMeter and run S3P tests - Add script to alter the installed cluster to work towards the S3P test plans Issue-ID: POLICY-4156 Change-Id: I966055c8ff41025033b5b6435c42508bc3377371 Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2023-02-07Fix robot failures in kubernetes CSITsrameshiyer271-10/+21
Api, Pap, Clamp configurations are fixed Update Readiness containers as a list entity to wait for more than one component. Issue-ID: POLICY-4546 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I8598ddc01905b072edd9eb3030a83d3d806a14eb
2023-02-02Add configurations to run SLAs validations on CSITsadheli.tavares13-378/+75
Issue-ID: POLICY-4531 Change-Id: Idf69fe888828fabd4ec0cd3c18fea7aff96caac8 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-01-25Add robot framework helm chart for CSITrameshiyer271-3/+106
Steps to run policy csit in kubernetes is updated in the README.md Issue-ID: POLICY-4532 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I116658dfafd4e70bd256173f046da72af6803eaa
2023-01-23Make API context path configurable in CSITsliamfallon3-17/+19
Issue-ID: POLICY-4143 Change-Id: I17010b16b03a002130b5a8d619f561c9deab19c8 Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-01-19Fix context paths in CSITsliamfallon4-10/+12
THe context path for API and PAP is now configurable. Issue-ID: POLICY-4482 Change-Id: If6b53c8163cc9f377005a665eca7cb6c146156af Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-01-13Fix metrics calculations for engine uptimeadheli.tavares1-167/+41
and remove unused variables. Issue-ID: POLICY-4147 Change-Id: I09996770cdb3571c48f51bc0ee1b04094a3112b1 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-01-10Merge "Adding apex-pdp metrics to SLAs dashboard."Liam Fallon1-32/+553
2023-01-10Merge "Add helm charts for policy CSIT"Liam Fallon1-0/+71
2023-01-09Adding apex-pdp metrics to SLAs dashboard.adheli.tavares1-32/+553
Issue-ID: POLICY-4147 Change-Id: I8ae2d5f63fe36a436578c677af3252fbfe151805 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-12-21Add helm charts for policy CSITrameshiyer271-0/+71
Added script run-k8s-csit.sh to spin and delete kubernetes cluster in Microk8s. Added helm charts for mariadb, k8s-participant, runtime-acm and dmaap-simulator. Issue-ID: POLICY-4457 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I456cb7f291d116dbd5b68a067171214a0e08fb37
2022-12-21Update on SLA metrics dashboard to reflect deployment statsadheli.tavares3-233/+490
Issue-ID: POLICY-4469 Change-Id: Ide93bd46e8452ddc7453b8ad8347cea6ec0144ac Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-12-20Temporarily disable ACM CSITssaul.gill1-75/+84
Healthcheck CSIT added Other CSITs disabled while ACM updates are ongoing Issue-ID: POLICY-4490 Change-Id: I3f8b4ca0f686fe979228004922e4c79154bb28b4 Signed-off-by: saul.gill <saul.gill@est.tech>
2022-12-19Changes for H2 database upgradeliamfallon1-1/+1
The latest verison of H2 does not allow colums called "user" or indexes using an underscore in their name. Issue-ID: POLICY-4488 Change-Id: I632f0715d597da1d306002e6079efc98bba0487f Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-12-16Fix clamp CSITs for mastersaul.gill7-14/+3806
CSIT fails due to new composition endpoint structure Altering CSIT spec to reflect changes Issue-ID: POLICY-4485 Change-Id: I942c18564a9c2c82676e3f269a736103f5c74d14 Signed-off-by: saul.gill <saul.gill@est.tech>
2022-12-02Add A1PMS participant in CSITaravind.est4-0/+145
Issue-ID: CCSDK-3816 Signed-off-by: aravind.est <aravindhan.a@est.tech> Change-Id: Ic5b49f6e4b3ca1652cf33efc0adfab9d0c754821
2022-12-02Fix clamp CSIT failuresaravind.est2-5/+7
Issue-ID: CCSDK-3816 Change-Id: I56360db410cf3daa6ba5acae43fee9be580b6f88 Signed-off-by: aravind.est <aravindhan.a@est.tech>