From cf748512392e5d3257de629dc57fb353dc073c92 Mon Sep 17 00:00:00 2001 From: ramverma Date: Wed, 17 Jul 2019 11:03:26 +0000 Subject: Changing policy/distribution to use policy/models 1) Changed policy distribution framework to use entities from policy/models 2) Changed all the test cases. 3) Commented few test cases which will be fixed along with code fixes. 4) Will be removing the old policy entities once all the pieces are ready. Change-Id: I1fd7b975b2e072c0b24e429903c9ca4796173929 Issue-ID: POLICY-1888 Signed-off-by: ramverma --- .../org/onap/policy/distribution/forwarding/PolicyForwarder.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'forwarding/src/main/java/org/onap') diff --git a/forwarding/src/main/java/org/onap/policy/distribution/forwarding/PolicyForwarder.java b/forwarding/src/main/java/org/onap/policy/distribution/forwarding/PolicyForwarder.java index 311bbcf7..d07c707a 100644 --- a/forwarding/src/main/java/org/onap/policy/distribution/forwarding/PolicyForwarder.java +++ b/forwarding/src/main/java/org/onap/policy/distribution/forwarding/PolicyForwarder.java @@ -21,7 +21,8 @@ package org.onap.policy.distribution.forwarding; import java.util.Collection; -import org.onap.policy.distribution.model.Policy; + +import org.onap.policy.models.tosca.authorative.concepts.ToscaEntity; /** * Forwards polices. @@ -49,6 +50,6 @@ public interface PolicyForwarder { * @param policies the policies to forward * @throws PolicyForwardingException if an error occurs when forwarding the given policy */ - void forward(Collection policies) throws PolicyForwardingException; + void forward(Collection policies) throws PolicyForwardingException; } -- cgit 1.2.3-korg