summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-11-29Update snapshot of policy/xacml-pdp to 2.6.1-SNAPSHOTliamfallon21-21/+21
*** 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
2021-11-26Release docker images for policy/xacml-pdp: 2.6.0liamfallon1-0/+8
*** 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
2021-11-26Release policy/xacml-pdp: 2.6.0liamfallon1-0/+5
*** 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
2021-11-25Update parent and common referencesliamfallon2-4/+4
*** 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>
2021-10-25Point to snapshot dependencyRam Krishna Verma1-3/+3
Issue-ID: POLICY-3788 Change-Id: Ic67a1c8fc53b03d6c0105ec3663a5164ed9c52a9 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-10-22Updated endpoints in xacml-pdp jmx filesktimoney2-13/+13
Issue-ID: POLICY-3780 Change-Id: I296f9e6e2e8e127e73e3ad118ddc0f7520434fac Signed-off-by: ktimoney <kevin.timoney@est.tech>
2021-10-14Bump policy/xacml-pdp to Jakarta 2.6.0-SNAPSHOTliamfallon21-22/+22
Issue-ID: POLICY-3696 Change-Id: If5e83b9ab94f62fa8063e565f9dd1daf8d9880b2 Signed-off-by: liamfallon <liam.fallon@est.tech>
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>
2021-06-01Update junits for bean validator field nameJim Hahn1-2/+2
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>
2021-05-27Replace validation code with annotationsJim Hahn8-262/+297
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>
2021-05-26Merge "Change indexes on Op History table"Ajith Sreekumar2-3/+9