summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-02-04Include jaxb in runtimeJim Hahn3-3/+0
The jaxb implementation was included with scope=test. As a result, it was not found when trying to run the engine within docker. Issue-ID: POLICY-1590 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I2e6e23929448b7c27bf6f6a1d2ea40c0c1cace97
2020-02-04Merge "policy/engine jdk11 junit and compilation error fixes"Pamela Dragosh16-69/+135
2020-02-03policy/engine jdk11 junit and compilation error fixesHOCKLA16-69/+135
Issue-ID: POLICY-1590 Change-Id: I0bbc6f7310705c20924812efc5be2b0f91cf71a2 Signed-off-by: HOCKLA <ah999m@att.com>
2020-01-28Updating docker image with new tools.Bilal A1-0/+2
Issue-ID: POLICY-2325 Signed-off-by: Bilal A <bilal@research.att.com> Change-Id: I352038ab7b3bfcf5a25d6d50b90c55b2536bcda9
2020-01-21Merge "policy/engine jdk11 upgrades"Pamela Dragosh30-101/+256
2020-01-20policy/engine jdk11 upgradesHOCKLA30-101/+256
Issue-ID: POLICY-1590 Change-Id: I4da8324a065ac9babe16368e69b76a4cbe9504ef Signed-off-by: HOCKLA <ah999m@att.com>
2020-01-20First update sonarPamela Dragosh2-73/+9
This is still pointing to old oparent, so only making the minor change. Note, I could not test this locally because the JUnits fail. Once Ali's review is merged I will make the final cleanup. Issue-ID: POLICY-2321 Change-Id: Idcd7633fc2fdbeaede8b24aab5dcd5437632da2f Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-01-10Point to policy/models release versionHOCKLA1-2/+2
Issue-ID: POLICY-1592 Change-Id: Ic8f5f5829b757578d0d5b32bf273cc9799faef71 Signed-off-by: HOCKLA <ah999m@att.com>
2020-01-07Add and modify jUnits for code coverage (continue admin)Peyton Puckett3-11/+413
Issue-ID: POLICY-2133 Change-Id: I4848e18c3ff638d6b659464b7c9293228dcc36d5 Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
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>