policy/engine.git
6 years agoONAP log files consolidation 43/40543/4
Chou, Joseph (JC2555) [Mon, 2 Apr 2018 18:11:34 +0000 (14:11 -0400)]
ONAP log files consolidation

Check in changes for pap,pdp,console,brmsgw,paplp and pdplp

Change-Id: I23525a44e0f269d04d9870c3eed18b6b8daacb2c
Issue-ID: POLICY-562
Signed-off-by: Chou, Joseph (JC2555) <jc2555@att.com>
6 years agoMerge "JUnit additions for PDP,PDP-REST,SDK,XACML"
Pamela Dragosh [Tue, 3 Apr 2018 12:32:48 +0000 (12:32 +0000)]
Merge "JUnit additions for PDP,PDP-REST,SDK,XACML"

6 years agoMerge "Fix a Bug on Checking Required Fields"
Jorge Hernandez [Tue, 3 Apr 2018 01:27:47 +0000 (01:27 +0000)]
Merge "Fix a Bug on Checking Required Fields"

6 years agoFix a Bug on Checking Required Fields 41/40541/4
Wang,Frank(gw1218) [Mon, 2 Apr 2018 17:52:28 +0000 (12:52 -0500)]
Fix a Bug on Checking Required Fields

Fix a bug in checking required fields if the object has include function

Issue-ID: POLICY-717
Change-Id: I766da50c9ac02081dd4e711b8c78be0f3c25e5bd
Signed-off-by: Wang,Frank(gw1218) <gw1218@att.com>
6 years agoDocumentation edits 59/40559/2
Saryu Shah [Mon, 2 Apr 2018 19:44:56 +0000 (19:44 +0000)]
Documentation edits

Fixing typos in modifying Release Template Page
-------------------------------------------------------------

Issue-ID: POLICY-536

Change-Id: I8334afe77761ae3fe5fbee35719957ec10af1c8f
Signed-off-by: Saryu Shah <ss3917@att.com>
6 years agoMerge "Support CSIT tests for OOF Policy"
Pamela Dragosh [Mon, 2 Apr 2018 19:59:53 +0000 (19:59 +0000)]
Merge "Support CSIT tests for OOF Policy"

6 years agoJUnit additions for PDP,PDP-REST,SDK,XACML 47/40547/4
bobbymander [Mon, 2 Apr 2018 18:35:37 +0000 (14:35 -0400)]
JUnit additions for PDP,PDP-REST,SDK,XACML

Issue-ID: POLICY-600
Change-Id: I8052451c3f66116f361f2963fcc2727c022dd4d9
Signed-off-by: bobbymander <bobby.mander@att.com>
6 years agoUpgrade tomcat to resolve security issue 21/40521/1
Pamela Dragosh [Mon, 2 Apr 2018 13:51:03 +0000 (09:51 -0400)]
Upgrade tomcat to resolve security issue

Tomcat resulted in 30+ CLM errors level 7-8.

Issue-ID: POLICY-507
Change-Id: If055426a9b3fd464063fb84f8105f35213e2701a
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoMerge "Documentation Update Release Template"
Pamela Dragosh [Mon, 2 Apr 2018 11:24:38 +0000 (11:24 +0000)]
Merge "Documentation Update Release Template"

6 years agoSupport CSIT tests for OOF Policy 75/40475/1
Michael Mokry [Mon, 2 Apr 2018 05:34:56 +0000 (00:34 -0500)]
Support CSIT tests for OOF Policy

I added an INSERT to the sql upgrade file and some sonar fixes and
Junits

Change-Id: I37139d5a8ad78d9d46ee01f81c2edd052672712e
Issue-ID: POLICY-639
Signed-off-by: Michael Mokry <mm117s@att.com>
6 years agoDocumentation Update Release Template 07/40407/2
Saryu Shah [Fri, 30 Mar 2018 18:12:47 +0000 (18:12 +0000)]
Documentation Update Release Template

Documentation Update Release Template
-------------------------------------------------------------

Change-Id: I827712a68820bccad0dcb1534cb96d5dd8bdb128
Issue-ID: POLICY-536
Signed-off-by: Saryu Shah <ss3917@att.com>
6 years agoJUnit additions for XACML,PAP-REST 65/40365/2
bobbymander [Fri, 30 Mar 2018 11:45:12 +0000 (07:45 -0400)]
JUnit additions for XACML,PAP-REST

Issue-ID: POLICY-605
Change-Id: I4b55a85eacf989ddb55743300e7f75e4b72882d0
Signed-off-by: bobbymander <bobby.mander@att.com>
6 years agoPOM fixes due to update in cadi-aaf 69/40369/3
bobbymander [Fri, 30 Mar 2018 13:31:32 +0000 (09:31 -0400)]
POM fixes due to update in cadi-aaf

Issue-ID: POLICY-507
Change-Id: I493233f8e0e90eaf24e9c09c7433c6fb9fadb268
Signed-off-by: bobbymander <bobby.mander@att.com>
6 years agoMerge "Fix a Bug in View Mode"
Jorge Hernandez [Fri, 30 Mar 2018 16:03:04 +0000 (16:03 +0000)]
Merge "Fix a Bug in View Mode"

6 years agoMerge "Removed checkstyle warnings"
Pamela Dragosh [Fri, 30 Mar 2018 15:04:14 +0000 (15:04 +0000)]
Merge "Removed checkstyle warnings"

6 years agoMerge "JUnit additions for ONAP-REST"
Jorge Hernandez [Thu, 29 Mar 2018 22:26:12 +0000 (22:26 +0000)]
Merge "JUnit additions for ONAP-REST"

6 years agoMerge "Remove checkstyle warnings in policy/engine"
Jorge Hernandez [Thu, 29 Mar 2018 22:22:49 +0000 (22:22 +0000)]
Merge "Remove checkstyle warnings in policy/engine"

6 years agoFix a Bug in View Mode 73/40273/2
Wang,Frank(gw1218) [Thu, 29 Mar 2018 20:22:57 +0000 (15:22 -0500)]
Fix a Bug in View Mode

To make MS template layout better for complex MS models and also add
parent level elments first in view mode.

Issue-ID: POLICY-714

Change-Id: If6bf472a504f15fd9bde05253e9369ba43bb082e
Signed-off-by: Wang,Frank(gw1218) <gw1218@att.com>
6 years agoRemoved checkstyle warnings 41/39641/8
waqas.ikram [Wed, 28 Mar 2018 11:56:15 +0000 (12:56 +0100)]
Removed checkstyle warnings

Change-Id: I0701333d2b36a0796b592ce92b8015c1a56f8258
Issue-ID: POLICY-711
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
6 years agoMerge "Update docker tag convention"
Pamela Dragosh [Thu, 29 Mar 2018 14:31:30 +0000 (14:31 +0000)]
Merge "Update docker tag convention"

6 years agoJUnit additions for ONAP-REST 73/40173/2
bobbymander [Thu, 29 Mar 2018 14:08:41 +0000 (10:08 -0400)]
JUnit additions for ONAP-REST

Issue-ID: POLICY-603
Change-Id: Ic8a20fc758927afb9200547d5919fcf70f15852b
Signed-off-by: bobbymander <bobby.mander@att.com>
6 years agoRemove checkstyle warnings in policy/engine 37/40137/3
eramkve [Thu, 29 Mar 2018 11:44:57 +0000 (12:44 +0100)]
Remove checkstyle warnings in policy/engine

Remove checkstyle warnings in policy/engine ONAP-PDP

Change-Id: Ibbe2d8c549c1f0c3ac8456c4d2de4c7d349dd171
Issue-ID: POLICY-713
Signed-off-by: eramkve <ram.krishna.verma@ericsson.com>
6 years agoUpdate docker tag convention 97/40097/1
mmis [Thu, 29 Mar 2018 08:37:45 +0000 (09:37 +0100)]
Update docker tag convention

Update docker scripts to comply with ONAP docker standard tag format

$VERSION-STAGING-YYYYMMDDTHHMMSSZ

Issue-ID: CIMAN-132
Change-Id: I28e2aea5425c614bf86b0a6f0e8fa0892ec018c3
Signed-off-by: mmis <michael.morris@ericsson.com>
6 years agoRemove security issue xstream and plexus-utils 79/39879/3
Pamela Dragosh [Wed, 28 Mar 2018 23:30:42 +0000 (16:30 -0700)]
Remove security issue xstream and plexus-utils

Some of these were ommitted from compile while others
were not completely ommitted.

Upgraded maven-compiler since it upgraded plexus-utils

Upgraded latest version of jackson-databind 2.9.5

Issue-ID: POLICY-507
Change-Id: If92ff4355329c48fbe76e0245d6c8344ebb8084d
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoMerge "Deployment documentation"
Pamela Dragosh [Wed, 28 Mar 2018 23:12:48 +0000 (23:12 +0000)]
Merge "Deployment documentation"

6 years agoMerge "POM changes to centralize test scope deps"
Pamela Dragosh [Wed, 28 Mar 2018 22:40:49 +0000 (22:40 +0000)]
Merge "POM changes to centralize test scope deps"

6 years agoDeployment documentation 65/39865/1
Saryu Shah [Wed, 28 Mar 2018 22:32:32 +0000 (22:32 +0000)]
Deployment documentation

Policy configuration of K8S
-------------------------------------------------------------

Change-Id: Ie9cfea697960c3cd6663527a65bb39645f337c19
Issue-ID: POLICY-536
Signed-off-by: Saryu Shah <ss3917@att.com>
6 years agoPOM changes to centralize test scope deps 91/39791/2
bobbymander [Wed, 28 Mar 2018 19:05:33 +0000 (15:05 -0400)]
POM changes to centralize test scope deps

Issue-ID: POLICY-600
Change-Id: I870317bbd125c6016818ec435ea7a406123c66c1
Signed-off-by: bobbymander <bobby.mander@att.com>
6 years agoRemove ECOMP trademark 75/39775/1
Pamela Dragosh [Wed, 28 Mar 2018 18:25:02 +0000 (11:25 -0700)]
Remove ECOMP trademark

Issue-ID: POLICY-696
Change-Id: I8647740df0c38da93c8d918cae371890d7799052
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoMerge "ONAP code change for log files consolidation"
Jorge Hernandez [Wed, 28 Mar 2018 18:10:31 +0000 (18:10 +0000)]
Merge "ONAP code change for log files consolidation"

6 years agoMerge "Documentation: Release Notes; Installation;"
Pamela Dragosh [Wed, 28 Mar 2018 18:07:04 +0000 (18:07 +0000)]
Merge "Documentation: Release Notes; Installation;"

6 years agoONAP code change for log files consolidation 59/39759/1
Chou, Joseph (JC2555) [Wed, 28 Mar 2018 17:46:11 +0000 (13:46 -0400)]
ONAP code change for log files consolidation

Undo the change so this would not block other test activity

Change-Id: I4f7dd2e14f30034eefbf958be3c912af2962e8a2
Issue-ID: POLICY-562
Signed-off-by: Chou, Joseph (JC2555) <jc2555@att.com>
6 years agoDocumentation: Release Notes; Installation; 45/39745/1
Saryu Shah [Wed, 28 Mar 2018 16:54:43 +0000 (16:54 +0000)]
Documentation: Release Notes; Installation;

Included link for securites/vulnerabilities; Edit updates.
-------------------------------------------------------------

Change-Id: If37aceb8eb371fdcc8df43b7bff747236ae848f5
Issue-ID: POLICY-535
Signed-off-by: Saryu Shah <ss3917@att.com>
6 years agoMerge "Remove checkstyle warnings in policy/engine"
Pamela Dragosh [Wed, 28 Mar 2018 15:45:36 +0000 (15:45 +0000)]
Merge "Remove checkstyle warnings in policy/engine"

6 years agoRemove checkstyle warnings in policy/engine 77/39677/2
eramkve [Wed, 28 Mar 2018 11:55:30 +0000 (12:55 +0100)]
Remove checkstyle warnings in policy/engine

Remove checkstyle warnings in policy/engine LogParser

Change-Id: Ia6ecc3ecbac51755262e5825a3f5ce8d89b79e4b
Issue-ID: POLICY-710
Signed-off-by: eramkve <ram.krishna.verma@ericsson.com>
6 years agoJUnit additions and powermock pom fixes 15/39215/2
bobbymander [Tue, 27 Mar 2018 17:54:17 +0000 (13:54 -0400)]
JUnit additions and powermock pom fixes

Issue-ID: POLICY-602
Change-Id: I2484b47cc52a07413de69c1022a056fd0cf2d7d7
Signed-off-by: bobbymander <bobby.mander@att.com>
6 years agoChange default argument path for logs directory 15/39115/1
Jorge Hernandez [Tue, 27 Mar 2018 14:25:21 +0000 (09:25 -0500)]
Change default argument path for logs directory

To align with the implementation

Change-Id: Ia32123e2bf87537e758ecc9fac8f14b6ca4ae562
Issue-ID: POLICY-533
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoMerge "Policy Installation documentation"
Jorge Hernandez [Tue, 27 Mar 2018 02:28:07 +0000 (02:28 +0000)]
Merge "Policy Installation documentation"

6 years agoPolicy Installation documentation 97/38697/1
Saryu Shah [Mon, 26 Mar 2018 21:50:41 +0000 (21:50 +0000)]
Policy Installation documentation

Updated Policy Installation documentation
-------------------------------------------------------------

Change-Id: I071c2c7fff7feb6a002ae9b753316c45864ed164
Issue-ID: POLICY-535
Signed-off-by: Saryu Shah <ss3917@att.com>
6 years agoMerge "New Optimization Policy"
Pamela Dragosh [Mon, 26 Mar 2018 21:39:45 +0000 (21:39 +0000)]
Merge "New Optimization Policy"

6 years agoNew Optimization Policy 27/36327/7
Michael Mokry [Sat, 17 Mar 2018 01:50:41 +0000 (20:50 -0500)]
New Optimization Policy

This is the new Optimization Policy to support the Integration of
the OOF Policy Model into the Policy Platform.

Added changes from Frank Wang to fix the following issues with existing Model
Parser:
1. TOSCA Rendering issues
2. Matching Attributes support
3. ImportModelAPI to support TOSCA model upload via REST API

Running local Sonar tonight to start fixing Sonar issues

Added changes per review comments and fixed Sonar issues

Change-Id: Ia8ce09c28a718ce4460475e76a750caef774bd6b
Issue-ID: POLICY-622
Signed-off-by: Michael Mokry <mm117s@att.com>
6 years agoMerge "ONAP code change for log files consolidation"
Jorge Hernandez [Mon, 26 Mar 2018 13:55:11 +0000 (13:55 +0000)]
Merge "ONAP code change for log files consolidation"

6 years agoMerge "Fix final 10 vulnerabilities in policy/engine"
Pamela Dragosh [Sun, 25 Mar 2018 00:00:41 +0000 (00:00 +0000)]
Merge "Fix final 10 vulnerabilities in policy/engine"

6 years agoMerge "JUnit additions for PAP-REST,REST"
Pamela Dragosh [Sun, 25 Mar 2018 00:00:19 +0000 (00:00 +0000)]
Merge "JUnit additions for PAP-REST,REST"

6 years agoMerge "policy documentation links"
Pamela Dragosh [Sat, 24 Mar 2018 23:53:16 +0000 (23:53 +0000)]
Merge "policy documentation links"

6 years agoONAP code change for log files consolidation 07/37807/2
Chou, Joseph (JC2555) [Thu, 22 Mar 2018 15:22:35 +0000 (11:22 -0400)]
ONAP code change for log files consolidation

Code change for log files consolidation of PAP, PDP, BRMSGW, Console and db
script

Issue-ID: POLICY-562
Change-Id: I416ba7748b841bb2b1a31682e2b1631e279549e8
Signed-off-by: Chou, Joseph (JC2555) <jc2555@att.com>
6 years agopolicy documentation links 01/38201/1
Saryu Shah [Fri, 23 Mar 2018 21:11:08 +0000 (21:11 +0000)]
policy documentation links

Included links
-------------------------------------------------------------

Change-Id: Id5d73e5b18d6c073ff2809b867e57cdda2b75ce7
Issue-ID: POLICY-535
Signed-off-by: Saryu Shah <ss3917@att.com>
6 years agoMerge "Updated policy documentation"
Pamela Dragosh [Fri, 23 Mar 2018 18:49:50 +0000 (18:49 +0000)]
Merge "Updated policy documentation"

6 years agoMerge "Add database initialization to XACML PDP test"
Pamela Dragosh [Fri, 23 Mar 2018 18:49:01 +0000 (18:49 +0000)]
Merge "Add database initialization to XACML PDP test"

6 years agoJUnit additions for PAP-REST,REST 77/38177/2
bobbymander [Fri, 23 Mar 2018 18:31:13 +0000 (14:31 -0400)]
JUnit additions for PAP-REST,REST

Issue-ID: POLICY-603
Change-Id: Id7d2c1a835d028e88337db67d55f139aa1764826
Signed-off-by: bobbymander <bobby.mander@att.com>
6 years agoUpdated policy documentation 49/38149/1
Saryu Shah [Fri, 23 Mar 2018 17:01:47 +0000 (17:01 +0000)]
Updated policy documentation

Removed "Amsterdam"
-------------------

Change-Id: I713c5beb5759e2fc97d5244a644fa6ffd72b6eb5
Issue-ID: POLICY-535
Signed-off-by: Saryu Shah <ss3917@att.com>
6 years agoFix final 10 vulnerabilities in policy/engine 07/38107/1
eramkve [Fri, 23 Mar 2018 14:29:02 +0000 (14:29 +0000)]
Fix final 10 vulnerabilities in policy/engine

Code fixes for final 10 vulnerabilities in policy/engine

Change-Id: I234194b596bdacd5f3f9fd1becd4da9d6d0b5cf4
Issue-ID: POLICY-662
Signed-off-by: eramkve <ram.krishna.verma@ericsson.com>
6 years agoMerge "Resolved the Policy Removal issue from PDP"
Jorge Hernandez [Fri, 23 Mar 2018 04:44:38 +0000 (04:44 +0000)]
Merge "Resolved the Policy Removal issue from PDP"

6 years agoAdd database initialization to XACML PDP test 03/37903/1
liamfallon [Thu, 22 Mar 2018 23:16:50 +0000 (23:16 +0000)]
Add database initialization to XACML PDP test

This issue arose due to the order of execution of JUnit tests.

The tests in XACMLPAPTest failed becasue the database was not initialized.
Up till now, the @Before method in the test class
org.onap.policy.pap.ia.DbAuditCompareEntriesTesti initiated the database.
THis bug fix adds a similar @Before method to the XACMLPAPTest class
to initialize the database.

All other classes in the module were tested with both @Before methods
commented out to ensure that no other tests will fail due to this issue.

Issue-ID: POLICY-707
Change-Id: Ibce5fad5c006f7a92b3ef77bde4dc5ed6f7039ed
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
6 years agoMerge "Fix vulnerabilities and bugs in policy/engine"
Jorge Hernandez [Thu, 22 Mar 2018 18:53:05 +0000 (18:53 +0000)]
Merge "Fix vulnerabilities and bugs in policy/engine"

6 years agoMerge "JUnit additions for PDP-REST,REST,SDK-APP"
Jorge Hernandez [Thu, 22 Mar 2018 18:50:05 +0000 (18:50 +0000)]
Merge "JUnit additions for PDP-REST,REST,SDK-APP"

6 years agoResolved the Policy Removal issue from PDP 29/37829/1
rb7147 [Thu, 22 Mar 2018 17:30:04 +0000 (13:30 -0400)]
Resolved the Policy Removal issue from PDP

Issue-ID: POLICY-706
Change-Id: I2425e305ed660ea07662e0a26e713cc91ed92e72
Signed-off-by: rb7147 <rb7147@att.com>
6 years agoRelease Notes 97/37597/2
Saryu Shah [Wed, 21 Mar 2018 22:14:37 +0000 (22:14 +0000)]
Release Notes

Initial release notes for Beijing
-------------------------------------------------------------

Issue-ID: POLICY-535

Change-Id: Ia1da3b07fd305927a92c08225df452ee43d505f6
Signed-off-by: Saryu Shah <ss3917@att.com>
6 years agoJUnit additions for PDP-REST,REST,SDK-APP 65/37565/3
bobbymander [Wed, 21 Mar 2018 19:35:14 +0000 (15:35 -0400)]
JUnit additions for PDP-REST,REST,SDK-APP

Issue-ID: POLICY-584
Change-Id: I3b16e2a957e67ecfe5c28d2afaa09771ae891216
Signed-off-by: bobbymander <bobby.mander@att.com>
6 years agoFix vulnerabilities and bugs in policy/engine 81/37581/1
eramkve [Wed, 21 Mar 2018 20:25:05 +0000 (20:25 +0000)]
Fix vulnerabilities and bugs in policy/engine

Code fixes for 1 bug and 17 vulnerabilities reported by Sonar in
policy/engine

Change-Id: I7b641795c790ec15418bd9ae3a414279e1b0f733
Issue-ID: POLICY-662
Signed-off-by: eramkve <ram.krishna.verma@ericsson.com>
6 years agoMerge "JUnit additions for PAP-REST,REST,Utils"
Pamela Dragosh [Wed, 21 Mar 2018 15:18:58 +0000 (15:18 +0000)]
Merge "JUnit additions for PAP-REST,REST,Utils"

6 years agoMerge "Fix all bugs reported by Sonar in policy/engine"
Pamela Dragosh [Wed, 21 Mar 2018 13:20:54 +0000 (13:20 +0000)]
Merge "Fix all bugs reported by Sonar in policy/engine"

6 years agoJUnit additions for PAP-REST,REST,Utils 25/37425/1
bobbymander [Wed, 21 Mar 2018 11:39:40 +0000 (07:39 -0400)]
JUnit additions for PAP-REST,REST,Utils

Issue-ID: POLICY-600
Change-Id: I9a432f9e8af43184d116d5eeb2fbbac65472564e
Signed-off-by: bobbymander <bobby.mander@att.com>
6 years agoAdd Matching Fields For MS Model 59/36059/3
Wang,Frank(gw1218) [Thu, 15 Mar 2018 18:06:31 +0000 (13:06 -0500)]
Add Matching Fields For MS Model

Fixed the missing function of matching fields for TOSCA Model

Issue-ID: POLICY-655
Change-Id: I41017a4cf01df7f4c36e086f76d169e3e216dc34
Signed-off-by: guangxingwang <gw1218@att.com>
Signed-off-by: Wang,Frank(gw1218) <gw1218@att.com>
6 years agoFix all bugs reported by Sonar in policy/engine 45/36245/2
eramkve [Fri, 16 Mar 2018 15:44:07 +0000 (15:44 +0000)]
Fix all bugs reported by Sonar in policy/engine

Code fixes for 27 bugs reported by Sonar in policy/engine

Change-Id: I96da96b38a2e2954ec549e5cdf6ed3ad1d76722c
Issue-ID: POLICY-662
Signed-off-by: eramkve <ram.krishna.verma@ericsson.com>
6 years agocookbook, updated architecture doc 55/36855/2
Saryu Shah [Mon, 19 Mar 2018 22:18:13 +0000 (22:18 +0000)]
cookbook, updated architecture doc

policy documentation - cookbook, updated architecture
-------------------------------------------------------------

Issue-ID: POLICY-535

Change-Id: I7d13c145993692b8669f4855b0b23cc73eaa8142
Signed-off-by: Saryu Shah <ss3917@att.com>
6 years agoMerge "JUnit additions for SDK-APP"
Pamela Dragosh [Tue, 20 Mar 2018 12:37:59 +0000 (12:37 +0000)]
Merge "JUnit additions for SDK-APP"

6 years agoMerge "Fix Another Typo in dependency.json"
Pamela Dragosh [Tue, 20 Mar 2018 12:32:03 +0000 (12:32 +0000)]
Merge "Fix Another Typo in dependency.json"

6 years agoMerge "Policy Release Notes Updates"
Pamela Dragosh [Tue, 20 Mar 2018 12:30:02 +0000 (12:30 +0000)]
Merge "Policy Release Notes Updates"

6 years agoFix Another Typo in dependency.json 11/36811/1
dc443y [Mon, 19 Mar 2018 19:20:07 +0000 (14:20 -0500)]
Fix Another Typo in dependency.json

Unresolveable maven coordinates when building the rules jar caused by a
missing s in drools-applications.

Issue-ID: POLICY-660
Change-Id: I3e78fec9c9e58c10f2a9366d15447e8a3998d343
Signed-off-by: dc443y <dc443y@att.com>
6 years agoMerge "Update oparent version to 1.1.0"
Pamela Dragosh [Mon, 19 Mar 2018 11:41:21 +0000 (11:41 +0000)]
Merge "Update oparent version to 1.1.0"

6 years agoPolicy Release Notes Updates 91/36291/1
Saryu Shah [Mon, 15 Jan 2018 23:18:15 +0000 (23:18 +0000)]
Policy Release Notes Updates

Updated Policy Release Notes for Amsterdam Maintenance Release
-------------------------------------------------------------

Change-Id: I748a9233fa1be1cf6ef729f3f78d39cba181d18c
Issue-ID: POLICY-486
Signed-off-by: Saryu Shah <ss3917@att.com>
(cherry picked from commit 374caf1b9b38893ee3efac301b5f81c2d64b1d08)

6 years agoFix type in dependency.json 83/36283/1
dc443y [Fri, 16 Mar 2018 20:14:11 +0000 (15:14 -0500)]
Fix type in dependency.json

The BRMSGW was unable to generate rules artifacts during docker
installation due to an unresolved dependency. A typo was discovered
in the problematic dependency which was causing the error.

Issue-ID: POLICY-660
Change-Id: If4dbe5e640f10d063fa5643112338b10fd29187d
Signed-off-by: Daniel Cruz <dc443y@att.com>
6 years agoJUnit additions for SDK-APP 19/36219/4
bobbymander [Fri, 16 Mar 2018 13:38:23 +0000 (09:38 -0400)]
JUnit additions for SDK-APP

Issue-ID: POLICY-604
Change-Id: I2e2cdb3037a70af7d8d85a4a6274b3e361510bc1
Signed-off-by: bobbymander <bobby.mander@att.com>
6 years agoMerge "Exclude httpclient to resolve CLM issue"
Pamela Dragosh [Fri, 16 Mar 2018 12:48:18 +0000 (12:48 +0000)]
Merge "Exclude httpclient to resolve CLM issue"

6 years agoMerge "JUnit addition for SDK-APP"
Pamela Dragosh [Fri, 16 Mar 2018 12:47:59 +0000 (12:47 +0000)]
Merge "JUnit addition for SDK-APP"

6 years agoMerge "Renamed policy-pe docker image"
Pamela Dragosh [Fri, 16 Mar 2018 12:46:32 +0000 (12:46 +0000)]
Merge "Renamed policy-pe docker image"

6 years agoJUnit addition for SDK-APP 17/35817/5
bobbymander [Wed, 14 Mar 2018 20:42:26 +0000 (16:42 -0400)]
JUnit addition for SDK-APP

Issue-ID: POLICY-604
Change-Id: I9abc8418ddab1f487385c38c0424db601f8746e2
Signed-off-by: bobbymander <bobby.mander@att.com>
6 years agoUpdate oparent version to 1.1.0 41/35841/1
liamfallon [Wed, 14 Mar 2018 22:25:08 +0000 (22:25 +0000)]
Update oparent version to 1.1.0

Directive from ONAP project that all repos should be updated.
Change vierified with a build with .m2 /org/onap cleared.

The test cases are updated becasue changing the oparent version changed the
order of test execution and tests failed due to the static data in PAPServices
not being cleared. Clearing of PAPServices data in those test cases is now
done in an @After method.

The test case in the test below has a test dependency:
ONAP-PDP-REST/src/test/java/org/onap/policy/pdp/rest/notifications/test/NotificationTest.java
depends on com.att.aft.dme2 version 3.1.200-oss

That dependency was added to the POM of ONAP-PDP-REST

Issue-ID: POLICY-693
Change-Id: Ie070f9e94216f4a81f114380782a834ce8663fd5
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
6 years agoExclude httpclient to resolve CLM issue 13/35813/1
Pamela Dragosh [Wed, 14 Mar 2018 19:12:26 +0000 (15:12 -0400)]
Exclude httpclient to resolve CLM issue

v4.5.1 is being ommitted via maven depedency resolution.
So we will exclude to help clear the CLM issue being
flagged.

Issue-ID: POLICY-507
Change-Id: I5636da0a8109fa66cf00eb9205d89d7437517955
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoMerge "Policy:Blocker"
Pamela Dragosh [Wed, 14 Mar 2018 15:43:56 +0000 (15:43 +0000)]
Merge "Policy:Blocker"

6 years agoRenamed policy-pe docker image 71/35771/2
mmis [Wed, 14 Mar 2018 12:03:37 +0000 (12:03 +0000)]
Renamed policy-pe docker image

Renamed from:
onap/policy/policy-pe
to
onap/policy-pe
to enable consistent naming across nexus3 and docker hub

Issue-ID: POLICY-674
Change-Id: I1ace3e6034a17afa1ed68198b367e17981ec388b
Signed-off-by: mmis <michael.morris@ericsson.com>
6 years agoJUnit addition for SDK-APP 53/35753/2
bobbymander [Tue, 13 Mar 2018 19:38:27 +0000 (15:38 -0400)]
JUnit addition for SDK-APP

Issue-ID: POLICY-604
Change-Id: Ib48f22dfe0db68348cb820d4186e7d3a79864b3f
Signed-off-by: bobbymander <bobby.mander@att.com>
6 years agoPolicy:Blocker 45/35145/5
Manamohan Satapathy [Wed, 14 Mar 2018 08:01:38 +0000 (13:31 +0530)]
Policy:Blocker

Use try-with-resources to close this JarFile:L590 L617
Issue-ID: POLICY-688

Sonar link:https://sonar.onap.org/issues?myIssues=true&open=AWF91iXI8TZzbCgU6anv&resolved=false&severities=BLOCKER

Location:BRMSGateway\src\main\java\org\onap\policy\brmsInterface\BRMSPush.java

Change-Id: I11f07325e78d6c7a9760496db4685546d2910595
Signed-off-by: Manamohan Satapathy <MS00534989@techmahindra.com>
6 years agoUpgrade dmaap release 1.1.3 47/35747/1
Pamela Dragosh [Wed, 14 Mar 2018 12:19:35 +0000 (08:19 -0400)]
Upgrade dmaap release 1.1.3

Dmaap released their artifact as the snapshot is no
longer available.

Issue-ID: POLICY-694
Change-Id: Iaeeed2266a00271967334cb33e79d4c42a33f90a
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoMerge "Upgrade to latest elasticsearch"
Pamela Dragosh [Tue, 13 Mar 2018 21:23:47 +0000 (21:23 +0000)]
Merge "Upgrade to latest elasticsearch"

6 years agoMerge "Upgrade log4j to clear security issue"
Pamela Dragosh [Tue, 13 Mar 2018 21:23:41 +0000 (21:23 +0000)]
Merge "Upgrade log4j to clear security issue"

6 years agoMerge "JUnit additions for PAP-REST,SDK-APP"
Jorge Hernandez [Tue, 13 Mar 2018 19:02:16 +0000 (19:02 +0000)]
Merge "JUnit additions for PAP-REST,SDK-APP"

6 years agoMerge "Fixed the SDK Junits and cleaned unused code"
Jorge Hernandez [Tue, 13 Mar 2018 19:01:49 +0000 (19:01 +0000)]
Merge "Fixed the SDK Junits and cleaned unused code"

6 years agoUpgrade to latest elasticsearch 55/35555/2
Pamela Dragosh [Tue, 13 Mar 2018 18:50:14 +0000 (14:50 -0400)]
Upgrade to latest elasticsearch

Will not clear any CLM issue but this for uses a version that is
using the latest lucene-queryparser. It is noted in the CVE for
lucene-queryparser that elasticsearch is not affected by the
issue. We will upgrade to keep up with the latest code.

Issue-ID: POLICY-507
Change-Id: I8580dbc704c48245faf298304b8aec76c9e773c4
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoUpgrade log4j to clear security issue 35/35535/1
Pamela Dragosh [Tue, 13 Mar 2018 16:58:32 +0000 (12:58 -0400)]
Upgrade log4j to clear security issue

Vulnerability id is CVE-2017-5645

Issue-ID: POLICY-507
Change-Id: Ifed6ae8991edfa1d0e9b8c38afe19f5b43cf0b46
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoMerge "Policy:Blocker"
Pamela Dragosh [Tue, 13 Mar 2018 16:19:52 +0000 (16:19 +0000)]
Merge "Policy:Blocker"

6 years agoJUnit additions for PAP-REST,SDK-APP 71/35471/2
bobbymander [Tue, 13 Mar 2018 13:07:40 +0000 (09:07 -0400)]
JUnit additions for PAP-REST,SDK-APP

Issue-ID: POLICY-600
Change-Id: Ie2a3257e26382f68d8cb008dc5ac512d6ac49c8b
Signed-off-by: bobbymander <bobby.mander@att.com>
6 years agoMerge "Sonar Major"
Pamela Dragosh [Tue, 13 Mar 2018 13:23:11 +0000 (13:23 +0000)]
Merge "Sonar Major"

6 years agoMerge "Sonar Major"
Pamela Dragosh [Tue, 13 Mar 2018 13:22:49 +0000 (13:22 +0000)]
Merge "Sonar Major"

6 years agoMerge "Sonar Blocker"
Pamela Dragosh [Tue, 13 Mar 2018 13:22:23 +0000 (13:22 +0000)]
Merge "Sonar Blocker"

6 years agoSonar Major 87/35187/2
SP00501638 [Mon, 12 Mar 2018 11:35:16 +0000 (17:05 +0530)]
Sonar Major

Move the api string literal on the left side of this string comparison
XACMLPapServlet.java:L1179

Sonar Link:
https://sonar.onap.org/issues?myIssues=true&open=AV2blOo25bp_wwmIUQnh&resolved=false&severities=MAJOR

Location:
ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/XACMLPapServlet.java

Line Number:1179

Change-Id: I937caaca01107d2a11be4050ff7be5e5dc66acb6
Issue-ID: POLICY-690
Signed-off-by: SP00501638 <SP00501638@techmahindra.com>
6 years agoSonar Major 71/35171/2
SP00501638 [Mon, 12 Mar 2018 10:33:05 +0000 (16:03 +0530)]
Sonar Major

Move the GUARD_BL_YAML string literal on the left side of this string comparison
DecisionPolicyController.java:L208

Sonar Link:
https://sonar.onap.org/issues?myIssues=true&open=AV2blO9u5bp_wwmIURef&resolved=false&severities=CRITICAL%2CMAJOR

Location:
POLICY-SDK-APP/src/main/java/org/onap/policy/controller/DecisionPolicyController.java

Line Number:208

Change-Id: I04199190cbb4afd50bcfa0a2725e6f2fef8dddba
Issue-ID: POLICY-689
Signed-off-by: SP00501638 <SP00501638@techmahindra.com>
6 years agoMerge "Sonar Major"
Pamela Dragosh [Tue, 13 Mar 2018 12:08:36 +0000 (12:08 +0000)]
Merge "Sonar Major"

6 years agoPolicy:Blocker 15/34915/4
Manamohan Satapathy [Tue, 13 Mar 2018 08:59:51 +0000 (14:29 +0530)]
Policy:Blocker

Use try-with-resources to close this JarFile:L264 L265
Issue-ID: POLICY-683

Link: https://sonar.onap.org/issues?myIssues=true&open=AWF91iwf8TZzbCgU6arv&resolved=false
Location:ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/components/ActionPolicy.java

Change-Id: Ie9adb5b50dbb61c923bf73fa107fd19366f24304
Signed-off-by: Manamohan Satapathy <MS00534989@techmahindra.com>