summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2022-06-02Merge "Add Ramesh Murugan Iyer as a committer"Liam Fallon1-0/+8
2022-06-01Add Ramesh Murugan Iyer as a committerliamfallon1-0/+8
Issue-ID: POLICY-4228 Change-Id: Ic3b59d3ccb8bf09514a8425019344480f9d33310 Signed-off-by: liamfallon <liam.fallon@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-05-03Set snapshot and/or references of policy/docker for new releaseliamfallon7-9/+9
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4073 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ibc0b2ea07a80ece136ae81b6dec8bb457fc86fa9 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-27Update snapshot and/or references of policy/docker to latest snapshotsliamfallon7-8/+8
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ib1f5eaf1f685d3789375dc32fce07104fa4faf65
2022-04-26Release docker images for policy/docker: 2.4.3liamfallon1-0/+12
This commit releases docker images for repo policy/docker. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I81b18279cd8818c573a904cba2076eb1d80941a6
2022-04-26update parent references in policy/docker pom2.4.310.0.0-ONAPliamfallon1-1/+1
updated the parent references in the policy/docker pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I94683404c6d0b4378412f077b6f8ef618d5bed66
2022-04-12Update snapshot and/or references of policy/docker to latest snapshotsliamfallon7-8/+8
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Icf8d329eeb1713f6edd6cb94d45015c952b43a98
2022-04-12Release docker images for policy/docker: 2.4.2liamfallon1-0/+12
This commit releases docker images for repo policy/docker. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Iae849e2bec48513cfb66ccefc9ad1fcd83d6b409
2022-04-12update parent references in policy/docker pom2.4.2liamfallon1-1/+1
updated the parent references in the policy/docker pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: If0a1895c5d0c0203bebf2ac99e6f9c1345bb8857
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-28DB migrator fixes after smoke testadheli.tavares13-329/+847
Issue-ID: POLICY-3999 Change-Id: I65d95cbfab4b49245bb68f2ca5067fda9437b531 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
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-24Merge "Add db migrator changes for tosca node templates"Liam Fallon4-0/+80
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 "Fix postgres scripts"Liam Fallon3-3/+3
2022-03-24Merge "Added scripts for manual smoke testing"Liam Fallon12-1/+968
2022-03-23Add db migrator changes for tosca node templatesrameshiyer274-0/+80
Issue-ID: POLICY-3934 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ie59a0658a42fb0ae2a3a289c35df0ffcf30d518e
2022-03-23Fix postgres scriptswaynedunican3-3/+3
Fix for syntax errors in postgres scripts Issue-ID: POLICY-2715 Change-Id: I109056f7ee37b439f914fbd5d1d0ca87df550e4e Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
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-09Update snapshot and/or references of policy/docker to latest snapshotsliamfallon7-8/+8
policy/docker updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I5779febc813b6a2c663c1f2cd863df150f2c9837
2022-03-09Release docker images for policy/docker: 2.4.1liamfallon1-0/+12
This commit releases docker images for repo policy/docker. *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I58560cab0e0ce75f72e46a2ee520959a5484e228
2022-03-09update parent references in policy/docker pom2.4.1liamfallon1-1/+1
updated the parent references in the policy/docker pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I8c34842d1e73e9df4659d0b56c7e0d403cf7457f
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>