aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-04-09Fix Sonar issues in org.onap.policy.controller pkgRashmi Pujar4-1070/+1056
Issue-ID: POLICY-1615 Change-Id: I3f7c6d754084d7c740876e817bf963a6cc8c194b Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca>
2019-04-06Merge "Auditing User Operations Push or Delete Policies."Jorge Hernandez14-1793/+1956
2019-04-05update dependencies from policy/modelsHengye5-86/+89
Now pointing to policy/models for yaml and other dependencies. Issue-ID: POLICY-1264 Change-Id: I440d18425e46ec91e6d4e7f2cf1571c4d2bbdb6f Signed-off-by: Hengye <yehui.wang@est.tech> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-04-04Auditing User Operations Push or Delete Policies.uj426b14-1793/+1956
Change-Id: I39d5fc01e68e9d711c5dd09790dc34beb68783c3 Issue-ID: POLICY-1421 Signed-off-by: uj426b <uj426b@att.com>
2019-04-03Merge "Enhancement to use the common CryptoUtils"Jorge Hernandez39-997/+854
2019-04-02Merge "Push and unpush to support multiple policies"Jorge Hernandez11-794/+992
2019-04-02Push and unpush to support multiple policiespa834y11-794/+992
Change-Id: I95a05898d299a96810abf4f3b7940e8a3a243000 Issue-ID: POLICY-1414 Signed-off-by: pa834y <pa834y@att.com>
2019-04-01Readthedocs: Offered ApisSaryu Shah3-12/+1
Updated API doc to include ListPolicy api ------------------------------------------------------------- Issue-ID: POLICY-1410 Change-Id: I364e1a465855b61d69ceea498f031991e61fe718 Signed-off-by: Saryu Shah <ss3917@att.com>
2019-04-01Merge "Documentation: ControllerLogging, MDC Filters"Pamela Dragosh10-0/+175
2019-03-31Enhancement to use the common CryptoUtilspa834y39-997/+854
Change-Id: I06718526382b424eab991f39a7dac1b5cf4f1b74 Issue-ID: POLICY-1422 Signed-off-by: pa834y <pa834y@att.com>
2019-03-29Merge "FIx Sonar Issues reported on ActionPolicyController"Jorge Hernandez4-247/+251
2019-03-29Merge "Fix Sonar Issues policy/engine POLICY-SDK-APP module"Jorge Hernandez9-465/+383
2019-03-29Documentation: ControllerLogging, MDC FiltersSaryu Shah10-0/+175
Documentation: ControllerLogging, MDC Filters ------------------------------------------------------------- Issue-ID: POLICY-1499 Change-Id: I3f38a5dbf96e882b2f77f23c3796b2392cef181b Signed-off-by: Saryu Shah <ss3917@att.com>
2019-03-28Merge "Fix sonar new bugs and vulnerabilities"Jorge Hernandez8-555/+798
2019-03-28FIx Sonar Issues reported on ActionPolicyControllerRashmi Pujar4-247/+251
- code cleanup, reduce cognitive complexity, extract constants etc Issue-ID: POLICY-1615 Change-Id: Ie0f634b1848076bba4c3ea3cbf9252b9faba0f8f Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca>
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