policy/engine.git
6 years agoUpdates to policy documentation 55/16655/1
Saryu Shah [Fri, 29 Sep 2017 15:53:37 +0000 (15:53 +0000)]
Updates to policy documentation

Included the table of contents in api and arch doc
-------------------------------------------------------------

Change-Id: I50a977cd3c9781c1f2b5804d9043f097246e2528
Issue-Id: POLICY-241
Signed-off-by: Saryu Shah <ss3917@att.com>
6 years agoArchitecture documentation updates 39/16539/1
Saryu Shah [Fri, 29 Sep 2017 00:31:12 +0000 (00:31 +0000)]
Architecture documentation updates

Architecture updates after meeting with James and Jeff
-------------------------------------------------------------

Change-Id: Ia8a70e7917a38f2ecda308b74f178160d9badbb8
Issue-Id: POLICY-244
Signed-off-by: Saryu Shah <ss3917@att.com>
6 years agoPolicy api documentation updates 05/16005/1
Saryu Shah [Wed, 27 Sep 2017 14:11:11 +0000 (14:11 +0000)]
Policy api documentation updates

Policy api documentation updates
-------------------------------------------------------------

Change-Id: If6f997ba1a14dbd0d42654993f444632ea4f6301
Issue-Id: POLICY-241
Signed-off-by: Saryu Shah <ss3917@att.com>
6 years agoPOLICY api documentation file updates 87/15687/1
Saryu Shah [Tue, 26 Sep 2017 20:00:17 +0000 (20:00 +0000)]
POLICY api documentation file updates

POLICY api documentation file updates
-------------------------------------------------------------

Change-Id: Ifaf9c34030e47311d5bb146a6ae9795321d3aaa3
Issue-Id: POLICY-241
Signed-off-by: Saryu Shah <ss3917@att.com>
6 years agoPolicy Architecture documentation 57/15657/1
Saryu Shah [Tue, 26 Sep 2017 17:14:12 +0000 (17:14 +0000)]
Policy Architecture documentation

Policy architecture documentation in RST
-------------------------------------------------------------

Change-Id: Ibeb8d49d7241a1f76e8b3e5f4e12383f72da6fea
Issue-Id: POLICY-244
Signed-off-by: Saryu Shah <ss3917@att.com>
6 years agoAdded api document 97/15097/1
Saryu Shah [Sun, 24 Sep 2017 15:29:03 +0000 (15:29 +0000)]
Added api document

Testing the api document for policy
-------------------------------------------------------------

Issue-Id: POLICY-241

Change-Id: I7b943b147fb51805dbd6d38723d684817ac37912
Signed-off-by: Saryu Shah <ss3917@att.com>
6 years agoAdded api document 05/14705/1
Saryu Shah [Fri, 22 Sep 2017 18:39:59 +0000 (18:39 +0000)]
Added api document

Testing the api document for policy

Change-Id: Ic7d2bc57f1298354351e9c4aaf29984e7db06494
Issue-Id: POLICY-241
Signed-off-by: Saryu Shah <ss3917@att.com>
6 years agoMerge "Adding documentation placeholders"
Pamela Dragosh [Fri, 22 Sep 2017 17:12:38 +0000 (17:12 +0000)]
Merge "Adding documentation placeholders"

6 years agoAdding documentation placeholders 77/14677/1
Pamela Dragosh [Fri, 22 Sep 2017 16:26:16 +0000 (12:26 -0400)]
Adding documentation placeholders

Starting point for policy engine documentation

Issue-ID: POLICY-190
Change-Id: I165bc9c709523e2b76890e6b8acd0b0c2a40625a
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoMerge "Add New Junit Tests For ONAP-XACML"
Pamela Dragosh [Fri, 22 Sep 2017 15:56:12 +0000 (15:56 +0000)]
Merge "Add New Junit Tests For ONAP-XACML"

6 years agoAdd New Junit Tests For ONAP-XACML 73/14373/2
guangxingwang [Thu, 21 Sep 2017 21:41:50 +0000 (16:41 -0500)]
Add New Junit Tests For ONAP-XACML

Add three new java junit test files to ONAP-XACML

Issue-ID: POLICY-52
Change-Id: I900f09c9baf773e46dadddf9d715af6033ffce0e
Signed-off-by: guangxingwang <gw1218@att.com>
6 years agoMerge "Additional Junit coverage for PAP REST"
Pamela Dragosh [Fri, 22 Sep 2017 13:27:16 +0000 (13:27 +0000)]
Merge "Additional Junit coverage for PAP REST"

6 years agoAdditional Junit coverage for PAP REST 51/14451/1
Tej, Tarun [Fri, 22 Sep 2017 04:49:10 +0000 (00:49 -0400)]
Additional Junit coverage for PAP REST

additional tests for Policy engine PAP project

Issue-Id: POLICY-52
Change-Id: I9a23ca758783e8f370c82a56143b53e3c858051c
Signed-off-by: Tej, Tarun <tt3868@att.com>
6 years agoAdding Junits for policy engine PDP 61/14361/3
uj426b [Thu, 21 Sep 2017 20:27:41 +0000 (16:27 -0400)]
Adding Junits for policy engine PDP

Additional coverage for Policy PDP

Issue-Id: POLICY-52
Change-Id: I1d401a150359ddb15c48098d0bd1dbd11e4d2b44
Signed-off-by: uj426b <jauhari.utkarsh@gmail.com>
6 years agoMerge "Added Junits for POLICY-SDK-APP"
Pamela Dragosh [Thu, 21 Sep 2017 19:29:05 +0000 (19:29 +0000)]
Merge "Added Junits for POLICY-SDK-APP"

6 years agoAdded Junits for POLICY-SDK-APP 27/14327/3
rb7147 [Thu, 21 Sep 2017 17:51:10 +0000 (13:51 -0400)]
Added Junits for POLICY-SDK-APP

Issue-Id: POLICY-52
Change-Id: I439c95736f50fe9140e71cad5a598c5b5239161b
Signed-off-by: rb7147 <rb7147@att.com>
6 years agoMerge "Redundant code removal and hadrcoded strings"
Jorge Hernandez [Thu, 21 Sep 2017 17:50:36 +0000 (17:50 +0000)]
Merge "Redundant code removal and hadrcoded strings"

6 years agoMerge "Add New Junit For ONAP-XACML"
Jorge Hernandez [Thu, 21 Sep 2017 17:36:57 +0000 (17:36 +0000)]
Merge "Add New Junit For ONAP-XACML"

6 years agoMerge changes from topic '13891'
Jorge Hernandez [Thu, 21 Sep 2017 17:35:22 +0000 (17:35 +0000)]
Merge changes from topic '13891'

* changes:
  String literal comparision on left side
  Used isEmpty to check collection is empty or not

6 years agoMerge "Used entrySet instead of keySet"
Jorge Hernandez [Thu, 21 Sep 2017 17:34:58 +0000 (17:34 +0000)]
Merge "Used entrySet instead of keySet"

6 years agoAdd New Junit For ONAP-XACML 13/14313/1
guangxingwang [Thu, 21 Sep 2017 15:54:02 +0000 (10:54 -0500)]
Add New Junit For ONAP-XACML

Add new junit tests for ONAP-XAML

Change-Id: I4b18b0ef7c693fed3848447d674321fb45437cb5
Issue-ID: POLICY-52
Signed-off-by: guangxingwang <gw1218@att.com>
6 years agoUpgrade to release oparent version 01/14301/1
Pamela Dragosh [Thu, 21 Sep 2017 15:06:17 +0000 (11:06 -0400)]
Upgrade to release oparent version

Following independent release and versioning process guidelines.

Issue-ID: POLICY-225
Change-Id: I59ae6da324b000dd31d340cca27aa05e86acab94
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoRedundant code removal and hadrcoded strings 39/13939/4
Bharat saraswal [Wed, 20 Sep 2017 16:59:44 +0000 (22:29 +0530)]
Redundant code removal and hadrcoded strings

Issue-Id:POLICY-252
Change-Id: Ifeadfe6dfd0d428a0580c627eeca1fc19b58c856
Signed-off-by: Bharat saraswal <bharat.saraswal@huawei.com>
6 years agoString literal comparision on left side 91/13891/9
rama-huawei [Wed, 20 Sep 2017 13:24:26 +0000 (18:54 +0530)]
String literal comparision on left side

Issue-ID: POLICY-239
Change-Id: Iee03160b28ffadb296f3926c7d7c5ac98fac535e
Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
6 years agoUsed isEmpty to check collection is empty or not 81/13881/8
rama-huawei [Wed, 20 Sep 2017 13:03:38 +0000 (18:33 +0530)]
Used isEmpty to check collection is empty or not

Issue-ID: POLICY-239
Change-Id: I5c6a43ac0f66e02b4f2f6644f0936a846708e2a5
Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
6 years agoUsed entrySet instead of keySet 57/13857/11
rama-huawei [Wed, 20 Sep 2017 11:19:00 +0000 (16:49 +0530)]
Used entrySet instead of keySet

Removed useless assignment to the local variables and useless parenthesis

Moved string literal on the left side of the actual string comparison.

Issue-ID: POLICY-239
Change-Id: Ie66c92dac548a17d73a976bf0bc57039fd99a5b6
Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
6 years agoMerge "Modify pom to exclude 3rd party javascript"
Jorge Hernandez [Wed, 20 Sep 2017 21:07:25 +0000 (21:07 +0000)]
Merge "Modify pom to exclude 3rd party javascript"

6 years agoMerge "Added the "@Override" annotation"
Pamela Dragosh [Wed, 20 Sep 2017 17:48:13 +0000 (17:48 +0000)]
Merge "Added the "@Override" annotation"

6 years agoMerge "Fix for Sonar major issues"
Pamela Dragosh [Wed, 20 Sep 2017 17:47:51 +0000 (17:47 +0000)]
Merge "Fix for Sonar major issues"

6 years agoMerge "Fix for Sonar major issues"
Pamela Dragosh [Wed, 20 Sep 2017 17:46:57 +0000 (17:46 +0000)]
Merge "Fix for Sonar major issues"

6 years agoModify pom to exclude 3rd party javascript 47/13947/1
Pamela Dragosh [Wed, 20 Sep 2017 17:37:03 +0000 (13:37 -0400)]
Modify pom to exclude 3rd party javascript

The 3rd party javascript and css code is provided by portal team
and should not be included in code coverage for sonar.

Issue-ID: POLICY-253
Change-Id: I7a03dda032d06452f806dbb768338d6ca55b6375
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoMerge "Testing documentation commit with header fix"
Pamela Dragosh [Wed, 20 Sep 2017 17:21:26 +0000 (17:21 +0000)]
Merge "Testing documentation commit with header fix"

6 years agoAdded the "@Override" annotation 87/13787/11
rama-huawei [Wed, 20 Sep 2017 09:05:38 +0000 (14:35 +0530)]
Added the "@Override" annotation

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>
6 years agoFix for Sonar major issues 13/13713/6
rama-huawei [Wed, 20 Sep 2017 06:34:57 +0000 (12:04 +0530)]
Fix for Sonar major issues

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>
6 years agoFix for Sonar major issues 97/13697/4
rama-huawei [Wed, 20 Sep 2017 06:07:00 +0000 (11:37 +0530)]
Fix for Sonar major issues

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>
6 years agoRemoved the FlexSlider dependency 07/13907/1
rb7147 [Wed, 20 Sep 2017 14:14:40 +0000 (10:14 -0400)]
Removed the FlexSlider dependency

Issue-Id: POLICY-220

Change-Id: Ib49261274645b4ac1712c7960214a3040ef1b44c
Signed-off-by: rb7147 <rb7147@att.com>
6 years agoMerge "Added Junits for POLICY-SDK-APP"
Jorge Hernandez [Wed, 20 Sep 2017 14:11:15 +0000 (14:11 +0000)]
Merge "Added Junits for POLICY-SDK-APP"

6 years agomysql connector to mariadb changes 57/13657/1
Tej, Tarun [Wed, 20 Sep 2017 03:14:33 +0000 (23:14 -0400)]
mysql connector to mariadb changes

changes to mysql connector to mariadb connector along with additional
Junits

Issue-Id: POLICY-219
Change-Id: I26ee1cf733d49d10fccbcd159fe8fc380120efbf
Signed-off-by: Tej, Tarun <tt3868@att.com>
6 years agoAdded Junits for POLICY-SDK-APP 25/13625/1
rb7147 [Wed, 20 Sep 2017 02:06:26 +0000 (22:06 -0400)]
Added Junits for POLICY-SDK-APP

Issue-Id: POLICY-52

Change-Id: Ic13cc5a6a32e65e301f1dcdc437f1de8ba6c00d8
Signed-off-by: rb7147 <rb7147@att.com>
6 years agoTesting documentation commit with header fix 83/13583/1
jsseidel [Tue, 19 Sep 2017 19:58:06 +0000 (15:58 -0400)]
Testing documentation commit with header fix

Changed default header to Policy Engine. This
will help me to test new documentation
procedures with regard to submodules.

Change-Id: Icd0e9acc1e9524f231bea5d676d4230068bafd4f
Issue-Id: DOC-86
Signed-off-by: jsseidel <spence@research.att.com>
6 years agoAdded Junits for ONAP PDP 75/13275/2
rb7147 [Tue, 19 Sep 2017 02:45:57 +0000 (22:45 -0400)]
Added Junits for ONAP PDP

Removed old JUnits.Hence they are already exists in GIT/XACML Project.
And, not used in ONAP-PDP.

Issue-ID: POLICY-52
Change-Id: I41ca2cb02a1ad41ac7c5fdedddfed9520be8e634
Signed-off-by: rb7147 <rb7147@att.com>
6 years agoMerge "Adding JUnits for additional coverage"
Jorge Hernandez [Mon, 18 Sep 2017 22:44:36 +0000 (22:44 +0000)]
Merge "Adding JUnits for additional coverage"

6 years agoAdding JUnits for additional coverage 09/13209/2
Tej, Tarun [Sat, 16 Sep 2017 16:56:31 +0000 (12:56 -0400)]
Adding JUnits for additional coverage

PolicyEngine Utils and BRMSGW Junit

Issue-Id: POLICY-52
Change-Id: I8e18e8bd6dc5eec0874b9ffe3aebf8e399ff3326
Signed-off-by: Tej, Tarun <tt3868@att.com>
6 years agoAdd docs folder for documentation project 97/13197/1
Pamela Dragosh [Mon, 18 Sep 2017 18:21:16 +0000 (14:21 -0400)]
Add docs folder for documentation project

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>
6 years agoUpdate to new location 61/12561/5
Pamela Dragosh [Thu, 14 Sep 2017 21:38:02 +0000 (17:38 -0400)]
Update to new location

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>
6 years agoMerge "Adding Junits for policy engine"
Jorge Hernandez [Fri, 15 Sep 2017 13:49:38 +0000 (13:49 +0000)]
Merge "Adding Junits for policy engine"

6 years agoSonar Major 71/11871/4
SwapnilPathak [Fri, 15 Sep 2017 06:10:32 +0000 (11:40 +0530)]
Sonar Major

Remove useless parentheses from CheckPDP.java

Issue-ID: POLICY-224
Change-Id: I8086a6fc1dc24719c3ffd3785a12c086ab453ae7
Signed-off-by: SwapnilPathak <SP00494485@techmahindra.com>
6 years agoAdding Junits for policy engine 39/12639/2
Tej, Tarun [Fri, 15 Sep 2017 04:52:13 +0000 (00:52 -0400)]
Adding Junits for policy engine

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>
6 years agoFix sonar blocker to close handle 39/12439/2
Pamela Dragosh [Thu, 14 Sep 2017 13:11:14 +0000 (09:11 -0400)]
Fix sonar blocker to close handle

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>
6 years agoSonar Major 71/12371/1
SwapnilPathak [Thu, 14 Sep 2017 06:56:53 +0000 (12:26 +0530)]
Sonar Major

Merge this if statement with the enclosing one
Change-Id: I8086a6fc1dc24719c3ffd3785a12c086ab453ae8
Issue-ID: POLICY-233
Signed-off-by: SwapnilPathak <SP00494485@techmahindra.com>
6 years agoRemoving binaries in Policy Repo 25/12225/1
rb7147 [Wed, 13 Sep 2017 15:14:02 +0000 (11:14 -0400)]
Removing binaries in Policy Repo

Issue-Id : POLICY-231

Change-Id: I917256637ae96c9c1ddf6e5c4e79c73d40d14d34
Signed-off-by: rb7147 <rb7147@att.com>
6 years agoResolved Policy GUI Issues 19/12019/3
rb7147 [Tue, 12 Sep 2017 18:43:59 +0000 (14:43 -0400)]
Resolved Policy GUI Issues

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>
6 years agosonar blocker/critical fixes 43/11743/1
Tej, Tarun [Mon, 11 Sep 2017 19:30:24 +0000 (15:30 -0400)]
sonar blocker/critical fixes

Fixes for sonar critical and blocker issues

Issue-Id: POLICY-113
Change-Id: I33bf28abfc52bf289401c58409beaac01b5c2fa6
Signed-off-by: Tej, Tarun <tt3868@att.com>
6 years agoMerge "Enhanced MS JSON Generation"
Jorge Hernandez [Mon, 11 Sep 2017 19:00:15 +0000 (19:00 +0000)]
Merge "Enhanced MS JSON Generation"

6 years agoHealth check issue fixes 21/11721/3
Tej, Tarun [Mon, 11 Sep 2017 17:33:47 +0000 (13:33 -0400)]
Health check issue fixes

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>
6 years agoEnhanced MS JSON Generation 23/11723/1
guangxingwang [Mon, 11 Sep 2017 17:57:58 +0000 (12:57 -0500)]
Enhanced MS JSON Generation

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>
6 years agoMerge "Sonar Blocker"
Pamela Dragosh [Mon, 11 Sep 2017 16:15:18 +0000 (16:15 +0000)]
Merge "Sonar Blocker"

6 years agoSonar Blocker 95/11695/2
amshegokar [Mon, 11 Sep 2017 14:42:20 +0000 (20:12 +0530)]
Sonar Blocker

Sonar Blocker for ONAP-PAP-REST

Change-Id: Ic8aaa0728a43936cd4c6e1ed590e01ba8f0fbc9c
Issue-ID: POLICY-217
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
6 years agoMerge "Fix critical sonar for ONAP-PAP-REST"
Jorge Hernandez [Mon, 11 Sep 2017 14:29:37 +0000 (14:29 +0000)]
Merge "Fix critical sonar for ONAP-PAP-REST"

6 years agoMerge "Cleanup project's name in Sonar"
Pamela Dragosh [Mon, 11 Sep 2017 12:12:28 +0000 (12:12 +0000)]
Merge "Cleanup project's name in Sonar"

6 years agoFix critical sonar for ONAP-PAP-REST 43/10743/4
Guo Ruijing [Fri, 8 Sep 2017 07:49:04 +0000 (07:49 +0000)]
Fix critical sonar for ONAP-PAP-REST

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>
6 years agoCleanup project's name in Sonar 03/11403/1
Jessica Wagantall [Fri, 8 Sep 2017 21:55:14 +0000 (14:55 -0700)]
Cleanup project's name in Sonar

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>
6 years agoNew commit to add Junits to PAP-REST 11/11011/5
Michael Mokry [Fri, 8 Sep 2017 16:25:20 +0000 (11:25 -0500)]
New commit to add Junits to PAP-REST

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>
6 years agoSonar Fixes 09/11009/1
Tej, Tarun [Thu, 7 Sep 2017 23:21:28 +0000 (19:21 -0400)]
Sonar Fixes

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>
6 years agoMerge "Use Reg Ex"
Pamela Dragosh [Thu, 7 Sep 2017 12:29:55 +0000 (12:29 +0000)]
Merge "Use Reg Ex"

6 years agoUse Reg Ex 19/10719/1
amshegokar [Thu, 7 Sep 2017 05:35:47 +0000 (11:05 +0530)]
Use Reg Ex

Use Reg Ex for Drive letter

Issue-ID: POLICY-203
Change-Id: Ic8aaa0728a43936cd4c6e1ed590e01ba8f0fbf9b
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
6 years agoSonar fixes for Policy engine 39/10339/4
AvinashS [Tue, 5 Sep 2017 10:28:22 +0000 (15:58 +0530)]
Sonar fixes for Policy engine

Remaining critical and few major issues fix.

Change-Id: I5e602e377bd52877b1c791d4e00f79feceec391f
IssueId: POLICY-174
Signed-off-by: AvinashS <avinash.s@huawei.com>
6 years agoMerge "Added missing license headers"
Pamela Dragosh [Wed, 6 Sep 2017 16:58:42 +0000 (16:58 +0000)]
Merge "Added missing license headers"

6 years agoAdded missing license headers 01/10601/1
Tej, Tarun [Wed, 6 Sep 2017 16:25:25 +0000 (12:25 -0400)]
Added missing license headers

Added license headers for files missing them.

Issue-Id: POLICY-205
Change-Id: If4124bbf0f7737df58b8289472e1f3c0d2bbf587
Signed-off-by: Tej, Tarun <tt3868@att.com>
6 years agoFix critical sonar for ONAP-PAP-REST 45/10145/1
Guo Ruijing [Mon, 4 Sep 2017 13:28:23 +0000 (13:28 +0000)]
Fix critical sonar for ONAP-PAP-REST

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>
6 years agoMerge changes I3845ca4f,I7ae1ad11
Jorge Hernandez [Wed, 30 Aug 2017 18:03:27 +0000 (18:03 +0000)]
Merge changes I3845ca4f,I7ae1ad11

* changes:
  ONAP-PAP-REST sonar fixes
  Sonar fixes for ONAP-PAP-REST

6 years agoMerge "Add a new cleanup process"
Jorge Hernandez [Wed, 30 Aug 2017 17:49:40 +0000 (17:49 +0000)]
Merge "Add a new cleanup process"

6 years agoMerge "Sonar Issue fixes for js"
Jorge Hernandez [Wed, 30 Aug 2017 17:42:25 +0000 (17:42 +0000)]
Merge "Sonar Issue fixes for js"

6 years agoAdd a new cleanup process 73/9473/1
cookiewang [Wed, 30 Aug 2017 14:43:50 +0000 (09:43 -0500)]
Add a new cleanup process

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>
6 years agoSonar Issue fixes for js 97/9197/2
rb7147 [Tue, 29 Aug 2017 18:38:54 +0000 (14:38 -0400)]
Sonar Issue fixes for js

Resolved POLICY-SDK-APP js blockers and critical issues

Issue-Id: POLICY-184
Change-Id: I2ec99b4d48fcc2f833c6fd6140fed6d926c3fd9e
Signed-off-by: rb7147 <rb7147@att.com>
6 years agoONAP-PAP-REST sonar fixes 47/9347/1
AvinashS [Wed, 30 Aug 2017 09:07:27 +0000 (14:37 +0530)]
ONAP-PAP-REST sonar fixes

Few major and minor sonar issues fixes
under policy engine.

Change-Id: I3845ca4f050cdfada5c9e5cf2155a20974d6db37
IssueId: POLICY-174
Signed-off-by: AvinashS <avinash.s@huawei.com>
6 years agoSonar fixes for ONAP-PAP-REST 13/9313/1
AvinashS [Wed, 30 Aug 2017 06:42:47 +0000 (12:12 +0530)]
Sonar fixes for ONAP-PAP-REST

Critical, Major and minor issues fix.

Change-Id: I7ae1ad11602f7d4dfe96c02c666c48057a8de2eb
IssueId: POLICY-174
Signed-off-by: AvinashS <avinash.s@huawei.com>
6 years agoFix critical sonar for ONAP-PAP-REST 83/8883/4
Guo Ruijing [Mon, 28 Aug 2017 10:11:33 +0000 (10:11 +0000)]
Fix critical sonar for ONAP-PAP-REST

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>
6 years agoFixes for pom warnings 97/8797/1
Tej, Tarun [Thu, 24 Aug 2017 17:54:39 +0000 (13:54 -0400)]
Fixes for pom warnings

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>
6 years agoFixes for missed sonar critical issues 49/8649/2
Tej, Tarun [Thu, 24 Aug 2017 16:13:12 +0000 (12:13 -0400)]
Fixes for missed sonar critical issues

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>
6 years agoMerge "Fix critical sonar for ONAP-PAP-REST"
Jorge Hernandez [Thu, 24 Aug 2017 12:56:30 +0000 (12:56 +0000)]
Merge "Fix critical sonar for ONAP-PAP-REST"

6 years agoMerge "Sonar fix forONAP-PAP-REST critical sonar issues"
Pamela Dragosh [Thu, 24 Aug 2017 11:13:30 +0000 (11:13 +0000)]
Merge "Sonar fix forONAP-PAP-REST critical sonar issues"

6 years agoFix critical sonar for ONAP-PAP-REST 91/8391/3
Guo Ruijing [Thu, 24 Aug 2017 08:13:53 +0000 (08:13 +0000)]
Fix critical sonar for ONAP-PAP-REST

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>
6 years agoSonar fix forONAP-PAP-REST critical sonar issues 79/8279/4
AvinashS [Tue, 22 Aug 2017 12:43:11 +0000 (18:13 +0530)]
Sonar fix forONAP-PAP-REST critical sonar issues

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>
6 years agoMerge "Fixes for sonar critical issues"
Jorge Hernandez [Wed, 23 Aug 2017 19:35:20 +0000 (19:35 +0000)]
Merge "Fixes for sonar critical issues"

6 years agoFixes for sonar critical issues 07/8307/4
Tej, Tarun [Tue, 22 Aug 2017 00:00:50 +0000 (20:00 -0400)]
Fixes for sonar critical issues

Fixes for critical and blocker issues reported in sonar.

Issue-Id: POLICY-113
Change-Id: I50969fe93a94b0497f3fb30864a6c45e63208fe6
Signed-off-by: Tej, Tarun <tt3868@att.com>
6 years agoResolved pom.xml in engine 89/8289/1
Viswanath KSP [Tue, 22 Aug 2017 14:18:50 +0000 (14:18 +0000)]
Resolved pom.xml in engine

Change-Id: Ie8b923035fa7a19047f9bae7f939e27ed45e1bf1
Issue-Id: POLICY-175
Signed-off-by: Viswanath KSP <viswanath.kumarskandpriya@verizon.com>
6 years agoRemove policy-yaml from policy/engine 35/7735/2
Tej, Tarun [Wed, 16 Aug 2017 12:58:50 +0000 (08:58 -0400)]
Remove policy-yaml from policy/engine

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>
6 years agoMerge "Remove MojoHaus Maven plug-in"
Pamela Dragosh [Wed, 16 Aug 2017 11:34:09 +0000 (11:34 +0000)]
Merge "Remove MojoHaus Maven plug-in"

6 years agoRemove MojoHaus Maven plug-in 55/7455/4
ITSERVICES\cr056n [Mon, 14 Aug 2017 16:46:27 +0000 (09:46 -0700)]
Remove MojoHaus Maven plug-in

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>
6 years agoMerge "Fixes for eclipse warnings unused variables"
Pamela Dragosh [Tue, 15 Aug 2017 12:38:27 +0000 (12:38 +0000)]
Merge "Fixes for eclipse warnings unused variables"

6 years agoFixes for eclipse warnings unused variables 49/7449/3
Tarun Tej Velaga [Mon, 14 Aug 2017 15:48:57 +0000 (15:48 +0000)]
Fixes for eclipse warnings unused variables

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>
6 years agoMerge "Add fix for SQL injection."
Jorge Hernandez [Mon, 14 Aug 2017 19:03:26 +0000 (19:03 +0000)]
Merge "Add fix for SQL injection."

6 years agoAdd fix for SQL injection. 67/7367/3
Rodriguez, Cuauhtemoctzin (cr056n) [Fri, 4 Aug 2017 21:02:20 +0000 (16:02 -0500)]
Add fix for SQL injection.

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>
6 years agoRemove eclipse checkstyle warnings 69/7469/1
Pamela Dragosh [Mon, 14 Aug 2017 17:53:06 +0000 (13:53 -0400)]
Remove eclipse checkstyle warnings

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>
6 years agoFixes for Backward compatibility issues 57/7357/1
Tej, Tarun [Fri, 11 Aug 2017 16:20:16 +0000 (12:20 -0400)]
Fixes for Backward compatibility issues

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>
6 years agoPDP notification fixes 17/7217/1
Tarun Tej Velaga [Thu, 10 Aug 2017 15:24:11 +0000 (15:24 +0000)]
PDP notification fixes

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>
6 years agoFix console issues 35/7135/2
Tej, Tarun [Wed, 9 Aug 2017 17:50:38 +0000 (13:50 -0400)]
Fix console issues

Reverted package names to org.openecomp to fix portal issues

Issue-ID: POLICY-144
Change-Id: Ie108db431b9d211b15c59a29e564517c785e0da5
Signed-off-by: Tarun Tej Velaga <tt3868@att.com>
6 years ago[POLICY-152] engine integration with oparent 11/6611/1
Guo Ruijing [Thu, 3 Aug 2017 11:44:10 +0000 (11:44 +0000)]
[POLICY-152] engine integration with oparent

Change-Id: Ia03582b13052d1f0dca6c7ff2f7918679bbd43de
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
6 years ago[POLICY-73] forgot one onap-staging 63/6463/1
Pamela Dragosh [Tue, 1 Aug 2017 01:30:18 +0000 (21:30 -0400)]
[POLICY-73] forgot one onap-staging

Change-Id: Iba5cb00dcaea1552d70b298cbc7936e4737e2911
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>