diff options
Diffstat (limited to 'forwarding')
-rw-r--r-- | forwarding/pom.xml | 5 | ||||
-rw-r--r-- | forwarding/src/main/java/org/onap/policy/distribution/forwarding/PolicyForwarder.java | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/forwarding/pom.xml b/forwarding/pom.xml index 5a2e0cbd..68f20441 100644 --- a/forwarding/pom.xml +++ b/forwarding/pom.xml @@ -41,5 +41,10 @@ <artifactId>common-parameters</artifactId> <version>${policy.common.version}</version> </dependency> + <dependency> + <groupId>org.onap.policy.models</groupId> + <artifactId>policy-models-tosca</artifactId> + <version>${policy.models.version}</version> + </dependency> </dependencies> </project> 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; } |