summaryrefslogtreecommitdiffstats
path: root/forwarding/src
diff options
context:
space:
mode:
authorramverma <ram.krishna.verma@est.tech>2019-07-17 11:03:26 +0000
committerramverma <ram.krishna.verma@est.tech>2019-07-17 11:03:26 +0000
commitcf748512392e5d3257de629dc57fb353dc073c92 (patch)
tree8e81a773d1f9556669b344d5f31dd139999ef2f6 /forwarding/src
parent5f032e0363703239f30dff29914dc41dd3abca48 (diff)
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 <ram.krishna.verma@est.tech>
Diffstat (limited to 'forwarding/src')
-rw-r--r--forwarding/src/main/java/org/onap/policy/distribution/forwarding/PolicyForwarder.java5
1 files changed, 3 insertions, 2 deletions
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<Policy> policies) throws PolicyForwardingException;
+ void forward(Collection<ToscaEntity> policies) throws PolicyForwardingException;
}