summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-21Set snapshot and/or references of policy/docker for new releaseliamfallon8-10/+10
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Id900a74168359265a327fa652d958edc56e15214
2022-10-20Update snapshot and/or references of policy/docker to latest snapshotsliamfallon8-9/+9
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic99f4fe294722c669639aebc362b96b25b1ed07c
2022-10-20Release docker images for policy/docker: 2.5.1liamfallon1-0/+12
This commit releases docker images for repo policy/docker. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I84cf2b5d5e1aec9119575a662bf5528bb4744005
2022-10-20update parent references in policy/docker pom2.5.1liamfallon2-2/+2
updated the parent references in the policy/docker pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I75c221301140aba485a3d80f072be134ce0ec615
2022-10-20Adding Khon as latest db version.adheli.tavares4-0/+80
- no schema changes, adding a simple message for completion. Issue-ID: POLICY-4408 Change-Id: I293278b242cc263443933393ca99eab2bef207be Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-10-19Merge "Extend delay on PAP test to allow undeploy to end"Liam Fallon1-1/+1
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-18OpenSuse docker file for db-migratordanielhanrahan2-0/+66
Create OpenSuse docker file Add build profile for OpenSuse docker image Issue-ID: POLICY-4309 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I80ec31c62096f9aefa2b729a4e024f63d04e62ad
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-26db-migrator SQL compatibility mysql/mariadbjhh5-5/+5
Issue-ID: POLICY-3464 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I6b1fd22062ca4f55c036bc2632307454a1f00840
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-migratorjhh2-1/+6
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-22Update snapshot and/or references of policy/docker to latest snapshotsliamfallon8-9/+9
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I57d1adc21b8fedd6346edd467f524a6849632429
2022-09-22Release docker images for policy/docker: 2.5.0liamfallon1-0/+12
This commit releases docker images for repo policy/docker. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I1f49de3453d55956381da850c3df4bd993286c60
2022-09-22update parent references in policy/docker pom2.5.0liamfallon2-2/+2
updated the parent references in the policy/docker pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I50a42992090a865fc5f78249a2e2258b761ec35d
2022-09-14Change the properties column type to hibernate/postgres match.adheli.tavares5-5/+5
- changing the type to bigint because pap was having side effects errors with the bytea forced cast Issue-ID: POLICY-4352 Change-Id: I368c3ba80fce0c10d9417deee8f9ac25c467d4e3 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2022-09-09Merge "Fix minor issues with CSITs"Liam Fallon6-348/+13
2022-09-09Fix minor issues with CSITsliamfallon6-348/+13
Issue-ID: POLICY-4350 Change-Id: I2bbc47122aa5984fbe3f03edc252ea56e47dba73 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-09Remove inactive committers from INFO.yamlliamfallon1-7/+5
Remove inactive committers from INFO.yaml *** This commit is generated by a PF release script *** Issue-ID: POLICY-4354 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I69e5ad6d76059d3ca16d748fb08fa0bc17f5ad93 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-08Merge "Improve debugging support for CSITs"Liam Fallon27-176/+1466
2022-09-08Build ONAP base image locally on ARM architectureliamfallon1-0/+35
This commit forces a build o the ONAP images locally when a build is run on ARM architecture. Issue-ID: POLICY-4287 Change-Id: I47dd5293ef6bf0051ba074eff2a95d6b3266c871 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-08Improve debugging support for CSITsliamfallon27-176/+1466
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-07Fix casting of lob type on db-migrator for postgres installationadheli.tavares5-5/+5
Issue-ID: POLICY-4352 Change-Id: Ib3aa68a512c1278920a8bdf1ed29914195d0e371 Signed-off-by: adheli.tavares <adheli.tavares@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-09-01Allow setting external dockerfile for db-migratordanielhanrahan1-1/+4
Added maven properties to allow overriding dockerfile during build e.g. mvn clean install -Pdocker -Ddocker.dbm.dockerFile=/path/to/dockerfile Issue-ID: POLICY-4334 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Idb282cd121f5bf4ec91764596a88fb28e3557256
2022-08-29Merge "Added Dashboards for Policy Framework Components"Liam Fallon7-0/+8570
2022-08-22Generate onap images locally on ARM architectureliamfallon4-18/+169
The defailt ONAP base images are generated for X86 64 architecture. On ARM architecture, these base images cannot be used locally because they don't run properly in Docker on ARM architecture. Docker images based on these images are also forced to X86 64 architecure. In order to run the Policy Framework locally on a computer with ARM architecture such as an Apple M1 Macbook, local Docker images should be built that use ARM archtiecture. The changes in this commit introduce a profile in the POMs for the POLICY Framework base images. This profile is triggered only on builds running on ARM architecture. This new profile builds the onap-java and onap-pthon base images on ARM architeclture locally when the build is run on a machine with ARM architecture. - The onap-java base image docker file does not build on ARM architecture becasue its base image (an Alpine version with Java 11 preinstalled). Therefore, for this base image, a Dockerfile is introduced that uses the Alpine base image and adds Java 11. - The onap-python image docker file does build on ARM architecture so the repo is simply checked out and built on ARM architecture Once these ARM based ONAP base images are available locally, the rest of the docker images in the Policy Framework build fine on a machine with ARM architecture, and can be used to run docker-compose compositions such as CSITs. Issue-ID: POLICY-4287 Change-Id: I1938e232f6457f7ad1c18a0952c65fdee04d169b 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-29Update docker base image to snapshotliamfallon1-1/+1
Update docker base image to snapshot *** This commit is generated by a PF release script *** Issue-ID: POLICY-4287 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I55c64b06282fb7fd920924351f2d471d59bcf403
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-15Update parent references on docker filesliamfallon2-2/+2
Issue-ID: POLICY-4287 Change-Id: I9c6c59e264624d35b70b26640c2442f937419527 Signed-off-by: liamfallon <liam.fallon@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-07-01Merge "Update get version script for snapshots"Jorge Hernandez4-31/+88
2022-06-29OCI image spec labels for policy-docker imagesdanielhanrahan7-3/+71
Issue-ID: POLICY-4264 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I8ab51f82a441361b8aa6b5f9aa0b6917ceea5399
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>