aboutsummaryrefslogtreecommitdiffstats
path: root/csit
AgeCommit message (Collapse)AuthorFilesLines
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>
2022-06-15Use proper currentInstanceCount in CSITswaynedunican6-113/+135
Issue-ID: POLICY-4086 Change-Id: I8d49acb66b798104f2cfbdc3765a68af866f9f6a Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2022-06-10Adding runtime-acm to grafana dashboardadheli.tavares6-12/+45
Issue-ID: POLICY-4146 Change-Id: Iecd0cfa1a6e6162bb9a06345dfd12fb8375ae98b Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-05-26CSIT does not display logs for some containersdanielhanrahan3-3/+3
Fix container names in CSIT teardown scripts to match docker-compose-all.yml Issue-ID: POLICY-4220 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I99da5c45af4051afcc62924142201d9edc474780
2022-04-08Update apex-pdp CSIT tests to include metricsRashmi Pujar4-58/+123
Validate metrics as documented in https://wiki.onap.org/display/DW/Policy+Framework%3A+Key+metrics+to+monitor Issue-ID: POLICY-3766 Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca> Change-Id: Iac1c0298c8e9a35c5ef25aec15e3b9bcbabebf7e
2022-03-30CSITs for db-migratorwaynedunican10-0/+233
- Added test to confirm databases are created - Added test for api healthcehck Issue-ID: POLICY-2715 Signed-off-by: Wayne Dunican <wayne.dunican@est.tech> Change-Id: I8ef9f67bf50d2fcbf7c7db2c78370f6b277e5993
2022-03-28Merge "Add CSIT Test cases for api metrics"Ajith Sreekumar1-6/+24
2022-03-26Merge "Start Participant containers after Runtime starts"Liam Fallon4-168/+793
2022-03-25Add CSIT Test cases for api metricsPrakhar Pandey1-6/+24
Adding csit test cases for application level metrics exposed by api component. Issue-ID: POLICY-3966 Signed-off-by: Prakhar Pandey <prakhar.pandey@bell.ca> Change-Id: Iccaa1c8e55ddc5b9961371c85aa41a5371ada560
2022-03-24Add CSIT for metadataSet handling in api, pap, apex-pdprameshiyer2711-7/+3199
Issue-ID: POLICY-3934 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ieae62434a3477a7dc1bffccd829385df06592cec
2022-03-24Start Participant containers after Runtime startsSirisha_Manchikanti4-168/+793
PARTICIPANT_REGISTER message from participants is getting lost, as RUNTIME_ACM is not started completely. Adjusted CSIT bringup of containers accordingly. This needs a correction in Participant Intermediary for next release, Jira raised for the same https://jira.onap.org/browse/POLICY-4042 Issue-ID: POLICY-4003 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I146fa5c2ae2090d504b7e665905ff2dba61097ef
2022-03-24Merge "Added scripts for manual smoke testing"Liam Fallon12-1/+968
2022-03-22Added scripts for manual smoke testingsaul.gill12-1/+968
Added some scripts, docker compose and config files This is to aid in manual smoke testing Policy gui and policy backend have been added Issue-ID: POLICY-4000 Change-Id: Ia89cab416b02ab034c65ba8224536cde2f65c0c5 Signed-off-by: saul.gill <saul.gill@est.tech>
2022-03-17Reuse https environment flags drools csitsjhh3-4/+9
Issue-ID: POLICY-3995 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ic5eb0397c5f58169845bd07f4fb2d9ab5b039b6d
2022-03-02correct healthcheck parameters for drools appsjhh1-6/+3
Issue-ID: POLICY-3977 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ib022569138c7ebcc37bc56838f5123188ba2fa43
2022-03-01Merge "Update ACM Schema in db migrator"Liam Fallon2-2/+2
2022-03-01Configure aaf using a parameter in policy-papa.sreekumar1-0/+1
Change-Id: I1505f5a04da93de3f0f4c349080480625c4a377d Issue-ID: POLICY-3975 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-02-28Update ACM Schema in db migratorLathish2-2/+2
Issue-ID: POLICY-3944 Change-Id: If22c95d0fae99e6312ca7b079a5663476d3e06f0 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
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-24Provisioning of prometheus datasource and dashboardsadheli.tavares7-192/+6524
- dashboard with details for micrometer(jvm, hikari, http requests) stats. - dashboard with details for JVM consumption on basic levels. Issue-ID: POLICY-3892 Change-Id: Ibe9c220c35755b9c60f2ef5d6c4b56849a9ba59a Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-02-24Merge "Fix CLAMP controlloop CSIT testcases"Liam Fallon14-896/+491
2022-02-24Adding spring data properties to apiParametersa.sreekumar1-1/+16
Change-Id: If95561b0d5fb01251458a0ce52880b836922c0ae Issue-ID: POLICY-3923 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-02-23Fix CLAMP controlloop CSIT testcasesSirisha_Manchikanti14-896/+491
Made corrections according to the application yaml to fix CLAMP CSIT testcases Issue-ID: POLICY-3933 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I9dfb4ecb1a4dd1fa967aeafe341cddb38049d312
2022-02-17Use classes from policy/commonRam Krishna Verma1-1/+1
Use CustomImplicitNamingStrategy from policy/common. Issue-ID: POLICY-3931 Change-Id: I69f556e0e5a6bdf60a0cef6b2d49a77289c4bb8d Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2022-02-17Merge "Add docker configuration for Prometheus and Grafana"Liam Fallon35-196/+931