summaryrefslogtreecommitdiffstats
path: root/ONAP-PDP/src
AgeCommit message (Collapse)AuthorFilesLines
2019-10-24CHeckstyle and JUnit for base package in ONAP-RESTliamfallon1-2/+2
Added unit tests and fixed checkstyle and SONAR issues in the base package of ONAPE-REST There was a lot of knock-on automatic changes done by Eclipse when I renamed the class XACMLRestProperties to XacmlRestProperties so ignore the changes in all but the ONAP-REST package. I also didn't update the licenses on files on those classes because the changes were automatic. Issue-ID: POLICY-2131 Change-Id: I28823c844b5192f8d56de76a727996b13e7ea4a6 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-08-29Change AlertSeverity to Severity in policy/engineJim Hahn1-63/+63
Updated logback xml files, replacing AlertSeverity with Severity. Also fixed some spacing issues. Change-Id: I3e4b9163d5d897fe4402028b69c741f497aecfc5 Issue-ID: POLICY-1989 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-07-08Fix policy/engine due to sonar changes in commonJim Hahn1-4/+5
Fixed breakages due to changes made in policy/common to satisfy sonar. Change-Id: I88090c7549ba19f9eb45fae311e8811e39f30318 Issue-ID: POLICY-1791 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-07-30Copy policy-endpoints from drools-pdp to commonmmis1-4/+3
Issue-ID: POLICY-967 Change-Id: I84eba5c06d129cb2a7ef27ed78b63a8ada37805c Signed-off-by: mmis <michael.morris@ericsson.com>
2018-07-28Fix Sonar issues in utils PDP ParseLog reworkKrishnajinka1-13/+14
Fix Major Sonar issues in ParseLog BackupMonitor and ONAP-PDP component. Issues related to nested control statements. Rework2 based on review comments Issue-ID: POLICY-1013 Change-Id: I10edb242b45a649df902a4e7c1aba0a285b8b7fb Signed-off-by: Krishnajinka <kris.jinka@samsung.com>
2018-07-26Copy policy-endpoints from drools-pdp to commonmmis1-5/+6
Replaced references to classes deleted from drools-pdp with references to the corresponding classes in polcy-common Issue-ID: POLICY-967 Change-Id: I7bb580af3b3b2eb0ddcab9421c595237fa37282b Signed-off-by: mmis <michael.morris@ericsson.com>
2018-06-27Merge "Address missing files in junit tests"Liam Fallon1-0/+0
2018-06-26Address missing files in junit testsJim Hahn1-0/+0
Renamed logback.xml to logback-test.xml. Added policyLogger.properties to config directories. Change-Id: Ib6f50666a13c3258482b4007e7ceeb742f2e87a6 Issue-ID: POLICY-784 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-06-26Remove %h from log file namesJim Hahn1-2/+2
Modified code, either removing "%h" or replacing it with a directory name that is relative to the junit test. Change-Id: I6ea3e3139a04fefadca42340454be36a5b54445d Issue-ID: POLICY-784 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-06-08Remove "&quot;" from logback xml filesJim Hahn1-2/+2
Logback complains if %d{} values contain "&quot;", but it works fine without them, thus they have been removed. Update licenses. Change-Id: Id1f21d3d51bb2495a92f54fcf5c3ad978612c375 Issue-ID: POLICY-785 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-04-02JUnit additions for PDP,PDP-REST,SDK,XACMLbobbymander1-4/+44
Issue-ID: POLICY-600 Change-Id: I8052451c3f66116f361f2963fcc2727c022dd4d9 Signed-off-by: bobbymander <bobby.mander@att.com>
2018-03-29Remove checkstyle warnings in policy/engineeramkve15-973/+970
Remove checkstyle warnings in policy/engine ONAP-PDP Change-Id: Ibbe2d8c549c1f0c3ac8456c4d2de4c7d349dd171 Issue-ID: POLICY-713 Signed-off-by: eramkve <ram.krishna.verma@ericsson.com>
2018-03-27JUnit additions and powermock pom fixesbobbymander2-22/+101
Issue-ID: POLICY-602 Change-Id: I2484b47cc52a07413de69c1022a056fd0cf2d7d7 Signed-off-by: bobbymander <bobby.mander@att.com>
2018-03-20Fix all bugs reported by Sonar in policy/engineeramkve1-2/+17
Code fixes for 27 bugs reported by Sonar in policy/engine Change-Id: I96da96b38a2e2954ec549e5cdf6ed3ad1d76722c Issue-ID: POLICY-662 Signed-off-by: eramkve <ram.krishna.verma@ericsson.com>
2018-03-09Junits for ONAP-PDP moduleMagnusen, Drew (dm741q)3-4/+354
Added coverage for the FindAction class. Issue-ID: POLICY-601 Change-Id: Id7fc2a75de65ff6182f662d2330095cd371d2c7e Signed-off-by: Magnusen, Drew (dm741q) <dm741q@att.com>
2018-02-26JUnit additions for PDP,PDP-RESTbobbymander1-0/+54
Issue-ID: POLICY-600 Change-Id: Ia5584011cbd42b9b49953d714efbeb5956b9b295 Signed-off-by: bobbymander <bobby.mander@att.com>
2018-02-02Resolved Fortify System Information Leak issuesrb71471-2/+1
Issue-ID: POLICY-550 Change-Id: I2145ecb6de43b69d6faf44c6395b119134a9904f Signed-off-by: rb7147 <rb7147@att.com>
2017-09-19Added Junits for ONAP PDPrb714743-21997/+197
Removed old JUnits.Hence they are already exists in GIT/XACML Project. And, not used in ONAP-PDP. Issue-ID: POLICY-52 Change-Id: I41ca2cb02a1ad41ac7c5fdedddfed9520be8e634 Signed-off-by: rb7147 <rb7147@att.com>
2017-07-31[POLICY-73] replace openecomp for policy-engineGuo Ruijing55-0/+23398
Change-Id: I54072f6bcd388c0e05562614ee89b4ae7ad67004 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>