summaryrefslogtreecommitdiffstats
path: root/ONAP-PDP-REST/src/test/java
AgeCommit message (Collapse)AuthorFilesLines
2018-02-26Added junits to increase coverageMAGNUSEN2-15/+160
This commit adds some junits which touch several classes in the notifications package in the ONAP-PDP-REST project. Issue-ID: POLICY-602 Change-Id: Ie99ddd03841d4063aba64781bf08a38d2a25f0ed Signed-off-by: Magnusen, Drew (dm741q) <dm741q@att.com>
2018-02-22JUnit small additions for PAP-REST,PDP-REST,XACMLbobbymander1-0/+53
Issue-ID: POLICY-600 Change-Id: I1b012dd1dbc49c10cd47b5f100e8ccef6c92f70b Signed-off-by: bobbymander <bobby.mander@att.com>
2018-02-20Added Junits to ONAP-PDP-RESTMichael Mokry6-0/+606
Junits to cover classes in the api/services package that were at 0% coverage Change-Id: Ic92b9db4a8beea827b9b85de826da909b02ea1bd Issue-ID: POLICY-338 Signed-off-by: Michael Mokry <mm117s@att.com>
2018-02-19Fix compilation issue due to generic ExceptionJim Hahn1-5/+2
After modifying common to remove generic Exceptions, policy/engine would no longer compile. Had to modify policy/engine to accomodate the specific exception. Change-Id: If339285235994119009a8dcf9484bc81016e2600 Issue-ID: POLICY-246 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-02-15Adding Junits in ONAP-PDP-RESTMichael Mokry1-0/+79
- This commit adds one Junit for PAPServices - I needed to make a minor modification to the PAPServices class in order to set the PAPs Change-Id: Ia54650307e8d9e96d40ce6e68ad18508d4030a4a Issue-ID: POLICY-338 Signed-off-by: Michael Mokry <mm117s@att.com>
2018-02-08MS Model Input ValidationMichael Mokry1-9/+9
- Provides validation for MS policy input content body that matches the GUI validations when create/update MS policy from API - Added changes to satisfy review comments and updated copywright headers for modified and new files Change-Id: I02bfa639bffb48520badd0e4fa34eb36418547ae Issue-ID: POLICY-377 Signed-off-by: Michael Mokry <mm117s@att.com>
2017-12-04Refactor to provide Common Policy ValidationMichael Mokry1-21/+21
Provides a common class to perform policy validation during create/udpate of policies by the GUI and API for consistency. Change-Id: Ied459e73d48517bb50064cd10d6a1c871b8311e5 Issue-ID: POLICY-449 Signed-off-by: Michael Mokry <mm117s@att.com>
2017-09-21Adding Junits for policy engine PDPuj426b1-17/+86
Additional coverage for Policy PDP Issue-Id: POLICY-52 Change-Id: I1d401a150359ddb15c48098d0bd1dbd11e4d2b44 Signed-off-by: uj426b <jauhari.utkarsh@gmail.com>
2017-08-24Fixes for missed sonar critical issuesTej, Tarun1-0/+3
Few fixes to the missed sonar critical issues and import warning fixes which are part of sonar critical fixes. Issue-Id: POLICY-113 Change-Id: If5010e984020b673e058cc1d01a8964a2354796d Signed-off-by: Tarun Tej Velaga <tt3868@att.com>
2017-08-23Fixes for sonar critical issuesTej, Tarun1-0/+3
Fixes for critical and blocker issues reported in sonar. Issue-Id: POLICY-113 Change-Id: I50969fe93a94b0497f3fb30864a6c45e63208fe6 Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-08-11Fixes for Backward compatibility issuesTej, Tarun2-5/+5
Changes to the API interface and Java SDK to support backward compatibility. Issue-Id: POLICY-165 Change-Id: I2efe8196614cfbd8b733abceb505bd6b91aa97f7 Signed-off-by: Tarun Tej Velaga <tt3868@att.com>
2017-07-31[POLICY-73] replace openecomp for policy-engineGuo Ruijing8-0/+2201
Change-Id: I54072f6bcd388c0e05562614ee89b4ae7ad67004 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>