aboutsummaryrefslogtreecommitdiffstats
path: root/csit
AgeCommit message (Collapse)AuthorFilesLines
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>
2022-11-23Fix CSIT failuresadheli.tavares2-6/+10
- fix for pap with topic changes - fix the response code for clamp Issue-ID: POLICY-4463 Change-Id: Ifd55122863fd93cc90a55dd354b941dcffa160b3 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-10-19Extend delay on PAP test to allow undeploy to endliamfallon1-1/+1
Issue-ID: POLICY-4393 Change-Id: I847a9bceec748e757dc7b05ce0228c6912308c9c Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-10-18Fix CSITs for Kohn releaseliamfallon12-9/+72
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-10-12Fix CSIT failure in CLAMP, API and PAP testsrameshiyer275-5/+9
ACM servlet context path is updated to the CLAMP config file. Fixed prometheus endpoints in API and PAP. Issue-ID: POLICY-4394 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Id4fafd016beb8614ce99e0c1a5985dec52d69270
2022-10-01Track configurable parameters in CSITsjhh2-0/+5
Issue-ID: POLICY-3464 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I5cc0445eb811bb584bc29342157874eec04b9777
2022-09-26Merge "Support onap..tcagen2 v2.0.0 and mysql 8.x"Ramesh Murugan Iyer4-5/+221
2022-09-23Allow for mysql command flags in db-migratorjhh1-0/+1
For example by setting the env var to MYSQL_CMD="mysql --ssl" Issue-ID: POLICY-4182 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: If7298fb2ea01f15324a526e49f2ec860d29f8d31
2022-09-22Support onap..tcagen2 v2.0.0 and mysql 8.xjhh4-5/+221
Issue-ID: POLICY-4317 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Idf1b05c11edd061cdd6f52e5051b7a6a0fd1884e Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2022-09-09Fix minor issues with CSITsliamfallon4-344/+7
Issue-ID: POLICY-4350 Change-Id: I2bbc47122aa5984fbe3f03edc252ea56e47dba73 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-08Improve debugging support for CSITsliamfallon26-176/+1464
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-08Fixed Negative Heap Memory on Grafana Chartbrunomilitzer1-106/+155
- fixed unit to seconds (so it caulculates time) - fixed formula with time-up variable Issue-ID: POLICY-4326 Change-Id: I324b01d9abc92938027daafa1ebe73dccea5baba Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-09-07Ensure robot framework is installed for CSITsliamfallon2-3/+3
The script to install the robot framework for CSITs was not called due to an incorrect path in its invocation. This commit ensures it is called. This bug has been in the CSIT scripts for a numebr of releases. It only seems to have become an issue in the last few hours. Issue-ID: POLICY-4338 Change-Id: I0c2c578b784732a4f2beed514512f8e8c558f726 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-05Convert CSIT tests to use HTTP rather than HTTPSliamfallon51-427/+1082
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-08-17Added Dashboards for Policy Framework Componentsbrunomilitzer7-0/+8570
Issue-ID: POLICY-3967 Change-Id: I33f135da7dc49dc10b42902d96d8da21db36d19b Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-07-27Updating python dependency to stop the timeoutbrunomilitzer2-2/+1
Signed-off-by: brunomilitzer <bruno.militzer@est.tech> Issue-ID: POLICY-4288 Change-Id: Ie7526356fad59de167d8c376da4d48feda07e0b3 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-07-14Move policy-gui CSIT config filesliamfallon4-3/+4
The policy-gui config files for CSIT are in the CLAMp directory, they should be in their own directory. Tweaked timings on PAP CSIT to stop it timing out on post undeploy test Issue-ID: POLICY-4137 Change-Id: I43b9972b544b98fbe083942e7fd616386f08ce55 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-06-29Update get version script for snapshotsliamfallon4-31/+88
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. Issue-ID: POLICY-4233 Change-Id: I7a9fe7ffc3abfc8044a2e0439e3fcd47c086d5f8 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-06-24Duplicate volume mount for drools-apps in CSITdanielhanrahan3-3/+0
drools-apps docker container copies feature-lifecycle.properties from /tmp/policy-install/config to /opt/app/policy/config Because docker-compose mounts this file twice, it causes OpenSuse image to abort with error 'cp: X and Y are the same file' Issue-ID: POLICY-4231 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I91a3b1d3d2b8ed1075fd3392aae9988475f92bf7
2022-06-23Merge "SLA dashboard added to grafana setup"Jorge Hernandez4-3/+1152
2022-06-22Set JDBC URL env var for drools-apps CSITsjhh1-0/+2
Issue-ID: POLICY-4177 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ie9bb269e7a38d9e3f07191c301cfb171ef8ed8f3
2022-06-22SLA dashboard added to grafana setupadheli.tavares4-3/+1152
Issue-ID: POLICY-4163 Change-Id: I2b996ff519f0b8f0207589ec4f1f629c79b614c0 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-06-17Merge "Use proper currentInstanceCount in CSITs"Jorge Hernandez6-113/+135
2022-06-17Merge "Make CSIT scripts locally executable"Jorge Hernandez18-1/+9
2022-06-17Make CSIT scripts locally executableliamfallon18-1/+9
The CSIT scripts do not have their executable flags set, this change makes the scripts locally executable. Issue-ID: POLICY-4233 Change-Id: Ia274481751076027c4224e791c3a35785b9d78a9 Signed-off-by: liamfallon <liam.fallon@est.tech>