Add getEffectiveTopic method to pooling test 34/79034/1
authorJim Hahn <jrh3@att.com>
Fri, 22 Feb 2019 18:58:09 +0000 (13:58 -0500)
committerJim Hahn <jrh3@att.com>
Fri, 22 Feb 2019 19:00:42 +0000 (14:00 -0500)
A new method, getEffectiveTopic(), was added to the Topic interface.
A test class in the pooling feature uses that interface, thus the
method had to be added to the implementation within that test class.

Note: until this is merged, drools-pdp will not build.

Change-Id: Ib82e7a0d23f5b8e8eda08e8fc570e96543497da2
Issue-ID: POLICY-1534
Signed-off-by: Jim Hahn <jrh3@att.com>
feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/FeatureTest.java

index 0d5b5e0..5768e1d 100644 (file)
@@ -892,6 +892,11 @@ public class FeatureTest {
             return INTERNAL_TOPIC;
         }
 
+        @Override
+        public String getEffectiveTopic() {
+            return INTERNAL_TOPIC;
+        }
+
         @Override
         public CommInfrastructure getTopicCommInfrastructure() {
             throw new UnsupportedOperationException("topic protocol");