policy/xacml-pdp.git
19 months agoRelease policy/xacml-pdp 2.7.0
jenkins-releng [Fri, 23 Sep 2022 06:31:19 +0000 (06:31 +0000)]
Release policy/xacml-pdp

19 months agoupdate references in policy/xacml-pdp pom 10/131110/1
liamfallon [Thu, 22 Sep 2022 22:22:23 +0000 (23:22 +0100)]
update references in policy/xacml-pdp pom

updated references in the policy/xacml-pdp pom

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

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

20 months agoRemove inactive committers from INFO.yaml 31/130831/1
liamfallon [Fri, 9 Sep 2022 09:23:22 +0000 (10:23 +0100)]
Remove inactive committers from INFO.yaml

Remove inactive committers from INFO.yaml

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

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

20 months agoMerge "Upgrade xacml engine to 3.1.0"
Liam Fallon [Thu, 8 Sep 2022 12:59:10 +0000 (12:59 +0000)]
Merge "Upgrade xacml engine to 3.1.0"

20 months agoUpgrade xacml engine to 3.1.0 64/130764/1
jhh [Tue, 6 Sep 2022 17:24:29 +0000 (12:24 -0500)]
Upgrade xacml engine to 3.1.0

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

20 months agoAllow overrides of guard xacml.properties 63/130763/1
jhh [Tue, 6 Sep 2022 17:16:31 +0000 (12:16 -0500)]
Allow overrides of guard xacml.properties

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

20 months agoMerge "Compatibility with mariadb 10.x and mysql 8.x"
Liam Fallon [Fri, 2 Sep 2022 09:50:06 +0000 (09:50 +0000)]
Merge "Compatibility with mariadb 10.x and mysql 8.x"

20 months agoAllow setting external dockerfile for xacml-pdp 45/130645/1
danielhanrahan [Thu, 1 Sep 2022 16:47:35 +0000 (17:47 +0100)]
Allow setting external dockerfile for xacml-pdp

If building with an external dockerfile, e.g. using
 mvn clean install -Pdocker -DdockerFile=/path/to/dockerfile
docker will look for project files in the same directory as the
new dockerfile. A new property is added for setting the context
path, to allow using existing project files in src/main/docker.

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

20 months agoCompatibility with mariadb 10.x and mysql 8.x 38/130638/1
jhh [Thu, 1 Sep 2022 14:17:54 +0000 (09:17 -0500)]
Compatibility with mariadb 10.x and mysql 8.x

Additional support for extra flags for example is secured mysql/mariadb server
is desired when provisioning tables at initialization.

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

20 months agoSupport of onap.policies.monitoring.tcagen2 2.0.0 44/130344/4
jhh [Thu, 18 Aug 2022 00:06:09 +0000 (19:06 -0500)]
Support of onap.policies.monitoring.tcagen2 2.0.0

Issue-ID: POLICY-4317
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I1b1e2d4baa2ec82462e32cb79cc18bb183f7ded6
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
21 months agoUpdate docker base image to snapshot 68/130068/1
liamfallon [Fri, 29 Jul 2022 14:28:36 +0000 (15:28 +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: I6c32075bfce758757188a51ceda898206ee573a7

21 months agoParameterize xacml-pdp tutorial docker file 72/129972/1
liamfallon [Mon, 18 Jul 2022 16:25:16 +0000 (17:25 +0100)]
Parameterize xacml-pdp tutorial docker file

This change parameterizes the XACML PDP tutorial so that it always works
off the version of XACML PDP on which it is released.

Issue-ID: POLICY-4186
Change-Id: If3891a21d6f60518da9d395228e700fe6d506dc2
Signed-off-by: liamfallon <liam.fallon@est.tech>
21 months agoReduce size of docker images for XACML-PDP 07/129907/1
danielhanrahan [Fri, 8 Jul 2022 14:52:48 +0000 (15:52 +0100)]
Reduce size of docker images for XACML-PDP

Avoid creating extra layers when extracting tarball
Remove redundant chown/chmod commands
Reduce size of Alpine image by 32% (379MB to 259MB)
Reduce size of OpenSuse image by 23% (546MB to 423MB)

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

22 months agoUpgrade OpenSuse version to 15.4 for xacml-pdp 76/129876/1
danielhanrahan [Mon, 11 Jul 2022 15:10:26 +0000 (16:10 +0100)]
Upgrade OpenSuse version to 15.4 for xacml-pdp

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

22 months agoFix Raw XACML Decision API Serialization 05/129805/2
dc443y [Wed, 6 Jul 2022 19:25:55 +0000 (14:25 -0500)]
Fix Raw XACML Decision API Serialization

Issue-ID: POLICY-4274
Signed-off-by: dc443y <dc443y@att.com>
Change-Id: I0d367d35e7ec52c7587ec75194b654cc41303868
Signed-off-by: dc443y <dc443y@att.com>
22 months agoMerge "OCI image spec labels for XACML-PDP"
Liam Fallon [Thu, 30 Jun 2022 10:11:33 +0000 (10:11 +0000)]
Merge "OCI image spec labels for XACML-PDP"

22 months agoMerge "Adding support for custom application metrics in Xacml-PDP."
Jorge Hernandez [Tue, 28 Jun 2022 21:34:43 +0000 (21:34 +0000)]
Merge "Adding support for custom application metrics in Xacml-PDP."

22 months agoOCI image spec labels for XACML-PDP 09/129709/1
danielhanrahan [Tue, 28 Jun 2022 11:04:21 +0000 (12:04 +0100)]
OCI image spec labels for XACML-PDP

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

22 months agoAdding support for custom application metrics in Xacml-PDP. 32/129332/6
isaac [Thu, 19 May 2022 20:12:05 +0000 (15:12 -0500)]
Adding support for custom application metrics in Xacml-PDP.

Issue-ID: POLICY-3762
Signed-off-by: isaac <isaac.adorno@att.com>
Change-Id: I84b43ae3a61702ceaf9f526a1c537caa77802af6

23 months agoOpenSuse docker file for xacml-pdp 75/129475/3
danielhanrahan [Wed, 1 Jun 2022 16:42:58 +0000 (17:42 +0100)]
OpenSuse docker file for xacml-pdp

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

23 months agoMerge "Add Ramesh Murugan Iyer as a committer"
Liam Fallon [Thu, 2 Jun 2022 08:09:28 +0000 (08:09 +0000)]
Merge "Add Ramesh Murugan Iyer as a committer"

23 months agoAdd Ramesh Murugan Iyer as a committer 47/129447/1
liamfallon [Wed, 1 Jun 2022 12:06:04 +0000 (13:06 +0100)]
Add Ramesh Murugan Iyer as a committer

Issue-ID: POLICY-4228
Change-Id: I66726e87856ba40f94ab1c3b30ff1322ecc20fcd
Signed-off-by: liamfallon <liam.fallon@est.tech>
23 months agoMerge "Update Docker Tag related configurations in XACML Tutorial code"
Liam Fallon [Fri, 27 May 2022 13:42:22 +0000 (13:42 +0000)]
Merge "Update Docker Tag related configurations in XACML Tutorial code"

23 months agoUpdate Docker Tag related configurations in XACML Tutorial code 71/129271/5
xudan16 [Mon, 16 May 2022 08:52:08 +0000 (16:52 +0800)]
Update Docker Tag related configurations in XACML Tutorial code

Issue-ID: POLICY-4171
Signed-off-by: xudan16 <xudan16@huawei.com>
Change-Id: I8e6274d55520ccb664209698f77a2cdef050f5e4

23 months agoSupport postgres in XACML-PDP 90/129290/2
waynedunican [Thu, 5 May 2022 08:25:49 +0000 (09:25 +0100)]
Support postgres in XACML-PDP

Issue-ID: POLICY-4187
Change-Id: Ifed655e214ce95b9cc8208cd5b0907e7bb00b463
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2 years agoSet snapshot and/or references of policy/xacml-pdp for new release 55/129055/1
liamfallon [Tue, 3 May 2022 16:22:06 +0000 (17:22 +0100)]
Set snapshot and/or references of policy/xacml-pdp for new release

policy/xacml-pdp 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: I62fbc174b9228279e944e365453dc874b8539974
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoUpdate snapshot and/or references of policy/xacml-pdp to latest snapshots 75/128975/1
liamfallon [Thu, 28 Apr 2022 15:00:43 +0000 (16:00 +0100)]
Update snapshot and/or references of policy/xacml-pdp to latest snapshots

policy/xacml-pdp 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: Ie0abc96f55519305876976a422155b37316854d4

2 years agoRelease docker images for policy/xacml-pdp: 2.6.3 66/128966/1
liamfallon [Thu, 28 Apr 2022 14:42:01 +0000 (15:42 +0100)]
Release docker images for policy/xacml-pdp: 2.6.3

This commit releases docker images for repo policy/xacml-pdp.

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

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

2 years agoRelease policy/xacml-pdp: 2.6.3 58/128958/1
liamfallon [Thu, 28 Apr 2022 13:41:47 +0000 (14:41 +0100)]
Release policy/xacml-pdp: 2.6.3

This commit releases repo policy/xacml-pdp.

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

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

2 years agoupdate references in policy/xacml-pdp pom 22/128922/1
liamfallon [Wed, 27 Apr 2022 19:55:52 +0000 (20:55 +0100)]
update references in policy/xacml-pdp pom

updated references in the policy/xacml-pdp pom

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

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

2 years agoUpdate snapshot and/or references of policy/xacml-pdp to latest snapshots 31/128531/1
liamfallon [Tue, 12 Apr 2022 20:35:06 +0000 (21:35 +0100)]
Update snapshot and/or references of policy/xacml-pdp to latest snapshots

policy/xacml-pdp 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: If54f7e0f59640f2c520376dbc56450bc3a2c0124

2 years agoRelease docker images for policy/xacml-pdp: 2.6.2 16/128516/1
liamfallon [Tue, 12 Apr 2022 18:47:43 +0000 (19:47 +0100)]
Release docker images for policy/xacml-pdp: 2.6.2

This commit releases docker images for repo policy/xacml-pdp.

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

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

2 years agoRelease policy/xacml-pdp: 2.6.2 09/128509/1
liamfallon [Tue, 12 Apr 2022 18:23:46 +0000 (19:23 +0100)]
Release policy/xacml-pdp: 2.6.2

This commit releases repo policy/xacml-pdp.

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

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

2 years agoupdate references in policy/xacml-pdp pom 00/128500/1
liamfallon [Tue, 12 Apr 2022 17:41:59 +0000 (18:41 +0100)]
update references in policy/xacml-pdp pom

updated references in the policy/xacml-pdp pom

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

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

2 years agoadd prometheus lib to track per-level log entries 79/128379/1
jhh [Thu, 7 Apr 2022 18:19:27 +0000 (13:19 -0500)]
add prometheus lib to track per-level log entries

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

2 years agoMerge "Update snapshot and/or references of policy/xacml-pdp to latest snapshots"
Liam Fallon [Sun, 13 Mar 2022 12:36:20 +0000 (12:36 +0000)]
Merge "Update snapshot and/or references of policy/xacml-pdp to latest snapshots"

2 years agoMerge "Extending Prometheus counts to include permit / deny / indeterminant"
Jorge Hernandez [Fri, 11 Mar 2022 21:30:59 +0000 (21:30 +0000)]
Merge "Extending Prometheus counts to include permit / deny / indeterminant"

2 years agoUpdate snapshot and/or references of policy/xacml-pdp to latest snapshots 14/127714/1
liamfallon [Fri, 11 Mar 2022 18:03:06 +0000 (18:03 +0000)]
Update snapshot and/or references of policy/xacml-pdp to latest snapshots

policy/xacml-pdp 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: Ica3585c42d156b0416b8d41dcf2b94979c1597fd

2 years agoRelease docker images for policy/xacml-pdp: 2.6.1 04/127704/1
liamfallon [Fri, 11 Mar 2022 14:08:10 +0000 (14:08 +0000)]
Release docker images for policy/xacml-pdp: 2.6.1

This commit releases docker images for repo policy/xacml-pdp.

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

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

2 years agoRelease policy/xacml-pdp: 2.6.1 91/127691/1
liamfallon [Fri, 11 Mar 2022 12:08:17 +0000 (12:08 +0000)]
Release policy/xacml-pdp: 2.6.1

This commit releases repo policy/xacml-pdp.

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

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

2 years agoExtending Prometheus counts to include permit / deny / indeterminant 06/127606/2
isaac [Wed, 9 Mar 2022 22:45:07 +0000 (16:45 -0600)]
Extending Prometheus counts to include permit / deny / indeterminant

Issue-ID: POLICY-3762
Signed-off-by: isaac <isaac.adorno@att.com>
Change-Id: I2ca7c9384316d08b13a7f90ba99975e602007351

2 years agoupdate references in policy/xacml-pdp pom 19/127619/2
liamfallon [Thu, 10 Mar 2022 09:13:00 +0000 (09:13 +0000)]
update references in policy/xacml-pdp pom

updated references in the policy/xacml-pdp pom

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

Issue-ID: POLICY-3982
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I780cf2f77c5f5b713a5aa83d951b3757f5755f37
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoAdding Prometheus counts to XacmlPdpStatisticsManager 84/127384/3
isaac [Mon, 28 Feb 2022 20:49:07 +0000 (14:49 -0600)]
Adding Prometheus counts to XacmlPdpStatisticsManager

Issue-ID: POLICY-3762
Signed-off-by: isaac <isaac.adorno@att.com>
Change-Id: I865fc01dac91fe77421fc2fceb72eac49c9d8a78

2 years agoAdding statistics to PDP Heartbeat Messages 61/126761/20
isaac [Tue, 25 Jan 2022 20:21:19 +0000 (14:21 -0600)]
Adding statistics to PDP Heartbeat Messages

Issue-ID: POLICY-3034
Signed-off-by: isaac <isaac.adorno@att.com>
Change-Id: I495da4178b9715ec710fdc790f08faef0fc456d5

2 years agoFix xacml pdp to accommodate Object values in policy metadata 76/127076/1
rameshiyer27 [Fri, 11 Feb 2022 08:53:57 +0000 (08:53 +0000)]
Fix xacml pdp to accommodate Object values in policy metadata

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

2 years agoFixing sonar issues in xacml-pdp 37/126937/3
isaac [Wed, 2 Feb 2022 23:26:05 +0000 (17:26 -0600)]
Fixing sonar issues in xacml-pdp

Issue-ID: POLICY-3900
Signed-off-by: isaac <isaac.adorno@att.com>
Change-Id: I29d22d1c6b690204270d87fff6ce42d9d00cef6a

2 years agoUpdate snapshot and/or references of policy/xacml-pdp to latest snapshots 34/126034/1
liamfallon [Thu, 2 Dec 2021 15:54:07 +0000 (15:54 +0000)]
Update snapshot and/or references of policy/xacml-pdp to latest snapshots

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

policy/xacml-pdp updated to its latest own and reference snapshots

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

2 years agoUpdate snapshot of policy/xacml-pdp to 2.6.1-SNAPSHOT 62/125962/1
liamfallon [Mon, 29 Nov 2021 11:33:37 +0000 (11:33 +0000)]
Update snapshot of policy/xacml-pdp to 2.6.1-SNAPSHOT

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

policy/xacml-pdp is update from 2.6.0-SNAPSHOT to 2.6.1-SNAPSHOT

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

2 years agoRelease docker images for policy/xacml-pdp: 2.6.0 38/125938/1
liamfallon [Fri, 26 Nov 2021 12:07:47 +0000 (12:07 +0000)]
Release docker images for policy/xacml-pdp: 2.6.0

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

This commit releases the docker images for repo policy/xacml-pdp.

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

2 years agoRelease policy/xacml-pdp: 2.6.0 29/125929/1
liamfallon [Fri, 26 Nov 2021 10:41:53 +0000 (10:41 +0000)]
Release policy/xacml-pdp: 2.6.0

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

This is the eigth phase in releasing images, it releases policy/xacml-pdp.

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

2 years agoUpdate parent and common references 11/125911/2
liamfallon [Thu, 25 Nov 2021 11:41:17 +0000 (11:41 +0000)]
Update parent and common references

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

This is the seventh release phase, it updates parent, common and models
references in policy/xacml-pdp.

Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Id9163c2d99d260d94959fe4416f80d84ca77bc81
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoPoint to snapshot dependency 43/125343/1
Ram Krishna Verma [Mon, 25 Oct 2021 22:13:47 +0000 (18:13 -0400)]
Point to snapshot dependency

Issue-ID: POLICY-3788
Change-Id: Ic67a1c8fc53b03d6c0105ec3663a5164ed9c52a9
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2 years agoUpdated endpoints in xacml-pdp jmx files 70/125270/1
ktimoney [Fri, 22 Oct 2021 09:14:35 +0000 (10:14 +0100)]
Updated endpoints in xacml-pdp jmx files

Issue-ID: POLICY-3780
Change-Id: I296f9e6e2e8e127e73e3ad118ddc0f7520434fac
Signed-off-by: ktimoney <kevin.timoney@est.tech>
2 years agoBump policy/xacml-pdp to Jakarta 2.6.0-SNAPSHOT 99/124999/1
liamfallon [Thu, 14 Oct 2021 12:59:29 +0000 (13:59 +0100)]
Bump policy/xacml-pdp to Jakarta 2.6.0-SNAPSHOT

Issue-ID: POLICY-3696
Change-Id: If5e83b9ab94f62fa8063e565f9dd1daf8d9880b2
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoBump policy/xacml-pdp to 2.5.2-SNAPSHOT 78/124978/2
liamfallon [Thu, 14 Oct 2021 11:18:42 +0000 (12:18 +0100)]
Bump policy/xacml-pdp to 2.5.2-SNAPSHOT

Issue-ID: POLICY-3696
Change-Id: I892219ee37f689eaa250142d0a1e6610a8b227ff
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agorelease docker image 2.5.1 24/124924/1
jhh [Thu, 14 Oct 2021 00:07:27 +0000 (19:07 -0500)]
release docker image 2.5.1

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

2 years agorelease maven artifacts 18/124918/1
jhh [Wed, 13 Oct 2021 21:24:58 +0000 (16:24 -0500)]
release maven artifacts

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

2 years agoUpdate parent/common/models/docker references 99/124899/1
liamfallon [Wed, 13 Oct 2021 14:30:08 +0000 (15:30 +0100)]
Update parent/common/models/docker references

Issue-ID: POLICY-3696
Change-Id: Ie0edcbcd7bd7d351f13d415553aa04744b5ab285
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoBump xacml-pdp to 2.5.1-SNAPSHOT 09/124209/1
Ram Krishna Verma [Tue, 14 Sep 2021 21:37:38 +0000 (17:37 -0400)]
Bump xacml-pdp to 2.5.1-SNAPSHOT

Issue-ID: POLICY-3587
Change-Id: I4e912da513ba8ecaf4bdc71659b7b273c0aaab05
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2 years agoRelease xacml-pdp 2.5.0 docker image 04/124204/1
Ram Krishna Verma [Tue, 14 Sep 2021 20:36:52 +0000 (16:36 -0400)]
Release xacml-pdp 2.5.0 docker image

Issue-ID: POLICY-3587
Change-Id: I43d23553f26050010477614cee7e2636121f432e
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2 years agoRelease xacml-pdp 2.5.0 maven artifacts 93/124193/1
Ram Krishna Verma [Tue, 14 Sep 2021 18:45:02 +0000 (14:45 -0400)]
Release xacml-pdp 2.5.0 maven artifacts

Issue-ID: POLICY-3587
Change-Id: I62e8466153769f91c90d5e0b27d01f2be88c65b3
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2 years agoUse released common and models 85/124085/1
liamfallon [Mon, 13 Sep 2021 15:43:45 +0000 (16:43 +0100)]
Use released common and models

Issue-ID: POLICY-3587
Change-Id: I71cfb4a8f554618d48bfd9e3696934450b8c4f5e
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoRemove blank line from INFO.yaml 12/124012/1
liamfallon [Thu, 9 Sep 2021 20:54:43 +0000 (21:54 +0100)]
Remove blank line from INFO.yaml

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

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

2 years agoUpdate INFO.yaml 58/123958/1
liamfallon [Wed, 8 Sep 2021 12:17:10 +0000 (13:17 +0100)]
Update INFO.yaml

Update the INFO.yaml file with latest information.

Issue-ID: POLICY-3552
Change-Id: I9e06af4343686af920e09a7aa7c5e4d91fe3c04d
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoDecrease eclipselink verbosity to warning 05/123905/1
jhh [Tue, 7 Sep 2021 00:25:12 +0000 (19:25 -0500)]
Decrease eclipselink verbosity to warning

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

2 years agoAdd metrics to permanent services 02/123702/1
jhh [Mon, 30 Aug 2021 22:54:21 +0000 (17:54 -0500)]
Add metrics to permanent services

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

2 years agoUse policy/docker image 2.3.0 18/123618/1
Jim Hahn [Thu, 26 Aug 2021 17:40:11 +0000 (13:40 -0400)]
Use policy/docker image 2.3.0

Issue-ID: POLICY-3587
Change-Id: I30c13c533635147d0ce70f58d42aaa8ac1a09604
Signed-off-by: Jim Hahn <jrh3@att.com>
2 years agoAdd filter to control xacml-pdp rest api 22/123422/3
Jim Hahn [Mon, 23 Aug 2021 19:53:55 +0000 (15:53 -0400)]
Add filter to control xacml-pdp rest api

Added a filter class for the REST server that only allows "API" services
(i.e., decision API services) through when the API is enabled,
disallowing them otherwise.  The filter always allows PDP-wide services
(e.g., "healthcheck").
Per review comments:
- modified the new class to "implement Filter" rather than "extends
  AafFilter"

Issue-ID: POLICY-3531
Change-Id: I7055e21045eea270e454a47a443b29476d9a85ee
Signed-off-by: Jim Hahn <jrh3@att.com>
2 years agoMerge "Fix junits broken by change in is-alive type"
Jim Hahn [Mon, 23 Aug 2021 19:49:06 +0000 (19:49 +0000)]
Merge "Fix junits broken by change in is-alive type"

2 years agoFix junits broken by change in is-alive type 70/123470/1
Jim Hahn [Mon, 23 Aug 2021 18:44:54 +0000 (14:44 -0400)]
Fix junits broken by change in is-alive type

Issue-ID: POLICY-3531
Change-Id: I5eadaa6dbb0c66940a5af0c552894a3d874d51a1
Signed-off-by: Jim Hahn <jrh3@att.com>
2 years agoEnable prometheus by default in xacml-pdp 57/123457/1
a.sreekumar [Mon, 23 Aug 2021 14:39:05 +0000 (15:39 +0100)]
Enable prometheus by default in xacml-pdp

Change-Id: Ifae3e0bd9eac90ce843e7b987088dc86907dbd23
Issue-ID: POLICY-3538
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2 years agoRevert "Leave xacml-pdp REST server always running" 21/123421/1
Jim Hahn [Fri, 20 Aug 2021 13:50:44 +0000 (09:50 -0400)]
Revert "Leave xacml-pdp REST server always running"

This reverts commit 031a0fe51dff21445034befc8a6d8732622acd07.

Issue-ID: POLICY-3531
Change-Id: I20eddfc11589b6ab4822a93b8c8c3d3f209537c0
Signed-off-by: Jim Hahn <jrh3@att.com>
2 years agoWait for pdp-pap topic in xacml-pdp 01/123401/1
Jim Hahn [Thu, 19 Aug 2021 13:43:49 +0000 (09:43 -0400)]
Wait for pdp-pap topic in xacml-pdp

Added code to use the new topic-checker functionality to verify
communication on the PDP-PAP topic before sending the first heartbeat.
This functionality can be disabled by setting probeHeartbeatTopicMs to
0 in the xacml config file.

Issue-ID: POLICY-3531
Change-Id: I113792c67aa26fbb188767d3e973b21dbe04f570
Signed-off-by: Jim Hahn <jrh3@att.com>
2 years agoSynchronize updates to xacml-pdp state 38/123338/1
Jim Hahn [Tue, 17 Aug 2021 21:22:26 +0000 (17:22 -0400)]
Synchronize updates to xacml-pdp state

Perhaps this will fix the issue wherein xacml-pdp heartbeats continue to
say "PASSIVE" even after it's set to "ACTIVE".

Issue-ID: POLICY-3531
Change-Id: I6639ed7ca793a899f62e5c80b336408f5e8b2dc6
Signed-off-by: Jim Hahn <jrh3@att.com>
2 years agouse url resource for docker-tag -- xacml 04/123204/2
Taka Cho [Mon, 9 Aug 2021 20:29:29 +0000 (16:29 -0400)]
use url resource for docker-tag -- xacml

use groovy url resource from docker repo
to identify the tag for docker.

Also, rename to dist.project.version for
the unified docker-tag.groovy

Issue-ID: POLICY-3378
Change-Id: I68c739b315d3d794baa4685a3f141e3b7cf9ef31
Signed-off-by: Taka Cho <takamune.cho@att.com>
2 years agoLeave xacml-pdp REST server always running 74/123174/1
Jim Hahn [Fri, 6 Aug 2021 20:57:45 +0000 (16:57 -0400)]
Leave xacml-pdp REST server always running

Liveness checks depend on the xacml-pdp REST server being available.
However, the REST server is only running when PAP puts it in an active
state.  Modified the code to always leave it running.

In a subsequent review, we should split the healthcheck REST service
onto its own port so it can be left running, while the other services
are started/stopped in response to PAP active/passive requests.

Issue-ID: POLICY-3531
Change-Id: I412064abaf91bb966d40adc46cee771b3a0a5dfc
Signed-off-by: Jim Hahn <jrh3@att.com>
2 years agoAdd tutorial example for multi-decisions 18/123018/1
Pamela Dragosh [Fri, 30 Jul 2021 17:17:12 +0000 (13:17 -0400)]
Add tutorial example for multi-decisions

Issue-ID: POLICY-3514
Change-Id: Ifcaa56d35ef359f2b24cc111ca9af4021000514f
Signed-off-by: Pamela Dragosh <pd1248@att.com>
2 years agoAdd attribute return example into Tutorial 98/122798/2
Pamela Dragosh [Wed, 21 Jul 2021 14:58:13 +0000 (10:58 -0400)]
Add attribute return example into Tutorial

Used the tutorial to demonstrate returning of attributes
back into the Decision response.

Needed to update the docker compose for both tutorials to
ensure they are using the master branch versions of api
and pap.

Issue-ID: POLICY-2865
Change-Id: Ia568dfae27d659d940217ddf8d9295dd8409f0e3
Signed-off-by: Pamela Dragosh <pd1248@att.com>
2 years agoMerge "Include returned attributes in Decision"
Jim Hahn [Wed, 21 Jul 2021 13:50:44 +0000 (13:50 +0000)]
Merge "Include returned attributes in Decision"

2 years agoMerge "Use docker registry properties in xacml-pdp"
Ajith Sreekumar [Wed, 21 Jul 2021 11:35:41 +0000 (11:35 +0000)]
Merge "Use docker registry properties in xacml-pdp"

2 years agoUse docker registry properties in xacml-pdp 54/122754/2
Jim Hahn [Tue, 20 Jul 2021 13:59:53 +0000 (09:59 -0400)]
Use docker registry properties in xacml-pdp

Issue-ID: POLICY-3374
Change-Id: I492d69bcebb394219d0a70bac0be6caa289abda8
Signed-off-by: Jim Hahn <jrh3@att.com>
2 years agoInclude returned attributes in Decision 45/122745/4
Pamela Dragosh [Mon, 19 Jul 2021 18:37:41 +0000 (14:37 -0400)]
Include returned attributes in Decision

Adds new method to return attributes in a decision, which
can be configurable.

By default it is turned off which ensures that the current
functionality is maintained for our client applications.

Enhanced the JUnits for the applications to ensure that no
extra information is passed, thus maintaining backward
compatibility.

Issue-ID: POLICY-2865
Change-Id: Ia533e5462c0cb475cb1f72f34e95f128d6c52678
Signed-off-by: Pamela Dragosh <pd1248@att.com>
2 years agoUse new RestClientParameters class in xacml-pdp 18/122718/2
Jim Hahn [Mon, 19 Jul 2021 15:59:46 +0000 (11:59 -0400)]
Use new RestClientParameters class in xacml-pdp

Replaced generic BusTopicParams with more specific RestClientParameters.
Also modified code to pass the HttpClient around instead of passing the
client parameters around.

Issue-ID: POLICY-3456
Change-Id: Ic07b710645eeab696e6df0a015171578ad08ca83
Signed-off-by: Jim Hahn <jrh3@att.com>
2 years agoRemove spaces from postman collection 82/122682/1
Pamela Dragosh [Fri, 16 Jul 2021 19:59:51 +0000 (15:59 -0400)]
Remove spaces from postman collection

Issue-ID: POLICY-3163
Change-Id: I116b9f1f3aa4b17b83d1d56de733b58840d682f4
Signed-off-by: Pamela Dragosh <pd1248@att.com>
2 years agoAdd exclusions parameter 67/122667/5
Pamela Dragosh [Thu, 15 Jul 2021 19:27:05 +0000 (15:27 -0400)]
Add exclusions parameter

Adds the exclusions parameter to exclude applications
that are in the java classpath. This allows overriding
default packaged applications with another that can
support new policy types and/or modify existing
functionality.

Issue-ID: POLICY-3326
Change-Id: Iaad8d26fc4122ad17226ad1e83b72c9f284e6ebd
Signed-off-by: Pamela Dragosh <pd1248@att.com>
2 years agoUse lombok in xacml-pdp 40/122640/2
Jim Hahn [Wed, 14 Jul 2021 20:47:14 +0000 (16:47 -0400)]
Use lombok in xacml-pdp

Also:
- changed a few fields to private/protected.
- swwapped out gson for coder

Issue-ID: POLICY-3400
Change-Id: I9a4dba939b77078f78583ada00af182b1a7d95c5
Signed-off-by: Jim Hahn <jrh3@att.com>
2 years agoChange config to add Application group 99/122599/2
Pamela Dragosh [Tue, 13 Jul 2021 14:12:14 +0000 (10:12 -0400)]
Change config to add Application group

First step for configuration which applications should
be loaded and mapped to actions is to add a new parameter
group for application parameters.

Issue-ID: POLICY-3326
Change-Id: I3867b4e927d57e1e81519dee32d10eed3dabc667
Signed-off-by: Pamela Dragosh <pd1248@att.com>
2 years agoUse unique name in xacml-pdp PdpStatus messages 40/122340/1
Jim Hahn [Mon, 28 Jun 2021 18:47:42 +0000 (14:47 -0400)]
Use unique name in xacml-pdp PdpStatus messages

Added unique name to PdpStatus and HealthCheckReports.

Issue-ID: POLICY-3410
Change-Id: Ife2248ffee9afae76f3eaab7f8b33dba8bdb4019
Signed-off-by: Jim Hahn <jrh3@att.com>
2 years agoUpdate xacml-pdp for checkstyle 8.43 68/122268/1
liamfallon [Mon, 28 Jun 2021 10:19:40 +0000 (11:19 +0100)]
Update xacml-pdp for checkstyle 8.43

Updates are indentation changes on annotations.

Issue-ID: POLICY-3209
Change-Id: I64ee5517996dbb2ae8a043d215c7ccddad121fe3
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoUse protected methods vs private 76/121976/2
Pamela Dragosh [Wed, 23 Jun 2021 15:05:05 +0000 (11:05 -0400)]
Use protected methods vs private

Application and common code in xacml-pdp is meant to be
available for developers to re-use and/or extend as desired.

Private methods are unnecessary at this time, but could be
re-visited in a later release.

For Honolulu, simply moving to protected to keep functionality
the same. Possibly for Istanbul we can make more changes to
support mixing of ONAP application with custom applications
during runtime.

Issue-ID: POLICY-3305
Change-Id: I6db23bda3c81fdbbf86e39cc2cd2e706d8bee63d
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
(cherry picked from commit 8e0aa0ffa5cef537de1c841acf38300832c52a56)
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2 years agoFix new checkstyle issues in xacml-pdp 53/122053/1
Jim Hahn [Fri, 18 Jun 2021 18:03:38 +0000 (14:03 -0400)]
Fix new checkstyle issues in xacml-pdp

The new version of checkstyle identified new issues.  Fixed those.

Issue-ID: POLICY-3288
Change-Id: I334e9eb67c9270c4e53b2fb34e576b8bfbf8ec8b
Signed-off-by: Jim Hahn <jrh3@att.com>
2 years agoFix sonars in xacml-pdp 62/121862/1
Jim Hahn [Thu, 10 Jun 2021 19:51:02 +0000 (15:51 -0400)]
Fix sonars in xacml-pdp

Fixed sonars:
- use "var"

Issue-ID: POLICY-3288
Change-Id: If4f685e0d645f6d6fbdd2cdb86c6b67336f6839a
Signed-off-by: Jim Hahn <jrh3@att.com>
2 years agoUpdate junits for bean validator field name 83/121683/1
Jim Hahn [Tue, 1 Jun 2021 19:12:15 +0000 (15:12 -0400)]
Update junits for bean validator field name

Now that the bean validator uses the serialized field name in its error
messages, updated the junits to use the serialized names, too.

Issue-ID: POLICY-3333
Change-Id: I017aa654480baef06f2869116d4b5264bb32c721
Signed-off-by: Jim Hahn <jrh3@att.com>
2 years agoReplace validation code with annotations 75/121575/3
Jim Hahn [Thu, 27 May 2021 19:10:18 +0000 (15:10 -0400)]
Replace validation code with annotations

Instead of having code to validate various values, created POJOs to
represent the decoded data so that bean validation annotations could be
used instead.
Didn't see any obvious ways to use annotations in the Optimization code,
but did notice a bug (passed role instead of provisions).  Extracted a
common method which fixed the bug as a side-effect.

Issue-ID: POLICY-2418
Change-Id: I9ef589086fc8f7f66810b66405fbf302d7570e5a
Signed-off-by: Jim Hahn <jrh3@att.com>
2 years agoMerge "Change indexes on Op History table"
Ajith Sreekumar [Wed, 26 May 2021 11:38:05 +0000 (11:38 +0000)]
Merge "Change indexes on Op History table"

2 years agoChange indexes on Op History table 32/121532/3
Jim Hahn [Tue, 25 May 2021 13:06:50 +0000 (09:06 -0400)]
Change indexes on Op History table

This is the companion change to that made in policy-models.
Per review comments:
- added index to s3p sql script

Issue-ID: POLICY-2874
Change-Id: Ic270b8da92be8b921b3a865ff1ce923af21faaab
Signed-off-by: Jim Hahn <jrh3@att.com>
2 years agoSupport delta policy lists in xacml-pdp 22/121522/3
Jim Hahn [Mon, 24 May 2021 17:13:07 +0000 (13:13 -0400)]
Support delta policy lists in xacml-pdp

Updated xacml-pdp to use the deploy & undeploy lists in the PDP-UPDATE
message.
Added more code coverage to the junit test class.
Per review:
- added logging for unexpected cases

Issue-ID: POLICY-3188
Change-Id: I0f899abcd497f7eb711d4df358e455fd2d50e904
Signed-off-by: Jim Hahn <jrh3@att.com>
2 years agoRemove csit folder from policy/xacml-pdp 48/121348/1
Ram Krishna Verma [Thu, 13 May 2021 19:32:12 +0000 (15:32 -0400)]
Remove csit folder from policy/xacml-pdp

The csit test files for all repos have been consolidated in policy/docker to maintain them at single place and allow us to trigger verify jobs in gerrit reviews.

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