summaryrefslogtreecommitdiffstats
path: root/csit
AgeCommit message (Collapse)AuthorFilesLines
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>
2021-08-25Update CSITs for metrics + refactoringa.sreekumar16-283/+253
Change-Id: I5d090765ff29143f689c6754a7a1ad55dae1c1b4 Issue-ID: POLICY-3524 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-08-24Fix drools-apps CSITJim Hahn2-3/+18
Appears the the drools-apps healthcheck server now launches with https disabled, by default. The CSITs expect it to be enabled, so added a property to enable it. Issue-ID: POLICY-3553 Change-Id: Ia10e103d4e3964c3dbf28b7f6db19f6dd6ddb9c1 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-18Fix CSIT migrator versionJim Hahn1-1/+1
Modified the CSIT to only use the first two digits when selecting the db-migrator version. Issue-ID: POLICY-3535 Change-Id: Ic3539d87806ec9115fbad5e39498b3215cd25045 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-18Merge "Add db-migrator to CSIT tests"Jim Hahn3-2/+65
2021-08-17Remove EPL-1.0 licenseJim Hahn1-16/+18
ONAP does not allow code containing an EPL-1.0 license. To address this, the offending file was re-cloned, this time from ci-management, which does not contain the EPL-1.0 license. Issue-ID: POLICY-3431 Change-Id: Idd973e71beb57d55b7086f52abefd3bc5c5de65d Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-12Add db-migrator to CSIT testsktimoney3-2/+65
Issue-ID: POLICY-3491 Change-Id: I987986da7325a040b80b031ae4e7fbf9776c4c54 Signed-off-by: ktimoney <kevin.timoney@est.tech>
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-30Update parameters for distribution CSITJim Hahn1-5/+8
Policy/distribution has been modified to use RestClientParams, thus the corresponding json was modified to match. Issue-ID: POLICY-3456 Change-Id: I64b5f4caf2f927b62b8a02f3352d083f06483937 Signed-off-by: Jim Hahn <jrh3@att.com>
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-07-19Remove operationshistory10 DBJim Hahn1-1/+1
The operationshistory10 DB is no longer needed; removed from the CSIT. Issue-ID: POLICY-3419 Change-Id: Ifcf3022a9b9ca92ad3d4f00402ee4e8b141d40ba Signed-off-by: Jim Hahn <jrh3@att.com>
2021-07-13Change to xacml applicationParametersDragosh, Pamela (pd1248)1-1/+3
Issue-ID: POLICY-3326 Change-Id: I116bade6fd8da23363af78e89beb23ee6e73d577 Signed-off-by: Dragosh, Pamela (pd1248) <pd1248@att.com>
2021-07-13Merge "Check exit status of wait_topic in xacml-pdp CSIT"Jim Hahn2-1/+3
2021-07-12Check exit status of wait_topic in xacml-pdp CSITJim Hahn2-1/+3
Added code to the xacml-pdp robot script to check the exit status of wait_topic, to ensure that it succeeded. Issue-ID: POLICY-3473 Change-Id: Ie47bb861cd331c42aa5ae4f91c38a259796be842 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-07-12Update APEX CSIT tests to cover multiple outputsa.sreekumar9-19/+2998
As part of this review, a new policy is executed in APEX-PDP that interacts with AAI and CDS simulators. At each execution phase, along with sending a request to AAI/CDS, a log event is also sent to DMaaP notifying every action taken. This is done using the multiple output support. Change-Id: If34df13823196f9ece9b5ce6448b6652507f0b63 Issue-ID: POLICY-3466 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-07-06Replace POLICY-STATISTICS with POLICY-HEARTBEATJim Hahn1-1/+1
Eliminated the separate topic/feed for policy statistics and replaced it with a topic/feed for heatbeats, as that will be used for both heartbeats AND statistics. Issue-ID: POLICY-3460 Change-Id: Ie81a9c3d263db969a8c14597910f75724c244952 Signed-off-by: Jim Hahn <jrh3@att.com>