policy/docker.git
4 months agoupdate parent references in policy/docker pom 30/140030/1 4.1.0
waynedunican [Mon, 27 Jan 2025 13:52:49 +0000 (13:52 +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-5255
Change-Id: I9987f5385eaa9e9028a110ef5d2b78eee66a1be1
Signed-off-by: waynedunican <wayne.dunican@est.tech>
4 months agoRemove MariaDB SQL provisions 13/140013/1
adheli.tavares [Mon, 20 Jan 2025 11:14:16 +0000 (11:14 +0000)]
Remove MariaDB SQL provisions

Issue-ID: POLICY-5196
Change-Id: I4932d0674791f43ba7b99a45bb63f5e7fea8ed44
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
4 months agoImprove cluster installation and test scripts 98/139998/4
waynedunican [Fri, 17 Jan 2025 08:52:45 +0000 (08:52 +0000)]
Improve cluster installation and test scripts

Issue-ID: POLICY-5246
Change-Id: I18d1c0375bc656a46d0e7742dffaf45d2400cd3c
Signed-off-by: waynedunican <wayne.dunican@est.tech>
4 months agoAdd postgres chart for helm deployment 70/139970/4
rameshiyer27 [Fri, 17 Jan 2025 13:57:37 +0000 (13:57 +0000)]
Add postgres chart for helm deployment

Remove mariadb helm chart

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

4 months agoAdded native.opa policy entry in apiParameters 28/139928/1
srinivasyanamadala [Mon, 20 Jan 2025 06:24:46 +0000 (07:24 +0100)]
Added native.opa policy entry in apiParameters

Issue-ID: POLICY-5247
Change-Id: Ie50042a208d75cf9ab1d6503ea53bf9b2086cd6e
Signed-off-by: srinivasyanamadala <srinivas.yanamadala@techmahindra.com>
4 months agoRemove MariaDB from CSIT 42/139942/1
adheli.tavares [Thu, 16 Jan 2025 11:14:43 +0000 (11:14 +0000)]
Remove MariaDB from CSIT

Issue-ID: POLICY-5196
Change-Id: I3b173d8c9b5ea97cfd9fa41fd927f437935440b1
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
5 months agoSmall improvements after fixing apex-pdp image generation 35/139935/1
adheli.tavares [Mon, 13 Jan 2025 15:33:55 +0000 (15:33 +0000)]
Small improvements after fixing apex-pdp image generation

Issue-ID: POLICY-5192
Change-Id: I77e9a517a17ca685a1b14b518f4da7691d1b4b2f
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
5 months agoGeneral improvements on CSIT scripts 90/139890/2
adheli.tavares [Thu, 19 Dec 2024 09:45:08 +0000 (09:45 +0000)]
General improvements on CSIT scripts

- some issues with functions order
- clear waiting times for docker containers to come up
- --local flag added to make it easier to run tests with local images

Issue-ID: POLICY-5239
Change-Id: I3bcbfd88f45110436b2b0fda16c61936ef919f95
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
5 months agoReplace policy-participant with http-participant in Regression Test 63/139863/1
FrancescoFioraEst [Thu, 12 Dec 2024 11:22:17 +0000 (11:22 +0000)]
Replace policy-participant with http-participant in Regression Test

Issue-ID: POLICY-5200
Change-Id: I26651b1caa16c13b52318a587a16490896c590e1
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
5 months agoFix policy-jre-alpine version in db-migrator Dockerfile 58/139858/2
adheli.tavares [Tue, 7 Jan 2025 11:15:51 +0000 (11:15 +0000)]
Fix policy-jre-alpine version in db-migrator Dockerfile

Issue-ID: POLICY-5238
Change-Id: I2082df9fae02c97cd2d98779d66fa9d0888686a7
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
5 months agoRenamed docker image versions, Corrected Api's as per 1.0.0 image 33/139833/2
muraliparthatechm [Mon, 6 Jan 2025 13:15:41 +0000 (14:15 +0100)]
Renamed docker image versions, Corrected Api's as per 1.0.0 image

Issue-ID: POLICY-5224
Change-Id: I1325bbfb17c5ae9007bfe6d9286fb3ba91f09a2a
Signed-off-by: muraliparthatechm <muraliparthasarathy.k@techmahindra.com>
5 months agoUpdate CSIT with opa-pdp (microk8s env) 24/139824/2
muraliparthatechm [Mon, 30 Dec 2024 12:12:04 +0000 (13:12 +0100)]
Update CSIT with opa-pdp (microk8s env)

Issue-ID: POLICY-5224
Change-Id: I14bc094514a613711eb2e8de0699aaf6b4f947cd
Signed-off-by: muraliparthatechm <muraliparthasarathy.k@techmahindra.com>
5 months agoAdded License Headers 83/139783/4
muraliparthatechm [Mon, 23 Dec 2024 05:18:00 +0000 (06:18 +0100)]
Added License Headers

Issue-ID: POLICY-5211
Change-Id: Idabbf533f5cd077918b4843e023270e412474431
Signed-off-by: muraliparthatechm <muraliparthasarathy.k@techmahindra.com>
5 months agoAdded changes for performance and stability for opa-pdp 80/139780/3
srinivasyanamadala [Fri, 20 Dec 2024 14:18:03 +0000 (15:18 +0100)]
Added changes for performance and stability for opa-pdp

Issue-ID: POLICY-5215
Change-Id: Iea19dfd4a46509a60d7b4a41f714fd8221ce2d0d
Signed-off-by: srinivasyanamadala <srinivas.yanamadala@techmahindra.com>
5 months agoUpdate CSIT with opa-pdp (docker-compose env) 69/139769/5
muraliparthatechm [Wed, 18 Dec 2024 17:15:17 +0000 (18:15 +0100)]
Update CSIT with opa-pdp (docker-compose env)

Issue-ID: POLICY-5211
Change-Id: I8b75e6e850fae171fbc75fc67cb59171a78df4e0
Signed-off-by: muraliparthatechm <muraliparthasarathy.k@techmahindra.com>
5 months agoRemove the policy type and policy under the service template in CSIT 18/139718/2
FrancescoFioraEst [Tue, 10 Dec 2024 14:02:36 +0000 (14:02 +0000)]
Remove the policy type and policy under the service template in CSIT

Issue-ID: POLICY-5199
Change-Id: Ieb5c5efe29f6081cf822a787d157bd6c9cd40b55
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
6 months agoFix db-migrator issue in default phase 21/139721/1
FrancescoFioraEst [Thu, 12 Dec 2024 14:44:14 +0000 (14:44 +0000)]
Fix db-migrator issue in default phase

Fix db-migrator issue when there is an AC instances
in transitioning state with TIMEOUT

Issue-ID: POLICY-5210
Change-Id: I562a659b74e7ce85db8550ff268ee7845d476eea
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
6 months agoFix readiness check 15/139715/1
waynedunican [Wed, 11 Dec 2024 15:41:02 +0000 (15:41 +0000)]
Fix readiness check

Fix readiness check for second apex container
Readiness status for apex is now returning "true true" for ready state
due to there being two apex containers now coming up in the pod

Issue-ID: POLICY-5150
Change-Id: I3765ee4db5170ddf71daca6a4cbdc3c9c2ff5859
Signed-off-by: waynedunican <wayne.dunican@est.tech>
6 months agoAdd policy definition data under instance properties in CSIT 87/139687/1
FrancescoFioraEst [Fri, 20 Sep 2024 15:21:05 +0000 (16:21 +0100)]
Add policy definition data under instance properties in CSIT

Issue-ID: POLICY-5197
Change-Id: Ia8c7707285eb8368b99acef86982c67251d1b20d
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
6 months agoAdd fail migration test 72/139672/1
FrancescoFioraEst [Fri, 22 Nov 2024 13:42:47 +0000 (13:42 +0000)]
Add fail migration test

Issue-ID: POLICY-5195
Change-Id: I7f89a9097b6979734a9f677662b818869237bd8d
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
6 months agoMerge "Make deployment charts use minimal resources"
Ramesh Murugan Iyer [Tue, 26 Nov 2024 12:27:42 +0000 (12:27 +0000)]
Merge "Make deployment charts use minimal resources"

6 months agoMerge "Bring up second instance of apex for S3Ps"
Ramesh Murugan Iyer [Mon, 25 Nov 2024 17:19:28 +0000 (17:19 +0000)]
Merge "Bring up second instance of apex for S3Ps"

6 months agoMerge "Fix for drools-pdp helm chart"
Ramesh Murugan Iyer [Mon, 25 Nov 2024 17:16:15 +0000 (17:16 +0000)]
Merge "Fix for drools-pdp helm chart"

6 months agoMake deployment charts use minimal resources 49/139549/1
akenihan [Tue, 12 Nov 2024 13:37:37 +0000 (13:37 +0000)]
Make deployment charts use minimal resources

Issue-ID: POLICY-5095
Change-Id: I4ee301c42356cccabfd34effb921094a5c3c865c
Signed-off-by: akenihan <adam.kenihan@est.tech>
6 months agoFix for drools-pdp helm chart 36/139536/1
waynedunican [Thu, 21 Nov 2024 08:58:50 +0000 (08:58 +0000)]
Fix for drools-pdp helm chart

Issue-ID: POLICY-5152
Change-Id: I314f0b7bb2b275440d196e6f8d24f0cc70a5d576
Signed-off-by: waynedunican <wayne.dunican@est.tech>
6 months agoSet all cross references of policy/docker 83/139483/1
rameshiyer27 [Tue, 19 Nov 2024 23:06:06 +0000 (23:06 +0000)]
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-5166
Change-Id: If500623f6e4f54245543b366c5f4bdf10eff28c6
Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
6 months agoSet snapshot and/or references of policy/docker for new release 69/139469/1
rameshiyer27 [Tue, 19 Nov 2024 17:25:01 +0000 (17:25 +0000)]
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-5166
Change-Id: Ib839f39d81f2eed2895648a3ee792867605d617c
Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
6 months agoUpdate snapshot and/or references of policy/docker to latest snapshots 15/139415/1
rameshiyer27 [Mon, 18 Nov 2024 15:09:55 +0000 (15:09 +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-5166
Change-Id: I57f61db2cc1c306dfcb518b69dbdc5febf7ba53d
Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
6 months agoRelease docker images for policy/docker: 4.0.1 13/139413/1
rameshiyer27 [Mon, 18 Nov 2024 13:45:50 +0000 (13:45 +0000)]
Release docker images for policy/docker: 4.0.1

This commit releases docker images for repo policy/docker.

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

Issue-ID: POLICY-5166
Change-Id: Id35da38a0f74d283ae9951e4ae419dd4af188366
Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
6 months agoupdate parent references in policy/docker pom 11/139411/1 4.0.1
rameshiyer27 [Mon, 18 Nov 2024 12:34:19 +0000 (12:34 +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-5166
Change-Id: I66e6566e776c58afd713b7e3f165c1616adf9880
Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
7 months agoBring up second instance of apex for S3Ps 37/139537/1
waynedunican [Fri, 15 Nov 2024 14:05:53 +0000 (14:05 +0000)]
Bring up second instance of apex for S3Ps

Issue-ID: POLICY-5150
Change-Id: I43abad64831646965502719696fb62914c099a95
Signed-off-by: waynedunican <wayne.dunican@est.tech>
7 months agoFix issues with grafana dashboards after multiple micrometer 73/139373/3
adheli.tavares [Thu, 31 Oct 2024 16:01:59 +0000 (16:01 +0000)]
Fix issues with grafana dashboards after multiple micrometer
and spring actuator uplifts.

- changed the metrics that have been renamed automatically
- changed the irate functions range to the same used on each
dashboard instead of fixed
- apex_healthcheck function wasn't being called when running
csit script because it was declared after usage

Issue-ID: POLICY-5155
Change-Id: I993f022937f6e2041a6c50dc5037c559da087849
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
7 months agoFix directory naming for s3p test automation 36/139336/1
waynedunican [Wed, 6 Nov 2024 11:07:56 +0000 (11:07 +0000)]
Fix directory naming for s3p test automation

Issue-ID: POLICY-5148
Change-Id: I837d3ce8269d9f851536cbfffb9298bbd03afbcb
Signed-off-by: waynedunican <wayne.dunican@est.tech>
7 months agoFix lastMsg NPE in postgresql after db-migrator upgrade 71/139271/1
FrancescoFioraEst [Fri, 25 Oct 2024 11:00:08 +0000 (12:00 +0100)]
Fix lastMsg NPE in postgresql after db-migrator upgrade

Issue-ID: POLICY-5144
Change-Id: I12de545c552f7b4aa6b60f3a67935436cf3c0d38
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
7 months agoFix lastMsg NPE after db-migrator upgrade 62/139262/1
FrancescoFioraEst [Tue, 22 Oct 2024 13:13:39 +0000 (14:13 +0100)]
Fix lastMsg NPE after db-migrator upgrade

Issue-ID: POLICY-5144
Change-Id: I2fa81530ce23c5eac38f223cf64c2a16cdedaafa
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
7 months agoFix DB Migrator Postgres SQL issues 25/139225/1
FrancescoFioraEst [Thu, 17 Oct 2024 08:36:47 +0000 (09:36 +0100)]
Fix DB Migrator Postgres SQL issues

Issue-ID: POLICY-5144
Change-Id: I034108cfef0f841707526f239c7d80ee5aeac445
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
8 months agoAdd slas test for drools-apps and xacml-pdp 15/139115/3
rameshiyer27 [Tue, 1 Oct 2024 14:19:25 +0000 (15:19 +0100)]
Add slas test for drools-apps and xacml-pdp

Issue-ID: POLICY-5126
Change-Id: I989a3870e021a9054d7d39b83cefb626ac6fe52f
Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
8 months agoMerge "Add Timeout test in ACM CSIT"
Adheli Tavares [Mon, 7 Oct 2024 09:58:49 +0000 (09:58 +0000)]
Merge "Add Timeout test in ACM CSIT"

8 months agoAdd Timeout test in ACM CSIT 19/139119/1
FrancescoFioraEst [Thu, 3 Oct 2024 08:19:48 +0000 (09:19 +0100)]
Add Timeout test in ACM CSIT

Issue-ID: POLICY-5132
Change-Id: If2999eb8a17d4906959cceff7ebb603c44577def
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
8 months agoUpdate alpine version for security updates 73/139073/2
adheli.tavares [Tue, 1 Oct 2024 14:34:48 +0000 (15:34 +0100)]
Update alpine version for security updates

Issue-ID: POLICY-5021
Change-Id: I02943545508de777f34c4db7a348ef5aad97e613
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
8 months agoFix helm installation script 48/139048/1
waynedunican [Mon, 30 Sep 2024 09:42:19 +0000 (10:42 +0100)]
Fix helm installation script

Removed sudo keyword from helm and kubectl commands

Issue-ID: POLICY-5133
Change-Id: Id9a337f1fe10cc00cfdf17e6f992b90fe28b9d9a
Signed-off-by: waynedunican <wayne.dunican@est.tech>
8 months agoAdd extra test cases for drools-pdp 35/139035/2
adheli.tavares [Thu, 26 Sep 2024 13:16:09 +0000 (14:16 +0100)]
Add extra test cases for drools-pdp

- fix some references on robot files
- drools policy execution not completing because of issues with
AppcLcm simulator - uncommenting the executions
- dcae_topic having topic name and effective topic now are the same

Issue-ID: POLICY-4955
Change-Id: Ia45730c6ba2b473acfc5b317424a0a46b3660485
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
8 months agoUpdate Policy committers in policy/docker 81/138981/1
rameshiyer27 [Thu, 19 Sep 2024 15:39:52 +0000 (16:39 +0100)]
Update Policy committers in policy/docker

Issue-ID: POLICY-5129
Change-Id: Idedadde7eab74888e6d81d63ee699b9afa26e8aa
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
9 months agoFix tests after changing Spring Framework version. 89/138889/1
adheli.tavares [Tue, 3 Sep 2024 09:51:39 +0000 (10:51 +0100)]
Fix tests after changing Spring Framework version.

Issue-ID: POLICY-5073
Change-Id: Ie71e3f4b7e2de9e8251e16cfac3c5d87d708a75a
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
9 months agoChange default database to PostgreSQL 36/138836/2
adheli.tavares [Thu, 15 Aug 2024 11:39:19 +0000 (12:39 +0100)]
Change default database to PostgreSQL

Issue-ID: POLICY-5118
Change-Id: I22ece93aca3cbc5e406e4942ce5255a7b7b60761
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
9 months agoMerge "Add slas tests for clamp"
Adheli Tavares [Thu, 22 Aug 2024 07:58:54 +0000 (07:58 +0000)]
Merge "Add slas tests for clamp"

9 months agoAdd slas tests for clamp 86/138786/1
rameshiyer27 [Sun, 18 Aug 2024 10:12:23 +0000 (11:12 +0100)]
Add slas tests for clamp

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

10 months agoMerge "Allow migration to be performed in stages in CSIT"
Ramesh Murugan Iyer [Fri, 16 Aug 2024 10:23:13 +0000 (10:23 +0000)]
Merge "Allow migration to be performed in stages in CSIT"

10 months agoMoving drools and xacml schema/tables management to db-migrator 56/138756/1
adheli.tavares [Thu, 15 Aug 2024 08:57:14 +0000 (09:57 +0100)]
Moving drools and xacml schema/tables management to db-migrator

- operationshistory is a shared table for drools and xacml, hence
moving it also
- postgres support added with taking management away from
components.

Issue-ID: POLICY-5107
Change-Id: I9bd263336bd7e65ab8812af63467773b48d388a4
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
10 months agoAllow migration to be performed in stages in CSIT 46/138746/1
FrancescoFioraEst [Thu, 8 Aug 2024 07:50:00 +0000 (08:50 +0100)]
Allow migration to be performed in stages in CSIT

Issue-ID: POLICY-5093
Change-Id: I54faa8400981c7200e5289b08928770704419a3a
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
10 months agoMerge "Add tests for Prepare, Review and Migrate pre-check in CSIT"
Adheli Tavares [Wed, 7 Aug 2024 15:56:57 +0000 (15:56 +0000)]
Merge "Add tests for Prepare, Review and Migrate pre-check in CSIT"

10 months agoFix hibernate dialect in k8s tests 42/138642/3
rameshiyer27 [Tue, 6 Aug 2024 15:00:45 +0000 (16:00 +0100)]
Fix hibernate dialect in k8s tests

Issue-ID: POLICY-4647
Change-Id: If983a76a8f5d8b54a951d4c94f27269fb7616fcd
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
10 months agoAdd tests for Prepare, Review and Migrate pre-check in CSIT 88/138588/3
FrancescoFioraEst [Fri, 26 Jul 2024 14:55:11 +0000 (15:55 +0100)]
Add tests for Prepare, Review and Migrate pre-check in CSIT

Issue-ID: POLICY-5081
Change-Id: I4293a3adf698f62dcc6f310d11e66838a1ece832
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
10 months agoMerge "Print the deployment status during timeout in csit"
Adheli Tavares [Tue, 6 Aug 2024 12:57:02 +0000 (12:57 +0000)]
Merge "Print the deployment status during timeout in csit"

10 months agoPrint the deployment status during timeout in csit 36/138636/1
rameshiyer27 [Tue, 6 Aug 2024 10:10:19 +0000 (11:10 +0100)]
Print the deployment status during timeout in csit

Issue-ID: POLICY-4647
Change-Id: Ib16cc7965490bfa4b2312355ac41e93f149ec8c7
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
10 months agoDrools-apps CSIT tests (almost) fix. 21/138621/1
adheli.tavares [Thu, 1 Aug 2024 13:18:34 +0000 (14:18 +0100)]
Drools-apps CSIT tests (almost) fix.

- controller usecases is now starting normally.
- drools policy is deploying.
- two policy executions are still failing.

Issue-ID: POLICY-4955
Change-Id: I08cee61463c1e8e52f0f874bbb15acca8ed7d6b2
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
10 months agoAdd tests for add/remove elements in migration 05/138605/2
rameshiyer27 [Mon, 29 Jul 2024 14:43:06 +0000 (15:43 +0100)]
Add tests for add/remove elements in migration

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

10 months agoUse spring profiles for legacy configurations in regression 92/138592/1
rameshiyer27 [Mon, 29 Jul 2024 08:14:34 +0000 (08:14 +0000)]
Use spring profiles for legacy configurations in regression

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

10 months agoMerge "Add CSIT option to run xacml-pdp against postgres database"
Ramesh Murugan Iyer [Mon, 22 Jul 2024 08:09:33 +0000 (08:09 +0000)]
Merge "Add CSIT option to run xacml-pdp against postgres database"

10 months agoMerge "Add version support in regression test suite"
Adheli Tavares [Fri, 19 Jul 2024 15:46:34 +0000 (15:46 +0000)]
Merge "Add version support in regression test suite"

10 months agoAdd CSIT option to run xacml-pdp against postgres database 09/138509/2
adheli.tavares [Fri, 19 Jul 2024 12:50:04 +0000 (13:50 +0100)]
Add CSIT option to run xacml-pdp against postgres database

Issue-ID: POLICY-5087
Change-Id: Icfece3dbb9263e09a4d59edbea8acad5a4ea7ce3
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
10 months agoAdd smoke tests for clamp db-migrator 07/138507/1
FrancescoFioraEst [Fri, 7 Jun 2024 08:10:19 +0000 (09:10 +0100)]
Add smoke tests for clamp db-migrator

Add scripts to test upgrade and downgrade for MariaDB and PostgreSQL.

Issue-ID: POLICY-5083
Change-Id: I4df67a1909d812e3ef46bf35cae900a837adb0a4
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
10 months agoAdd version support in regression test suite 06/138506/1
rameshiyer27 [Wed, 17 Jul 2024 23:19:44 +0000 (23:19 +0000)]
Add version support in regression test suite

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

10 months agoAdd DB support for precheck and stage 99/138499/1
FrancescoFioraEst [Tue, 16 Jul 2024 16:07:55 +0000 (17:07 +0100)]
Add DB support for precheck and stage

Add support in DB-migrator for Prepare, Review, Migrate pre-check
and stage.

Issue-ID: POLICY-5076
Change-Id: I7e422f87436110e1e3c50bf6073907dfd4de5973
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
11 months agoUpdate snapshot and/or references of policy/docker to latest snapshots 32/138432/1
rameshiyer27 [Fri, 12 Jul 2024 09:07:09 +0000 (09:07 +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-5072
Change-Id: I8676ad78c9396963e9547cd1c69b36cf8a9a0367
Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
11 months agoRelease docker images for policy/docker: 4.0.0 29/138429/1
rameshiyer27 [Fri, 12 Jul 2024 08:11:45 +0000 (08:11 +0000)]
Release docker images for policy/docker: 4.0.0

This commit releases docker images for repo policy/docker.

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

Issue-ID: POLICY-5072
Change-Id: I78b8c181a4697de47877137219675e21200f2b25
Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
11 months agoupdate parent references in policy/docker pom 27/138427/1 4.0.0
rameshiyer27 [Thu, 11 Jul 2024 16:11:24 +0000 (16:11 +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-5072
Change-Id: Id4d1c270b6044e1ee7a1c3fb5597567d664777a4
Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
11 months agoMerge "Fix helm plugin install failure"
Liam Fallon [Fri, 5 Jul 2024 10:09:02 +0000 (10:09 +0000)]
Merge "Fix helm plugin install failure"

11 months agoAdd docker compose for clamp replica 71/138371/2
rameshiyer27 [Tue, 2 Jul 2024 09:16:56 +0000 (09:16 +0000)]
Add docker compose for clamp replica

New docker-compose for installing clamp in replica
CSIT can be triggerred against replica with "clamp-replica" keyword

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

11 months agoFix helm plugin install failure 70/138370/3
rameshiyer27 [Mon, 1 Jul 2024 15:35:39 +0000 (15:35 +0000)]
Fix helm plugin install failure

"microk8s helm" replaced with helm client
Timout increased for pod wait time

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

11 months agoFixes for CSIT 74/138374/2
adheli.tavares [Tue, 2 Jul 2024 10:51:35 +0000 (11:51 +0100)]
Fixes for CSIT

- fix API tests from changes in code coverage / sonar fixes
- fix some env variables in docker compose
- stick jaeger version for compatibility

Issue-ID: POLICY-5067
Change-Id: I48d05f54bfba0ca2e259428c4f8e83047ef42a18
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
11 months agoAdding tracing config to helm charts for CSITs 49/138349/3
saul.gill [Thu, 27 Jun 2024 16:22:12 +0000 (17:22 +0100)]
Adding tracing config to helm charts for CSITs

Issue-ID: POLICY-5062
Change-Id: I99870cca1793385989a7c4b80049f7031558333e
Signed-off-by: saul.gill <saul.gill@est.tech>
11 months agoFix k8s csit script wait function for replica 42/138342/1
rameshiyer27 [Thu, 27 Jun 2024 22:36:27 +0000 (22:36 +0000)]
Fix k8s csit script wait function for replica

wait_for_pods after deployment is refactored to work with replicas

Issue-ID: POLICY-5066
Change-Id: I25e43a84e34bb95e4954a16c258bfdb5674f2ef1
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
11 months agoAdd fail scenarios in csit 35/138335/3
FrancescoFioraEst [Wed, 26 Jun 2024 13:18:30 +0000 (14:18 +0100)]
Add fail scenarios in csit

Add fail scenarios (prime, deploy, undeploy, delete and deprime)
in csit using participant simulator.

Issue-ID: POLICY-5064
Change-Id: I39de4633b7465f857bb00937a0365820c3535bfe
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
11 months agoAdd CSITs for Tracing 23/138323/4
saul.gill [Tue, 25 Jun 2024 16:42:22 +0000 (17:42 +0100)]
Add CSITs for Tracing

Added custom start scripts for acm and participants
Added config for tracing to acm and participants
Added CSITs for Jaeger tracing of acm and participants

Issue-ID: POLICY-5062
Change-Id: I58c4dcc85d119d5dc3a74c39b786491f080bafdc
Signed-off-by: saul.gill <saul.gill@est.tech>
12 months agoAdd group id for operation topic 20/138220/1
rameshiyer27 [Thu, 13 Jun 2024 13:52:16 +0000 (13:52 +0000)]
Add group id for operation topic

Group id added for operation topic config
Fix K8s test cases that were not invoked in clamp due to a missing env variable.

Issue-ID: POLICY-5031
Change-Id: I1b48509091717317a2e501cc1d19e4b9da69c5c8
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
12 months agoAdd sync topic support in docker/K8s deployment 65/138165/4
rameshiyer27 [Tue, 11 Jun 2024 16:51:57 +0000 (16:51 +0000)]
Add sync topic support in docker/K8s deployment

Issue-ID: POLICY-5031
Change-Id: I5ae1fe07d90744f992a3bce2853ab26e39218cd7
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
12 months agoAdd a new replica table in clampacm database in db migrator 38/138138/1
FrancescoFioraEst [Tue, 4 Jun 2024 13:53:23 +0000 (14:53 +0100)]
Add a new replica table in clampacm database in db migrator

Issue-ID: POLICY-5033
Change-Id: Ifaf43686c9784a211806058433ecb69f0d7e1ca9
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
12 months agoMerge "Fix timeout in pap CSIT for auditing undeploys"
Ramesh Murugan Iyer [Fri, 31 May 2024 09:08:27 +0000 (09:08 +0000)]
Merge "Fix timeout in pap CSIT for auditing undeploys"

12 months agoFix timeout in pap CSIT for auditing undeploys 05/138105/1
adheli.tavares [Thu, 30 May 2024 09:17:05 +0000 (10:17 +0100)]
Fix timeout in pap CSIT for auditing undeploys

Issue-ID: POLICY-4494
Change-Id: I04337ad3314770aa9870aa1779161023745699e0
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
12 months agoAdd startPhase and timeout support in db-migrator for ACM-runtime 90/138090/1
FrancescoFioraEst [Fri, 26 Apr 2024 11:44:47 +0000 (12:44 +0100)]
Add startPhase and timeout support in db-migrator for ACM-runtime

Add support for startPhase and timeout using db
instead of HashMap in memory for ACM-R.

Issue-ID: POLICY-5023
Change-Id: I0c2d78f030139980e150afb04457aeef9a73f6ab
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
12 months agoSet all cross references of policy/docker 16/138016/1
saul.gill [Mon, 20 May 2024 11:04:00 +0000 (12:04 +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-4999
Change-Id: Ib3807c866ef9a6c9f087d162e12f0a8227e23176
Signed-off-by: saul.gill <saul.gill@est.tech>
12 months agoSet snapshot and/or references of policy/docker for new release 95/137995/1
saul.gill [Mon, 20 May 2024 10:08:27 +0000 (11:08 +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-4999
Change-Id: I8cf23ade7898d0d2e068824f04f82461f9e2cb10
Signed-off-by: saul.gill <saul.gill@est.tech>
13 months agoUpdate snapshot and/or references of policy/docker to latest snapshots 33/137933/1
waynedunican [Thu, 16 May 2024 13:23:03 +0000 (14:23 +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-5001
Change-Id: I3bcf76667949afe40553ddf67e128995c9ec117a
Signed-off-by: waynedunican <wayne.dunican@est.tech>
13 months agoRelease docker images for policy/docker: 3.1.3 32/137932/1
waynedunican [Thu, 16 May 2024 12:28:21 +0000 (13:28 +0100)]
Release docker images for policy/docker: 3.1.3

This commit releases docker images for repo policy/docker.

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

Issue-ID: POLICY-5001
Change-Id: I01e6e4526ce1c0a8094a5560d00c11874f088681
Signed-off-by: waynedunican <wayne.dunican@est.tech>
13 months agoupdate parent references in policy/docker pom 29/137929/1 3.1.3
waynedunican [Thu, 16 May 2024 11:45:13 +0000 (12:45 +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-5001
Change-Id: I8dfbc08d7546a5e08dec0e275203a67459ddfca0
Signed-off-by: waynedunican <wayne.dunican@est.tech>
13 months agoRestructure of CSIT scripts 88/137888/2
adheli.tavares [Wed, 1 May 2024 13:08:35 +0000 (14:08 +0100)]
Restructure of CSIT scripts

- CSIT robot test suits are now compiled into a docker image
- dependencies are now installed as part of Dockerfile build

Issue-ID: POLICY-4987
Change-Id: I5ae4e9f58471a6038c25548d9392ece78b20e67a
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
13 months agoAdding readiness condition for k8s csits 73/137873/1
saul.gill [Thu, 9 May 2024 10:59:37 +0000 (11:59 +0100)]
Adding readiness condition for k8s csits

Issue-ID: POLICY-4985
Change-Id: I17371e72866c11774ffd14a762120f2fedcc7406
Signed-off-by: saul.gill <saul.gill@est.tech>
13 months agoFix Postgres queries in clamp database migration 30/137830/1
FrancescoFioraEst [Thu, 2 May 2024 09:16:41 +0000 (10:16 +0100)]
Fix Postgres queries in clamp database migration

Issue-ID: POLICY-4986
Change-Id: If70ccf429547db035a49c4151b88a211d6504e38
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
13 months agoAdd migration in integration tests 13/137813/1
FrancescoFioraEst [Wed, 17 Apr 2024 10:42:58 +0000 (11:42 +0100)]
Add migration in integration tests

Issue-ID: POLICY-4972
Change-Id: I40c554fcb062b4928663bbfd5a03ddd2dd1f6805
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
13 months agoUpdate snapshot and/or references of policy/docker to latest snapshots 48/137748/1
saul.gill [Thu, 25 Apr 2024 10:42:08 +0000 (11:42 +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-4970
Change-Id: I65037035cac97829a152d4290ebc578517d5dea8
Signed-off-by: saul.gill <saul.gill@est.tech>
13 months agoRelease docker images for policy/docker: 3.1.2 44/137744/1
saul.gill [Thu, 25 Apr 2024 10:22:22 +0000 (11:22 +0100)]
Release docker images for policy/docker: 3.1.2

This commit releases docker images for repo policy/docker.

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

Issue-ID: POLICY-4970
Change-Id: Id695a023f5bb44b600d32e1554e1773312015e20
Signed-off-by: saul.gill <saul.gill@est.tech>
13 months agoupdate parent references in policy/docker pom 43/137743/1 3.1.2
saul.gill [Thu, 25 Apr 2024 09:20:02 +0000 (10:20 +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-4970
Change-Id: If862eeaaef29e239517be128f19df35b351cf022
Signed-off-by: saul.gill <saul.gill@est.tech>
13 months agoMerge "Add ACM db upgrade/downgrade to db-migrator"
Adheli Tavares [Wed, 24 Apr 2024 09:23:16 +0000 (09:23 +0000)]
Merge "Add ACM db upgrade/downgrade to db-migrator"

13 months agoMerge "Add Participant Simulator chart"
Ramesh Murugan Iyer [Wed, 24 Apr 2024 08:46:52 +0000 (08:46 +0000)]
Merge "Add Participant Simulator chart"

13 months agoAdd ACM db upgrade/downgrade to db-migrator 27/137727/1
waynedunican [Thu, 18 Apr 2024 16:09:52 +0000 (17:09 +0100)]
Add ACM db upgrade/downgrade to db-migrator

Issue-ID: POLICY-4934
Change-Id: Ic515eb1b2d549fdd91cff22ed6f589b673748657
Signed-off-by: waynedunican <wayne.dunican@est.tech>
13 months agoAdd Participant Simulator chart 25/137725/1
FrancescoFioraEst [Tue, 23 Apr 2024 09:41:44 +0000 (10:41 +0100)]
Add Participant Simulator chart

Issue-ID: POLICY-4966
Change-Id: Id35a270be449c35cd8b2281c74457d36e1f65385
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
13 months agoImprove stability in integration tests 21/137721/1
FrancescoFioraEst [Fri, 19 Apr 2024 09:16:40 +0000 (10:16 +0100)]
Improve stability in integration tests

Issue-ID: POLICY-4964
Change-Id: I0ca1ff2fdfb02a9c39d4b860333f5aebc959d650
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
14 months agoImprovements to CSIT 90/137690/1
adheli.tavares [Mon, 25 Mar 2024 15:56:21 +0000 (15:56 +0000)]
Improvements to CSIT

Issue-ID: POLICY-4868
Change-Id: If2fe23e18f500fc777091b26016180521e4fa852
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
14 months agoDisable drools pdp test in CSIT until drools is fixed 52/137652/1
rameshiyer27 [Mon, 8 Apr 2024 10:46:05 +0000 (11:46 +0100)]
Disable drools pdp test in CSIT until drools is fixed

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