policy/xacml-pdp.git
20 months agoRelease policy/xacml-pdp 10.0.1-PF-I1 2.6.4
jenkins-releng [Fri, 2 Sep 2022 13:09:59 +0000 (13:09 +0000)]
Release policy/xacml-pdp

20 months agoupdate references in policy/xacml-pdp pom 70/130670/1
liamfallon [Fri, 2 Sep 2022 12:00:04 +0000 (13:00 +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-4333
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I7c26dc072d405519a859efa8baa7928abd8ee464

22 months agoFix Raw XACML Decision API Serialization 23/129823/1
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 agoupdate policy-models references 61/129761/1
liamfallon [Fri, 1 Jul 2022 14:22:01 +0000 (15:22 +0100)]
update policy-models references

update policy model references

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

Issue-ID: POLICY-4270
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: If60a9d4da9ae4423bed155c3e9d0ff3248f7797d
Signed-off-by: liamfallon <liam.fallon@est.tech>
23 months agoUpdate default branch in .gitreview 45/129545/1
liamfallon [Wed, 8 Jun 2022 13:53:26 +0000 (14:53 +0100)]
Update default branch in .gitreview

Update default branch in .gitreview to jakarta

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

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

23 months agoSet the default tag of image policy-xacml-pdp to be project version 96/129296/1
xudan16 [Wed, 18 May 2022 02:57:47 +0000 (10:57 +0800)]
Set the default tag of image policy-xacml-pdp to be project version

The default tag of image policy-xacml-pdp is latest.
When building on the stable branch, the latest tag generated
will override the one generated on master branch.

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

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>
3 years agoFix xacml-pdp csit test cases 60/121260/1
Ram Krishna Verma [Tue, 11 May 2021 13:22:43 +0000 (09:22 -0400)]
Fix xacml-pdp csit test cases

In the recent runs, it was found that get statitcs might take few seconds longer after the actual deployment of policies. So, increasing the "max" wait time for the test cases to 1 min. And it won't slow down the tests as the check will be made every 15 sec to verify if the assertions are passing. The moment they pass, it will move on.

Issue-ID: POLICY-3257
Change-Id: I505c6e95e78a35b8bf1ee9921efbfcb4bd4874fb
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
3 years agoRefactor policy/xacml-pdp csit tests 04/121204/1
Ram Krishna Verma [Fri, 7 May 2021 20:52:47 +0000 (16:52 -0400)]
Refactor policy/xacml-pdp csit tests

* Removed the deprecated methods.
* Removed duplicated code.
* Created method hierarchy to improve the readability.
* Updated the assertions on various tests.

Issue-ID: POLICY-3257
Change-Id: If9562b19e1a9b16ee0d5a5211a557b4f818f62c3
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
3 years agoMerge "Fix sonars in xacml-pdp"
Pamela Dragosh [Fri, 7 May 2021 12:37:05 +0000 (12:37 +0000)]
Merge "Fix sonars in xacml-pdp"

3 years agoFix sonars in xacml-pdp 43/121143/1
Jim Hahn [Thu, 6 May 2021 18:57:24 +0000 (14:57 -0400)]
Fix sonars in xacml-pdp

Fixed:
- use "var" instead of actual type

Issue-ID: POLICY-3285
Change-Id: Id17142d1f2e3e5f9dfbffcb96aff7fe76321a56b
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoUpdate tutorials to point to honolulu images 34/121134/2
Pamela Dragosh [Thu, 6 May 2021 14:44:53 +0000 (10:44 -0400)]
Update tutorials to point to honolulu images

These should point to released images so that the user can
perform the tutorial without any problems. They can certainly
update the docker-compose.yml with whatever image they want.

Issue-ID: POLICY-3292
Change-Id: I85b9bb90bb959d0f1078238344c4aa25ef2b2a35
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
3 years agoRemove GroupValidationResult 82/120982/2
Jim Hahn [Tue, 27 Apr 2021 15:39:56 +0000 (11:39 -0400)]
Remove GroupValidationResult

Removed GroupValidationResult, replacing it with BeanValidationResult.
Modified the ParameterGroup subclasses to use BeanValidator, adding
annotations where needed to trigger the validations that had been
automatically performed by GroupValidationResult.

Issue-ID: POLICY-2059
Change-Id: I039f761745316fea41d63bdc885584c9a9c2bc6e
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoUse sh instead of ash in xacml-pdp 41/120241/2
Jim Hahn [Tue, 6 Apr 2021 19:44:33 +0000 (15:44 -0400)]
Use sh instead of ash in xacml-pdp

Issue-ID: POLICY-3160
Change-Id: I168a7d4630c487dd9d219f25383cd2f4fd781028
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoChange pap deploy response code to 202 for jmeter 99/119999/1
jhh [Mon, 29 Mar 2021 20:41:55 +0000 (15:41 -0500)]
Change pap deploy response code to 202 for jmeter

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

3 years agoDelete keystores from xacml 54/119554/1
Jim Hahn [Fri, 19 Mar 2021 16:13:26 +0000 (12:13 -0400)]
Delete keystores from xacml

The Keystore is no longer needed in the tarball, as it is supplied
externally by the CSITs and Helm charts.  Deleted that file.
Also modified the junits to use utils-test to generates keystores at
runtime, thus deleted the junit keystore file, too.

Issue-ID: POLICY-3143
Change-Id: If4966538452a16b22ea3a338eb9656a295641402
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoChange RestServerParameters to BusTopicParams 52/119452/3
Jim Hahn [Wed, 17 Mar 2021 19:10:17 +0000 (15:10 -0400)]
Change RestServerParameters to BusTopicParams

HTTP client parameters should be based on BusTopicParams instead of
RestServerParameters, modified the policyApiParameters.

Issue-ID: POLICY-3147
Change-Id: I73aa34bec3ab7e27e7a3474260f411ed55b6f933
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoUpdate policy-keystore with newer certificates 89/119389/1
jhh [Tue, 16 Mar 2021 15:35:56 +0000 (10:35 -0500)]
Update policy-keystore with newer certificates

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

3 years agoRemove more unnecessary plugins from xacml-pdp 78/119278/3
Jim Hahn [Fri, 12 Mar 2021 22:49:41 +0000 (17:49 -0500)]
Remove more unnecessary plugins from xacml-pdp

Issue-ID: POLICY-3126
Change-Id: Ic20b00aa1f2eaac0272792809a059a851bfbfffc
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoAddress plugin-not-found issues 65/119265/1
Jim Hahn [Fri, 12 Mar 2021 17:00:11 +0000 (12:00 -0500)]
Address plugin-not-found issues

Removed references to archetype-packaging and lifecycle-mapping, where
unnecessary due to pom inheritance.

Issue-ID: POLICY-3126
Change-Id: Ic48a4482b44f40000549bacf9627894e608977a3
Signed-off-by: Jim Hahn <jrh3@att.com>
3 years agoBump xacml-pdp 2.5.0-SNAPSHOT 90/119190/1
Pamela Dragosh [Thu, 11 Mar 2021 20:36:39 +0000 (15:36 -0500)]
Bump xacml-pdp 2.5.0-SNAPSHOT

Issue-ID: POLICY-3105
Change-Id: I9fd03ff6a405b127c1eabbfe301f3b9ea8327aad
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
3 years agoMerge "add a sleep 5 sec for robot"
Jim Hahn [Wed, 10 Mar 2021 16:01:12 +0000 (16:01 +0000)]
Merge "add a sleep 5 sec for robot"

3 years agoadd a sleep 5 sec for robot 71/119071/2
Taka Cho [Wed, 10 Mar 2021 13:54:33 +0000 (08:54 -0500)]
add a sleep 5 sec for robot

add a sleep time to
ensure the deploypolicies received

Issue-ID: POLICY-2895
Change-Id: Ib21fdfb54ab2fe550a359f04a82cb355b354026d
Signed-off-by: Taka Cho <takamune.cho@att.com>
3 years agoBump xacml to 2.4.2-SNAPSHOT 91/118991/1
Pamela Dragosh [Tue, 9 Mar 2021 19:44:21 +0000 (14:44 -0500)]
Bump xacml to 2.4.2-SNAPSHOT

Issue-ID: POLICY-3127
Change-Id: I586fc25f730b708d047999706fd74d6b965bb130
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
3 years agoRelease xacml-pdp 2.4.1 docker 89/118989/1
Pamela Dragosh [Tue, 9 Mar 2021 18:33:40 +0000 (13:33 -0500)]
Release xacml-pdp 2.4.1 docker

Issue-ID: POLICY-3127
Change-Id: I1421920c16de5f9f9d8bf6208d022e4e4d987bfa
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
3 years agoRelease xacml-pdp 2.4.1 maven 86/118986/1
Pamela Dragosh [Tue, 9 Mar 2021 17:55:47 +0000 (12:55 -0500)]
Release xacml-pdp 2.4.1 maven

Issue-ID: POLICY-3127
Change-Id: Iac7bb6264de5f5726926da94560d59a4c93ff16a
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
3 years agoPoint to released models 2.4.1 85/118985/1
Pamela Dragosh [Tue, 9 Mar 2021 17:18:17 +0000 (12:18 -0500)]
Point to released models 2.4.1

Issue-ID: POLICY-3127
Change-Id: I1c3255e15bff18185705465ebbfc0db6cc0b5f22
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>