aboutsummaryrefslogtreecommitdiffstats
path: root/applications
AgeCommit message (Collapse)AuthorFilesLines
2023-03-01Update snapshot and/or references of policy/xacml-pdp to latest snapshotssaul.gill8-8/+8
policy/xacml-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4570 Signed-off-by: saul.gill <saul.gill@est.tech> Change-Id: I1dcfbd1752269cbc5114ca5102ac7338ae05d326
2023-02-17Clean up dependencies for London Releaseliamfallon1-1/+0
Issue-ID: POLICY-4482 Change-Id: Icb720ea0a934f40f419a8e411b444f4d18daaa57 Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-02-02Replace Eclipselink with Hibernateliamfallon5-21/+15
Issue-ID: POLICY-4533 Change-Id: I56cfd55cd66e228e3012152a8fcc11e3011c8a3c Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-01-31Upgrade and clean up dependenciesliamfallon5-8/+14
- Upgrade Hibernate - Upgrade Mockito - Upgrade Mockserver - Remove Powermock (no longer supported) and replace with spring-test ReflectionTestUtils - Upgrade Spring Framework - Add spring-security to allow authentication on unit tests using MockMVC Minor clean-up - Replace deprecated authorization configuraiton on spring boot applications with SecurityFilterChain bean - Change @LocalPort include on tests to use test include rather than runtime include - Remove unused imports - Remove unused constants and variables - Add deprecation annotations where required Issue-ID: POLICY-4482 Change-Id: Ia61e137f7f7b7807f376d894be05d1c357a86bdd Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-12-15Update snapshot and/or references of policy/xacml-pdp to latest snapshotsliamfallon8-8/+8
policy/xacml-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ib1d91e535d562d7ccac1259745a2e4c00bf10614
2022-12-13Use managed versions of dependenciesliamfallon1-2/+1
Issue-ID: POLICY-4482 Change-Id: I5a4385ad1b7a18e538e67304c20bfdeb5d2fd273 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-10-21Set snapshot and/or references of policy/xacml-pdp for new releaseliamfallon8-8/+8
policy/xacml-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Icb77bcddf808c91379431b0e9f67a703755f945e
2022-10-21Update snapshot and/or references of policy/xacml-pdp to latest snapshotsliamfallon8-8/+8
policy/xacml-pdp updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Id22d9db8667fe0a2585db7830e0042d482a28895
2022-09-23Update snapshot and/or references of policy/xacml-pdp to latest snapshotsliamfallon8-8/+8
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-09-06Upgrade xacml engine to 3.1.0jhh1-1/+1
Issue-ID: POLICY-4275 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ia1422e168465dbb9dca1961e7d0f5371ea619f62
2022-08-24Support of onap.policies.monitoring.tcagen2 2.0.0jhh1-35/+63
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-05-03Set snapshot and/or references of policy/xacml-pdp for new releaseliamfallon8-8/+8
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 snapshotsliamfallon8-8/+8
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 snapshotsliamfallon8-8/+8
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-03-11Update snapshot and/or references of policy/xacml-pdp to latest snapshotsliamfallon8-8/+8
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-02-11Fix xacml pdp to accommodate Object values in policy metadatarameshiyer275-8/+8
Issue-ID: POLICY-3832 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I276bf28d3fdaad6e1d7cde315cdb049343cbde3f
2022-02-08Fixing sonar issues in xacml-pdpisaac7-22/+23
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-SNAPSHOTliamfallon8-8/+8
*** 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-SNAPSHOTliamfallon8-8/+8
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-SNAPSHOTliamfallon8-8/+8
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 Verma8-8/+8
Issue-ID: POLICY-3587 Change-Id: I4e912da513ba8ecaf4bdc71659b7b273c0aaab05 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-07-21Merge "Include returned attributes in Decision"Jim Hahn6-4/+143
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 Hahn16-100/+62
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 Dragosh1-2/+2
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 Hahn18-69/+33
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-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-06Fix sonars in xacml-pdpJim Hahn23-182/+176
Fixed: - use "var" instead of actual type Issue-ID: POLICY-3285 Change-Id: Id17142d1f2e3e5f9dfbffcb96aff7fe76321a56b Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-17Change RestServerParameters to BusTopicParamsJim Hahn16-74/+63
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-12Remove more unnecessary plugins from xacml-pdpJim Hahn1-44/+3
Issue-ID: POLICY-3126 Change-Id: Ic20b00aa1f2eaac0272792809a059a851bfbfffc Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-11Bump xacml-pdp 2.5.0-SNAPSHOTPamela Dragosh8-8/+8
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 Dragosh8-8/+8
Issue-ID: POLICY-3127 Change-Id: I586fc25f730b708d047999706fd74d6b965bb130 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-02-23bump poms to 2.4.1-SNAPSHOTjhh8-8/+8
Issue-ID: POLICY-3088 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I42c32bbb1ef6e275b8b3a0693492c7e4e61dd6eb
2021-02-19Fix junit for "native" on WindowsJim Hahn1-2/+12
Windows doesn't like file names containing ":". Added code to replace ":" with "_", but only when the JVM is run on a Windows OS. Issue-ID: POLICY-3085 Change-Id: I1d3b6819bf564571eddda69e4c5fbd2bb807a3aa Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-18Fix sonars and target dirPamela Dragosh1-4/+4
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-18Utilize time extensionsPamela Dragosh10-16/+379
Switched to using the new Time Extensions released in XACML from github v3.0. Added more thorough tests for it as well as the flexibility of specifying the current time etc. More syntax checking on the inputs from the policy. Issue-ID: POLICY-2810 Change-Id: I1b4ec885c706e37949e5dabe14c63b0d7456cd4f Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-02-17Fix wrong category for timeRangePamela Dragosh1-2/+2
The category is wrong, and will not work. So fixing this bug first before working in the changes for use new Time Extensions. I may make it all configurable. Issue-ID: POLICY-2810 Change-Id: I4a338242dd4ec35f9b45fa1f46609dea93e286a1 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-02-11Fix sonars from dependency upgradeJim Hahn6-34/+24
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 Hahn2-0/+2
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-19Upgrade to xacml 3.0 github releasePamela Dragosh1-2/+2
Point to the newly release 3.0, which is JDK11 compatible and contains the latest time extensions. Simple ensuring that nothing is broken on our end. Issue-ID: POLICY-2810 Change-Id: Ic2fed1b57574ebd1b9eaaa19c19578a42ade5483 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-01-04Changed identifiers to concept identifiersliamfallon18-97/+113
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-12-23Fix directory renameJim Hahn3-0/+0
Eclipse generates java errors if a package name contains "native" as a component OR if the path to a java source file contains "native". Renamed the "native" directories back to "nativ" to fix the errors. Issue-ID: POLICY-2900 Change-Id: Id718e69ae59e8fdbad72ad42347264766312a5ad Signed-off-by: Jim Hahn <jrh3@att.com>
2020-12-21XACML to accept properties as nullliamfallon6-6/+32
xacml-pdp expects the property map to exist in all policies, even if it is sometimes empty. Now, the propperty map can be null. The code is updated to cope with a null property map. Issue-ID: POLICY-2900 Change-Id: Ie31a2770aff1435a1d1064512d0c2fa2088d3183 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-12-04Fix sonar issues with visibilityPamela Dragosh3-4/+4
S5993 Change the visibility of this constructor to "protected". Issue-ID: POLICY-2912 Change-Id: I2fd9fcd3162c8bf28ba0315939ef259356f442db Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-11-30ToscaEntityType renamed ToscaSchemaDefinitionliamfallon10-45/+58
The TOSCA class ToscaEntityType is renamed to ToscaSchemaDefinition becasue keys as well as entities can have schemas, so the class has more usages than just for entity schemas. Issue-ID: POLICY-2900 Change-Id: I7a1a3a1262078c47eeea1820538ecb6153f5e652 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-10-27Bump xacml-pdp master to 2.4.0-SNAPSHOTJim Hahn8-8/+8
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>