aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-09-11Update PF base imageliamfallon1-1/+1
Update PF base image to snapshot *** This commit is generated by a PF release script *** Issue-ID: POLICY-4338 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I0b86deb7b74f7911d392f3f05937d404ee4ab546
2022-07-11update policy models referencesliamfallon1-1/+1
updated policy models references *** This commit is generated by a PF release script *** Issue-ID: POLICY-4233 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I7350926e7895a4268ec53d90814bde984784015b
2022-07-07Fix Raw XACML Decision API Serializationdc443y3-8/+8
Issue-ID: POLICY-4274 Signed-off-by: dc443y <dc443y@att.com> Change-Id: I0d367d35e7ec52c7587ec75194b654cc41303868 Signed-off-by: dc443y <dc443y@att.com>
2022-05-19Set the default tag of image policy-xacml-pdp to be project version on istanbulxudan161-2/+1
The default tag of image policy-xacml-pdp was latest. When building on istanbul 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
2022-03-01Update snapshot and/or references of policy/xacml-pdp to latest snapshotsliamfallon21-24/+24
policy/xacml-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-3958 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I59a3f8406f4f95580f4473fe5a3089acf7472af4
2022-03-01Release docker images for policy/xacml-pdp: 2.5.2liamfallon1-0/+8
This commit releases docker images for repo policy/xacml-pdp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-3958 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I20ffb916305ecf3a5529dc73dcd2832979fc530e
2022-02-28Release policy/xacml-pdp: 2.5.2liamfallon1-0/+5
This commit releases repo policy/xacml-pdp. *** This commit is generated by a PF release script *** Issue-ID: POLICY-3958 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Id344f5ac0b6e3e73bf695a627647079d1c7ca188
2022-02-28update references in policy/xacml-pdp pomliamfallon2-4/+4
updated references in the policy/xacml-pdp pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-3958 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I7dcf0a1a9bce2e6ad32f5d3a1782e6b3456880ad
2021-10-25Point to Istanbul snapshot dependency9.0.0-ONAPRam Krishna Verma1-3/+3
Issue-ID: POLICY-3788 Change-Id: I4a0a3481936484395d6d6a175df2ce862e9019f7 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-10-14Change policy-xacml-pdp default branch on istanbula.sreekumar1-1/+1
Change-Id: Ia9aa5cd6341a263cf4ccdab25ce3c2a0a98604e9 Issue-ID: POLICY-3696 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-10-14Bump policy/xacml-pdp to 2.5.2-SNAPSHOTliamfallon21-21/+21
Issue-ID: POLICY-3696 Change-Id: I892219ee37f689eaa250142d0a1e6610a8b227ff Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-13release docker image 2.5.1jhh1-0/+8
Issue-ID: POLICY-3696 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Idb999cd821d49f7a3da6973ba98e659e577f4794
2021-10-13release maven artifactsjhh1-0/+5
Issue-ID: POLICY-3696 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ie32f21167799dc367702309be02823723d82d75f
2021-10-13Update parent/common/models/docker referencesliamfallon2-4/+4
Issue-ID: POLICY-3696 Change-Id: Ie0edcbcd7bd7d351f13d415553aa04744b5ab285 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-14Bump xacml-pdp to 2.5.1-SNAPSHOTRam Krishna Verma21-21/+21
Issue-ID: POLICY-3587 Change-Id: I4e912da513ba8ecaf4bdc71659b7b273c0aaab05 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-09-14Release xacml-pdp 2.5.0 docker imageRam Krishna Verma1-0/+8
Issue-ID: POLICY-3587 Change-Id: I43d23553f26050010477614cee7e2636121f432e Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-09-14Release xacml-pdp 2.5.0 maven artifactsRam Krishna Verma1-0/+5
Issue-ID: POLICY-3587 Change-Id: I62e8466153769f91c90d5e0b27d01f2be88c65b3 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-09-13Use released common and modelsliamfallon1-2/+2
Issue-ID: POLICY-3587 Change-Id: I71cfb4a8f554618d48bfd9e3696934450b8c4f5e Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-09Remove blank line from INFO.yamlliamfallon1-1/+0
Issue-ID: POLICY-3587 Change-Id: I0ac07acbd91523d448f6004e07531c8736b88848 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-09Point at released policy-parentliamfallon1-1/+1
Issue-ID: POLICY-3587 Change-Id: I3ef745b1051e5fbdbbc563d64ff28077496fd6c5 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-09Merge "Update INFO.yaml"Pamela Dragosh1-11/+15
2021-09-08Update INFO.yamlliamfallon1-11/+15
Update the INFO.yaml file with latest information. Issue-ID: POLICY-3552 Change-Id: I9e06af4343686af920e09a7aa7c5e4d91fe3c04d Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-06Decrease eclipselink verbosity to warningjhh1-1/+1
Issue-ID: POLICY-3611 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I63b78252f7c46d039d3709c4356ebdef4f4a96c6
2021-08-30Add metrics to permanent servicesjhh1-1/+1
Issue-ID: POLICY-3531 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I30ac993f161f2ed7e86a968e3f51631d3654b516
2021-08-26Use policy/docker image 2.3.0Jim Hahn1-1/+1
Issue-ID: POLICY-3587 Change-Id: I30c13c533635147d0ce70f58d42aaa8ac1a09604 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-23Add filter to control xacml-pdp rest apiJim Hahn10-34/+287
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>
2021-08-23Merge "Fix junits broken by change in is-alive type"Jim Hahn1-1/+3
2021-08-23Fix junits broken by change in is-alive typeJim Hahn1-1/+3
Issue-ID: POLICY-3531 Change-Id: I5eadaa6dbb0c66940a5af0c552894a3d874d51a1 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-23Enable prometheus by default in xacml-pdpa.sreekumar1-1/+2
Change-Id: Ifae3e0bd9eac90ce843e7b987088dc86907dbd23 Issue-ID: POLICY-3538 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-08-20Revert "Leave xacml-pdp REST server always running"Jim Hahn4-20/+43
This reverts commit 031a0fe51dff21445034befc8a6d8732622acd07. Issue-ID: POLICY-3531 Change-Id: I20eddfc11589b6ab4822a93b8c8c3d3f209537c0 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-08-19Wait for pdp-pap topic in xacml-pdpJim Hahn5-32/+168
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>
2021-08-17Synchronize updates to xacml-pdp stateJim Hahn2-6/+12
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>
2021-08-09use url resource for docker-tag -- xacmlTaka Cho1-20/+6
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>
2021-08-06Leave xacml-pdp REST server always runningJim Hahn4-47/+20
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>
2021-07-30Add tutorial example for multi-decisionsPamela Dragosh6-28/+380
Issue-ID: POLICY-3514 Change-Id: Ifcaa56d35ef359f2b24cc111ca9af4021000514f Signed-off-by: Pamela Dragosh <pd1248@att.com>
2021-07-21Add attribute return example into TutorialPamela Dragosh5-20/+84
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>
2021-07-21Merge "Include returned attributes in Decision"Jim Hahn6-4/+143
2021-07-21Merge "Use docker registry properties in xacml-pdp"Ajith Sreekumar1-3/+1
2021-07-20Use docker registry properties in xacml-pdpJim Hahn1-3/+1
Issue-ID: POLICY-3374 Change-Id: I492d69bcebb394219d0a70bac0be6caa289abda8 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-07-20Include returned attributes in DecisionPamela Dragosh6-4/+143
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>
2021-07-19Use new RestClientParameters class in xacml-pdpJim Hahn26-153/+122
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>
2021-07-16Remove spaces from postman collectionPamela Dragosh1-0/+0
Issue-ID: POLICY-3163 Change-Id: I116b9f1f3aa4b17b83d1d56de733b58840d682f4 Signed-off-by: Pamela Dragosh <pd1248@att.com>
2021-07-16Add exclusions parameterPamela Dragosh10-11/+166
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>
2021-07-14Use lombok in xacml-pdpJim Hahn25-210/+64
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>
2021-07-13Change config to add Application groupPamela Dragosh17-30/+163
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>
2021-06-28Use unique name in xacml-pdp PdpStatus messagesJim Hahn4-11/+16
Added unique name to PdpStatus and HealthCheckReports. Issue-ID: POLICY-3410 Change-Id: Ife2248ffee9afae76f3eaab7f8b33dba8bdb4019 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-06-28Update xacml-pdp for checkstyle 8.43liamfallon1-44/+70
Updates are indentation changes on annotations. Issue-ID: POLICY-3209 Change-Id: I64ee5517996dbb2ae8a043d215c7ccddad121fe3 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-06-24Use protected methods vs privatePamela Dragosh8-23/+24
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>
2021-06-18Fix new checkstyle issues in xacml-pdpJim Hahn2-4/+4
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>
2021-06-10Fix sonars in xacml-pdpJim Hahn2-2/+2
Fixed sonars: - use "var" Issue-ID: POLICY-3288 Change-Id: If4f685e0d645f6d6fbdd2cdb86c6b67336f6839a Signed-off-by: Jim Hahn <jrh3@att.com>