summaryrefslogtreecommitdiffstats
path: root/csit/pap
AgeCommit message (Collapse)AuthorFilesLines
2023-02-14Add SLAs validations to docker csit robot testsadheli.tavares4-9/+86
Issue-ID: POLICY-4529 Change-Id: I197a51892e9135d20c2e8a49ce7787df3bfbd4fa Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-02-13Refactor CSITs to use exposed portsliamfallon2-10/+14
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-02Add configurations to run SLAs validations on CSITsadheli.tavares1-2/+2
Issue-ID: POLICY-4531 Change-Id: Idf69fe888828fabd4ec0cd3c18fea7aff96caac8 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2023-01-23Make API context path configurable in CSITsliamfallon1-5/+5
Issue-ID: POLICY-4143 Change-Id: I17010b16b03a002130b5a8d619f561c9deab19c8 Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-01-19Fix context paths in CSITsliamfallon1-7/+7
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>
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-09-09Fix minor issues with CSITsliamfallon1-1/+1
Issue-ID: POLICY-4350 Change-Id: I2bbc47122aa5984fbe3f03edc252ea56e47dba73 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-08Improve debugging support for CSITsliamfallon1-4/+0
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-3/+6
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-07-27Updating python dependency to stop the timeoutbrunomilitzer1-1/+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 filesliamfallon1-1/+2
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-22SLA dashboard added to grafana setupadheli.tavares1-3/+1
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 Hernandez2-1/+3
2022-06-17Make 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: Ia274481751076027c4224e791c3a35785b9d78a9 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-06-15Use proper currentInstanceCount in CSITswaynedunican2-1/+3
Issue-ID: POLICY-4086 Change-Id: I8d49acb66b798104f2cfbdc3765a68af866f9f6a Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2022-03-24Add CSIT for metadataSet handling in api, pap, apex-pdprameshiyer275-0/+232
Issue-ID: POLICY-3934 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ieae62434a3477a7dc1bffccd829385df06592cec
2022-02-25Add csit tests for pap metricsRam Krishna Verma1-1/+6
Adding csit tests for applications level metrics exposed by pap component. Issue-ID: POLICY-3965 Change-Id: I50cd37941514d2d18809d29f4c5447434bd5b180 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2022-02-15Add docker configuration for Prometheus and Grafanaadheli.tavares2-16/+16
- 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>
2022-02-14Fix policy-api CSIT testa.sreekumar1-5/+2
Change-Id: Idd7fd933f10dabaa203ec498996aa772facddac9 Issue-ID: POLICY-3753 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-12-14PAP CSIT changes for spring boot migrationa.sreekumar1-2/+6
Change-Id: I0b0df4769240e4ca1512b6c2acba25d59734ffe3 Issue-ID: POLICY-3754 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-11-05Rename username for API and PAP operations.adheli.tavares1-10/+23
Use an account other than healthcheck in API and PAP for provisioning of policies. Issue-ID: POLICY-2744 Change-Id: Id2cbba8e5e5095996622572fbf42383bb854fb43 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2021-08-31Add CSIT test for consolidated healthcheckRam Krishna Verma1-0/+5
Adding CSIT test for consolidated healthcheck. Also, verifying the an external groups file can be mounted to replace PapDb.json present inside the docker image for database initialization. Issue-ID: POLICY-3609 Change-Id: Icf2585d9d9df7e820fbddfbd1fe044b5a9e29cb3 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-08-25Update CSITs for metrics + refactoringa.sreekumar1-84/+28
Change-Id: I5d090765ff29143f689c6754a7a1ad55dae1c1b4 Issue-ID: POLICY-3524 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-08-03Refactor pap csit test casesRam Krishna Verma3-144/+112
Refactored pap csit test cases to * remove code duplication * create methods for rest call * improve assertions * make it easy to add new test cases Issue-ID: POLICY-3525 Change-Id: I60a5a9128ca6e97044d5de13fb14610d721c78d2 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-07-29Add policy audit to pap csitRam Krishna Verma1-0/+32
Adding policy audit api's to pap csit. However, I see that pap csit file can be refactored and lot of duplications can be removed. Will do it as part of next review. Issue-ID: POLICY-3340 Change-Id: I4334ad957ae70c4bcc9f3aa18d882042ce96d57f Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-06-04Don'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>
2021-06-02Use 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 Issue-ID: POLICY-3092 Signed-off-by: arkadiusz.adamski <aadamski@est.tech> Change-Id: I5a6a4fe43e54366859049e1d43bbce599dacd14e
2021-05-19Test csit verify jobsRam Krishna Verma1-2/+2
Test the csit verify jobs created as part of https://gerrit.onap.org/r/c/ci-management/+/121407 Issue-ID: POLICY-3257 Change-Id: I03bbfc2113c18c704c28270fe9c6720ddbc0e7ef Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-05-13Update comments in test plansJim Hahn1-1/+1
Changed the directory name in the test plan comments, now that they've been moved to docker/csit. Issue-ID: POLICY-3299 Change-Id: Ie17e01ff68a6d2caca9750736724a6e97a8ac20d Signed-off-by: Jim Hahn <jrh3@att.com>
2021-05-12Move remaining CSITs from to docker/csitJim Hahn6-0/+272
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>