summaryrefslogtreecommitdiffstats
path: root/controlloop/templates/template.demo.clc/src
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2019-02-18 08:46:09 -0500
committerJim Hahn <jrh3@att.com>2019-02-18 08:51:41 -0500
commit9849908bc526807c8c11f6609dbc5cef6ab2a872 (patch)
tree263c69f9b0e79037ad7163f1631ac0a70b38ba77 /controlloop/templates/template.demo.clc/src
parentb91e46218371ea9a94056aa548ff1704de795b2d (diff)
Removed null custom coders
Some code still referenced the customJacksonCoder() method, which has been removed from drools-pdp. However, all the code did was set the jackson & gson coders to null, which is unnecessary, as that is the default value for both. Thus the code was removed altogether so-as not to cause issues in the future. Updated license dates. Change-Id: Ie6f6bc8360890485ca50a751477650af7387b397 Issue-ID: POLICY-1429 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'controlloop/templates/template.demo.clc/src')
-rw-r--r--controlloop/templates/template.demo.clc/src/test/java/org/onap/policy/template/demo/clc/ControlLoopCoordinationTest.java6
-rw-r--r--controlloop/templates/template.demo.clc/src/test/java/org/onap/policy/template/demo/clc/ControlLoopEventCleanupTest.java6
2 files changed, 2 insertions, 10 deletions
diff --git a/controlloop/templates/template.demo.clc/src/test/java/org/onap/policy/template/demo/clc/ControlLoopCoordinationTest.java b/controlloop/templates/template.demo.clc/src/test/java/org/onap/policy/template/demo/clc/ControlLoopCoordinationTest.java
index d4af9ea4d..4d8fca83b 100644
--- a/controlloop/templates/template.demo.clc/src/test/java/org/onap/policy/template/demo/clc/ControlLoopCoordinationTest.java
+++ b/controlloop/templates/template.demo.clc/src/test/java/org/onap/policy/template/demo/clc/ControlLoopCoordinationTest.java
@@ -2,7 +2,7 @@
* ============LICENSE_START=======================================================
* demo
* ================================================================================
- * Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2018-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.
@@ -111,8 +111,6 @@ public class ControlLoopCoordinationTest implements TopicListener {
.topic("POLICY-CL-MGT")
.eventClass("org.onap.policy.controlloop.VirtualControlLoopNotification")
.protocolFilter(new JsonProtocolFilter())
- .customGsonCoder(null)
- .customJacksonCoder(null)
.modelClassLoaderHash(1111));
EventProtocolCoder.manager.addEncoder(EventProtocolParams.builder()
.groupId("junit.groupId")
@@ -120,8 +118,6 @@ public class ControlLoopCoordinationTest implements TopicListener {
.topic("APPC-LCM-READ")
.eventClass("org.onap.policy.appclcm.LcmRequestWrapper")
.protocolFilter(new JsonProtocolFilter())
- .customGsonCoder(null)
- .customJacksonCoder(null)
.modelClassLoaderHash(1111));
try {
SupportUtil.buildAaiSim();
diff --git a/controlloop/templates/template.demo.clc/src/test/java/org/onap/policy/template/demo/clc/ControlLoopEventCleanupTest.java b/controlloop/templates/template.demo.clc/src/test/java/org/onap/policy/template/demo/clc/ControlLoopEventCleanupTest.java
index e034990fe..605732c31 100644
--- a/controlloop/templates/template.demo.clc/src/test/java/org/onap/policy/template/demo/clc/ControlLoopEventCleanupTest.java
+++ b/controlloop/templates/template.demo.clc/src/test/java/org/onap/policy/template/demo/clc/ControlLoopEventCleanupTest.java
@@ -2,7 +2,7 @@
* ============LICENSE_START=======================================================
* demo
* ================================================================================
- * Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2018-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.
@@ -130,8 +130,6 @@ public class ControlLoopEventCleanupTest {
.topic("POLICY-CL-MGT")
.eventClass("org.onap.policy.controlloop.VirtualControlLoopNotification")
.protocolFilter(new JsonProtocolFilter())
- .customGsonCoder(null)
- .customJacksonCoder(null)
.modelClassLoaderHash(1111));
EventProtocolCoder.manager.addEncoder(EventProtocolParams.builder()
.groupId("junit.groupId")
@@ -139,8 +137,6 @@ public class ControlLoopEventCleanupTest {
.topic("APPC-CL")
.eventClass("org.onap.policy.appc.Request")
.protocolFilter(new JsonProtocolFilter())
- .customGsonCoder(null)
- .customJacksonCoder(null)
.modelClassLoaderHash(1111));
try {