From 662afdf33cb5934737e35ae991a4624d438a836a Mon Sep 17 00:00:00 2001 From: decheng zhang Date: Thu, 21 Apr 2022 16:07:00 -0400 Subject: [SLICEANALYSIS] Fix CCVPN CLL Payload to Policy and Suppress Warnings in Compilation. Fix the message content that SLICEANALYSISMS sends to Policy for CCVPN bw adjustment and suppress exceptions and error in job builder Issue-ID: DCAEGEN2-3147 Issue-ID: DCAEGEN2-3143 Signed-off-by: decheng zhang Change-Id: I3c0c2b526960ab0e08945ba47d06aeb8a6471d9f Signed-off-by: decheng zhang --- .../java/org/onap/slice/analysis/ms/service/PolicyServiceTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'components/slice-analysis-ms/src/test/java/org') diff --git a/components/slice-analysis-ms/src/test/java/org/onap/slice/analysis/ms/service/PolicyServiceTest.java b/components/slice-analysis-ms/src/test/java/org/onap/slice/analysis/ms/service/PolicyServiceTest.java index d9bf7617..7ac92f29 100644 --- a/components/slice-analysis-ms/src/test/java/org/onap/slice/analysis/ms/service/PolicyServiceTest.java +++ b/components/slice-analysis-ms/src/test/java/org/onap/slice/analysis/ms/service/PolicyServiceTest.java @@ -93,10 +93,8 @@ public class PolicyServiceTest { try { output = obj.readValue(new String(Files.readAllBytes(Paths.get("src/test/resources/onsetMessage2.json"))), OnsetMessage.class); expected = obj.writeValueAsString(output); - - String msg = obj.writeValueAsString(policyService + actual = new Gson().toJson(policyService .formPolicyOnsetMessageForCCVPN(cllId, 3000, RequestOwner.UUI)); - actual = new Gson().toJson(msg); } catch (IOException e) { e.printStackTrace(); -- cgit 1.2.3-korg