summaryrefslogtreecommitdiffstats
path: root/csit/config
AgeCommit message (Collapse)AuthorFilesLines
2022-10-12Fix CSIT failure in CLAMP, API and PAP testsrameshiyer273-0/+4
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 Iyer1-0/+1
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.xjhh1-0/+1
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-08Improve debugging support for CSITsliamfallon12-23/+1304
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 HTTPSliamfallon30-79/+880
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-14Move policy-gui CSIT config filesliamfallon1-0/+0
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-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-17Merge "Use proper currentInstanceCount in CSITs"Jorge Hernandez3-110/+130
2022-06-17Merge "Make CSIT scripts locally executable"Jorge Hernandez1-0/+0
2022-06-17Make CSIT scripts locally executableliamfallon1-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 CSITswaynedunican3-110/+130
Issue-ID: POLICY-4086 Change-Id: I8d49acb66b798104f2cfbdc3765a68af866f9f6a Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2022-06-10Adding runtime-acm to grafana dashboardadheli.tavares4-12/+19
Issue-ID: POLICY-4146 Change-Id: Iecd0cfa1a6e6162bb9a06345dfd12fb8375ae98b Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-03-30CSITs for db-migratorwaynedunican2-0/+39
- 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-24Merge "Added scripts for manual smoke testing"Liam Fallon5-1/+545
2022-03-22Added scripts for manual smoke testingsaul.gill5-1/+545
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-24Merge "Fix CLAMP controlloop CSIT testcases"Liam Fallon5-79/+115
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_Manchikanti5-79/+115
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 Fallon9-29/+96
2022-02-15Add docker configuration for Prometheus and Grafanaadheli.tavares9-29/+96
- 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-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>
2021-12-14PAP CSIT changes for spring boot migrationa.sreekumar2-70/+76
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.gill1-4/+4
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.tavares3-5/+5
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.sreekumar4-1/+112
Change-Id: I06023f9b7555b23b007aadd20e87fb4e59c9980c Issue-ID: POLICY-3709 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-09-30Add http and k8s participant to CSITSirisha_Manchikanti8-171/+188
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 Verma1-0/+137
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.sreekumar8-15/+24
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-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-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-12Update APEX CSIT tests to cover multiple outputsa.sreekumar2-1/+36
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>
2021-07-01Add POLICY-STATISTICS topic to CSITsJim Hahn1-1/+9
Added the topic. Also reduced the heartbeat interval so that statistics will be updated more frequently, reducing the time that some of the tests take. Issue-ID: POLICY-3405 Change-Id: I532a89b3e29884cf19f3a070d725280d9d10b637 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-06-30Fix related to name and statistics changes in CSITa.sreekumar1-0/+1
Change-Id: Iaeaadca083431a8b8df8043f73146fb31a09f3e0 Issue-ID: POLICY-3410 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-06-22Add CSIT for clamp controlloopSirisha_Manchikanti4-1/+171
Add CSIT testcases, scripts and a seperate docker-compose file for integration testing between controlloop components, this involves integration between Mariadb, Dmaap, ControlLoop-Runtime, Policy-Participant, Policy-API and DCAE-Participant docker images. Issue-ID: POLICY-3217 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: Id7cb1451afc4331b4ed1ad1ac6c2528a747eaaa0
2021-06-15Merge "Change container name to simulator in CSITs"Pamela Dragosh2-4/+10
2021-06-14Don't save private keyJim Hahn4-67/+0
GitHub complains if you include a private key in a repo. Modified the CSITs to generate the root CA so that it's private key does not have to be stored. Issue-ID: POLICY-3384 Change-Id: I4bebc3e4b0e386047d7f6fbd19150812cb605899 Signed-off-by: Jim Hahn <jrh3@att.com>