From 55f3e5e9dad4a15b4bbffa892e5851abe5b900c3 Mon Sep 17 00:00:00 2001 From: "Chou, Joseph (jc2555)" Date: Tue, 21 Jan 2020 13:07:21 -0500 Subject: ONAP m2 base junit coverage Added testcases to improve code coverage Issue-ID: POLICY-2289 Change-Id: Ib573ae668b5bca008c4600df99e7f1cf4053d1a1 Signed-off-by: Joseph Chou --- .../src/test/resources/appclcm/M2CLRulevUSPAPPCLCMGuardTemplate.drl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'controlloop/m2/test') diff --git a/controlloop/m2/test/src/test/resources/appclcm/M2CLRulevUSPAPPCLCMGuardTemplate.drl b/controlloop/m2/test/src/test/resources/appclcm/M2CLRulevUSPAPPCLCMGuardTemplate.drl index 2a24f1312..0e947c8e1 100644 --- a/controlloop/m2/test/src/test/resources/appclcm/M2CLRulevUSPAPPCLCMGuardTemplate.drl +++ b/controlloop/m2/test/src/test/resources/appclcm/M2CLRulevUSPAPPCLCMGuardTemplate.drl @@ -95,7 +95,7 @@ function void sendNotification(Context context, notification.setPolicyScope("${policyScope}"); notification.setPolicyVersion("${policyVersion}"); - PolicyEngineConstants.getManager().deliver(context.getNotificationTopic(), notification); + Util.deliver(context.getNotificationTopic(), notification); } } @@ -350,7 +350,7 @@ rule "${policyName}.TRANSACTION.LCM.BEGIN" logger.error("request could not be formed due to: "+e.getMessage()); return; } - PolicyEngineConstants.getManager().deliver($context.getOperationTopic(), request); + Util.deliver($context.getOperationTopic(), request); // send notification sendNotification($context, drools, -- cgit 1.2.3-korg