summaryrefslogtreecommitdiffstats
path: root/plugins/reception-plugins/src/main/java
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2019-10-14 16:29:10 +0100
committerliamfallon <liam.fallon@est.tech>2019-10-14 16:31:19 +0100
commit0403963b1b602962be626b7dea647aceb9152479 (patch)
tree11fbceec7b079a5cf0cbd68c7acb29e87d48c010 /plugins/reception-plugins/src/main/java
parentd9910ab36a8e13fafe00bbba3467504f986f4be2 (diff)
Fix for change of interface in SDC client
SDC changed their interface for the SDC client, this change caused a compile error. Issue-ID: POLICY-2169 Change-Id: Ia6d134e9dacbbcf98081c6e71a1be87dd82fd55b Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'plugins/reception-plugins/src/main/java')
-rw-r--r--plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/SdcReceptionHandler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/SdcReceptionHandler.java b/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/SdcReceptionHandler.java
index c3d7e43b..9c336327 100644
--- a/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/SdcReceptionHandler.java
+++ b/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/SdcReceptionHandler.java
@@ -42,7 +42,7 @@ import org.onap.sdc.api.notification.IArtifactInfo;
import org.onap.sdc.api.notification.INotificationData;
import org.onap.sdc.api.results.IDistributionClientDownloadResult;
import org.onap.sdc.api.results.IDistributionClientResult;
-import org.onap.sdc.impl.DistributionClientFactory;
+import org.onap.sdc.impl.DistributionClientImpl;
import org.onap.sdc.utils.DistributionActionResultEnum;
import org.onap.sdc.utils.DistributionStatusEnum;
import org.slf4j.Logger;
@@ -122,7 +122,7 @@ public class SdcReceptionHandler extends AbstractReceptionHandler implements INo
* @return the {@link IDistributionClient} instance
*/
protected IDistributionClient createSdcDistributionClient() {
- return DistributionClientFactory.createDistributionClient();
+ return new DistributionClientImpl();
}
/**