policy/engine.git
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 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>
6 years agoSonar Blocker 09/35109/2
SP00501638 [Tue, 13 Mar 2018 06:43:15 +0000 (12:13 +0530)]
Sonar Blocker

Use try-with-resources or close this BufferedWriter in a finally clause
FirewallConfigPolicy.java:107

Sonar Link:
https://sonar.onap.org/project/issues?id=org.onap.policy.engine%3APolicyEngineSuite&myIssues=true&open=AWF91ixe8TZzbCgU6ar2&resolved=false&severities=BLOCKER

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

Change-Id: I0ab8bf61fb9a6eb32ebdb5fccb66a67a8ac36b77
Issue-ID: POLICY-687
Signed-off-by: SP00501638 <SP00501638@techmahindra.com>
6 years agoSonar Major 07/35107/2
SP00501638 [Tue, 13 Mar 2018 05:52:15 +0000 (11:22 +0530)]
Sonar Major

Merge this if statement with the enclosing one
CreateBrmsParamPolicy.java:L218

Sonar Link:
hhttps://sonar.onap.org/project/issues?id=org.onap.policy.engine%3APolicyEngineSuite&myIssues=true&open=AV2blOqK5bp_wwmIUQqX&resolved=false&severities=MAJOR

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

Change-Id: I0f9885a2491735878d688a2c812afd15a052f481
Issue-ID: POLICY-686
Signed-off-by: SP00501638 <SP00501638@techmahindra.com>
6 years agoFixed the SDK Junits and cleaned unused code 65/35365/1
rb7147 [Tue, 13 Mar 2018 04:13:25 +0000 (00:13 -0400)]
Fixed the SDK Junits and cleaned unused code

Moved file tmp object from try resources block. due to not closing the
stream the inputstream read by xacmlpolicyscanner ended with premature
file error.

Cleaned unused code.

Issue-ID: POLICY-584
Change-Id: I92c4d000d94a144736d9ac46db384785a7512593
Signed-off-by: rb7147 <rb7147@att.com>
6 years agoSonar Major 01/35101/1
SP00501638 [Mon, 12 Mar 2018 05:42:40 +0000 (11:12 +0530)]
Sonar Major

Move the null string literal on the left side of this string comparison
CreateFirewallController.java:L347

Sonar Link:
https://sonar.onap.org/project/issues?id=org.onap.policy.engine%3APolicyEngineSuite&myIssues=true&open=AWBFphN0-08if2a6vI7H&resolved=false&severities=MAJOR

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

Change-Id: I744a66f3622fb7db0933c7c7dabc520e859cff4d
Issue-ID: POLICY-685
Signed-off-by: SP00501638 <SP00501638@techmahindra.com>
6 years agoJUnit additions for BRMSGW 93/34993/1
bobbymander [Fri, 9 Mar 2018 20:46:58 +0000 (15:46 -0500)]
JUnit additions for BRMSGW

Issue-ID: POLICY-598
Change-Id: I90bee429a303b6fbc27272f3a1aa38d89d473e50
Signed-off-by: bobbymander <bobby.mander@att.com>
6 years agoMerge "Use org.onap.aaf dependencies"
Jorge Hernandez [Fri, 9 Mar 2018 20:34:42 +0000 (20:34 +0000)]
Merge "Use org.onap.aaf dependencies"

6 years agoMerge "Fix brmsgw regex handling for dependecies"
Jorge Hernandez [Fri, 9 Mar 2018 20:33:39 +0000 (20:33 +0000)]
Merge "Fix brmsgw regex handling for dependecies"

6 years agoUse org.onap.aaf dependencies 77/34977/1
Pamela Dragosh [Fri, 9 Mar 2018 18:17:56 +0000 (13:17 -0500)]
Use org.onap.aaf dependencies

Move from github version to the onap version.

Issue-ID: POLICY-568
Change-Id: I30f91b07cb690e50e829c14725c1bf05a1f4200b
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoMerge "Junits for ONAP-PDP module"
Pamela Dragosh [Fri, 9 Mar 2018 18:06:13 +0000 (18:06 +0000)]
Merge "Junits for ONAP-PDP module"

6 years agoFix brmsgw regex handling for dependecies 75/34975/1
pa834y [Fri, 9 Mar 2018 17:13:30 +0000 (12:13 -0500)]
Fix brmsgw regex handling for dependecies

Issue-ID: POLICY-684
Change-Id: I3a8fbbaebf4fdfcd097edcc367e06ef8807aa3bc
Signed-off-by: pa834y <pa834y@att.com>
6 years agoMerge "JUnit additions for PAP-REST"
Pamela Dragosh [Fri, 9 Mar 2018 17:01:58 +0000 (17:01 +0000)]
Merge "JUnit additions for PAP-REST"

6 years agoMerge "ClientEndpoint needs to be instantiabe"
Jorge Hernandez [Fri, 9 Mar 2018 16:12:01 +0000 (16:12 +0000)]
Merge "ClientEndpoint needs to be instantiabe"

6 years agoMerge "Policy:Blocker"
Jorge Hernandez [Fri, 9 Mar 2018 16:11:08 +0000 (16:11 +0000)]
Merge "Policy:Blocker"

6 years agoJunits for ONAP-PDP module 23/34823/5
Magnusen, Drew (dm741q) [Thu, 8 Mar 2018 18:34:11 +0000 (12:34 -0600)]
Junits for ONAP-PDP module

Added coverage for the FindAction class.

Issue-ID: POLICY-601
Change-Id: Id7fc2a75de65ff6182f662d2330095cd371d2c7e
Signed-off-by: Magnusen, Drew (dm741q) <dm741q@att.com>
6 years agoJUnit additions for PAP-REST 69/34969/2
bobbymander [Fri, 9 Mar 2018 15:55:51 +0000 (10:55 -0500)]
JUnit additions for PAP-REST

Issue-ID: POLICY-600
Change-Id: Id705865614faf42dfc604b1b88066122614f866c
Signed-off-by: bobbymander <bobby.mander@att.com>
6 years agoMerge "Sonar Major"
Jorge Hernandez [Fri, 9 Mar 2018 15:26:40 +0000 (15:26 +0000)]
Merge "Sonar Major"

6 years agoMerge "JUnit additions for PDP-REST,ONAP-SDK-APP"
Jorge Hernandez [Fri, 9 Mar 2018 15:25:41 +0000 (15:25 +0000)]
Merge "JUnit additions for PDP-REST,ONAP-SDK-APP"

6 years agoMerge "Change default log location per logging guidelines"
Pamela Dragosh [Fri, 9 Mar 2018 14:20:46 +0000 (14:20 +0000)]
Merge "Change default log location per logging guidelines"

6 years agoMerge "Sonar Major"
Pamela Dragosh [Fri, 9 Mar 2018 11:49:53 +0000 (11:49 +0000)]
Merge "Sonar Major"

6 years agoSonar Major 01/34901/1
SP00501638 [Fri, 9 Mar 2018 06:10:44 +0000 (11:40 +0530)]
Sonar Major

Remove this useless assignment to local variable temp
CreateNewMicroServiceModel.java:L195

Sonar Link:
https://sonar.onap.org/issues?assignees=swapnalipode&open=AV2blOqq5bp_wwmIUQr6&resolved=false

Location:
src/main/java/org/onap/policy/pap/xacml/rest/components/CreateNewMicroServiceModel.java

Change-Id: Icdd79502962e1173d83bca442d2d739b058932ba
Issue-ID: POLICY-682
Signed-off-by: SP00501638 <SP00501638@techmahindra.com>
6 years agoClientEndpoint needs to be instantiabe 51/34851/1
pa834y [Thu, 8 Mar 2018 21:21:54 +0000 (16:21 -0500)]
ClientEndpoint needs to be instantiabe

Issue-ID: POLICY-660
Change-Id: I0d377eb9d500218933217faeb224929548da0e5a
Signed-off-by: pa834y <pa834y@att.com>
6 years agoJUnit additions for PDP-REST,ONAP-SDK-APP 39/34839/3
bobbymander [Thu, 8 Mar 2018 19:44:49 +0000 (14:44 -0500)]
JUnit additions for PDP-REST,ONAP-SDK-APP

Issue-ID: POLICY-602
Change-Id: I354415df7292656d60ce573fb5b004f5de25899a
Signed-off-by: bobbymander <bobby.mander@att.com>
6 years agoMerge "JUnit additions for BRMS,POLICY-SDK-APP"
Jorge Hernandez [Thu, 8 Mar 2018 19:36:08 +0000 (19:36 +0000)]
Merge "JUnit additions for BRMS,POLICY-SDK-APP"

6 years agoMerge "Sonar Major"
Jorge Hernandez [Thu, 8 Mar 2018 19:32:54 +0000 (19:32 +0000)]
Merge "Sonar Major"

6 years agoChange default log location per logging guidelines 33/34833/1
Jorge Hernandez [Thu, 8 Mar 2018 19:02:37 +0000 (13:02 -0600)]
Change default log location per logging guidelines

Change-Id: Ib45bbede0330c6bf5dd6461b2642321d8fdb49ad
Issue-ID: POLICY-554
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoMerge "configurable logs dir and creation as root"
Pamela Dragosh [Thu, 8 Mar 2018 17:56:21 +0000 (17:56 +0000)]
Merge "configurable logs dir and creation as root"

6 years agoRemove filtering from packages/docker/pom 65/34765/1
mmis [Thu, 8 Mar 2018 12:22:17 +0000 (12:22 +0000)]
Remove filtering from packages/docker/pom

Filtering should not be applied in the maven-resources-plugin execution as
this incorecttly modifes the scripts copied by this plugin

Issue-ID: POLICY-652
Change-Id: I92c73af6830f81ee3fbcdda68333a67378ce08a2
Signed-off-by: mmis <michael.morris@ericsson.com>
6 years agoJUnit additions for BRMS,POLICY-SDK-APP 61/34761/2
bobbymander [Thu, 8 Mar 2018 12:15:14 +0000 (07:15 -0500)]
JUnit additions for BRMS,POLICY-SDK-APP

Issue-ID: POLICY-598
Change-Id: Ic3d9ca2a5f6c29f772bd747612d6c7caeb15eb7f
Signed-off-by: bobbymander <bobby.mander@att.com>
6 years agoSonar Major 41/34741/1
SP00501638 [Thu, 8 Mar 2018 10:03:13 +0000 (15:33 +0530)]
Sonar Major

Remove this useless assignment to local variable em
PolicyDBDao.java:L361

Sonar Link:
https://sonar.onap.org/issues?assignees=swapnalipode&open=AV2blOr_5bp_wwmIUQxy&resolved=false

Location:
src/main/java/org/onap/policy/pap/xacml/rest/components/PolicyDBDao.java

Change-Id: I2ef3046c1902768589db51127aaf320f94342a9c
Issue-ID: POLICY-679
Signed-off-by: SP00501638 <SP00501638@techmahindra.com>
6 years agoSonar Major 27/34727/1
SP00501638 [Thu, 8 Mar 2018 09:40:07 +0000 (15:10 +0530)]
Sonar Major

Remove this useless assignment to local variable xMessage
ElkConnectorImpl.java:L169

Sonar Link:
https://sonar.onap.org/issues?assignees=swapnalipode&open=AV2blOwt5bp_wwmIUREc&resolved=false

Location:
src/main/java/org/onap/policy/pap/xacml/rest/elk/client/ElkConnectorImpl.java

Change-Id: Ia397ffa7cb93b8c1ce8f5f02a09685656c74ddc0
Issue-ID: POLICY-678
Signed-off-by: SP00501638 <SP00501638@techmahindra.com>
6 years agoMerge "Change ng-click to ng-change"
Jorge Hernandez [Thu, 8 Mar 2018 06:57:11 +0000 (06:57 +0000)]
Merge "Change ng-click to ng-change"

6 years agoMerge "JUnit additions for BRMS,API"
Jorge Hernandez [Thu, 8 Mar 2018 06:56:16 +0000 (06:56 +0000)]
Merge "JUnit additions for BRMS,API"

6 years agoPolicy:Blocker 93/33393/4
Manamohan Satapathy [Thu, 8 Mar 2018 06:51:51 +0000 (12:21 +0530)]
Policy:Blocker

Use try-with-resources or close this FileOutputStream in a finally clause.:L574 L575
Issue-ID: POLICY-656

Link: https://sonar.onap.org/issues?myIssues=true&resolved=false
Location:BRMSGateway\src\main\java\org\onap\policy\brmsInterface\BRMSPush.java

Change-Id: Id9ce5e5505bb3c622652cd7ff1e844519c9c786f
Signed-off-by: Manamohan Satapathy <MS00534989@techmahindra.com>
6 years agoconfigurable logs dir and creation as root 85/34685/1
Jorge Hernandez [Thu, 8 Mar 2018 06:43:53 +0000 (00:43 -0600)]
configurable logs dir and creation as root

Change-Id: I9d5d1dcf97e8951c2c8a700b301bcc33410dd839
Issue-ID: POLICY-562
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoMerge "Copy files for docker image in packages/docker/pom"
Pamela Dragosh [Wed, 7 Mar 2018 17:08:22 +0000 (17:08 +0000)]
Merge "Copy files for docker image in packages/docker/pom"

6 years agoChange ng-click to ng-change 65/34365/2
Wang,Frank(gw1218) [Tue, 6 Mar 2018 22:15:39 +0000 (16:15 -0600)]
Change ng-click to ng-change

The ng-click on MS version dropbox triggered event function even for the
same MS version and called the event function again after selected
a different version.

Issue-ID: POLICY-655
Change-Id: I4e007f08e574ddd7899f0fde133bda2cac1be7d5
Signed-off-by: guangxingwang <gw1218@att.com>
Signed-off-by: Wang, Frank(gw1218) <gw1218@att.com>
Signed-off-by: Wang,Frank(gw1218) <gw1218@att.com>
6 years agoMerge "Clean up pom.xml and fix CLM"
Pamela Dragosh [Wed, 7 Mar 2018 14:16:13 +0000 (14:16 +0000)]
Merge "Clean up pom.xml and fix CLM"

6 years agoJUnit additions for BRMS,API 09/34509/1
bobbymander [Wed, 7 Mar 2018 12:15:08 +0000 (07:15 -0500)]
JUnit additions for BRMS,API

Issue-ID: POLICY-598
Change-Id: I6a41d510d95afd8538e7775fe12d6e07771dd307
Signed-off-by: bobbymander <bobby.mander@att.com>
6 years agoCopy files for docker image in packages/docker/pom 15/34315/2
mmis [Tue, 6 Mar 2018 16:36:00 +0000 (16:36 +0000)]
Copy files for docker image in packages/docker/pom

Copying the files in the pom removes the need to do the copying in various
locations the docker build is executed from and allows the docker image be
built without building the entire repo (as the install.zip can be pulled
from nexus)

Issue-ID: POLICY-652
Change-Id: I90498f7e0c00e63381d746f80f937b31b3f7199d
Signed-off-by: mmis <michael.morris@ericsson.com>
6 years agoMerge "PolicyApiUtils junits"
Jorge Hernandez [Tue, 6 Mar 2018 22:55:25 +0000 (22:55 +0000)]
Merge "PolicyApiUtils junits"

6 years agoMerge "JUnit workaround for PAP-REST, sonar bug"
Jorge Hernandez [Tue, 6 Mar 2018 22:54:21 +0000 (22:54 +0000)]
Merge "JUnit workaround for PAP-REST, sonar bug"

6 years agoMerge "Add new constructor"
Jorge Hernandez [Tue, 6 Mar 2018 22:52:03 +0000 (22:52 +0000)]
Merge "Add new constructor"

6 years agoPolicyApiUtils junits 09/34309/1
Magnusen, Drew (dm741q) [Thu, 1 Mar 2018 22:01:20 +0000 (16:01 -0600)]
PolicyApiUtils junits

Added some junits for the PolicyApiUtils class.

Issue-ID: POLICY-602
Change-Id: I393b636021c18d2406341f7fd8246fd342ab6f11
Signed-off-by: Magnusen, Drew (dm741q) <dm741q@att.com>
6 years agoAdd new constructor 65/34265/3
Determe, Sebastien (sd378r) [Tue, 6 Mar 2018 13:44:41 +0000 (14:44 +0100)]
Add new constructor

Add a new constructor to PolicyEngine to support Properties parameters
instead of a file.

Issue-ID: CLAMP-136
Change-Id: Id82a736cac8ac5603ff3627a9ce2ac5af4197a45
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
6 years agoJUnit workaround for PAP-REST, sonar bug 83/34283/1
bobbymander [Tue, 6 Mar 2018 14:53:30 +0000 (09:53 -0500)]
JUnit workaround for PAP-REST, sonar bug

Issue-ID: POLICY-600
Change-Id: I9d4d986b0703c67f65b67eedabca8d0d56965f2d
Signed-off-by: bobbymander <bobby.mander@att.com>
6 years agoAdded Junits for POLICY-SDK-APP 07/34207/2
rb7147 [Tue, 6 Mar 2018 03:59:30 +0000 (22:59 -0500)]
Added Junits for POLICY-SDK-APP

Issue-ID: POLICY-600
Change-Id: Ib96b7ccede0fa09e71f02ff073c89682e9aa7089
Signed-off-by: rb7147 <rb7147@att.com>
6 years agoMerge "Remove auto generated rule to the drl"
Jorge Hernandez [Tue, 6 Mar 2018 02:37:08 +0000 (02:37 +0000)]
Merge "Remove auto generated rule to the drl"

6 years agoMerge "JUnit additions for PAP-REST"
Pamela Dragosh [Tue, 6 Mar 2018 01:36:59 +0000 (01:36 +0000)]
Merge "JUnit additions for PAP-REST"

6 years agoClean up pom.xml and fix CLM 67/34167/1
Pamela Dragosh [Tue, 6 Mar 2018 01:34:18 +0000 (20:34 -0500)]
Clean up pom.xml and fix CLM

This has some cleanup for overriding managed dependencies, a
duplicate entry for mariadb, unnecessary inclusion of older
EELF library, an upgrade of swagger tools to fix a security
issue and lastly an override of a depedency to clear a
security issue.

Issue-ID: POLICY-507
Change-Id: I8767f6edc37551c559010d96d350afdd5961f13d
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoJUnit additions for PAP-REST 19/34119/1
bobbymander [Mon, 5 Mar 2018 19:56:44 +0000 (14:56 -0500)]
JUnit additions for PAP-REST

Issue-ID: POLICY-600
Change-Id: I59117fff52a2cd37c1260aafaae4ebe922053202
Signed-off-by: bobbymander <bobby.mander@att.com>
6 years agoMerge "Upgrade commons-collection for security fix"
Jorge Hernandez [Mon, 5 Mar 2018 19:52:50 +0000 (19:52 +0000)]
Merge "Upgrade commons-collection for security fix"

6 years agoMerge "Upgrade dmaap client with security fix"
Jorge Hernandez [Mon, 5 Mar 2018 19:52:18 +0000 (19:52 +0000)]
Merge "Upgrade dmaap client with security fix"

6 years agoMerge "Update Dockerfile and docker_*.sh"
Jorge Hernandez [Mon, 5 Mar 2018 18:23:34 +0000 (18:23 +0000)]
Merge "Update Dockerfile and docker_*.sh"

6 years agoUpdate Dockerfile and docker_*.sh 63/34063/2
mmis [Mon, 5 Mar 2018 13:45:40 +0000 (13:45 +0000)]
Update Dockerfile and docker_*.sh

Correction to previous commit "Move docker_*.sh scripts into
policy/engine" as attempt to build docker image will result in failure to
pull the policy-base image from nexus
The policy-base and policy-os images are removed in favour of including
the contents of those images directly in the policy-pe image

Issue-ID: POLICY-624
Change-Id: Ie4a12407d4cb5a1d663cd11136c282a53f496ca3
Signed-off-by: mmis <michael.morris@ericsson.com>
6 years agoRemove auto generated rule to the drl 65/33865/4
pa834y [Fri, 2 Mar 2018 22:14:47 +0000 (17:14 -0500)]
Remove auto generated rule to the drl

Issue-ID: POLICY-488
Change-Id: Id6915407a6f030b77ae2d18ad3665af9d0feb34b
Signed-off-by: pa834y <pa834y@att.com>
6 years agoUpgrade commons-collection for security fix 79/34079/2
Pamela Dragosh [Mon, 5 Mar 2018 15:25:41 +0000 (10:25 -0500)]
Upgrade commons-collection for security fix

Force use of 3.2.2 to clear security issue for commons
collections.

Issue-ID: POLICY-507
Change-Id: Id9ac1e07b90dfb6594cde5ba4cec4e3867f43a76
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoJUnit addition/fix for PAP-REST 65/34065/1
bobbymander [Mon, 5 Mar 2018 14:05:13 +0000 (09:05 -0500)]
JUnit addition/fix for PAP-REST

Issue-ID: POLICY-600
Change-Id: I342bc97f85739f73b0dac6aaea19f6f4b2ded470
Signed-off-by: bobbymander <bobby.mander@att.com>
6 years agoUpgrade dmaap client with security fix 47/33847/2
Pamela Dragosh [Fri, 2 Mar 2018 20:28:58 +0000 (15:28 -0500)]
Upgrade dmaap client with security fix

Dmaap removed security issues.

Issue-ID: POLICY-618
Change-Id: Ied6051dd5eaec204a6d7806460410c3a3083c462
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoMerge "JUnit additions for SDK-APP"
Pamela Dragosh [Mon, 5 Mar 2018 01:59:45 +0000 (01:59 +0000)]
Merge "JUnit additions for SDK-APP"