summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-15Adding Junits for policy engineTej, Tarun34-628/+1253
Adding Junits to Policy Engine Utils project, removed duplicates, fixed few defects along the way and fixes to projects. Issue-Id: POLICY-52 Change-Id: Ia0598300f9bd60f5372b9ef7d8984657478a1611 Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-09-14Fix sonar blocker to close handlePamela Dragosh2-6/+9
Upgraded the dependency also. What was strange was the documentation that came up did not match with the existing dependency code implementation. Issue-ID: POLICY-113 Change-Id: Ide7830851cda6535ed335e89cdfc0e0a3964e3eb Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-09-14Sonar MajorSwapnilPathak1-3/+1
Merge this if statement with the enclosing one Change-Id: I8086a6fc1dc24719c3ffd3785a12c086ab453ae8 Issue-ID: POLICY-233 Signed-off-by: SwapnilPathak <SP00494485@techmahindra.com>
2017-09-13Removing binaries in Policy Reporb71471-0/+0
Issue-Id : POLICY-231 Change-Id: I917256637ae96c9c1ddf6e5c4e79c73d40d14d34 Signed-off-by: rb7147 <rb7147@att.com>
2017-09-12Resolved Policy GUI Issuesrb714730-141/+127
Resolved the time to leave date issue field to support all browsers. Resolved Export and Import Policy Functionality. Added few GUI cosmetic fixes. Issue-Id : POLICY-221 Change-Id: I920a4d9c8e16ae1cffcd13df3319e109a992ba55 Signed-off-by: rb7147 <rb7147@att.com>
2017-09-11sonar blocker/critical fixesTej, Tarun6-28/+51
Fixes for sonar critical and blocker issues Issue-Id: POLICY-113 Change-Id: I33bf28abfc52bf289401c58409beaac01b5c2fa6 Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-09-11Merge "Enhanced MS JSON Generation"Jorge Hernandez1-5/+116
2017-09-11Health check issue fixesTej, Tarun6-544/+650
Fixes to PDP log parser failure issues and sonar fixes Issue-Id: POLICY-211 Change-Id: I8086a6fc1dc24719c3ffd3785a12c086ab452ae7 Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-09-11Enhanced MS JSON Generationguangxingwang1-5/+116
This enhancement excludes empty attributes and objects from creating MS Json file. Issure-Id: POLICY-193 Change-Id: I139012456fdc44b0ef6d58c208f1ee5db6bcf910 Signed-off-by: guangxingwang <gw1218@att.com>
2017-09-11Merge "Sonar Blocker"Pamela Dragosh1-4/+1
2017-09-11Sonar Blockeramshegokar1-4/+1
Sonar Blocker for ONAP-PAP-REST Change-Id: Ic8aaa0728a43936cd4c6e1ed590e01ba8f0fbc9c Issue-ID: POLICY-217 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2017-09-11Merge "Fix critical sonar for ONAP-PAP-REST"Jorge Hernandez1-12/+15
2017-09-11Merge "Cleanup project's name in Sonar"Pamela Dragosh1-1/+1
2017-09-11Fix critical sonar for ONAP-PAP-RESTGuo Ruijing1-12/+15
This patch is to fix sonar issue for ONAP-PAP-REST. Change-Id: I71530f1f92e5eda479e04c495bb7858b9d995b73 Issue-Id: POLICY-174 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-08Cleanup project's name in SonarJessica Wagantall1-1/+1
The name parameter in the root pom.xml should match the project name in gerrit to reflect consistency in Sonar. Change-Id: Ife7f24d76625ecf8285f62f085fdac11586e71a5 Issue-id: CIMAN-65 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-09-08New commit to add Junits to PAP-RESTMichael Mokry5-32/+728
Updated the previous commit to resolve merge conflicts from another pull request being merged before this one. Change-Id: I488246061e9b29c75ac8fe45c167ed7afa8db3b8 Issue-ID: POLICY-32 Signed-off-by: Michael Mokry <mm117s@att.com>
2017-09-08Sonar FixesTej, Tarun27-168/+281
Fixes to the sonar issues along with some cleanup code to remove warnings. Issue-Id: POLICY-113 Change-Id: I826562f7509c346210ac865cc6b31bce26bee2cf Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-09-07Merge "Use Reg Ex"Pamela Dragosh1-1/+7
2017-09-07Use Reg Examshegokar1-1/+7
Use Reg Ex for Drive letter Issue-ID: POLICY-203 Change-Id: Ic8aaa0728a43936cd4c6e1ed590e01ba8f0fbf9b Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2017-09-06Sonar fixes for Policy engineAvinashS7-152/+149
Remaining critical and few major issues fix. Change-Id: I5e602e377bd52877b1c791d4e00f79feceec391f IssueId: POLICY-174 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-09-06Merge "Added missing license headers"Pamela Dragosh13-0/+258
2017-09-06Added missing license headersTej, Tarun13-0/+258
Added license headers for files missing them. Issue-Id: POLICY-205 Change-Id: If4124bbf0f7737df58b8289472e1f3c0d2bbf587 Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-09-04Fix critical sonar for ONAP-PAP-RESTGuo Ruijing2-6/+35
This patch is to fix sonar issue for ONAP-PAP-REST. Change-Id: I81f316dbedc994486cce1331d3e9c406ea90aaa7 Issue-Id: POLICY-174 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-08-30Merge changes I3845ca4f,I7ae1ad11Jorge Hernandez18-1466/+1420
* changes: ONAP-PAP-REST sonar fixes Sonar fixes for ONAP-PAP-REST
2017-08-30Merge "Add a new cleanup process"Jorge Hernandez6-341/+579
2017-08-30Merge "Sonar Issue fixes for js"Jorge Hernandez5-38/+36
2017-08-30Add a new cleanup processcookiewang6-341/+579
Created a new cleanup process to delete all the old data from SystemLogDB table Issue-ID:POLICY-193 Change-Id: Id17539e68ac70be20857b071ffb3700a85bcb817 Signed-off-by: cookiewang <gw1218@att.com>
2017-08-30Sonar Issue fixes for jsrb71475-38/+36
Resolved POLICY-SDK-APP js blockers and critical issues Issue-Id: POLICY-184 Change-Id: I2ec99b4d48fcc2f833c6fd6140fed6d926c3fd9e Signed-off-by: rb7147 <rb7147@att.com>
2017-08-30ONAP-PAP-REST sonar fixesAvinashS3-39/+51
Few major and minor sonar issues fixes under policy engine. Change-Id: I3845ca4f050cdfada5c9e5cf2155a20974d6db37 IssueId: POLICY-174 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-08-30Sonar fixes for ONAP-PAP-RESTAvinashS15-1427/+1369
Critical, Major and minor issues fix. Change-Id: I7ae1ad11602f7d4dfe96c02c666c48057a8de2eb IssueId: POLICY-174 Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-08-29Fix critical sonar for ONAP-PAP-RESTGuo Ruijing3-108/+113
This patch is to fix sonar issue for ONAP-PAP-REST. Change-Id: I91e9da0edbd5bb261a5c7491f6612c1136af561c Issue-Id: POLICY-174 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-08-24Fixes for pom warningsTej, Tarun3-5/+0
Removed duplicates and overriden version warnings from pom.xml Issue-Id: POLICY-167 Change-Id: Idd3695ae12988b02eff9a1f1a4cded723da4b980 Signed-off-by: Tarun Tej Velaga <tt3868@att.com>
2017-08-24Fixes for missed sonar critical issuesTej, Tarun12-158/+153
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-24Merge "Fix critical sonar for ONAP-PAP-REST"Jorge Hernandez6-12/+15
2017-08-24Merge "Sonar fix forONAP-PAP-REST critical sonar issues"Pamela Dragosh27-679/+294
2017-08-24Fix critical sonar for ONAP-PAP-RESTGuo Ruijing6-12/+15
This patch is to fix error-handling sonar issue for ONAP-PAP-REST. Change-Id: Ic5755cc02f282938d098c3a5c9e869318429c2c6 Issue-Id: POLICY-174 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-08-24Sonar fix forONAP-PAP-REST critical sonar issuesAvinashS27-679/+294
Policy engine code cleanup for fixing exceptions, logger stream requirements. Change-Id: If641478dff698830d89ff4bb6ef8c698733ba0a6 Issue-Id: [POLICY-174] Signed-off-by: AvinashS <avinash.s@huawei.com>
2017-08-23Merge "Fixes for sonar critical issues"Jorge Hernandez80-4310/+4491
2017-08-23Fixes for sonar critical issuesTej, Tarun80-4310/+4491
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-22Resolved pom.xml in engineViswanath KSP1-29/+0
Change-Id: Ie8b923035fa7a19047f9bae7f939e27ed45e1bf1 Issue-Id: POLICY-175 Signed-off-by: Viswanath KSP <viswanath.kumarskandpriya@verizon.com>
2017-08-16Remove policy-yaml from policy/engineTej, Tarun65-12234/+19
Removed controlloopPolicy yaml sdk and asdc projects from policy/engine to eliminate redundancy. Issue-Id: POLICY-88 Change-Id: I9b87290cc27ba088424ecbb9d359a331527950fb Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-08-16Merge "Remove MojoHaus Maven plug-in"Pamela Dragosh3-176/+106
2017-08-15Remove MojoHaus Maven plug-inITSERVICES\cr056n3-176/+106
Remove MojoHaus Maven plug-in from pom files, BRMSPush.java, and settings.xml comment. Issue-Id: POLICY-116 Change-Id: I15f2d1af1c0e12faf816f0a08ddfdbffa0b47a94 Signed-off-by: Temoc Rodriguez <cr056n@att.com>
2017-08-15Merge "Fixes for eclipse warnings unused variables"Pamela Dragosh7-155/+6
2017-08-14Fixes for eclipse warnings unused variablesTarun Tej Velaga7-155/+6
Removed unused code in PAP REST caused eclipse warnings Issue-Id: POLICY-154 Change-Id: I376a2a96cb0fffd1dc89af6088362c60158e9256 Signed-off-by: Tarun Tej Velaga <tt3868@att.com>
2017-08-14Merge "Add fix for SQL injection."Jorge Hernandez20-163/+839
2017-08-14Add fix for SQL injection.Rodriguez, Cuauhtemoctzin (cr056n)20-163/+839
Add fix for SQL injection by passing parameters into getDataByQuery method and binding parameters. Add junit test file. Override equals and hashcode methods for more thorough testing on ActionBodyEntity, ConfigurationDataEntity, PolicyEntity, PolicyVersion, WatchPolicyNotificationTable classes. Issue-Id: [POLICY-158] Change-Id: Icebe1ca1ff01c8ea7435729967f4d349a1026054 Signed-off-by: ITSERVICES\cr056n <cr056n@att.com>
2017-08-14Remove eclipse checkstyle warningsPamela Dragosh1-0/+28
Add this should remove Eclipse warnings: Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (execution: check-style, phase: process-sources) Issue-Id: POLICY-166 Change-Id: I1b17afda88777bbc61afca53c1f1fe9732808e87 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-08-11Fixes for Backward compatibility issuesTej, Tarun12-75/+160
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-08-10PDP notification fixesTarun Tej Velaga3-5/+7
Fixed the PDP Notification issues by sending Notifcations after the engine is properly loaded. Issue-Id: POLICY-146 Change-Id: I70bba9adf6e08fb0bafe1364b8fe4a789f70a88e Signed-off-by: Tarun Tej Velaga <tt3868@att.com>