policy/docker.git
22 months agoRemove statistics from csit tests 41/135741/1
Ram Krishna Verma [Wed, 12 Jul 2023 16:03:55 +0000 (12:03 -0400)]
Remove statistics from csit tests

Removing the db based statistics tests from csit first,
so that later when we remove the actual code from repos
the builds are not affected.

Issue-ID: POLICY-4109
Change-Id: If21ffe93f000e605e4f7690cfc4e7986346fe67f
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
(cherry picked from commit 0fbd752b37e66a06fe419ba7d607d786f5bf8582)

22 months agoUpdate the liveness/readiness timeout in Docker helm charts 38/135738/1
FrancescoFioraEst [Tue, 11 Jul 2023 08:49:01 +0000 (09:49 +0100)]
Update the liveness/readiness timeout in Docker helm charts

Issue-ID: POLICY-4763
Change-Id: Idefc3f4f282d98fd17de4d2def739f5115b90802
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
(cherry picked from commit b860fd6d80ae11ff6dbf17f077b78303a6f4f969)

22 months agoFix ACM OFF_LINE issue in microk8s environment 34/135734/1
FrancescoFioraEst [Tue, 18 Jul 2023 14:08:13 +0000 (15:08 +0100)]
Fix ACM OFF_LINE issue in microk8s environment

Issue-ID: POLICY-4770
Change-Id: I9722a2d863af9fd763aa72e339679f45a93d7850
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
(cherry picked from commit 4e2f85fc36d6ae3d88f867990b03d12e09bfb5ef)

22 months agoFix docker config for participant offline issue 33/135733/1
rameshiyer27 [Mon, 24 Jul 2023 09:46:25 +0000 (10:46 +0100)]
Fix docker config for participant offline issue

Issue-ID: POLICY-4770
Signed-off-by: rameshiyer <ramesh.murugan.iyer@est.tech>
Change-Id: I18c43fd8cf613367794c3ddf27e32437e64193ed
(cherry picked from commit f966d179d4ba10550ad053de07aca394117e0151)

22 months agoCreate Java 17 base images. 96/135496/2
adheli.tavares [Tue, 18 Jul 2023 11:04:20 +0000 (12:04 +0100)]
Create Java 17 base images.

Issue-ID: POLICY-4667
Change-Id: I4133b1f445a4c8ec64173310cf236befa34f6be5
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
23 months agoMake update to allow local image to be used in Nordix 47/135247/2
rameshiyer27 [Wed, 28 Jun 2023 11:15:14 +0000 (12:15 +0100)]
Make update to allow local image to be used in Nordix

Change-Id: I6be9de1afa529c0d6f20ecfd594a1b48a45b543a
Issue-ID: POLICY-4647
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
23 months agoFix clamp CSIT failure 96/135196/1
waynedunican [Tue, 27 Jun 2023 12:30:17 +0000 (13:30 +0100)]
Fix clamp CSIT failure

- Disable SSL and Https in participant simulator

Issue-ID: POLICY-4738
Change-Id: Ic33e54020ead216410770c4f1cbe5204def02c59
Signed-off-by: waynedunican <wayne.dunican@est.tech>
23 months agoAdd participant simulator to docker-compose.yml 84/135184/1
waynedunican [Tue, 27 Jun 2023 08:12:00 +0000 (09:12 +0100)]
Add participant simulator to docker-compose.yml

Issue-ID: POLICY-4738
Change-Id: I76a01fed165b7d39c00be7a56f9627818e14df33
Signed-off-by: waynedunican <wayne.dunican@est.tech>
23 months agoFix CSIT failure in clamp. 53/135053/2
rameshiyer27 [Wed, 21 Jun 2023 14:11:22 +0000 (15:11 +0100)]
Fix CSIT failure in clamp.

ACM uninstantiate Api response was changed to 202 from 200. Test case updated.

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

2 years agoSupport using local images for k8s CSIT 05/134705/2
rameshiyer27 [Fri, 26 May 2023 16:58:39 +0000 (17:58 +0100)]
Support using local images for k8s CSIT

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

2 years agoSet all cross references of policy/docker 60/134660/1
liamfallon [Thu, 25 May 2023 09:46:29 +0000 (10:46 +0100)]
Set all cross references of policy/docker

policy/docker updated with correct cross references

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

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

2 years agoSet snapshot and/or references of policy/docker for new release 46/134646/1
liamfallon [Thu, 25 May 2023 08:40:50 +0000 (09:40 +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-4662
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I35fcba9154ad884a1980e1c6c921f5384b2f259b

2 years agoFixed versions for all python libs used for CSIT testing. 63/134563/3
adheli.tavares [Fri, 12 May 2023 13:19:50 +0000 (14:19 +0100)]
Fixed versions for all python libs used for CSIT testing.

- some libs from pylibs.txt are incompatible with the latest pip
and setuptools, so now it's fixed at version 23 or lower and
66 or lower, respectively.

Issue-ID: POLICY-4680
Change-Id: I3214f91e9e0eeec2991fb505b5da81f1d6a427ca
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2 years agoKeep policy installation after running test. 95/134495/3
adheli.tavares [Mon, 8 May 2023 07:46:14 +0000 (08:46 +0100)]
Keep policy installation after running test.

As k8s tests are not running in jenkins, the uninstall of a policy
component is not necessary, so the environment can be use without
having to start the whole deployment.

Issue-ID: POLICY-4626
Change-Id: Id36505cbed99a80d24c30827222945b4ca12cf12
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2 years agoFix Apex-PDP postgres CSIT failures 09/134509/2
waynedunican [Tue, 9 May 2023 08:49:07 +0000 (09:49 +0100)]
Fix Apex-PDP postgres CSIT failures

- Fix APEX_EVENTS_PORT variable
- Bring up promethues

Issue-ID: POLICY-4645
Change-Id: Ief2627d910f86796b42e9a8a289e12564b8c83a0
Signed-off-by: waynedunican <wayne.dunican@est.tech>
2 years agoEnable ACM tests in K8s CSIT 21/134021/11
rameshiyer27 [Wed, 5 Apr 2023 12:47:15 +0000 (13:47 +0100)]
Enable ACM tests in K8s CSIT

Moved all the image references to the parent chart.
Updating the latest image tags during installation.
Disabling charts by default and enabling only the project specific ones.

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

2 years agoAdd Adheli Tavares as a committer 07/134407/2
liamfallon [Tue, 2 May 2023 11:10:21 +0000 (12:10 +0100)]
Add Adheli Tavares as a committer

Add Adheli Tavares as a committer

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

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

2 years agoMerge "Add postgres CSIT tests for Apex-PDP"
Liam Fallon [Tue, 2 May 2023 10:40:48 +0000 (10:40 +0000)]
Merge "Add postgres CSIT tests for Apex-PDP"

2 years agoAdd postgres CSIT tests for Apex-PDP 15/134315/2
waynedunican [Tue, 25 Apr 2023 08:17:16 +0000 (09:17 +0100)]
Add postgres CSIT tests for Apex-PDP

Issue-ID: POLICY-4645
Change-Id: Ia3aa4bd9f6b6852a35a60c380a1a573390838034
Signed-off-by: waynedunican <wayne.dunican@est.tech>
2 years agoUpdate snapshot and/or references of policy/docker to latest snapshots 07/134307/1
rameshiyer27 [Mon, 24 Apr 2023 15:03:19 +0000 (16:03 +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-4648
Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
Change-Id: Iea14df61ba745fa3121b7b51fa4f8d419695fdce

2 years agoRelease docker images for policy/docker: 2.6.2 01/134301/1
rameshiyer27 [Mon, 24 Apr 2023 14:25:13 +0000 (15:25 +0100)]
Release docker images for policy/docker: 2.6.2

This commit releases docker images for repo policy/docker.

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

Issue-ID: POLICY-4648
Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
Change-Id: I588e67620ebb24eac4e7c597ab7af0fcd8395d63

2 years agoupdate parent references in policy/docker pom 97/134297/1 2.6.2
rameshiyer27 [Mon, 24 Apr 2023 13:51:17 +0000 (14:51 +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-4648
Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
Change-Id: If877a16fa939c09cca335e2f3c3343cc44f335c6

2 years agoFix postgres sql syntax errors 41/134241/2
waynedunican [Wed, 19 Apr 2023 16:15:51 +0000 (17:15 +0100)]
Fix postgres sql syntax errors

Issue-ID: POLICY-4649
Change-Id: I96bb55ddadae9449f5cb115dd294bf7630b93fcc
Signed-off-by: waynedunican <wayne.dunican@est.tech>
2 years agoAdd CSIT for ACM in docker 02/134102/1
rameshiyer27 [Sun, 2 Apr 2023 23:57:58 +0000 (00:57 +0100)]
Add CSIT for ACM in docker

Included policy particiant tests in docker.
Http and Kubernetes will be tested in kubernetes env.

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

2 years agoFix drools-pdp and applications mismatch names on docker compose x config folder 31/134031/1
adheli.tavares [Thu, 6 Apr 2023 08:38:10 +0000 (09:38 +0100)]
Fix drools-pdp and applications mismatch names on docker compose x config folder

Issue-ID: POLICY-4125
Change-Id: Ic63e99f19f46e494895e64525b2d9413e901bef6
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2 years agoImprovements to scripts and test configuration 03/133703/9
adheli.tavares [Thu, 16 Mar 2023 16:31:11 +0000 (16:31 +0000)]
Improvements to scripts and test configuration

- reduced csit image for k8s test from 1gb to 230mb
- fixed some small hindrances with start-compose.sh
- added README for how to use and configure compose script
- cleaning of Chart.lock as it fails helm install if outdated even
after running helm dependencies update

Issue-ID: POLICY-4125
Change-Id: If1711523bb836c212f27a032a46cc18d68766478
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2 years agoAdd SLA Validations for Apex-PDP 84/133484/9
waynedunican [Wed, 1 Mar 2023 09:07:31 +0000 (09:07 +0000)]
Add SLA Validations for Apex-PDP

- Add multiple apex microservice SLA tests
- Add single instance apex SLA tests
- Single instance SLA tests to be ran as part of CSIT runs
- Multiple microservice will not be ran as part of CSITs due to high resource consumption
- Multiple microservice SLA test results can be found in the linked JIRA
- Added setup scripts for multiple instance SLA tests
- nginx added for load balancing purposes for multiple apex instances

Issue-ID: POLICY-4530
Issue-ID: POLICY-4164
Change-Id: Ib86e96c57f4b7bf2b4f5e930fd7d4a3805b50687
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2 years agoDisable K8s CSIT temporarily to fix timeout issue in Jenkins 37/133937/2
rameshiyer27 [Thu, 30 Mar 2023 09:50:18 +0000 (10:50 +0100)]
Disable K8s CSIT temporarily to fix timeout issue in Jenkins

The pods take longer time than usual in Jenkins vm which prevents robot
test cases getting executed. This will be fixed in the upcoming patch.
Fixing supporting docker images to be pulled from nexus

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

2 years agoFix microk8s permission issue in jenkins 83/133683/1
rameshiyer27 [Thu, 16 Mar 2023 23:49:01 +0000 (23:49 +0000)]
Fix microk8s permission issue in jenkins

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

2 years agoMerge "Update PF for SNI checking support"
Liam Fallon [Wed, 15 Mar 2023 09:27:29 +0000 (09:27 +0000)]
Merge "Update PF for SNI checking support"

2 years agoUpdate PF for SNI checking support 60/133660/1
liamfallon [Tue, 14 Mar 2023 17:15:14 +0000 (17:15 +0000)]
Update PF for SNI checking support

Fix the script to allow CSITs to run on MacOS

Issue-ID: POLICY-4474
Change-Id: If11ad6ba4f4b4bc52543d46d12ce5b40d3cc26be
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoAdd prometheus server to k8s charts 30/133630/3
adheli.tavares [Mon, 13 Mar 2023 16:55:02 +0000 (16:55 +0000)]
Add prometheus server to k8s charts

- add pap-slas.test to list of robot tests for k8s
- fix an export var on docker compose

Issue-ID: POLICY-4545
Change-Id: Id1dd55693ab6d016fd0dd38230972ffe96b28b14
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2 years agoMerge "Fix consolidated health check failure in PAP CSIT"
Ram Krishna Verma [Tue, 14 Mar 2023 14:56:47 +0000 (14:56 +0000)]
Merge "Fix consolidated health check failure in PAP CSIT"

2 years 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"

2 years 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

2 years 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>
2 years 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

2 years 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"

2 years 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"

2 years 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

2 years 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>
2 years 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

2 years 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>
2 years 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

2 years 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>
2 years 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>
2 years 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"

2 years 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"

2 years 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>
2 years 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

2 years 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

2 years 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

2 years 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>
2 years 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>
2 years 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"

2 years 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"

2 years 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

2 years 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>
2 years 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>
2 years 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>
2 years 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"

2 years 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"

2 years 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

2 years 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"

2 years 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>
2 years 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>
2 years 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"

2 years 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>
2 years 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

2 years 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>
2 years 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

2 years 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>
2 years 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>
2 years 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"

2 years 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>
2 years 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

2 years 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."

2 years 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"

2 years 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>
2 years 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

2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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

2 years 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

2 years 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

2 years 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

2 years 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>
2 years 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

2 years 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>
2 years 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

2 years 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

2 years 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

2 years 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

2 years 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>
2 years 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"

2 years 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>
2 years 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

2 years 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>