diff options
author | 2019-04-03 02:26:05 +0800 | |
---|---|---|
committer | 2019-04-03 02:26:05 +0800 | |
commit | 41373a9619308bdbab6a31c02fe3d54e91ac6ee3 (patch) | |
tree | 4e79dc6d6573e9fab2415294e5e926589b0f9827 /artifactbroker/forwarding/src | |
parent | b852967aa9ebbf7a37e562e562c21b9df76f04d7 (diff) |
add subplugin field support and new Cloud Artifact class
. add subplugin field to integrate with Distribution framework
. add new Cloud Artifact which is to be used by subplugin like k8s
. update test .json file to include reception and forward fields
. add dummy test class to ensure the flow works as expected
. fix typos
Change-Id: I9d69d88e448a18247e19b3b7a6062b20814b5f8c
Issue-ID: MULTICLOUD-512
Signed-off-by: liboNet <libo.zhu@intel.com>
Diffstat (limited to 'artifactbroker/forwarding/src')
-rw-r--r-- | artifactbroker/forwarding/src/main/java/org/onap/policy/distribution/forwarding/ArtifactForwarder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/artifactbroker/forwarding/src/main/java/org/onap/policy/distribution/forwarding/ArtifactForwarder.java b/artifactbroker/forwarding/src/main/java/org/onap/policy/distribution/forwarding/ArtifactForwarder.java index 7e0d42b..ff6d97e 100644 --- a/artifactbroker/forwarding/src/main/java/org/onap/policy/distribution/forwarding/ArtifactForwarder.java +++ b/artifactbroker/forwarding/src/main/java/org/onap/policy/distribution/forwarding/ArtifactForwarder.java @@ -22,6 +22,7 @@ package org.onap.policy.distribution.forwarding; import java.util.Collection; import org.onap.sdc.api.notification.IArtifactInfo; +import org.onap.policy.distribution.model.PolicyInput; /** * Forwards polices. @@ -49,6 +50,6 @@ public interface ArtifactForwarder { * @param policies the policies to forward * @throws ArtifactForwardingException if an error occurs when forwarding the given Artifact */ - void forward(Collection<IArtifactInfo> artifacts) throws ArtifactForwardingException; + void forward(PolicyInput policyInput) throws ArtifactForwardingException; } |