aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-12-18Add and modify jUnits for code coverage (continue components, admin)Peyton Puckett2-4/+259
Issue-ID: POLICY-2133 Change-Id: I6b308ad8e9dcd54a260312bbee8deeaec3af2cf1 Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
2019-12-11Add and modify jUnits for code coverage (components)Peyton Puckett1-27/+404
Issue-ID: POLICY-2133 Change-Id: I0ded200797c112c1da4e50bd0721bb87c2d124ac Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
2019-12-06Merge "Add and Modify jUnits for code coverage (model, admin)"Pamela Dragosh3-6/+184
2019-12-06Point to release versions of policy/parent and policy/commonHOCKLA1-2/+2
Issue-ID: POLICY-1583 Change-Id: I6d7ec1ccf00110d0f84998c05492b6d59a12cdf1 Signed-off-by: HOCKLA <ah999m@att.com>
2019-12-05Add and Modify jUnits for code coverage (model, admin)Peyton Puckett3-6/+184
Add tests to model after viewing sonarcloud coverage Start adding tests for admin Issue-ID: POLICY-2133 Change-Id: I690c612357fe3390c7904c6ba4c941dcefcc7640 Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
2019-12-05Merge "Add and Modify JUnits for Code Coverage (components, controller)"Pamela Dragosh3-14/+368
2019-12-04Add and Modify JUnits for Code Coverage (components, controller)Peyton Puckett3-14/+368
Issue-ID: POLICY-2133 Change-Id: I9d8cecc7e9b1c280a0296a4e160f42e41264c1b6 Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
2019-12-04Merge "Couple of JUnit additions for PAP-REST"Pamela Dragosh3-113/+271
2019-12-03Merge "Add and Modify JUnits for Code Coverage (daoImpl)"Jorge Hernandez2-15/+159
2019-12-02Add and Modify JUnits for Code Coverage (daoImpl)Peyton Puckett2-15/+159
Issue-ID: POLICY-2133 Change-Id: I1b16aa63394da0715dc50b5f0ac037b64d020a41 Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
2019-12-02Unit/SONAR/Checkstyle in ONAP-RESTliamfallon4-8/+256
Util package of ONAP-REST, with JUnit added and SONAR/Checkstyle issues addressed. Coverage increased from 51% to 73% in large PolicyValidation class. Issue-ID: POLICY-2131 Change-Id: Iffa90e2dfa155d3e9cac114032fb9ca0df2cbab0 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-12-01Merge "Unit/SONAR/Checkstyle in ONAP-REST"Liam Fallon2-7/+747
2019-11-30Merge "Add and Modify JUnits for Code Coverage"Jorge Hernandez2-9/+94
2019-11-28Unit/SONAR/Checkstyle in ONAP-RESTliamfallon2-7/+747
Util package of ONAP-REST, with JUnit added and SONAR/Checkstyle issues addressed. Coverage increased from 31% to 51% in large PolicyValidation class. Issue-ID: POLICY-2131 Change-Id: Ic88dd0d47bc9c09ed294ea62c37c683297b590c0 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-11-27Unit/SONAR/Checkstyle in ONAP-RESTliamfallon4-17/+305
Util package of ONAP-REST, with JUnit added and SONAR/Checkstyle issues addressed. Coverage increased from 18% to 31% in large PolicyValidation class. Issue-ID: POLICY-2131 Change-Id: Ie059db312918021683fe27cc2aaeed86b04046f2 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-11-26Couple of JUnit additions for PAP-RESTbobbymander3-113/+271
Issue-ID: POLICY-2130 Change-Id: Id7252df4a244e579d599a5d2631c60ddb9ccfab3 Signed-off-by: bobbymander <bobby.mander@att.com>
2019-11-22Add and Modify JUnits for Code CoveragePeyton Puckett2-9/+94
Modify license Issue-ID: POLICY-2133 Change-Id: I1b58fcc1636a9bf8d45595480bc5e027d93bb277 Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
2019-11-21Sonar cleanup and remove duplicate codePamela Dragosh2-129/+90
Removed some duplicate code and cleaned up some sonar issues. Issue-ID: POLICY-2242 Change-Id: I374c263516d87bda66442ed65cae9cc056e68e56 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-11-21Merge "Add ONAP-XACML StdEngine tests"Pamela Dragosh4-33/+136
2019-11-20Add ONAP-XACML StdEngine testsPamela Dragosh4-33/+136
Re-worked some JUnits to ensure they really are testing correctly. added coverage to the factory and std engine for easy exception conditions. Issue-ID: POLICY-2242 Change-Id: Iff6a390bff871fea2836336b77567f4a35720dfd Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-11-20Merge "Build tar.gz without requiring docker image build"Pamela Dragosh1-0/+4
2019-11-20Merge "Unit/SONAR/Checkstyle in ONAP-REST"Ram Krishna Verma4-322/+2290
2019-11-19Build tar.gz without requiring docker image buildjhh1-0/+4
This allows the tar.gz to be released by LF jobs. Issue-ID: POLICY-2250 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I7a6a2fa109328f9e479af019198877fd6421ede5
2019-11-19Unit/SONAR/Checkstyle in ONAP-RESTliamfallon4-322/+2290
Refactor of the PolicyValidationRequestWrapper class to make it testable and unit tests for the class. Issue-ID: POLICY-2131 Change-Id: Ie6b0b20aafd6a823fa778bb8070d057f27b28603 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-11-19Merge "Format ONAP-XACML and add JUnit"Jorge Hernandez38-4621/+4339
2019-11-19Format ONAP-XACML and add JUnitPamela Dragosh38-4621/+4339
Formatting and sonar issues. Cleaned up JUnit tests. Added more JUnit test coverage. Issue-ID: POLICY-2242 Change-Id: Ife0921971c6eb97de2a64b2f303cd16f992b4bd3 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-11-18Unit/SONAR/Checkstyle in ONAP-RESTliamfallon28-1191/+1852
Util package of ONAP-REST, with JUnit added and SONAR/Checkstyle issues addressed. In cases where a class name change caused an update in another package, the license header on files for those knock on changes are not updated. Issue-ID: POLICY-2131 Change-Id: Ic134408efe76b9838f5607a07f1735d12bd41032 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-11-18Merge "Unit/SONAR/Checkstyle in ONAP-REST"Liam Fallon41-1255/+743
2019-11-15More JUnit additions for PAP-RESTbobbymander5-25/+98
Issue-ID: POLICY-2130 Change-Id: Ia111e5fd6dfba1e03f157ff95f91ef65df293043 Signed-off-by: bobbymander <bobby.mander@att.com>
2019-11-15Merge "Cleanup drl files in policy/engine test modules"Jorge Hernandez5-2371/+197
2019-11-15Unit/SONAR/Checkstyle in ONAP-RESTliamfallon41-1255/+743
Fifth and final batch of JPA pojos (Q-Z), with JUnit added and SONAR/Checkstyle issues addressed. In cases where a class name change caused an update in another package, the license header on files for those knock on changes are not updated. Issue-ID: POLICY-2131 Change-Id: I1cc536a5b8a0cd3c6beff068dd72381f7ae10d12 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-11-15Merge "Unit/SONAR/Checkstyle in ONAP-REST"Pamela Dragosh85-3101/+2562
2019-11-13Unit/SONAR/Checkstyle in ONAP-RESTliamfallon85-3101/+2562
Fourth batch of JPA pojos (N-P), with JUnit added and SONAR/Checkstyle issues addressed. In cases where a class name change caused an update in another package, the license header on files for those knock on changes are not updated. Issue-ID: POLICY-2131 Change-Id: I9319b514b5c19e6837c34566dde770673d16bca3 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-11-13Cleanup drl files in policy/engine test modulesRashmi Pujar5-2371/+197
Issue-ID: POLICY-1895 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: Ice15aadbafd999b20594c3b6488e115063c985ce
2019-11-13Few JUnit additions for PAP-RESTbobbymander7-60/+257
Issue-ID: POLICY-2130 Change-Id: Ie9972bc0014def93acf04c4a2386585fb4accdef Signed-off-by: bobbymander <bobby.mander@att.com>
2019-11-12JUnit/SONAR/Checkstyle in ONAP-RESTliamfallon47-2447/+744
Third batch of JPA pojos (E-M), with JUnit added and SONAR/Checkstyle issues addressed. In cases where a class name change caused an update in another package, the license header on files for those knock on changes are not updated. Issue-ID: POLICY-2131 Change-Id: I4fee1e9fb9c8a69dd6f2f15d3e3a8844473b857b Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-11-11Fix table names for CSIT issueJim Hahn3-9/+9
Changed the table name in multiple files. Backed out some changes per review comments. Change-Id: I31f75ebdef4aa70aff841c8a52185f6ab8a4e329 Issue-ID: POLICY-2131 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-11-08Do not hardcode io.fabric8 pluginPamela Dragosh1-1/+0
policy/parent now has this plugin defined Issue-ID: POLICY-2222 Change-Id: I855c7b2bbd65e93695f7bfe5242be6f474f416fc Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-11-08Merge "JUnit/SONAR/Checkstyle in ONAP-REST"Pamela Dragosh33-444/+1478
2019-11-07Turn on lombok code coverage for policy-engineJim Hahn1-1/+1
If this backfires, we can turn it back off again. Issue-ID: POLICY-2131 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I7375bf4a3fa63a7791c30b3a73813bff1a69055e
2019-11-07JUnit/SONAR/Checkstyle in ONAP-RESTliamfallon33-444/+1478
Second batch of JPA pojos (B-D), with JUnit added and SONAR/Checkstyle issues addressed. In cases where a class name change caused an update in another package, the license header on files for those knock on changes are not updated. Issue-ID: POLICY-2131 Change-Id: I9466f27ffa606001209ed978be592ae95d1b32c4 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-11-06JUnit/SONAR/Checkstyle in ONAP-RESTliamfallon9-577/+402
First batch of JPA pojos Lombok'd and some missing coverage updated I'll be interested to see how Lomboking code shows up in SONAR, I have not added much JUnit here but I have reduced a good bit of source code, let's see what happens. Issue-ID: POLICY-2131 Change-Id: I8f270ef57282f63821c1eb94dd6b50f8ae541028 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-11-05Merge "More JUnit additions for PAP-REST"Pamela Dragosh6-17/+215
2019-11-05More JUnit additions for PAP-RESTbobbymander6-17/+215
Issue-ID: POLICY-2130 Change-Id: Ia64bdbb377d26ba209b2d3fc51bc95f5769a7729 Signed-off-by: bobbymander <bobby.mander@att.com>
2019-11-05Merge "Fixed Sonar issues for Console Logs"Pamela Dragosh15-2498/+2083
2019-11-04JUnit/SONAR/Checkstyle in ONAP-RESTliamfallon2-407/+570
Cleanup of the dao-impl package in ONAP-REST All enclosing try/catch blocks removed. Issue-ID: POLICY-2131 Change-Id: Iec73fc5a85b891a00ba8c029e9904051c51284c2 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-11-04Fixed Sonar issues for Console Logsuj426b15-2498/+2083
Issue-ID: POLICY-2153 Change-Id: Id21a9dd4910ff0c831e49a1539f130ade1779577 Signed-off-by: utkarshJ <uj426b@att.com>
2019-11-01Add common Jersey versionliamfallon1-3/+9
Add a common version of Jersey for all Policy Framework components. Issue-ID: POLICY-2209 Change-Id: If376b0d1c1cb11c20a176c4ea9a5b674cb8c66da Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-11-01ONAP-REST DAO Sonar/Checkstyle clean and knock-onliamfallon16-648/+911
Clean up the ONAP-REST DAO package and also deal with knock-on chages in other packages. Issue-ID: POLICY-2131 Change-Id: I381d514d37ffbddb7a91b8f8a018c7354fc437b3 Signed-off-by: liamfallon <liam.fallon@est.tech>
2019-10-31Upgrade to drools 7.28.0.Finaljhh1-20/+2
Issue-ID: POLICY-1407 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ia934906cb9f5b7a3f8aac59bb204d9426e994e1f Signed-off-by: jhh <jorge.hernandez-herrero@att.com>