aboutsummaryrefslogtreecommitdiffstats
path: root/csit
AgeCommit message (Collapse)AuthorFilesLines
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
2022-02-15Add docker configuration for Prometheus and Grafanaadheli.tavares35-196/+931
- 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-15Disable helm endpoints by default in csitLathish1-1/+6
Issue-ID: POLICY-3894 Change-Id: I83684c6d75ab4bfd5b6a5dfb1c5caabf6ae70d2a Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2022-02-14Fix policy-api CSIT testa.sreekumar3-7/+12
Change-Id: Idd7fd933f10dabaa203ec498996aa772facddac9 Issue-ID: POLICY-3753 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-02-10Move PAP database provider to spring boot defaulta.sreekumar1-9/+1
Change-Id: I5a743a8e666978c0aa0a7fc833e846379780c94b Issue-ID: POLICY-3867 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-02-07Fix spring datasource configuration for pap containeradheli.tavares1-1/+15
Issue-ID: POLICY-3914 Change-Id: Iddb985161ecd51ad3f2b17ae6ac13d2825b67bec Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-01-24Add testcase for app metrics exposed by distributionRam Krishna Verma1-1/+17
Adding testcases to verify the application level metrics exposed by policy-distribution component. Issue-ID: POLICY-3759 Change-Id: I3cbc36011c358dc9f52aa01c663eb8ff02a6323a Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-12-14PAP CSIT changes for spring boot migrationa.sreekumar4-73/+83
Change-Id: I0b0df4769240e4ca1512b6c2acba25d59734ffe3 Issue-ID: POLICY-3754 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-11-10Fixed policy participant config to use httpssaul.gill2-4/+5
Changed to use "useHttps" instead of "https" Changed username for api and pap from "healthcheck" to "policyadmin" Added config to bind mount for policy participant Issue-ID: POLICY-3817 Change-Id: I7470ea45ebb769a8781b76422626e13b5eb515bd Signed-off-by: saul.gill <saul.gill@est.tech>
2021-11-05Rename username for API and PAP operations.adheli.tavares10-190/+244
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-10-21Improving APEX-PDP CSIT testsa.sreekumar9-16/+3366
Change-Id: I06023f9b7555b23b007aadd20e87fb4e59c9980c Issue-ID: POLICY-3709 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-10-19Fixing the version fetch problem in Policy CSITsa.sreekumar1-21/+13
The script that fetches the latest version in policy-docker/csit currently support only the image versions in format: <1 digit major version>.<1 digit minor version>-SNAPSHOT-latest But this started failing now as drool jakarta version is "1.10.0". This is fixed. Change-Id: I1cba3beaa00628ec435f2aaef527a7f6318193bf Issue-ID: POLICY-3749 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-09-30Add http and k8s participant to CSITSirisha_Manchikanti12-360/+841
Add HTTP and Kubernetes participant to policy/docker/csit Issue-ID: POLICY-3413 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: Id87dca9ba6487b2f12e9d036136ea553d2b67a23
2021-08-31Add CSIT test for consolidated healthcheckRam Krishna Verma3-0/+143
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-30Use env variables in drools/drools-apps CSITsjhh4-97/+6
Issue-ID: POLICY-3199 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Iefd75ae810c7b91b8cc37469b1169031346b2c4e Signed-off-by: jhh <jorge.hernandez-herrero@att.com>