From 504970756b35b5f9e5388ee32c53f83d659b4ef1 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Fri, 8 Feb 2019 13:22:06 -0500 Subject: Replace PolicyAssert with assertj PolicyAssert has a sonar issue and is no longer needed, as the same functionality (and more) is provided by assertj. Modified drools-pdp test code to replace PolicyAssert with assertj. Updated license dates. Removed trailing spaces. Remove assertj version from poms, as it's now included in parent pom. Change-Id: Ica82a959613e082dc6ed6fc9e103a198c2f17537 Issue-ID: POLICY-1393 Signed-off-by: Jim Hahn --- policy-management/pom.xml | 22 ++-- .../drools/system/PolicyControllerFactoryTest.java | 69 ++++++------ .../drools/system/PolicyEngineManagerTest.java | 118 +++++++++++---------- .../internal/AggregatedPolicyControllerTest.java | 25 ++--- 4 files changed, 125 insertions(+), 109 deletions(-) (limited to 'policy-management') diff --git a/policy-management/pom.xml b/policy-management/pom.xml index 061c5b06..5d3d9eeb 100644 --- a/policy-management/pom.xml +++ b/policy-management/pom.xml @@ -3,14 +3,14 @@ ============LICENSE_START======================================================= ONAP Policy Engine - Drools PDP ================================================================================ - Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. + Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -134,7 +134,7 @@ process-sources - onap-checkstyle/onap-java-style.xml @@ -255,10 +255,10 @@ commons-collections4 4.1 - + commons-codec @@ -275,7 +275,7 @@ junit test - + org.powermock powermock-api-mockito @@ -288,7 +288,7 @@ ${policy.common.version} test - +