aboutsummaryrefslogtreecommitdiffstats
path: root/main
AgeCommit message (Collapse)AuthorFilesLines
2022-09-23Update snapshot and/or references of policy/xacml-pdp to latest snapshotsliamfallon1-1/+1
policy/xacml-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Idc27e55ef48287be95143928d764487dd0509049
2022-08-24Support of onap.policies.monitoring.tcagen2 2.0.0jhh2-9/+7
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>
2022-07-06Fix 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-06-21Adding support for custom application metrics in Xacml-PDP.isaac6-90/+138
Issue-ID: POLICY-3762 Signed-off-by: isaac <isaac.adorno@att.com> Change-Id: I84b43ae3a61702ceaf9f526a1c537caa77802af6
2022-05-03Set snapshot and/or references of policy/xacml-pdp for new releaseliamfallon1-1/+1
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>
2022-04-28Update snapshot and/or references of policy/xacml-pdp to latest snapshotsliamfallon1-1/+1
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
2022-04-12Update snapshot and/or references of policy/xacml-pdp to latest snapshotsliamfallon1-1/+1
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
2022-04-07add prometheus lib to track per-level log entriesjhh1-1/+5
Issue-ID: POLICY-3984 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I049de5e8b4a08d25624c2ada8f8d488ead2a1cb8
2022-03-13Merge "Update snapshot and/or references of policy/xacml-pdp to latest ↵Liam Fallon1-1/+1
snapshots"
2022-03-11Update snapshot and/or references of policy/xacml-pdp to latest snapshotsliamfallon1-1/+1
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
2022-03-10Extending Prometheus counts to include permit / deny / indeterminantisaac1-0/+16
Issue-ID: POLICY-3762 Signed-off-by: isaac <isaac.adorno@att.com> Change-Id: I2ca7c9384316d08b13a7f90ba99975e602007351
2022-03-02Adding Prometheus counts to XacmlPdpStatisticsManagerisaac1-0/+19
Issue-ID: POLICY-3762 Signed-off-by: isaac <isaac.adorno@att.com> Change-Id: I865fc01dac91fe77421fc2fceb72eac49c9d8a78
2022-02-23Adding statistics to PDP Heartbeat Messagesisaac7-30/+173
Issue-ID: POLICY-3034 Signed-off-by: isaac <isaac.adorno@att.com> Change-Id: I495da4178b9715ec710fdc790f08faef0fc456d5
2022-02-08Fixing sonar issues in xacml-pdpisaac1-2/+2
Issue-ID: POLICY-3900 Signed-off-by: isaac <isaac.adorno@att.com> Change-Id: I29d22d1c6b690204270d87fff6ce42d9d00cef6a
2021-11-29Update snapshot of policy/xacml-pdp to 2.6.1-SNAPSHOTliamfallon1-1/+1
*** 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-10-14Bump policy/xacml-pdp to Jakarta 2.6.0-SNAPSHOTliamfallon1-1/+1
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-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: I892219ee37f689eaa250142d0a1e6610a8b227ff Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-14Bump xacml-pdp to 2.5.1-SNAPSHOTRam Krishna Verma1-1/+1
Issue-ID: POLICY-3587 Change-Id: I4e912da513ba8ecaf4bdc71659b7b273c0aaab05 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
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-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-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-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-19Use new RestClientParameters class in xacml-pdpJim Hahn9-51/+59
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-16Add exclusions parameterPamela Dragosh9-9/+164
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 Hahn7-141/+31
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 Dragosh16-29/+160
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-05-25Support delta policy lists in xacml-pdpJim Hahn2-33/+112
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>
2021-05-06Fix sonars in xacml-pdpJim Hahn12-34/+33
Fixed: - use "var" instead of actual type Issue-ID: POLICY-3285 Change-Id: Id17142d1f2e3e5f9dfbffcb96aff7fe76321a56b Signed-off-by: Jim Hahn <jrh3@att.com>
2021-04-29Remove GroupValidationResultJim Hahn4-93/+49
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>
2021-03-19Delete keystores from xacmlJim Hahn2-4/+4
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>
2021-03-17Change RestServerParameters to BusTopicParamsJim Hahn15-57/+61
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>
2021-03-16Update policy-keystore with newer certificatesjhh1-0/+0
Issue-ID: POLICY-3139 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ia0c86441b1c95b45959be070015ea57f106d7002
2021-03-11Bump xacml-pdp 2.5.0-SNAPSHOTPamela Dragosh1-1/+1
Issue-ID: POLICY-3105 Change-Id: I9fd03ff6a405b127c1eabbfe301f3b9ea8327aad Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-03-09Bump xacml to 2.4.2-SNAPSHOTPamela Dragosh1-1/+1
Issue-ID: POLICY-3127 Change-Id: I586fc25f730b708d047999706fd74d6b965bb130 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-02-23bump poms to 2.4.1-SNAPSHOTjhh1-1/+1
Issue-ID: POLICY-3088 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I42c32bbb1ef6e275b8b3a0693492c7e4e61dd6eb
2021-02-18Fix sonars and target dirPamela Dragosh3-18/+15
Fix a couple of sonars introduced by the PdpType review. Also creation of a target directory below the xacml-pdp directory. Issue-ID: POLICY-3071 Change-Id: I9fe325d0a75970fbe3d42be36906013c1fc2ecb9 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-02-16Make xacml pdpType configurablePamela Dragosh13-24/+81
Adding code to enable the pdp type to be configurable. Issue-ID: POLICY-3071 Change-Id: I51c873f68bff1866c6b2e96958b6c33872aea2c8 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-02-11Fix sonars from dependency upgradeJim Hahn6-36/+26
The dependency upgrades in policy-parent caused some new sonars. In particular, initMocks() has been deprecated - replaced with calls to the Mockito Runner. Also removed unnecessary when() calls. Issue-ID: POLICY-2912 Change-Id: If386bd282635067a20045f2626af0cf5be49bc0e Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-10Upgrade dependenciesJim Hahn1-0/+1
Updated properties to work with the new version of eclipselink. Issue-ID: POLICY-3005 Change-Id: I88091a90387e235ef5c168de7a3275056327d83e Signed-off-by: Jim Hahn <jrh3@att.com>
2021-01-04Changed identifiers to concept identifiersliamfallon2-10/+11
The policy models tosca classes ToscaPolicyIdentifier and ToscaPolicyIdentifierOptVersion can be used to identify any TOSCA concept, not just TOSCA policies so they are renamed to ToscaConceptIdentifier and ToscaCinceptIdentifierOptVersion respectively. The class ToscaPolicyTypeIdentifier is redundant and is replaced by ToscaConceptIdentifier. Issue-ID: POLICY-2900 Change-Id: Id614bbed34ed8897e7e882b70147b98ffe90bf57 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-10-27Bump xacml-pdp master to 2.4.0-SNAPSHOTJim Hahn1-1/+1
Bumping minor version now that guilin branch has been created. Also repointed to snapshot versions for dependencies. Issue-ID: POLICY-2875 Change-Id: I145f638d6409f92cf916b08ace10a159d5e52c73 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-10-20Bump xacml 2.3.4 SNAPSHOTPamela Dragosh1-1/+1
Issue-ID: POLICY-2869 Change-Id: If8e944fce44ca0b613da9f92f4516049994fff86 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-07Bump xacml-pdp to 2.3.3 snapshotPamela Dragosh1-1/+1
Issue-ID: POLICY-2839 Change-Id: I78bf1cebb31c3c3c48d214fa755892b9a3a58323 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>