summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-20Added the "@Override" annotationrama-huawei4-2/+6
1) Move the string literal on the left side of the actual string comparison. Issue-ID: POLICY-239 Change-Id: I3185a00c815aee8d25637d8646221eb87608f989 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-20Fix for Sonar major issuesrama-huawei8-1/+9
Change includes: 1) Add the "@Override" annotation for overriding methods 2) Move the string literal on the left side of the actual string comparison. Issue-ID: POLICY-239 Change-Id: I83b0cf41d630ef80f08eda35c9c37ae591332f74 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-20Fix for Sonar major issuesrama-huawei3-26/+25
Moved the string literal on the left side of the actual string comparison. Added the "@Override" annotation for method signature Removed the useless assignment to local variables Issue-ID: POLICY-239 Change-Id: I5fb84bb6109c03c8c0850100b69df095d865b404 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-18Merge "Adding JUnits for additional coverage"Jorge Hernandez8-22/+477
2017-09-18Adding JUnits for additional coverageTej, Tarun8-22/+477
PolicyEngine Utils and BRMSGW Junit Issue-Id: POLICY-52 Change-Id: I8e18e8bd6dc5eec0874b9ffe3aebf8e399ff3326 Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-09-18Add docs folder for documentation projectPamela Dragosh1-0/+8
Adding the docs directory. This directly maps to the documentation project submodule for policy/engine. Issue-ID: POLICY-190 Change-Id: I1bb99b34905bd68569549e443076b49920c298fd Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-09-15Update to new locationPamela Dragosh1-6/+9
This is due to the change in policy/common where the value was moved to a JUnit test for passwords. Please do not submit until the policy/common commit is submitted: dd1df5fdcc8fe69f7ae310d9ffb29c2116973bd0 Issue-ID: POLICY-237 Change-Id: I993c23da043c9253f3c3e8b6bc2948377a2fec00 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-09-15Merge "Adding Junits for policy engine"Jorge Hernandez34-628/+1253
2017-09-15Sonar MajorSwapnilPathak1-1/+1
Remove useless parentheses from CheckPDP.java Issue-ID: POLICY-224 Change-Id: I8086a6fc1dc24719c3ffd3785a12c086ab453ae7 Signed-off-by: SwapnilPathak <SP00494485@techmahindra.com>
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>