summaryrefslogtreecommitdiffstats
path: root/pom.xml
AgeCommit message (Collapse)AuthorFilesLines
2019-05-14Upgrade to release policy/models2.0.0Pamela Dragosh1-1/+1
Version 2.0.0 Issue-ID: POLICY-1630 Change-Id: I6255f19fe204e54dc6d52eae875071a946ebca8b Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-13Upgrade policy/parent & policy/common in xacml-pdpramverma1-2/+2
Change-Id: I5e3f41ed4f69eeab41a852f2372f43a81890b46f Issue-ID: POLICY-1630 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-04-05Xacml PDP Register/Unregister ChangesMichael Mokry1-2/+2
1) Modified activator - Extend and use ServiceManagerContainer - add topicSink and topicSource properties to TopicEndpoint manager 2) Added PAP registration class 3) Added PDP message formatting class 4) Added PDP State Change listener to listen for state change and send back PDP Status.. then start heartbeat if not started already 5) Added Heartbeat publisher code to send heartbeat status on periodic interval 6) UPDATE: Made changes to satisfy Jim's review comments 7) Added code to XacmlPdpApplicationManager to get supportedPolicyTypes 8) UPDATE: more changes to satisfy Jim's latest review comments 9) Fixed the failed Junits causing build failure 10) Made change to use NetworkUtil for getting PdpStatus name value per Jorge's comment Still need to in separate review: 1) Write Junits for new code Registration and heartbeat flow as I understand it: 1) PDP starts and sends initial status to PAP with PASSIVE state 2) PDP listens for State Change from the PAP 3) PDP sends updated Active state to the AP 4) PDP begins sending periodic heartbeat status to the PAP Change-Id: Iafa06ae3f1ee195c7da3710a12d9c095c5413ec2 Issue-ID: POLICY-1449 Signed-off-by: Michael Mokry <michael.mokry@att.com>
2019-03-25Adding optimization application finish guardPamela Dragosh1-1/+5
Created Optimization application and created a translator for it. The translator makes an assumption that OOF wants to query on policyScope and policyType properties. Rearranged some of the test code for re-usability. Guard policies are now creating for frequency limiter and min max. Probably could use some clean up. Upgraded to xacml 2.0.1 to include a fix for handling null attribute values. Added some code to test missing values. Issue-ID: POLICY-1273 Change-Id: Ia3dbfa992bbe0cbb5aa294c38aa2aff430a3230a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-03-21Reorder xacml 2.0.0 loadingPamela Dragosh1-11/+0
This dependency should only be in the applications area. Reordering may help ensure that the correct jackson is loaded for glassfish. Issue-ID: POLICY-1609 Change-Id: I727a5266204e8e2e5c35b7a326baff854b55e523 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-03-19Exclude jackson-annotationsPamela Dragosh1-0/+6
Jackson 2.9.8 databind references annotations 2.9.0. This seems to break jersey which needs an earlier annotations version. I think we can safely exclude Xacml for now. Issue-ID: POLICY-1609 Change-Id: I60b76e742412ffe36c83e58863902b35b23148fb Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-03-18Started with test decision JSON objects.Pamela Dragosh1-0/+11
Added new Policy Finder Factory that ONAP will use and got the code working with new policy/models (see other review which will have to be merged first). Added some new conversion methods to convert from a Xacml request to an Onap request. Added some property methods for XACML Properties objects and JUnit tests. Started filling in some Guard application details and combining code. Issue-ID: POLICY-1602 Change-Id: I5235b74f3b036dcf05779b655a03ac290d594354 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-03-15Monitoring policy creation foundationPamela Dragosh1-0/+15
Upgrde to xacml v2.0.0 release artifact. Some re-arrangement of classes. New class to support a common dictionary among the monitoring applications. I may move it to a common under the main since some of the values are shareable. Created application service provider, so the XACML main knows what policy types are pre-loaded and can report them back to the PAP. struggled with cucumber, which does not create TemporaryFolder although the documentation says its supported. Added a new Policy Finder specific to ONAP which does quicker job to load policies. Issue-ID: POLICY-1273 Change-Id: I4af15a64da3b42d48f29809710421b1649625adc Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-03-07Merge "Adds basic stability tests for XACML PDP"Jorge Hernandez1-0/+1
2019-03-05Adds basic stability tests for XACML PDPBilal A1-0/+1
Includes 1) Basic health check test 2) Statistics API test Change-Id: I41156007dfb70702822d50f5bb32dbaae36bc610 Issue-ID: POLICY-1461 Signed-off-by: Bilal A <bilal@research.att.com>
2019-03-04Foundation for Monitoring DecisionsPamela Dragosh1-0/+11
This sets the foundation for building the XACML PDP engine that supports Decisions for onap.Monitoring policy types. Mostly stubbed code for now, will most likely get re-arranged. Put in the cucumber basics, but no implementation yet. Need policy/parent to be merged before this will pass. * Fixed checkstyle license date Issue-ID: POLICY-1273 Change-Id: Ifb455065316fd3ec0a025b5833b334ee72f65adc Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-02-13Package and Create Docker Image for Xacml PDPMichael Mokry1-2/+2
- Creates docker image of policy xacml-pdp - Creates zip package of policy xacml-pdp - Also committed changes from Healthcheck/Statitics review that were allowed to be deferred Change-Id: Ia5fb72be05a30a341692453fe4ff32c7b112e861 Issue-ID: POLICY-1436 Signed-off-by: Michael Mokry <michael.mokry@att.com>
2019-02-11PDPX Healthcheck/Statistic RESTful API entry pointMichael Mokry1-2/+36
Includes: - Basic code structure modeled after policy distribution - Code implementation to support Healthcheck/Statistics RESTful API entry point - JUnits - Fixed Checkstyles issues and added some missing statistics classes and Junits - Made changes per Jim's comments - Made more changes per Jim's comments > made gson field static > using AssertThatThrownBy() mechanic from AssertJ > added setup and teardown to correctly terminate activator in Junit - Made corrections to the statitics endpoint and junits Change-Id: Iad40272beceff8a0f99966440e96a84fc2043b12 Issue-ID: POLICY-1436 Signed-off-by: Michael Mokry <michael.mokry@att.com>
2018-10-25Upgrade policy/parent 2.0.0Pamela Dragosh1-1/+2
Released parent v2.0.0 Issue-ID: POLICY-1213 Change-Id: I196fb14a1371e62cdf3ace7e40efd10a514c539a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-09-25Setup checkstyle and coveragePamela Dragosh1-21/+160
Setting this project up for future work. Added checkstyle and jacoco coverage declarations. Removed redundant version. Added entries to gitignore for idea and checkstyle. Issue-ID: POLICY-1136 Change-Id: I2068165a66c1dda29c2c4da5cf3c807b866912c2 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-06-26Fix warnings and artifactID namePamela Dragosh1-2/+1
The extra version tag generates an eclipse warning. Changing the artifactID so that it prepends the policy- Issue-ID: POLICY-846 Change-Id: Ifa9d71e3b975a5e9790ea8c487b0aa51caf8bd8a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-05-23Modify license header xacml-pdpPamela Dragosh1-2/+2
The license isn't quite right, fixing it. Issue-ID: POLICY-846 Change-Id: Ia517804850c359a533abcae131c44ea5fc24707e Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-05-23Add pom and version filesPamela Dragosh1-0/+51
Issue-ID: POLICY-846 Change-Id: I84aaaa0b39da007f36ba56089032555b802b61d4 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>