policy/engine.git
6 years agoFixing the BRMS rule generation issue 57/18057/1
Tej, Tarun [Tue, 10 Oct 2017 21:11:54 +0000 (17:11 -0400)]
Fixing the BRMS rule generation issue

Fixing the rule params section to look for PapParams istead of Params.
This will be a temporary solution for now.

Issue-Id: POLICY-302
Change-Id: I4b6b415b3eacf121be374d2dfd50303049c35aba
Signed-off-by: Tej, Tarun <tt3868@att.com>
6 years agoFixing issue with PDP Indeterminate response 15/18015/1
Tej, Tarun [Tue, 10 Oct 2017 17:11:09 +0000 (13:11 -0400)]
Fixing issue with PDP Indeterminate response

Issue-Id: POLICY-305
Change-Id: Ibc8827af062d759b607b05731f3a2d88b10e0088
Signed-off-by: Tej, Tarun <tt3868@att.com>
6 years agoFixing policy build issues 65/17965/2
Tej, Tarun [Tue, 10 Oct 2017 14:07:44 +0000 (10:07 -0400)]
Fixing policy build issues

Reverting back the changes made to properties and removing javax.json
version which is build on jdk9

Issue-Id: POLICY-295
Change-Id: I1dfbd6be94f3f845d64c9aa96107138f23b34158
Signed-off-by: Tej, Tarun <tt3868@att.com>
6 years agoPolicy GUI documentation 51/17751/1
Saryu Shah [Mon, 9 Oct 2017 22:47:18 +0000 (22:47 +0000)]
Policy GUI documentation

Policy GUI documentation initial updates
-------------------------------------------------------------

Change-Id: I2d382168e786edbae100f9d3afd52e1b9f9fa45d
Issue-Id: POLICY-242
Signed-off-by: Saryu Shah <ss3917@att.com>
6 years agoUpdated policy releasE documentation 13/17713/1
Saryu Shah [Mon, 9 Oct 2017 19:30:40 +0000 (19:30 +0000)]
Updated policy releasE documentation

Updated bug-fixes and known-issues.  Removed other categories from index.
-------------------------------------------------------------

Change-Id: I3265b70ea68e90653a87bb31c45ad2e2481b3d4f
Issue-Id: POLICY-242
Signed-off-by: Saryu Shah <ss3917@att.com>
6 years agodocumentation for New Features 61/17561/1
Saryu Shah [Sun, 8 Oct 2017 21:37:39 +0000 (21:37 +0000)]
documentation for New Features

Updated documentation for POLICY Release Notes - New Features
-------------------------------------------------------------

Change-Id: I07d0b30b03823ecb4e0ef60202ceadebcbe2bd59
Issue-Id: POLICY-242
Signed-off-by: Saryu Shah <ss3917@att.com>
6 years agoFixed bug introduced by sql injeciton protection. 87/17487/1
Temoc Rodriguez [Fri, 6 Oct 2017 16:21:04 +0000 (09:21 -0700)]
Fixed bug introduced by sql injeciton protection.

Added missing colon before the named parameters. Fixed a typo parameter
name. Fixed bad cast by setParameter.

This fixes issues encountered in the UI. Whenever a policy is moved,
renamed, or deleted it makes a db call and that db call fails on
setParameter method. This hibernate method is supposed to automatically
detect the type of the object for the named parameters but it fails with
type Long. It tries to convert to int and it fails. A check is now added
for type Long.

Issue-ID: POLICY-278
Change-Id: Idbb4067a5ec2cc9d9b040de9e574ba2564e1ee2c
Signed-off-by: Temoc Rodriguez <cr056n@att.com>
6 years agochanges to fix settings.xml and properties 75/17375/1
Tej, Tarun [Thu, 5 Oct 2017 20:49:18 +0000 (16:49 -0400)]
changes to fix settings.xml and properties

Changes to settings.xml file to point to ONAP repos and xacml pdp
properties changes to point to proper class.

Issue-Id: POLICY-295
Change-Id: I7d501fc76a457b513353e51287dd39302051ea22
Signed-off-by: Tej, Tarun <tt3868@att.com>
6 years agoMerge "Adding entries to .gitignore"
Jorge Hernandez [Mon, 2 Oct 2017 19:58:13 +0000 (19:58 +0000)]
Merge "Adding entries to .gitignore"

6 years agoMerge "Updates to policy documentation"
Pamela Dragosh [Fri, 29 Sep 2017 16:44:30 +0000 (16:44 +0000)]
Merge "Updates to policy documentation"

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 agoAdding entries to .gitignore 37/16637/1
Pamela Dragosh [Fri, 29 Sep 2017 12:29:10 +0000 (06:29 -0600)]
Adding entries to .gitignore

When "mvn clean install" is run, the following is leftover:

Your branch is up-to-date with 'origin/master'.
Untracked files:
  (use "git add <file>..." to include in what will be committed)

BRMSGateway/logs/
BRMSGateway/sql/
BRMSGateway/src/test/resources/META-INF/generatedCreate.ddl
BRMSGateway/src/test/resources/META-INF/generatedDrop.ddl
BRMSGateway/src/test/resources/failure.properties
LogParser/logs/
ONAP-PAP-REST/catalina.base_IS_UNDEFINED/
ONAP-PAP-REST/pdps/
ONAP-PAP-REST/sql/
ONAP-PAP-REST/src/test/resources/generatedCreate.ddl
ONAP-PAP-REST/src/test/resources/generatedDrop.ddl
ONAP-PAP-REST/src/test/resources/webapps/
ONAP-PDP-REST/catalina.base_IS_UNDEFINED/
ONAP-PDP-REST/sql/
ONAP-PDP-REST/src/test/resources/config_testing/
ONAP-PDP-REST/src/test/resources/generatedCreate.ddl
ONAP-PDP-REST/src/test/resources/generatedDrop.ddl
ONAP-PDP-REST/topicBackup.txt
ONAP-PDP/logs/
ONAP-XACML/logs/
ONAP-XACML/src/test/resources/pdpstest/
POLICY-SDK-APP/catalina.base_IS_UNDEFINED/
PolicyEngineAPI/logs/
PolicyEngineUtils/logs/

It is distracting when trying to "git add <Files>" to a new commit. Updating the
.gitigore to ignore these so they are not listed anymore.

Issue-ID: POLICY-274
Change-Id: Ib04c1903cd1ff00b3a1ab45e0c60af439737699d
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoMerge "Architecture documentation updates"
Pamela Dragosh [Fri, 29 Sep 2017 12:05:24 +0000 (12:05 +0000)]
Merge "Architecture documentation updates"

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 agoRevert the SDK properties 11/16511/1
rb7147 [Thu, 28 Sep 2017 20:43:22 +0000 (16:43 -0400)]
Revert the SDK properties

Changed the portal properties from onap to ecomp.

Issue-Id: POLICY-273
Change-Id: I4c62bb1df2c181c6d506e4e4894b0f9e4a44e5cc
Signed-off-by: rb7147 <rb7147@att.com>
6 years agoFix major sonar issues 93/16293/1
shashikanth [Thu, 28 Sep 2017 08:48:06 +0000 (14:18 +0530)]
Fix major sonar issues

Fix major sonar issues in policy/engine module
https://sonar.onap.org/component_issues?id=org.onap.policy.engine%3APolicyEngineSuite#resolved=false|severities=MAJOR|rules=squid%3AS1132|fileUuids=AV2blNYr5bp_wwmIUP_g

Move the "Duplicate" string literal on the left side of this string comparison.

Issue-Id:POLICY-272
Change-Id: I78d4d627aa58fd90340c9e780728bae12a0b78bc
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
6 years agoMerge "Policy API support for Rainy Day Decision Policy"
Jorge Hernandez [Thu, 28 Sep 2017 03:40:01 +0000 (03:40 +0000)]
Merge "Policy API support for Rainy Day Decision Policy"

6 years agoAdded R1 MS Tosca template 97/16097/1
rb7147 [Wed, 27 Sep 2017 20:33:51 +0000 (16:33 -0400)]
Added R1 MS Tosca template

Added the MS Tosca template to db scripts and cleaned up old policies.

Issue-Id: POLICY-264
Change-Id: I0ee5cffbb78d1f7df0379b71fe0f3368587aa9a6
Signed-off-by: rb7147 <rb7147@att.com>
6 years agoMerge "New controller support from BRMSGW"
Jorge Hernandez [Wed, 27 Sep 2017 17:53:42 +0000 (17:53 +0000)]
Merge "New controller support from BRMSGW"

6 years agoMerge "Policy api documentation updates"
Pamela Dragosh [Wed, 27 Sep 2017 15:30:44 +0000 (15:30 +0000)]
Merge "Policy api documentation updates"

6 years agoNew controller support from BRMSGW 15/16015/2
Tej, Tarun [Wed, 27 Sep 2017 14:53:52 +0000 (10:53 -0400)]
New controller support from BRMSGW

Amsterdam controller support from brmsgw persepective

Issue-Id: POLICY-263
Change-Id: I6b28757128998d3dedb86abada02b1d1ea4d3a8a
Signed-off-by: Tej, Tarun <tt3868@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 agoMerge "POLICY api documentation file updates"
Pamela Dragosh [Wed, 27 Sep 2017 03:11:35 +0000 (03:11 +0000)]
Merge "POLICY api documentation file updates"

6 years agoMerge "Policy Architecture documentation"
Pamela Dragosh [Wed, 27 Sep 2017 03:11:28 +0000 (03:11 +0000)]
Merge "Policy Architecture documentation"

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 agoPolicy API support for Rainy Day Decision Policy 79/15579/2
Michael Mokry [Tue, 26 Sep 2017 13:49:34 +0000 (08:49 -0500)]
Policy API support for Rainy Day Decision Policy

Enhances the Rainy Day Decision Policy by providing API support to
manage Rainy Day Decision policies and dictionaries

Change-Id: Ia7c49199ac057fa8bcc9de74f5e0b8dba395d43a
Issue-ID: POLICY-269
Signed-off-by: Michael Mokry <mm117s@att.com>
6 years agoMerge "Added api document"
Pamela Dragosh [Mon, 25 Sep 2017 21:48:31 +0000 (21:48 +0000)]
Merge "Added api document"

6 years agoMerge "String literal comparision on left side"
Jorge Hernandez [Mon, 25 Sep 2017 13:08:29 +0000 (13:08 +0000)]
Merge "String literal comparision on left side"

6 years agoString literal comparision on left side 93/14593/3
rama-huawei [Fri, 22 Sep 2017 12:02:29 +0000 (17:32 +0530)]
String literal comparision on left side

Used isEmpty instead of size method

Issue-ID: POLICY-239
Change-Id: I9007fa99b40e53000a972147079ec6db4ecc7a66
Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.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>