aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
AgeCommit message (Collapse)AuthorFilesLines
2019-10-02Removed TestUtils from common and into a 'xacml-test' projectAli Hockla1-0/+1
Issue-ID: POLICY-2090 Change-Id: Id688e305f878f56e374e6bd9047d9d6c75fbe0c6 Signed-off-by: Ali Hockla <ah999m@att.com>
2019-09-13Upgrade to Tosca derivedFrom fixPamela Dragosh1-2/+1
Upgrade to models fix for derivedFrom() append of 0.0.0 And some sonar fixes for: Exceptions should be either logged or rethrown but not both Preconditions" and logging arguments should not require evaluation Reduced cognitive complexity Issue-ID: POLICY-2079 Change-Id: Ied8630020e8a737c33b1484db953df133c89398f Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-09-12Add yaml support to xacml-pdp rest serverJim Hahn1-8/+8
Also modified code to use StandardYamlCoder. Change-Id: I0596c8b054339ac68ef8c4250cd25b9ff88d47e4 Issue-ID: POLICY-2085 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-09-10Bump versions for xacml-pdp masterJim Hahn1-1/+1
Change-Id: I6ca46b3bbc9529c6fef5a332b224a4de69e3cdef Issue-ID: POLICY-2045 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-09-09Upgrade to released artifactsPamela Dragosh1-3/+3
Upgrade to released parent, common and models Issue-ID: POLICY-2045 Change-Id: I4ee2e7d752d45449d7d2c0173c3b6b672e160166 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-08-08Review maven dependency for snakeyamlBruno Sakoto1-2/+1
Remove explicit version for snakeyaml maven dependency and inherit it from integration parent artifact. Issue-ID: POLICY-1603 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Iae360f073f9962014fbb64dbe150e75edc49d039
2019-08-07Bump version of policy/xacml-pdpJim Hahn1-3/+3
Change-Id: I2770d2803c79b5eb72b69bb6aa4a1da43a0f6a0b Issue-ID: POLICY-1965 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-08-06Update to latest common/models released versionsjhh1-2/+2
policy/models: 2.1.2 policy/common: 1.5.1 Issue-ID: POLICY-1953 Change-Id: I9ea6939e760ae5098896aedcfa632cc7426e927d Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-07-01Use ToStringTester from utils-testramverma1-2/+2
Changing ToStringTester from utils to utils-test. Bumping the policy/common & policy/models version. Change-Id: Idf665bc92345c445f483ebfb190d39c7019280aa Issue-ID: POLICY-1746 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-06-28Bump xacml-pdp to 2.1.1-SNAPSHOTPamela Dragosh1-1/+1
Released 2.1.0 Issue-ID: POLICY-1737 Change-Id: Ieb3015e9373a9a71a71f2811cbc6db9315d58109 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-24Upgrade to release common & modelsPamela Dragosh1-2/+2
Released common 1.5.0 and models 2.1.0 Issue-ID: POLICY-1737 Change-Id: Ia5bf6965c7c85b1de74b90b1d4fd179cac01bdea Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-20Upgrade to release 3.0.0 parentPamela Dragosh1-1/+1
Policy/parent released Issue-ID: POLICY-1737 Change-Id: I8814c011b923286b714ab5e97fb3665d58c9f40c Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-30Bump xacml-pdp to version 2.1.0Jim Hahn1-4/+4
Change-Id: I231fa4c077db75d426278f6f718876bb2c76a8db Issue-ID: POLICY-1747 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-05-23Bump to 2.0.2-SNAPSHOTPamela Dragosh1-1/+1
Released 2.0.1 Issue-ID: POLICY-1700 Change-Id: Idc1d8602b276c9ad3199c57723dd053fb1dd48a3 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-16Bump snapshot 2.0.1Pamela Dragosh1-1/+1
Released so bumping to next patch Issue-ID: POLICY-1630 Change-Id: Ib91063848e1a757b0a251052ce8ec61dace85d88 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
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>