policy/docker.git
14 months agoMerge "Add SLA Validations for API"
Liam Fallon [Tue, 14 Mar 2023 09:34:53 +0000 (09:34 +0000)]
Merge "Add SLA Validations for API"

14 months agoFix consolidated health check failure in PAP CSIT 40/133640/1
rameshiyer27 [Tue, 14 Mar 2023 09:14:44 +0000 (09:14 +0000)]
Fix consolidated health check failure in PAP CSIT

Issue-ID: POLICY-4546
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I4e11f3b485b886878d12dc0079d245bf7d75cc0e

14 months agoAdd SLA Validations for API 58/133558/2
waynedunican [Thu, 2 Mar 2023 09:12:44 +0000 (09:12 +0000)]
Add SLA Validations for API

- Add tests for querying policies/policyTypes by version/id
- Add tests for deletion of policies/policyTypes
- Update expected response time

Issue-ID: POLICY-4528
Change-Id: I393383ef8771274501509ee9b3073b3a0ef01b38
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
14 months agoAdd A1pms participant in CSIT helm 16/133616/1
aravind.est [Fri, 10 Mar 2023 12:04:41 +0000 (12:04 +0000)]
Add A1pms participant in CSIT helm

This adds the helm chart for the a1pms participant in CSIT helm folder.

Issue-ID: POLICY-4525
Signed-off-by: aravind.est <aravindhan.a@est.tech>
Change-Id: I2045770de5dc2b9507cd40fd3a488ee352a0acd0

14 months agoMerge "Upgrade helm charts ACM release to 6.4.1 in CSIT"
Jorge Hernandez [Thu, 9 Mar 2023 18:34:44 +0000 (18:34 +0000)]
Merge "Upgrade helm charts ACM release to 6.4.1 in CSIT"

14 months agoMerge "Add kserve participant in CSIT helm"
Jorge Hernandez [Thu, 9 Mar 2023 18:34:06 +0000 (18:34 +0000)]
Merge "Add kserve participant in CSIT helm"

14 months agoAdd kserve participant in CSIT helm 96/133596/1
aravind.est [Thu, 9 Mar 2023 11:27:35 +0000 (11:27 +0000)]
Add kserve participant in CSIT helm

This adds the helm chart for the kserve participant in CSIT helm folder.

Issue-ID: POLICY-4574
Signed-off-by: aravind.est <aravindhan.a@est.tech>
Change-Id: Id4ee4655e115cf48f3266cb06d2cbfd548114a89

14 months agoUpgrade helm charts ACM release to 6.4.1 in CSIT 84/133584/2
FrancescoFioraEst [Tue, 7 Mar 2023 14:38:50 +0000 (14:38 +0000)]
Upgrade helm charts ACM release to 6.4.1 in CSIT

Issue-ID: POLICY-4565
Change-Id: I3118cb3c3d259b731d0c7b59994d0d933fdf9363
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
14 months agoAdd kserve participant in CSIT docker compose 86/133586/1
aravind.est [Wed, 8 Mar 2023 15:57:50 +0000 (15:57 +0000)]
Add kserve participant in CSIT docker compose

Kserve participant added in docker-compose configuration of CSIT.

Issue-ID: POLICY-4574
Signed-off-by: aravind.est <aravindhan.a@est.tech>
Change-Id: I2b25eac7cf9414fc8a4d4bff80d0a2a61ddd6890

14 months agoFix groups.json to have xacml supported policies for CSIT. 74/133574/2
adheli.tavares [Tue, 7 Mar 2023 18:59:55 +0000 (18:59 +0000)]
Fix groups.json to have xacml supported policies for CSIT.

Issue-ID: POLICY-4125
Change-Id: Id0900117f051e560515e1def40e86e144a4f7740
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
14 months agoAdd helm charts for distribution and http-ppnt in CSIT 68/133568/1
rameshiyer27 [Tue, 7 Mar 2023 01:32:28 +0000 (01:32 +0000)]
Add helm charts for distribution and http-ppnt in CSIT

Issue-ID: POLICY-4542
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I18453af111dff7943c65c8b1113df0ded23b6f99

14 months agoFix drools-pdp helm charts to run csit test 29/133529/1
adheli.tavares [Thu, 2 Mar 2023 12:55:19 +0000 (12:55 +0000)]
Fix drools-pdp helm charts to run csit test

Issue-ID: POLICY-4125
Change-Id: I50ad9e44081faf52744dbb6fd491980225a3a754
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
14 months agoNew Test Development 55/133455/4
adheli.tavares [Tue, 28 Feb 2023 12:59:37 +0000 (12:59 +0000)]
New Test Development

- api, pap (except consolidated HC), apex and acm runtime passing
on both docker and helm environment
- other simulators exposed on simulator service
- topics are checked on test with robot http support
- apex temp engine port exposed
- xacml readiness added

Issue-ID: POLICY-4125
Change-Id: I39ee8c38e70dd3a4ad26ba69d7c62e61a211469e
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
14 months agoMerge "Add helm charts for drools,xacml pdps"
Liam Fallon [Wed, 1 Mar 2023 09:38:05 +0000 (09:38 +0000)]
Merge "Add helm charts for drools,xacml pdps"

14 months agoMerge "Add SLA validations to API"
Liam Fallon [Wed, 1 Mar 2023 09:36:34 +0000 (09:36 +0000)]
Merge "Add SLA validations to API"

14 months agoUpdate snapshot and/or references of policy/docker to latest snapshots 53/133453/2
saul.gill [Tue, 28 Feb 2023 13:30:45 +0000 (13:30 +0000)]
Update snapshot and/or references of policy/docker to latest snapshots

policy/docker updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4570
Signed-off-by: saul.gill <saul.gill@est.tech>
Change-Id: Ie7cebf3963d13081b4ec1c31e454c7026370aef3
Signed-off-by: saul.gill <saul.gill@est.tech>
14 months agoRelease docker images for policy/docker: 2.6.1 51/133451/1
saul.gill [Tue, 28 Feb 2023 12:57:56 +0000 (12:57 +0000)]
Release docker images for policy/docker: 2.6.1

This commit releases docker images for repo policy/docker.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4570
Signed-off-by: saul.gill <saul.gill@est.tech>
Change-Id: Ib7db310517aac4c4202277f562c44883c799bbb8

14 months agoupdate parent references in policy/docker pom 46/133446/1 2.6.1
saul.gill [Tue, 28 Feb 2023 11:58:30 +0000 (11:58 +0000)]
update parent references in policy/docker pom

updated the parent references in the policy/docker pom

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4570
Signed-off-by: saul.gill <saul.gill@est.tech>
Change-Id: I527246c9df1f9dcd34a1d2c31301e39650fdc598

14 months agoAdd helm charts for drools,xacml pdps 21/133421/2
rameshiyer27 [Thu, 23 Feb 2023 10:42:55 +0000 (10:42 +0000)]
Add helm charts for drools,xacml pdps

Robot test files will be included in a common directory as part of the CSIT refactoring work.

Issue-ID: POLICY-4542
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I0915bb9801d483a9ce382a8c6978de6138c86d72

14 months agoAdd SLA validations to API 05/133405/2
waynedunican [Fri, 24 Feb 2023 08:44:58 +0000 (08:44 +0000)]
Add SLA validations to API

Issue-ID: POLICY-4528
Change-Id: I517cb477bbccb36d5e2000b60450a2c015d4940b
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
14 months agoRestructure of csit files to be used both by docker and k8s config 82/133382/2
adheli.tavares [Fri, 17 Feb 2023 15:14:07 +0000 (15:14 +0000)]
Restructure of csit files to be used both by docker and k8s config

Issue-ID: POLICY-4125
Change-Id: Id63b3badb1b451b36e3226970dcafaa5a62d860f
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
14 months agoMerge "Add volume mount for storing k8s robot logs to the host"
Ram Krishna Verma [Tue, 21 Feb 2023 15:15:21 +0000 (15:15 +0000)]
Merge "Add volume mount for storing k8s robot logs to the host"

14 months agoMerge "Remove integration base images from PF base images"
Ramesh Murugan Iyer [Fri, 17 Feb 2023 16:40:09 +0000 (16:40 +0000)]
Merge "Remove integration base images from PF base images"

15 months agoAdd volume mount for storing k8s robot logs to the host 57/133257/2
rameshiyer27 [Tue, 14 Feb 2023 17:52:49 +0000 (17:52 +0000)]
Add volume mount for storing k8s robot logs to the host

Issue-ID: POLICY-4546
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I498aa9db39d6b04e685a893c9bca41c6bb108265

15 months agoAdd SLAs validations to docker csit robot tests 16/133216/4
adheli.tavares [Thu, 9 Feb 2023 11:56:27 +0000 (11:56 +0000)]
Add SLAs validations to docker csit robot tests

Issue-ID: POLICY-4529
Change-Id: I197a51892e9135d20c2e8a49ce7787df3bfbd4fa
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
15 months agoRemove integration base images from PF base images 45/133245/2
liamfallon [Tue, 14 Feb 2023 11:20:40 +0000 (11:20 +0000)]
Remove integration base images from PF base images

The Docker base image from the integration project is now unmaintained.
We replace the Integration base image by updating our own base image to
work directly off Alpine.

Issue-ID: POLICY-4558
Change-Id: I00097cede2536c88ade3f318479eab309695b41e
Signed-off-by: liamfallon <liam.fallon@est.tech>
15 months agoRefactor CSITs to use exposed ports 28/133228/6
liamfallon [Fri, 10 Feb 2023 22:01:43 +0000 (22:01 +0000)]
Refactor CSITs to use exposed ports

The CSITs were using the ports in the Docker environment directly. This
commit changes the CSITs to use published ports.

Issue-ID: POLICY-4533
Change-Id: I17d60c8bceae71f1bf2175dcb6addf032f14a899
Signed-off-by: liamfallon <liam.fallon@est.tech>
15 months agoMerge "Fix test failures in K8s CSIT"
Liam Fallon [Fri, 10 Feb 2023 23:38:01 +0000 (23:38 +0000)]
Merge "Fix test failures in K8s CSIT"

15 months agoMerge "Add scripts to automate S3P tests"
Ram Krishna Verma [Fri, 10 Feb 2023 18:59:20 +0000 (18:59 +0000)]
Merge "Add scripts to automate S3P tests"

15 months agoFix test failures in K8s CSIT 21/133221/3
rameshiyer27 [Thu, 9 Feb 2023 14:46:18 +0000 (14:46 +0000)]
Fix test failures in K8s CSIT

Apex-pdp - Add json response files, update sim hostnames
Api,Pap  - Update context paths for prometheus metrics
Print console logs of test execution

Issue-ID: POLICY-4546
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I1bed6e4077c7e52b986bcb927204819ec0d95d99

15 months agoMerge "Add sequence tables for Hibernate"
Liam Fallon [Thu, 9 Feb 2023 15:02:20 +0000 (15:02 +0000)]
Merge "Add sequence tables for Hibernate"

15 months agoAdd sequence tables for Hibernate 14/133214/4
liamfallon [Thu, 9 Feb 2023 11:11:55 +0000 (11:11 +0000)]
Add sequence tables for Hibernate

Hibernate does not allow the same sequence table to be used for more
than one sequence number generator JPA class.

Issue-ID: POLICY-4533
Change-Id: If7e70164a5da7e0678aeb192d563bafc213f8bb6
Signed-off-by: liamfallon <liam.fallon@est.tech>
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
15 months agoImprove MariaDB Sqls for db-migrator tool 90/133190/2
adheli.tavares [Wed, 8 Feb 2023 09:24:26 +0000 (09:24 +0000)]
Improve MariaDB Sqls for db-migrator tool

Issue-ID: POLICY-4549
Change-Id: I4a1cd6514ae8025726ca015081632633ea49361a
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
15 months agoMerge "Fix robot failures in kubernetes CSITs"
Liam Fallon [Wed, 8 Feb 2023 09:05:32 +0000 (09:05 +0000)]
Merge "Fix robot failures in kubernetes CSITs"

15 months agoAdd scripts to automate S3P tests 68/133168/3
waynedunican [Wed, 25 Jan 2023 08:47:15 +0000 (08:47 +0000)]
Add scripts to automate S3P tests

- Add script to setup k8s cluster, install JMeter and run S3P tests
- Add script to alter the installed cluster to work towards the S3P test plans

Issue-ID: POLICY-4156
Change-Id: I966055c8ff41025033b5b6435c42508bc3377371
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
15 months agoFix robot failures in kubernetes CSITs 70/133170/2
rameshiyer27 [Wed, 1 Feb 2023 15:06:45 +0000 (15:06 +0000)]
Fix robot failures in kubernetes CSITs

Api, Pap, Clamp configurations are fixed
Update Readiness containers as a list entity to wait for more than one component.

Issue-ID: POLICY-4546
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I8598ddc01905b072edd9eb3030a83d3d806a14eb

15 months agoAdd configurations to run SLAs validations on CSITs 12/133112/2
adheli.tavares [Thu, 2 Feb 2023 08:44:51 +0000 (08:44 +0000)]
Add configurations to run SLAs validations on CSITs

Issue-ID: POLICY-4531
Change-Id: Idf69fe888828fabd4ec0cd3c18fea7aff96caac8
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
15 months agoAdd robot framework helm chart for CSIT 21/133021/2
rameshiyer27 [Mon, 23 Jan 2023 11:50:01 +0000 (11:50 +0000)]
Add robot framework helm chart for CSIT

Steps to run policy csit in kubernetes is updated in the README.md

Issue-ID: POLICY-4532
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I116658dfafd4e70bd256173f046da72af6803eaa

15 months agoMake API context path configurable in CSITs 78/132978/2
liamfallon [Mon, 23 Jan 2023 09:52:24 +0000 (09:52 +0000)]
Make API context path configurable in CSITs

Issue-ID: POLICY-4143
Change-Id: I17010b16b03a002130b5a8d619f561c9deab19c8
Signed-off-by: liamfallon <liam.fallon@est.tech>
15 months agoFix context paths in CSITs 54/132954/3
liamfallon [Thu, 19 Jan 2023 15:30:30 +0000 (15:30 +0000)]
Fix context paths in CSITs

THe context path for API and PAP is now configurable.

Issue-ID: POLICY-4482
Change-Id: If6b53c8163cc9f377005a665eca7cb6c146156af
Signed-off-by: liamfallon <liam.fallon@est.tech>
16 months agoMerge "Add CSIT helm charts for policy"
Liam Fallon [Fri, 13 Jan 2023 17:31:40 +0000 (17:31 +0000)]
Merge "Add CSIT helm charts for policy"

16 months agoFix metrics calculations for engine uptime 11/132911/1
adheli.tavares [Fri, 13 Jan 2023 09:14:23 +0000 (09:14 +0000)]
Fix metrics calculations for engine uptime
and remove unused variables.

Issue-ID: POLICY-4147
Change-Id: I09996770cdb3571c48f51bc0ee1b04094a3112b1
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
16 months agoAdd CSIT helm charts for policy 01/132901/1
rameshiyer27 [Wed, 11 Jan 2023 17:02:00 +0000 (17:02 +0000)]
Add CSIT helm charts for policy

Added helm charts for api, pap, apex-pdp and policy-participant.

Issue-ID: POLICY-4457
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I10d721d17d773b3226dbd0473c3d55dae3be42a4

16 months agoMerge "Adding apex-pdp metrics to SLAs dashboard."
Liam Fallon [Tue, 10 Jan 2023 16:03:12 +0000 (16:03 +0000)]
Merge "Adding apex-pdp metrics to SLAs dashboard."

16 months agoMerge "Add helm charts for policy CSIT"
Liam Fallon [Tue, 10 Jan 2023 16:02:46 +0000 (16:02 +0000)]
Merge "Add helm charts for policy CSIT"

16 months agoAdding apex-pdp metrics to SLAs dashboard. 85/132885/1
adheli.tavares [Mon, 9 Jan 2023 11:28:25 +0000 (11:28 +0000)]
Adding apex-pdp metrics to SLAs dashboard.

Issue-ID: POLICY-4147
Change-Id: I8ae2d5f63fe36a436578c677af3252fbfe151805
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
16 months agoAdd helm charts for policy CSIT 77/132777/6
rameshiyer27 [Mon, 14 Nov 2022 06:00:12 +0000 (06:00 +0000)]
Add helm charts for policy CSIT

Added script run-k8s-csit.sh to spin and delete kubernetes cluster in Microk8s.
Added helm charts for mariadb, k8s-participant, runtime-acm and dmaap-simulator.

Issue-ID: POLICY-4457
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I456cb7f291d116dbd5b68a067171214a0e08fb37

16 months agoUpdate on SLA metrics dashboard to reflect deployment stats 28/132728/4
adheli.tavares [Thu, 15 Dec 2022 10:15:08 +0000 (10:15 +0000)]
Update on SLA metrics dashboard to reflect deployment stats

Issue-ID: POLICY-4469
Change-Id: Ide93bd46e8452ddc7453b8ad8347cea6ec0144ac
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
16 months agoTemporarily disable ACM CSITs 15/132815/1
saul.gill [Tue, 20 Dec 2022 16:24:05 +0000 (16:24 +0000)]
Temporarily disable ACM CSITs

Healthcheck CSIT added
Other CSITs disabled while ACM updates are ongoing

Issue-ID: POLICY-4490
Change-Id: I3f8b4ca0f686fe979228004922e4c79154bb28b4
Signed-off-by: saul.gill <saul.gill@est.tech>
16 months agoChanges for H2 database upgrade 96/132796/3
liamfallon [Sun, 18 Dec 2022 02:24:07 +0000 (02:24 +0000)]
Changes for H2 database upgrade

The latest verison of H2 does not allow colums called "user" or indexes
using an underscore in their name.

Issue-ID: POLICY-4488
Change-Id: I632f0715d597da1d306002e6079efc98bba0487f
Signed-off-by: liamfallon <liam.fallon@est.tech>
17 months agoFix clamp CSITs for master 45/132745/2
saul.gill [Thu, 15 Dec 2022 08:51:09 +0000 (08:51 +0000)]
Fix clamp CSITs for master

CSIT fails due to new composition endpoint structure
Altering CSIT spec to reflect changes

Issue-ID: POLICY-4485
Change-Id: I942c18564a9c2c82676e3f269a736103f5c74d14
Signed-off-by: saul.gill <saul.gill@est.tech>
17 months agoUpdate snapshot and/or references of policy/docker to latest snapshots 33/132733/1
liamfallon [Thu, 15 Dec 2022 11:04:53 +0000 (11:04 +0000)]
Update snapshot and/or references of policy/docker to latest snapshots

policy/docker updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Id9c0499baef561e5c48688c5071d07f4f2d08c3a

17 months agoRelease docker images for policy/docker: 2.6.0 30/132730/1
liamfallon [Thu, 15 Dec 2022 10:33:27 +0000 (10:33 +0000)]
Release docker images for policy/docker: 2.6.0

This commit releases docker images for repo policy/docker.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I08e0ee5b561c7863dcde6b2dedcb96a6fd78067b

17 months agoupdate parent references in policy/docker pom 26/132726/1 2.6.0
liamfallon [Thu, 15 Dec 2022 09:58:00 +0000 (09:58 +0000)]
update parent references in policy/docker pom

updated the parent references in the policy/docker pom

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ied0e7cb66a66220b4566a5a7f4d9f026f128a177

17 months agoAdd A1PMS participant in CSIT 42/132542/3
aravind.est [Thu, 1 Dec 2022 07:54:35 +0000 (07:54 +0000)]
Add A1PMS participant in CSIT

Issue-ID: CCSDK-3816
Signed-off-by: aravind.est <aravindhan.a@est.tech>
Change-Id: Ic5b49f6e4b3ca1652cf33efc0adfab9d0c754821

17 months agoFix clamp CSIT failures 69/132569/1
aravind.est [Fri, 2 Dec 2022 12:57:22 +0000 (12:57 +0000)]
Fix clamp CSIT failures

Issue-ID: CCSDK-3816
Change-Id: I56360db410cf3daa6ba5acae43fee9be580b6f88
Signed-off-by: aravind.est <aravindhan.a@est.tech>
17 months agoMove git-commit-id-maven-plugin to parent pom 62/132462/1
danielhanrahan [Fri, 25 Nov 2022 14:39:50 +0000 (14:39 +0000)]
Move git-commit-id-maven-plugin to parent pom

The POM config for git-commit-id-maven-plugin is duplicated in each
repo, so the config is moved to policy/parent

Issue-ID: POLICY-4466
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I840092730d026e10f1e8b6464757ceef98a28eba

17 months agoFix CSIT failures 17/132417/2
adheli.tavares [Wed, 23 Nov 2022 11:01:10 +0000 (11:01 +0000)]
Fix CSIT failures

- 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>
18 months agoSet snapshot and/or references of policy/docker for new release 92/131692/1
liamfallon [Fri, 21 Oct 2022 16:31:11 +0000 (17:31 +0100)]
Set snapshot and/or references of policy/docker for new release

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

18 months agoUpdate snapshot and/or references of policy/docker to latest snapshots 15/131615/1
liamfallon [Thu, 20 Oct 2022 19:11:54 +0000 (20:11 +0100)]
Update snapshot and/or references of policy/docker to latest snapshots

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

18 months agoRelease docker images for policy/docker: 2.5.1 12/131612/1
liamfallon [Thu, 20 Oct 2022 18:28:32 +0000 (19:28 +0100)]
Release docker images for policy/docker: 2.5.1

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

18 months agoupdate parent references in policy/docker pom 02/131602/1 2.5.1
liamfallon [Thu, 20 Oct 2022 14:53:15 +0000 (15:53 +0100)]
update parent references in policy/docker pom

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

18 months agoAdding Khon as latest db version. 91/131591/1
adheli.tavares [Thu, 20 Oct 2022 13:34:53 +0000 (14:34 +0100)]
Adding Khon as latest db version.

- 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>
18 months agoMerge "Extend delay on PAP test to allow undeploy to end"
Liam Fallon [Wed, 19 Oct 2022 15:08:47 +0000 (15:08 +0000)]
Merge "Extend delay on PAP test to allow undeploy to end"

18 months agoExtend delay on PAP test to allow undeploy to end 54/131554/2
liamfallon [Wed, 19 Oct 2022 12:48:17 +0000 (13:48 +0100)]
Extend delay on PAP test to allow undeploy to end

Issue-ID: POLICY-4393
Change-Id: I847a9bceec748e757dc7b05ce0228c6912308c9c
Signed-off-by: liamfallon <liam.fallon@est.tech>
18 months agoOpenSuse docker file for db-migrator 41/131541/2
danielhanrahan [Tue, 18 Oct 2022 12:20:13 +0000 (13:20 +0100)]
OpenSuse docker file for db-migrator

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

18 months agoFix CSITs for Kohn release 34/131534/1
liamfallon [Tue, 18 Oct 2022 13:04:06 +0000 (14:04 +0100)]
Fix CSITs for Kohn release

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>
19 months agoFix CSIT failure in CLAMP, API and PAP tests 53/131453/4
rameshiyer27 [Wed, 12 Oct 2022 13:58:43 +0000 (14:58 +0100)]
Fix CSIT failure in CLAMP, API and PAP tests

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

19 months agoTrack configurable parameters in CSITs 54/131354/1
jhh [Sat, 1 Oct 2022 17:55:53 +0000 (12:55 -0500)]
Track configurable parameters in CSITs

Issue-ID: POLICY-3464
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I5cc0445eb811bb584bc29342157874eec04b9777

19 months agodb-migrator SQL compatibility mysql/mariadb 95/131195/1
jhh [Mon, 26 Sep 2022 16:21:11 +0000 (11:21 -0500)]
db-migrator SQL compatibility mysql/mariadb

Issue-ID: POLICY-3464
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I6b1fd22062ca4f55c036bc2632307454a1f00840

19 months agoMerge "Support onap..tcagen2 v2.0.0 and mysql 8.x"
Ramesh Murugan Iyer [Mon, 26 Sep 2022 05:22:42 +0000 (05:22 +0000)]
Merge "Support onap..tcagen2 v2.0.0 and mysql 8.x"

19 months agoAllow for mysql command flags in db-migrator 49/131149/1
jhh [Fri, 23 Sep 2022 13:32:21 +0000 (08:32 -0500)]
Allow for mysql command flags in db-migrator

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

19 months agoSupport onap..tcagen2 v2.0.0 and mysql 8.x 45/130345/8
jhh [Thu, 18 Aug 2022 00:20:27 +0000 (19:20 -0500)]
Support onap..tcagen2 v2.0.0 and mysql 8.x

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>
19 months agoUpdate snapshot and/or references of policy/docker to latest snapshots 00/131100/1
liamfallon [Thu, 22 Sep 2022 18:28:26 +0000 (19:28 +0100)]
Update snapshot and/or references of policy/docker to latest snapshots

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

19 months agoRelease docker images for policy/docker: 2.5.0 97/131097/1
liamfallon [Thu, 22 Sep 2022 16:53:46 +0000 (17:53 +0100)]
Release docker images for policy/docker: 2.5.0

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

19 months agoupdate parent references in policy/docker pom 87/131087/1 2.5.0
liamfallon [Thu, 22 Sep 2022 13:34:34 +0000 (14:34 +0100)]
update parent references in policy/docker pom

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

20 months agoChange the properties column type to hibernate/postgres match. 49/130949/1
adheli.tavares [Wed, 14 Sep 2022 19:34:03 +0000 (20:34 +0100)]
Change the properties column type to hibernate/postgres match.

- 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>
20 months agoMerge "Fix minor issues with CSITs"
Liam Fallon [Fri, 9 Sep 2022 13:12:47 +0000 (13:12 +0000)]
Merge "Fix minor issues with CSITs"

20 months agoFix minor issues with CSITs 18/130818/8
liamfallon [Thu, 8 Sep 2022 23:18:33 +0000 (00:18 +0100)]
Fix minor issues with CSITs

Issue-ID: POLICY-4350
Change-Id: I2bbc47122aa5984fbe3f03edc252ea56e47dba73
Signed-off-by: liamfallon <liam.fallon@est.tech>
20 months agoRemove inactive committers from INFO.yaml 23/130823/1
liamfallon [Fri, 9 Sep 2022 08:59:23 +0000 (09:59 +0100)]
Remove inactive committers from INFO.yaml

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>
20 months agoMerge "Improve debugging support for CSITs"
Liam Fallon [Thu, 8 Sep 2022 21:24:26 +0000 (21:24 +0000)]
Merge "Improve debugging support for CSITs"

20 months agoBuild ONAP base image locally on ARM architecture 16/130816/1
liamfallon [Thu, 8 Sep 2022 16:32:59 +0000 (17:32 +0100)]
Build ONAP base image locally on ARM architecture

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>
20 months agoImprove debugging support for CSITs 02/130802/5
liamfallon [Thu, 8 Sep 2022 08:56:47 +0000 (09:56 +0100)]
Improve debugging support for CSITs

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>
20 months agoFixed Negative Heap Memory on Grafana Chart 05/130505/3
brunomilitzer [Tue, 30 Aug 2022 08:47:02 +0000 (09:47 +0100)]
Fixed Negative Heap Memory on Grafana Chart

- 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>
20 months agoFix casting of lob type on db-migrator for postgres installation 80/130780/2
adheli.tavares [Wed, 7 Sep 2022 12:02:06 +0000 (13:02 +0100)]
Fix casting of lob type on db-migrator for postgres installation

Issue-ID: POLICY-4352
Change-Id: Ib3aa68a512c1278920a8bdf1ed29914195d0e371
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
20 months agoEnsure robot framework is installed for CSITs 73/130773/3
liamfallon [Wed, 7 Sep 2022 08:16:11 +0000 (09:16 +0100)]
Ensure robot framework is installed for CSITs

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>
20 months agoConvert CSIT tests to use HTTP rather than HTTPS 24/130624/8
liamfallon [Thu, 1 Sep 2022 11:05:47 +0000 (12:05 +0100)]
Convert CSIT tests to use HTTP rather than HTTPS

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>
20 months agoAllow setting external dockerfile for db-migrator 46/130646/1
danielhanrahan [Thu, 1 Sep 2022 14:17:18 +0000 (15:17 +0100)]
Allow setting external dockerfile for db-migrator

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

20 months agoMerge "Added Dashboards for Policy Framework Components"
Liam Fallon [Mon, 29 Aug 2022 07:24:22 +0000 (07:24 +0000)]
Merge "Added Dashboards for Policy Framework Components"

20 months agoGenerate onap images locally on ARM architecture 82/130082/2
liamfallon [Sun, 31 Jul 2022 18:12:28 +0000 (19:12 +0100)]
Generate onap images locally on ARM architecture

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>
21 months agoAdded Dashboards for Policy Framework Components 66/130266/4
brunomilitzer [Thu, 11 Aug 2022 15:16:57 +0000 (16:16 +0100)]
Added Dashboards for Policy Framework Components

Issue-ID: POLICY-3967
Change-Id: I33f135da7dc49dc10b42902d96d8da21db36d19b
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
21 months agoUpdate docker base image to snapshot 65/130065/1
liamfallon [Fri, 29 Jul 2022 14:25:30 +0000 (15:25 +0100)]
Update docker base image to snapshot

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

21 months agoUpdating python dependency to stop the timeout 32/130032/4
brunomilitzer [Tue, 26 Jul 2022 13:26:43 +0000 (14:26 +0100)]
Updating python dependency to stop the timeout

Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
Issue-ID: POLICY-4288
Change-Id: Ie7526356fad59de167d8c376da4d48feda07e0b3
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
22 months agoUpdate parent references on docker files 55/129955/1
liamfallon [Fri, 15 Jul 2022 13:57:36 +0000 (14:57 +0100)]
Update parent references on docker files

Issue-ID: POLICY-4287
Change-Id: I9c6c59e264624d35b70b26640c2442f937419527
Signed-off-by: liamfallon <liam.fallon@est.tech>
22 months agoMove policy-gui CSIT config files 26/129926/4
liamfallon [Thu, 14 Jul 2022 12:29:58 +0000 (13:29 +0100)]
Move policy-gui CSIT config files

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>
22 months agoMerge "Update get version script for snapshots"
Jorge Hernandez [Fri, 1 Jul 2022 16:00:21 +0000 (16:00 +0000)]
Merge "Update get version script for snapshots"

22 months agoOCI image spec labels for policy-docker images 17/129717/1
danielhanrahan [Tue, 28 Jun 2022 16:39:32 +0000 (17:39 +0100)]
OCI image spec labels for policy-docker images

Issue-ID: POLICY-4264
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I8ab51f82a441361b8aa6b5f9aa0b6917ceea5399

22 months agoUpdate get version script for snapshots 03/129703/3
liamfallon [Tue, 28 Jun 2022 14:55:29 +0000 (15:55 +0100)]
Update get version script for snapshots

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>
22 months agoDuplicate volume mount for drools-apps in CSIT 69/129669/3
danielhanrahan [Thu, 23 Jun 2022 10:48:09 +0000 (11:48 +0100)]
Duplicate volume mount for drools-apps in CSIT

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

22 months agoMerge "SLA dashboard added to grafana setup"
Jorge Hernandez [Thu, 23 Jun 2022 19:46:26 +0000 (19:46 +0000)]
Merge "SLA dashboard added to grafana setup"