aboutsummaryrefslogtreecommitdiffstats
path: root/feature-pooling-dmaap/src/test
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2019-02-22 13:58:09 -0500
committerJim Hahn <jrh3@att.com>2019-02-22 14:00:42 -0500
commit02239dfd498179773212b4f4872956a64a0260a4 (patch)
tree7ec018f877e18dfd3c36ac881aa61506d9fc372a /feature-pooling-dmaap/src/test
parentc150cf1a2327696e289c3a80ef28842f014b1866 (diff)
Add getEffectiveTopic method to pooling test
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>
Diffstat (limited to 'feature-pooling-dmaap/src/test')
-rw-r--r--feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/FeatureTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/FeatureTest.java b/feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/FeatureTest.java
index 0d5b5e06..5768e1d8 100644
--- a/feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/FeatureTest.java
+++ b/feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/FeatureTest.java
@@ -893,6 +893,11 @@ public class FeatureTest {
}
@Override
+ public String getEffectiveTopic() {
+ return INTERNAL_TOPIC;
+ }
+
+ @Override
public CommInfrastructure getTopicCommInfrastructure() {
throw new UnsupportedOperationException("topic protocol");
}