policy/docker.git
22 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

22 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>
23 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"

23 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

23 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>
23 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

23 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"

23 months agoSet JDBC URL env var for drools-apps CSITs 66/129666/1
jhh [Wed, 22 Jun 2022 16:19:21 +0000 (11:19 -0500)]
Set JDBC URL env var for drools-apps CSITs

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

23 months agoSLA dashboard added to grafana setup 45/129645/2
adheli.tavares [Thu, 16 Jun 2022 08:21:46 +0000 (09:21 +0100)]
SLA dashboard added to grafana setup

Issue-ID: POLICY-4163
Change-Id: I2b996ff519f0b8f0207589ec4f1f629c79b614c0
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
23 months agoMerge "Use proper currentInstanceCount in CSITs"
Jorge Hernandez [Fri, 17 Jun 2022 12:02:02 +0000 (12:02 +0000)]
Merge "Use proper currentInstanceCount in CSITs"

23 months agoMerge "Make CSIT scripts locally executable"
Jorge Hernandez [Fri, 17 Jun 2022 12:01:02 +0000 (12:01 +0000)]
Merge "Make CSIT scripts locally executable"

23 months agoMake CSIT scripts locally executable 41/129641/1
liamfallon [Fri, 17 Jun 2022 10:11:55 +0000 (11:11 +0100)]
Make CSIT scripts locally executable

The CSIT scripts do not have their executable flags set, this change
makes the scripts locally executable.

Issue-ID: POLICY-4233
Change-Id: Ia274481751076027c4224e791c3a35785b9d78a9
Signed-off-by: liamfallon <liam.fallon@est.tech>
23 months agoUse proper currentInstanceCount in CSITs 23/129623/1
waynedunican [Fri, 3 Jun 2022 08:07:59 +0000 (09:07 +0100)]
Use proper currentInstanceCount in CSITs

Issue-ID: POLICY-4086
Change-Id: I8d49acb66b798104f2cfbdc3765a68af866f9f6a
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
23 months agoAdding runtime-acm to grafana dashboard 07/129607/1
adheli.tavares [Tue, 7 Jun 2022 12:36:57 +0000 (13:36 +0100)]
Adding runtime-acm to grafana dashboard

Issue-ID: POLICY-4146
Change-Id: Iecd0cfa1a6e6162bb9a06345dfd12fb8375ae98b
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2 years agoMerge "Add Ramesh Murugan Iyer as a committer"
Liam Fallon [Thu, 2 Jun 2022 08:07:34 +0000 (08:07 +0000)]
Merge "Add Ramesh Murugan Iyer as a committer"

2 years agoAdd Ramesh Murugan Iyer as a committer 40/129440/1
liamfallon [Wed, 1 Jun 2022 12:02:11 +0000 (13:02 +0100)]
Add Ramesh Murugan Iyer as a committer

Issue-ID: POLICY-4228
Change-Id: Ic3b59d3ccb8bf09514a8425019344480f9d33310
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoCSIT does not display logs for some containers 07/129407/1
danielhanrahan [Thu, 26 May 2022 14:59:00 +0000 (15:59 +0100)]
CSIT does not display logs for some containers

Fix container names in CSIT teardown scripts to match
docker-compose-all.yml

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

2 years agoSet snapshot and/or references of policy/docker for new release 46/129046/1
liamfallon [Tue, 3 May 2022 16:21:35 +0000 (17:21 +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-4073
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ibc0b2ea07a80ece136ae81b6dec8bb457fc86fa9
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoUpdate snapshot and/or references of policy/docker to latest snapshots 91/128891/1
liamfallon [Wed, 27 Apr 2022 08:46:38 +0000 (09:46 +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-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ib1f5eaf1f685d3789375dc32fce07104fa4faf65

2 years agoRelease docker images for policy/docker: 2.4.3 79/128879/1
liamfallon [Tue, 26 Apr 2022 15:49:24 +0000 (16:49 +0100)]
Release docker images for policy/docker: 2.4.3

This commit releases docker images for repo policy/docker.

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

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

2 years agoupdate parent references in policy/docker pom 75/128875/1 10.0.0-ONAP 2.4.3
liamfallon [Tue, 26 Apr 2022 15:08:15 +0000 (16:08 +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-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I94683404c6d0b4378412f077b6f8ef618d5bed66

2 years agoUpdate snapshot and/or references of policy/docker to latest snapshots 96/128496/1
liamfallon [Tue, 12 Apr 2022 15:50:02 +0000 (16:50 +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-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Icf8d329eeb1713f6edd6cb94d45015c952b43a98

2 years agoRelease docker images for policy/docker: 2.4.2 91/128491/1
liamfallon [Tue, 12 Apr 2022 13:35:53 +0000 (14:35 +0100)]
Release docker images for policy/docker: 2.4.2

This commit releases docker images for repo policy/docker.

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

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

2 years agoupdate parent references in policy/docker pom 88/128488/1 2.4.2
liamfallon [Tue, 12 Apr 2022 12:10:56 +0000 (13:10 +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-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: If0a1895c5d0c0203bebf2ac99e6f9c1345bb8857

2 years agoUpdate apex-pdp CSIT tests to include metrics 07/128407/1
Rashmi Pujar [Fri, 8 Apr 2022 19:45:32 +0000 (15:45 -0400)]
Update apex-pdp CSIT tests to include metrics

Validate metrics as documented in
https://wiki.onap.org/display/DW/Policy+Framework%3A+Key+metrics+to+monitor

Issue-ID: POLICY-3766
Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca>
Change-Id: Iac1c0298c8e9a35c5ef25aec15e3b9bcbabebf7e

2 years agoCSITs for db-migrator 53/128153/3
waynedunican [Wed, 16 Mar 2022 08:10:54 +0000 (08:10 +0000)]
CSITs for db-migrator

- Added test to confirm databases are created
- Added test for api healthcehck

Issue-ID: POLICY-2715
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
Change-Id: I8ef9f67bf50d2fcbf7c7db2c78370f6b277e5993

2 years agoDB migrator fixes after smoke test 22/128122/1
adheli.tavares [Mon, 28 Mar 2022 11:29:01 +0000 (12:29 +0100)]
DB migrator fixes after smoke test

Issue-ID: POLICY-3999
Change-Id: I65d95cbfab4b49245bb68f2ca5067fda9437b531
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2 years agoMerge "Add CSIT Test cases for api metrics"
Ajith Sreekumar [Mon, 28 Mar 2022 09:12:20 +0000 (09:12 +0000)]
Merge "Add CSIT Test cases for api metrics"

2 years agoMerge "Start Participant containers after Runtime starts"
Liam Fallon [Sat, 26 Mar 2022 17:48:33 +0000 (17:48 +0000)]
Merge "Start Participant containers after Runtime starts"

2 years agoAdd CSIT Test cases for api metrics 03/128103/1
Prakhar Pandey [Fri, 25 Mar 2022 19:46:19 +0000 (15:46 -0400)]
Add CSIT Test cases for api metrics

Adding csit test cases for application level metrics exposed by api component.

Issue-ID: POLICY-3966
Signed-off-by: Prakhar Pandey <prakhar.pandey@bell.ca>
Change-Id: Iccaa1c8e55ddc5b9961371c85aa41a5371ada560

2 years agoAdd CSIT for metadataSet handling in api, pap, apex-pdp 21/128021/2
rameshiyer27 [Wed, 16 Mar 2022 10:36:33 +0000 (10:36 +0000)]
Add CSIT for metadataSet handling in api, pap, apex-pdp

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

2 years agoMerge "Add db migrator changes for tosca node templates"
Liam Fallon [Thu, 24 Mar 2022 21:29:15 +0000 (21:29 +0000)]
Merge "Add db migrator changes for tosca node templates"

2 years agoStart Participant containers after Runtime starts 23/128023/2
Sirisha_Manchikanti [Tue, 22 Mar 2022 16:20:18 +0000 (16:20 +0000)]
Start Participant containers after Runtime starts

PARTICIPANT_REGISTER message from participants is getting lost, as
RUNTIME_ACM is not started completely. Adjusted CSIT bringup of
containers accordingly. This needs a correction in Participant
Intermediary for next release, Jira raised for the same
https://jira.onap.org/browse/POLICY-4042

Issue-ID: POLICY-4003
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: I146fa5c2ae2090d504b7e665905ff2dba61097ef

2 years agoMerge "Fix postgres scripts"
Liam Fallon [Thu, 24 Mar 2022 09:17:46 +0000 (09:17 +0000)]
Merge "Fix postgres scripts"

2 years agoMerge "Added scripts for manual smoke testing"
Liam Fallon [Thu, 24 Mar 2022 09:17:33 +0000 (09:17 +0000)]
Merge "Added scripts for manual smoke testing"

2 years agoAdd db migrator changes for tosca node templates 45/128045/1
rameshiyer27 [Wed, 23 Mar 2022 17:38:57 +0000 (17:38 +0000)]
Add db migrator changes for tosca node templates

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

2 years agoFix postgres scripts 88/127988/1
waynedunican [Wed, 23 Mar 2022 08:28:21 +0000 (08:28 +0000)]
Fix postgres scripts

Fix for syntax errors in postgres scripts

Issue-ID: POLICY-2715
Change-Id: I109056f7ee37b439f914fbd5d1d0ca87df550e4e
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2 years agoAdded scripts for manual smoke testing 98/127798/4
saul.gill [Tue, 15 Mar 2022 11:56:01 +0000 (11:56 +0000)]
Added scripts for manual smoke testing

Added some scripts, docker compose and config files
This is to aid in manual smoke testing
Policy gui and policy backend have been added

Issue-ID: POLICY-4000
Change-Id: Ia89cab416b02ab034c65ba8224536cde2f65c0c5
Signed-off-by: saul.gill <saul.gill@est.tech>
2 years agoReuse https environment flags drools csits 80/127880/2
jhh [Thu, 17 Mar 2022 22:40:24 +0000 (17:40 -0500)]
Reuse https environment flags drools csits

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

2 years agoUpdate snapshot and/or references of policy/docker to latest snapshots 99/127599/1
liamfallon [Wed, 9 Mar 2022 15:49:22 +0000 (15:49 +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-3982
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I5779febc813b6a2c663c1f2cd863df150f2c9837

2 years agoRelease docker images for policy/docker: 2.4.1 97/127597/1
liamfallon [Wed, 9 Mar 2022 15:33:37 +0000 (15:33 +0000)]
Release docker images for policy/docker: 2.4.1

This commit releases docker images for repo policy/docker.

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

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

2 years agoupdate parent references in policy/docker pom 91/127591/1 2.4.1
liamfallon [Wed, 9 Mar 2022 14:30:32 +0000 (14:30 +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-3982
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I8c34842d1e73e9df4659d0b56c7e0d403cf7457f

2 years agocorrect healthcheck parameters for drools apps 46/127446/1
jhh [Wed, 2 Mar 2022 16:13:38 +0000 (10:13 -0600)]
correct healthcheck parameters for drools apps

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

2 years agoMerge "Update ACM Schema in db migrator"
Liam Fallon [Tue, 1 Mar 2022 19:44:46 +0000 (19:44 +0000)]
Merge "Update ACM Schema in db migrator"

2 years agoConfigure aaf using a parameter in policy-pap 93/127393/1
a.sreekumar [Tue, 1 Mar 2022 11:03:17 +0000 (11:03 +0000)]
Configure aaf using a parameter in policy-pap

Change-Id: I1505f5a04da93de3f0f4c349080480625c4a377d
Issue-ID: POLICY-3975
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2 years agoUpdate ACM Schema in db migrator 48/127248/2
Lathish [Wed, 23 Feb 2022 10:49:41 +0000 (10:49 +0000)]
Update ACM Schema in db migrator

Issue-ID: POLICY-3944
Change-Id: If22c95d0fae99e6312ca7b079a5663476d3e06f0
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2 years agoAdd csit tests for pap metrics 15/127315/1
Ram Krishna Verma [Fri, 25 Feb 2022 18:06:26 +0000 (13:06 -0500)]
Add csit tests for pap metrics

Adding csit tests for applications level metrics
exposed by pap component.

Issue-ID: POLICY-3965
Change-Id: I50cd37941514d2d18809d29f4c5447434bd5b180
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2 years agoProvisioning of prometheus datasource and dashboards 71/127271/2
adheli.tavares [Thu, 24 Feb 2022 09:54:30 +0000 (09:54 +0000)]
Provisioning of prometheus datasource and dashboards

- dashboard with details for micrometer(jvm, hikari, http requests) stats.
- dashboard with details for JVM consumption on basic levels.

Issue-ID: POLICY-3892
Change-Id: Ibe9c220c35755b9c60f2ef5d6c4b56849a9ba59a
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2 years agoMerge "Fix CLAMP controlloop CSIT testcases"
Liam Fallon [Thu, 24 Feb 2022 16:53:24 +0000 (16:53 +0000)]
Merge "Fix CLAMP controlloop CSIT testcases"

2 years agoAdding spring data properties to apiParameters 73/127273/1
a.sreekumar [Thu, 24 Feb 2022 11:04:04 +0000 (11:04 +0000)]
Adding spring data properties to apiParameters

Change-Id: If95561b0d5fb01251458a0ce52880b836922c0ae
Issue-ID: POLICY-3923
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2 years agoFix CLAMP controlloop CSIT testcases 20/127220/4
Sirisha_Manchikanti [Thu, 17 Feb 2022 17:55:21 +0000 (17:55 +0000)]
Fix CLAMP controlloop CSIT testcases

Made corrections according to the application yaml to fix CLAMP CSIT
testcases

Issue-ID: POLICY-3933
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: I9dfb4ecb1a4dd1fa967aeafe341cddb38049d312

2 years agoUse classes from policy/common 54/127154/2
Ram Krishna Verma [Wed, 16 Feb 2022 17:16:50 +0000 (12:16 -0500)]
Use classes from policy/common

Use CustomImplicitNamingStrategy from policy/common.

Issue-ID: POLICY-3931
Change-Id: I69f556e0e5a6bdf60a0cef6b2d49a77289c4bb8d
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2 years agoMerge "Add docker configuration for Prometheus and Grafana"
Liam Fallon [Thu, 17 Feb 2022 12:57:59 +0000 (12:57 +0000)]
Merge "Add docker configuration for Prometheus and Grafana"

2 years agoFix issue with GeneratedValue in PfGeneratedIdKey 39/127139/4
a.sreekumar [Tue, 15 Feb 2022 18:20:01 +0000 (18:20 +0000)]
Fix issue with GeneratedValue in PfGeneratedIdKey

Until now, 'ID, name and version' was used as the primary key in
jpapolicyaudit and pdpstatistics tables. With this change, only ID will
be used as the PK.
The applications works with or without this change, as ID was the only
field which was always unique. "name" and "version" are mostly
duplicates (policyName in case of jpapolicyaudit & pdpName in case of
pdpstatistics table).
Pushing this change anyway to keep the tables consistent
with the entity classes.

Change-Id: I34a7582ed9c74fa0ead8fce2e86ac2ce1ecacf1e
Issue-ID: POLICY-3897
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2 years agoAdd docker configuration for Prometheus and Grafana 30/127030/8
adheli.tavares [Wed, 2 Feb 2022 14:53:10 +0000 (14:53 +0000)]
Add docker configuration for Prometheus and Grafana

- docker compose file with the policy components
- configuration files for components to allow usage of http
- basic prometheus configuration to connect to api, pap, drools (apps/pdp), xaclm and apex
- examples of metrics to be added to a dashboard in Grafana

Issue-ID: POLICY-3886
Change-Id: Ic377b69b1a296017a85cb08ccdbbf9b8b281d8e3
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2 years agoDisable helm endpoints by default in csit 34/127134/1
Lathish [Tue, 15 Feb 2022 13:57:28 +0000 (19:27 +0530)]
Disable helm endpoints by default in csit

Issue-ID: POLICY-3894
Change-Id: I83684c6d75ab4bfd5b6a5dfb1c5caabf6ae70d2a
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2 years agoFix policy-api CSIT test 01/127101/4
a.sreekumar [Mon, 14 Feb 2022 13:51:34 +0000 (13:51 +0000)]
Fix policy-api CSIT test

Change-Id: Idd7fd933f10dabaa203ec498996aa772facddac9
Issue-ID: POLICY-3753
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2 years agoMove PAP database provider to spring boot default 33/127033/2
a.sreekumar [Wed, 9 Feb 2022 12:19:54 +0000 (12:19 +0000)]
Move PAP database provider to spring boot default

Change-Id: I5a743a8e666978c0aa0a7fc833e846379780c94b
Issue-ID: POLICY-3867
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2 years agoMerge "Fix spring datasource configuration for pap container"
Liam Fallon [Mon, 7 Feb 2022 17:19:31 +0000 (17:19 +0000)]
Merge "Fix spring datasource configuration for pap container"

2 years agoMerge "Fix failing build in jdk base image"
Liam Fallon [Mon, 7 Feb 2022 17:18:21 +0000 (17:18 +0000)]
Merge "Fix failing build in jdk base image"

2 years agoFix spring datasource configuration for pap container 01/127001/2
adheli.tavares [Mon, 7 Feb 2022 08:52:04 +0000 (08:52 +0000)]
Fix spring datasource configuration for pap container

Issue-ID: POLICY-3914
Change-Id: Iddb985161ecd51ad3f2b17ae6ac13d2825b67bec
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2 years agoMerge "Modified db-migrator to allow configuration of database"
Liam Fallon [Mon, 7 Feb 2022 11:56:21 +0000 (11:56 +0000)]
Merge "Modified db-migrator to allow configuration of database"

2 years agoFix failing build in jdk base image 00/127000/1
saul.gill [Mon, 7 Feb 2022 09:19:55 +0000 (09:19 +0000)]
Fix failing build in jdk base image

Fix originally put in drools-pdp
Upgraded Python pip package as was causing build failure

Issue-ID: POLICY-3905
Change-Id: Ib5320790914a6a1344ae0548aeda3c7cf4585734
Signed-off-by: saul.gill <saul.gill@est.tech>
2 years agoAdd upgrade/downgrade scripts for postgres in db-migrator 63/126963/1
waynedunican [Fri, 4 Feb 2022 08:36:13 +0000 (08:36 +0000)]
Add upgrade/downgrade scripts for postgres in db-migrator

- Jakarta upgrade scripts
- Jakarta downgrade scripts

Issue-ID: POLICY-2715
Change-Id: I1dbe902644ce392ef0823022a256cf37cc499a3e
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2 years agoMerge "Add upgrade/downgrade scripts for postgres in db-migrator"
Liam Fallon [Wed, 2 Feb 2022 12:35:59 +0000 (12:35 +0000)]
Merge "Add upgrade/downgrade scripts for postgres in db-migrator"

2 years agoMerge "Add upgrade/downgrade scripts for postgres in db-migrator"
Liam Fallon [Wed, 2 Feb 2022 12:35:47 +0000 (12:35 +0000)]
Merge "Add upgrade/downgrade scripts for postgres in db-migrator"

2 years agoMerge "Add upgrade/downgrade scripts for postgres in db-migrator"
Liam Fallon [Wed, 2 Feb 2022 12:35:32 +0000 (12:35 +0000)]
Merge "Add upgrade/downgrade scripts for postgres in db-migrator"

2 years agoModified db-migrator to allow configuration of database 55/126855/3
waynedunican [Tue, 4 Jan 2022 19:48:11 +0000 (19:48 +0000)]
Modified db-migrator to allow configuration of database

- Updated the Dockerfile to include postgres sql
and to copy postgres scripts
- Added db-migrator-pg script for postgres installation
- Updated prepare upgrade/downgrade scripts

Issue-ID: POLICY-2715
Change-Id: Ib8d3523e8445ad1528fe225c96acdac5ca61535d
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2 years agoAdd testcase for app metrics exposed by distribution 39/126739/1
Ram Krishna Verma [Mon, 24 Jan 2022 21:53:04 +0000 (16:53 -0500)]
Add testcase for app metrics exposed by distribution

Adding testcases to verify the application level
metrics exposed by policy-distribution component.

Issue-ID: POLICY-3759
Change-Id: I3cbc36011c358dc9f52aa01c663eb8ff02a6323a
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2 years agoAdd upgrade/downgrade scripts for postgres in db-migrator 53/126853/1
waynedunican [Fri, 7 Jan 2022 09:33:06 +0000 (09:33 +0000)]
Add upgrade/downgrade scripts for postgres in db-migrator

- Honolulu upgrade scripts

Issue-ID: POLICY-2715
Change-Id: I1cec6f16c4797bd1ce34d506173d28ae48e36801
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2 years agoAdd upgrade/downgrade scripts for postgres in db-migrator 54/126854/1
waynedunican [Thu, 6 Jan 2022 14:22:57 +0000 (14:22 +0000)]
Add upgrade/downgrade scripts for postgres in db-migrator

- Honolulu downgrade scripts

Issue-ID: POLICY-2715
Change-Id: Id3c242311868898d32c3d2e92427cf687a1d7cc1
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2 years agoAdd upgrade/downgrade scripts for postgres in db-migrator 52/126852/1
waynedunican [Tue, 11 Jan 2022 09:20:28 +0000 (09:20 +0000)]
Add upgrade/downgrade scripts for postgres in db-migrator

- Istanbul upgrade scripts
- Istanbul downgrade scripts

Issue-ID: POLICY-2715
Change-Id: I0dcfd11acaf5971581db081f2ff18b7657d0c7af
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2 years agoFix issues in existing entity classes 35/126535/1
a.sreekumar [Mon, 10 Jan 2022 14:42:00 +0000 (14:42 +0000)]
Fix issues in existing entity classes

Change-Id: I862a5c413f5cf4d0e472a527cd6dc5a32c28459c
Issue-ID: POLICY-3871
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2 years agoPAP CSIT changes for spring boot migration 97/126197/3
a.sreekumar [Fri, 10 Dec 2021 17:17:20 +0000 (17:17 +0000)]
PAP CSIT changes for spring boot migration

Change-Id: I0b0df4769240e4ca1512b6c2acba25d59734ffe3
Issue-ID: POLICY-3754
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2 years agoUpdate snapshot and/or references of policy/docker to latest snapshots 29/126029/1
liamfallon [Thu, 2 Dec 2021 15:53:51 +0000 (15:53 +0000)]
Update snapshot and/or references of policy/docker to latest snapshots

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

policy/docker updated to its latest own and reference snapshots

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

2 years agoUpdate snapshot of policy/docker to 2.4.1-SNAPSHOT 75/125875/1
liamfallon [Wed, 24 Nov 2021 16:34:17 +0000 (16:34 +0000)]
Update snapshot of policy/docker to 2.4.1-SNAPSHOT

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

This commit updates the snapshot of the repo to the next patch version.

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

2 years agoRelease policy/docker: 2.4.0 52/125852/1
liamfallon [Tue, 23 Nov 2021 15:21:08 +0000 (15:21 +0000)]
Release policy/docker: 2.4.0

*** Release Phase 4: This commit is generated by a PF release script ***

This is the fourth phase in releasing images, it releases policy/docker.

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

2 years agoUpdate policy/parent to 3.5.0 on policy/docker 44/125844/1 2.4.0
liamfallon [Tue, 23 Nov 2021 11:50:07 +0000 (11:50 +0000)]
Update policy/parent to 3.5.0 on policy/docker

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

This commit updates the version of policy/parent
to the latest released version.

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

2 years agoFixed policy participant config to use https 78/125678/1
saul.gill [Wed, 10 Nov 2021 14:44:57 +0000 (14:44 +0000)]
Fixed policy participant config to use https

Changed to use "useHttps" instead of "https"
Changed username for api and pap from "healthcheck" to "policyadmin"
Added config to bind mount for policy participant

Issue-ID: POLICY-3817
Change-Id: I7470ea45ebb769a8781b76422626e13b5eb515bd
Signed-off-by: saul.gill <saul.gill@est.tech>
2 years agoRename username for API and PAP operations. 00/125600/2
adheli.tavares [Mon, 1 Nov 2021 10:40:32 +0000 (10:40 +0000)]
Rename username for API and PAP operations.

Use an account other than healthcheck in API and PAP for provisioning of policies.

Issue-ID: POLICY-2744
Change-Id: Id2cbba8e5e5095996622572fbf42383bb854fb43
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2 years agoPoint to snapshot dependency 47/125347/1
Ram Krishna Verma [Mon, 25 Oct 2021 22:22:45 +0000 (18:22 -0400)]
Point to snapshot dependency

Issue-ID: POLICY-3788
Change-Id: Ic9e9da13fc7cfdedebf81d8a6cc2a7190d8790b2
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2 years agoImproving APEX-PDP CSIT tests 58/125158/2
a.sreekumar [Wed, 20 Oct 2021 16:28:04 +0000 (17:28 +0100)]
Improving APEX-PDP CSIT tests

Change-Id: I06023f9b7555b23b007aadd20e87fb4e59c9980c
Issue-ID: POLICY-3709
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2 years agoFixing the version fetch problem in Policy CSITs 25/125125/1
a.sreekumar [Tue, 19 Oct 2021 11:38:04 +0000 (12:38 +0100)]
Fixing the version fetch problem in Policy CSITs

The script that fetches the latest version in policy-docker/csit
currently support only the image versions in format:

<1 digit major version>.<1 digit minor version>-SNAPSHOT-latest

But this started failing now as drool jakarta version is "1.10.0".
This is fixed.

Change-Id: I1cba3beaa00628ec435f2aaef527a7f6318193bf
Issue-ID: POLICY-3749
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2 years agoBump policy/docker to Jakarta 2.4.0-SNAPSHOT 53/124953/1
liamfallon [Thu, 14 Oct 2021 09:31:43 +0000 (10:31 +0100)]
Bump policy/docker to Jakarta 2.4.0-SNAPSHOT

Issue-ID: POLICY-3696
Change-Id: I48777921ed97ec578fb797521c6dd1240a116d4b
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoBump policy/docker to 2.3.2-SNAPSHOT 44/124944/1
liamfallon [Thu, 14 Oct 2021 08:46:20 +0000 (09:46 +0100)]
Bump policy/docker to 2.3.2-SNAPSHOT

Issue-ID: POLICY-3696
Change-Id: Id00233078bb6add59e5c90311cc78d7a4f29490d
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoRelease policy/docker images version 2.3.1 66/124866/1
liamfallon [Tue, 12 Oct 2021 21:56:21 +0000 (22:56 +0100)]
Release policy/docker images version 2.3.1

Issue-ID: POLICY-3696
Change-Id: I90cf8e4064b77e530b88d4a88c19caadc574ba23
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoUpdate parent version, jdk version in db-migrator 51/124851/1 2.3.1
liamfallon [Tue, 12 Oct 2021 16:22:22 +0000 (17:22 +0100)]
Update parent version, jdk version in db-migrator

Issue-ID: POLICY-3696
Change-Id: I827bdd238ab51a1798dab3d83f088377be7949ff
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoFixing policy-models-simulators helm chart 57/124757/1
a.sreekumar [Fri, 8 Oct 2021 09:17:42 +0000 (10:17 +0100)]
Fixing policy-models-simulators helm chart

Change-Id: I137be6241f934729d3452e308e24c454500ec86a
Issue-ID: POLICY-3655
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2 years agoAdd http and k8s participant to CSIT 36/124636/1
Sirisha_Manchikanti [Fri, 17 Sep 2021 16:33:11 +0000 (17:33 +0100)]
Add http and k8s participant to CSIT

Add HTTP and Kubernetes participant to
policy/docker/csit

Issue-ID: POLICY-3413
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: Id87dca9ba6487b2f12e9d036136ea553d2b67a23

2 years agoRetain datetime precision on downgrade 28/124528/1
ktimoney [Tue, 28 Sep 2021 09:37:39 +0000 (10:37 +0100)]
Retain datetime precision on downgrade

Retain datetime precision during downgrade operation
to prevent duplicate keys in pdpstatistics

Issue-ID: POLICY-3679
Change-Id: Ic93519b9420f0f77c3af7b63d3963f1971d77c37
Signed-off-by: ktimoney <kevin.timoney@est.tech>
2 years agoModify pdpstatistics to prevent duplicate keys 78/124478/2
ktimoney [Fri, 24 Sep 2021 07:07:55 +0000 (08:07 +0100)]
Modify pdpstatistics to prevent duplicate keys

Update timeStamp column in pdpstatistics to include microseconds.

Issue-ID: POLICY-3679
Change-Id: Ibf622b090b1cd914413f79c663db8128263c4ac2
Signed-off-by: ktimoney <kevin.timoney@est.tech>
2 years agoUpdate db-migrator version checks 86/124386/2
ktimoney [Mon, 20 Sep 2021 16:20:51 +0000 (17:20 +0100)]
Update db-migrator version checks

DB-Migrator job completes even during failed upgrade

Issue-ID: POLICY-3660
Change-Id: I7295c740853e4dd533e989faa3dddebab4d4ccab
Signed-off-by: ktimoney <kevin.timoney@est.tech>
2 years agoRemove blank line from INFO.yaml 13/124013/1
liamfallon [Thu, 9 Sep 2021 20:53:58 +0000 (21:53 +0100)]
Remove blank line from INFO.yaml

Issue-ID: POLICY-3587
Change-Id: Ie5f862a6030b2db250b0bdf39ec89d58213093c5
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoPoint at released policy-parent 04/124004/1
liamfallon [Thu, 9 Sep 2021 15:13:29 +0000 (16:13 +0100)]
Point at released policy-parent

Issue-ID: POLICY-3587
Change-Id: I36ba5d9d3ccedd5ce256fdfa3b23a52b3b150f55
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoMerge "Update INFO.yaml"
Pamela Dragosh [Thu, 9 Sep 2021 13:38:35 +0000 (13:38 +0000)]
Merge "Update INFO.yaml"

2 years agoUpdate INFO.yaml 56/123956/1
liamfallon [Wed, 8 Sep 2021 12:07:41 +0000 (13:07 +0100)]
Update INFO.yaml

Update the INFO.yaml file with latest information.

Issue-ID: POLICY-3552
Change-Id: Ie57f51e435b0e8caaf56524fc092e43c7ed79653
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoMerge "Update default value of LASTUPDATE in pdp table"
Jim Hahn [Wed, 1 Sep 2021 16:59:49 +0000 (16:59 +0000)]
Merge "Update default value of LASTUPDATE in pdp table"

2 years agoAdd CSIT test for consolidated healthcheck 40/123740/1
Ram Krishna Verma [Tue, 31 Aug 2021 21:11:06 +0000 (17:11 -0400)]
Add CSIT test for consolidated healthcheck

Adding CSIT test for consolidated healthcheck.
Also, verifying the an external groups file can be mounted to replace
PapDb.json present inside the docker image for database initialization.

Issue-ID: POLICY-3609
Change-Id: Icf2585d9d9df7e820fbddfbd1fe044b5a9e29cb3
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>