summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-03-29Merge "Fix Sonar Issues policy/engine POLICY-SDK-APP module"Jorge Hernandez9-465/+383
2019-03-28Merge "Fix sonar new bugs and vulnerabilities"Jorge Hernandez8-555/+798
2019-03-28Fix Sonar Issues policy/engine POLICY-SDK-APP moduleRashmi Pujar9-465/+383
- Code cleanup & formatting, attempts to reduce cognitive complexity Issue-ID: POLICY-1615 Change-Id: I340fcaee185c1bc84d954863c413896120a51cb0 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca>
2019-03-27Fix sonar new bugs and vulnerabilitiespa834y8-555/+798
Change-Id: I7fbfe70e856d48f40ad831a6d0451e46024bf6de Issue-ID: POLICY-1417 Signed-off-by: pa834y <pa834y@att.com>
2019-03-27Merge "Model enhancement to support embedded JSON"Jorge Hernandez2-1380/+1537
2019-03-27Merge "Add capability for multi-role support"Jorge Hernandez10-1105/+1515
2019-03-26Merge "Added changes to save original model file"Jorge Hernandez5-6/+38
2019-03-26Add capability for multi-role supportPolina Volodina10-1105/+1515
Changes ported from ECOMP into ONAP for multi-role functionality in Policy Editor GUI Issue-ID: POLICY-1419 Change-Id: I438c074e935c28b014be44ae2eab1d49b45e11e2 Signed-off-by: Polina Volodina <pv789v@att.com>
2019-03-26Added changes to save original model fileHOCKLA5-6/+38
When a user imports a model, save the original model file Issue-ID: POLICY-1423 Change-Id: Ic7ccf2cc91ce466d7aac644cf566e35577888217 Signed-off-by: HOCKLA <ah999m@att.com>
2019-03-25Only formatting changes for checkstyle fixespa834y15-1772/+2301
Change-Id: I276b0946c5b03e5369a3c70468672378825c0766 Issue-ID: POLICY-1434 Signed-off-by: pa834y <pa834y@att.com>
2019-03-21Model enhancement to support embedded JSONuj426b2-1380/+1537
Change-Id: Ic7796d0800f320e9543b59a4eabf0570ca080f09 Issue-ID: POLICY-1420 Signed-off-by: uj426b <uj426b@att.com>
2019-03-21Merge "use hibernate and breakup dbdao and papservlet"Pamela Dragosh37-5068/+5514
2019-03-21Update Casablanca Maint release notesPamela Dragosh1-0/+19
Update release notes for 2nd Casablanca Maintenance release. Issue-ID: POLICY-1607 Change-Id: I283c7697df6ec7519ea3702728ddf06d035a7b09 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com> (cherry picked from commit bc7c2bd6408ce2ee742a294456e45284d7ae2fc2)
2019-03-20use hibernate and breakup dbdao and papservletpa834y37-5068/+5514
Change-Id: Ifa655d56bda0ab4c748f188767122e7bd927155b Issue-ID: POLICY-1417 Signed-off-by: pa834y <pa834y@att.com>
2019-03-17Add NSS libraries to imagesJorge Hernandez1-1/+1
Alpine OpenJDK was updated 2 days ago (3/14), this upgrade seems to break java applications that depend on libnss*.so OS libraries, which seem are no longer installed with the jdk. In addition added procps as policy.sh status doesn't reflect properly state as it depends on pgrep. Change-Id: Ic83f065fd72f5f13ce44e0ae0848284bd5c45f3b Issue-ID: POLICY-1604 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-03-16Merge "uplift oparent version 1.2.1->1.2.3"Pamela Dragosh2-12/+16
2019-03-15Update INFO.yaml fileJessica Wagantall1-3/+26
Update missing information blocks and indentation to pass verify job. Change-Id: Id7d9e429c3e16fd7619d9454f95f8750b5500058 Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-03-15uplift oparent version 1.2.1->1.2.3Hengye2-12/+16
spring-web 5.0.9.RELEASE -> 5.1.2.RELEASE String org.springframework.http.HttpStatus.toString() return Integer.toString(this.value)//spring-web 5.0.9.RELEASE return Integer.toString(this.value) + " " + name();//spring-web 5.1.2.RELEASE Issue-ID: POLICY-1261 Change-Id: I24bd1f1568c49108288ebdd741d93db09545856b Signed-off-by: Hengye <yehui.wang@est.tech>
2019-03-10fixing CSIT problems bc move to Alpine OSJorge Hernandez2-3/+4
Added some packages to prevent other problems in scripts, and change the mechanism to wait for mariadb as it does not work with Alpine. Change-Id: I5ee51d1fddfbf1e63a912ab268a5cabac8da0515 Issue-ID: POLICY-1577 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-03-07Use Alpine as base docker image in /policy/engineHengye1-20/+8
Issue-ID: POLICY-1552 Change-Id: Ibd67ca0cbec9e358c0a934821319e62dda46e3b2 Signed-off-by: Hengye <yehui.wang@est.tech>
2019-02-25Upgrade elasticsearch 6.4.3Pamela Dragosh1-1/+1
Another security issue identified that 6.4.0 through 6.4.2 is vulnerable to Insuffiencient Authentication. Looks like 6.4.3 fixes that issue. Issue-ID: POLICY-1538 Change-Id: Ica0ed5669395b480222746f16f4732d4792c8b90 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-02-21Upgrade elasticsearch to 6.4.1Pamela Dragosh1-1/+1
Recommendation is to upgrade to clear security vulnerability as described in the JIRA. Issue-ID: POLICY-1538 Change-Id: If6a55ffcf4babb7547e52a7971061e9c9a197c43 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-02-20Remove javascript from sonarPamela Dragosh1-1/+3
Per Catherine, Dublin will not require javascript for sonar coverage statistics. We'll add this back in for El Alto if we determine this repo still needs development. If LF turns off javascript in the Sonar application then I'll change this back. But I need to determine if policy/engine has 55% coverage for tomorrow M2. Issue-ID: POLICY-1536 Change-Id: Ie091e231e1150da3217e10eb28fdbcd7e2ed8320 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-02-20Fix sonar.exclusion for bowerPamela Dragosh1-1/+1
The lib folder no longer exists so excluding the lib.bower to ensure that isn't included in. Issue-ID: POLICY-1536 Change-Id: I2cf0ecd156b710e5bed98b9ee3dd3184d620a1b0 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-02-18Merge "Reformat POLICY-SDK-APP test cases"Jorge Hernandez19-2593/+2767
2019-02-15Merge "Reformat ONAP-PDP-REST test cases"Jorge Hernandez29-2352/+2423
2019-02-15Merge "Reformat PolicyEngineAPI test cases"Jorge Hernandez54-8746/+8651
2019-02-15Merge "Reformat ONAP-XACML test cases"Jorge Hernandez15-856/+892
2019-02-15Reformat PolicyEngineAPI test caseskaihlavi54-8746/+8651
Reformat test cases to follow ONAP style https://wiki.onap.org/display/DW/Java+code+style Format changes mainly consist of conversions of tabs to 4 spaces Samsung modifications copyrights added Change-Id: Ic161ef7b36a1b83624a832208905b5324b013c59 Issue-ID: POLICY-1506 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-02-15Reformat ONAP-PDP-REST test caseskaihlavi29-2352/+2423
Reformat test cases to follow ONAP style https://wiki.onap.org/display/DW/Java+code+style Format changes mainly consist of conversions of tabs to 4 spaces Modifications copyrights for Samsung added and a number of subproject names corrected for licenses Change-Id: I52106aa0ab249dc6bf3b2a9c455e53f42d0e6136 Issue-ID: POLICY-1506 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-02-15Reformat POLICY-SDK-APP test caseskaihlavi19-2593/+2767
Reformat test cases to follow ONAP style https://wiki.onap.org/display/DW/Java+code+style Format changes mainly consist of conversions of tabs to 4 spaces Samsung modifications copyrights added Change-Id: I60b666d879960c80c80f8b1c41fc98fd0703f4d4 Issue-ID: POLICY-1506 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-02-15Merge "Reformat ONAP-SDK-APP test cases"Liam Fallon8-179/+188
2019-02-15Reformat ONAP-XACML test caseskaihlavi15-856/+892
Reformat test cases to follow ONAP style https://wiki.onap.org/display/DW/Java+code+style Format changes mainly consist of conversions of tabs and 2 spaces to 4 spaces Samsung modifications copyrights added and updated Change-Id: I1da3f7e0d032ba00721f16ae9c7dd8baca3299b4 Issue-ID: POLICY-1506 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-02-14Reformat ONAP-PAP-REST test caseskaihlavi8-407/+497
Reformat test cases to follow ONAP style https://wiki.onap.org/display/DW/Java+code+style Format changes mainly consist of conversions of 2 spaces to 4 spaces Samsung modification copyrights added Issue-ID: POLICY-1506 Change-Id: If67e440bea6d8d10a971a551aac8484f22d2ecca Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-02-14Reformat ONAP-SDK-APP test caseskaihlavi8-179/+188
Reformat test cases to follow ONAP style https://wiki.onap.org/display/DW/Java+code+style Format changes mainly consist of conversions of tabs to 4 spaces Samsung modifications copyrights added Issue-ID: POLICY-1506 Change-Id: I71ddf1137f4ab6b84474e85b6c521daf07c9beee Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-02-12Improve ONAP-PDP-REST JUnit test case independencykaihlavi7-144/+177
Handle cleanup of changed system properties and other test-related static parameters to prevent unexpected behaviour of other test cases that are dependent of the same properties and parameters when order of the execution changes Add Samsung modification copyrights for changed files Fix some loggings and a minor typo in documentation Change-Id: Ib6920d6300da79bfc426e4f348b503e3fd6a31ee Issue-ID: POLICY-1501 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-01-29Merge "New listPolicy API to check pushed policies in PDP"Pamela Dragosh9-1947/+2349
2019-01-25New listPolicy API to check pushed policies in PDPpa834y9-1947/+2349
Issue-ID: POLICY-1410 Change-Id: I26f3f13e41a59de67e977914e4e129b79a979563 Signed-off-by: pa834y <pa834y@att.com>
2019-01-22Merge "Increase JUnit Code Coverage for PolicyDBDao"Pamela Dragosh2-2/+55
2019-01-22Increase JUnit Code Coverage for PolicyDBDaoMichael Mokry2-2/+55
Added Junit tests for PolicyDBDao methods that were not covered after observing that the code coverage dropped below 50% in SONAR. Modified license headers with correct copywrite Change-Id: Iad8e18d978236f4391363d963eb4624744f45099 Issue-ID: POLICY-1448 Signed-off-by: Michael Mokry <michael.mokry@att.com>
2019-01-22Merge "Improved snar issues"Pamela Dragosh1-4/+7
2019-01-21Improved snar issuesburdziak1-4/+7
Change-Id: Iaaf16a8e7e30174509cfb40702185c9b2fc2961a Issue-ID: POLICY-1432 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2019-01-21Sonar issues improvedburdziak1-27/+33
Change-Id: I8b2ea531c1cfa6620a2240c3ae029c3c284f5cd7 Issue-ID: POLICY-1432 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2019-01-18Casablanca Maintenance Release NotesSaryu Shah1-0/+20
Casablanca Maintenance Release Notes ------------------------------------------------------------- Issue-ID: POLICY-1398 Change-Id: I8a9058f94459148ef04e78781888b1fdbac0ff0f Signed-off-by: Saryu Shah <ss3917@att.com>
2019-01-17Small sonar issuesburdziak1-14/+17
Change-Id: Ifae0a81b6bfbbf08a68deb84b1514b88f2d19dea Issue-ID: POLICY-1432 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2019-01-11Fix policy/engine after integrity-audit changesJim Hahn1-8/+8
In POLICY-1133, some classes in integrity-audit were modified (i.e., DbDAO => DbDao). Policy/engine uses those classes, too, so it must also be updated to reflect. Change-Id: I01ebad1ddfe8f1bb490c56b2eb3336c691688a24 Issue-ID: POLICY-1133 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-12-27Rename test classes in policy/engineParshad Patel7-17/+17
Make test classes name consitence by adding 'Test' at end of junit test classes and adding 'Support' or 'Dummy' at start of util or dummy type of test classes Issue-ID: POLICY-1281 Change-Id: I5fa65d0cfc95edc8f2fe0ca678a43d2011a39670 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2018-12-13Update to latest keystore from AAF toolingJorge Hernandez1-0/+0
It is generic with extended expiration, and support for policy-distribution and policy-apex-pdp components. Change-Id: Ibbaa6206a9aa6833296ae8707d2a816809d11077 Issue-ID: POLICY-1377 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2018-12-03Merge "Update RN"Pamela Dragosh1-3/+3
2018-11-30Update RNGildas Lanilis1-3/+3
Fix typo on known issue section Update link of Policy vulenerability report in Casablanca Vulnerability section Change-Id: I951f317145a28157d2e6e90c78588649065cc4dd Issue-ID: DOC-333 Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com>