diff options
author | efiacor <fiachra.corcoran@est.tech> | 2022-06-16 09:38:26 +0100 |
---|---|---|
committer | efiacor <fiachra.corcoran@est.tech> | 2022-10-10 17:40:51 +0100 |
commit | cff56489f774f937654cb6eb198d3d5ef41418a2 (patch) | |
tree | 3819828c2fed7d46536253ff2f35bcf0a3c9c031 /sdc-distribution-client/src/main/java/org/onap/sdc/api/IDistributionClient.java | |
parent | 1b46a6e1d6fcf9788c9f18552f6f6b8fed60126c (diff) |
[STRIMZI] Migrate client from cambria to kafka native
Add call to sdc to get kafka and topic details
Add kafka config to IConfiguration interface
Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Change-Id: Ibec77d1ff1cd25ad4adce133ee81d66e54c7707f
Issue-ID: DMAAP-1745
Diffstat (limited to 'sdc-distribution-client/src/main/java/org/onap/sdc/api/IDistributionClient.java')
-rw-r--r-- | sdc-distribution-client/src/main/java/org/onap/sdc/api/IDistributionClient.java | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/sdc-distribution-client/src/main/java/org/onap/sdc/api/IDistributionClient.java b/sdc-distribution-client/src/main/java/org/onap/sdc/api/IDistributionClient.java index fe37dc1..ac48419 100644 --- a/sdc-distribution-client/src/main/java/org/onap/sdc/api/IDistributionClient.java +++ b/sdc-distribution-client/src/main/java/org/onap/sdc/api/IDistributionClient.java @@ -33,6 +33,11 @@ import org.onap.sdc.api.results.IDistributionClientResult; import org.onap.sdc.api.notification.IArtifactInfo; import org.onap.sdc.api.notification.IVfModuleMetadata; +/** + Client for sending/receiving notifications/status related to distributions from SDC. + This client uses Kafka for communication with the topics. + For communication using DMAAP MR use latest version with major version = 1 (e.g. 1.4.5) + **/ public interface IDistributionClient { /** @@ -63,15 +68,13 @@ public interface IDistributionClient { /** * Stop distribution client <br> * - stop polling notification topic <br> - * - unregister topics (via ASDC) <br> - * - delete keys from UEB * * @return IDistributionClientResult */ IDistributionClientResult stop(); /** - * Downloads an artifact from ASDC Catalog <br> + * Downloads an artifact from SDC Catalog <br> * * @param artifactInfo * @return IDistributionClientDownloadResult @@ -80,10 +83,10 @@ public interface IDistributionClient { /** * Initialize the distribution client <br> - * - fetch the UEB server list from ASDC <br> - * - create keys in UEB <br> - * - register for topics (via ASDC) <br> + * - get MessageBus server list from configuration <br> + * - validate artifact types against sdc server <br> * - set the notification callback <br> + * - set up notification sender <br> * <p> * Note: all configuration fields are mandatory. <br> * Password must be in clear text and not encrypted <br> @@ -98,10 +101,10 @@ public interface IDistributionClient { /** * Initialize the distribution client <br> - * - fetch the UEB server list from ASDC <br> - * - create keys in UEB <br> - * - register for topics (via ASDC) <br> + * - get MessageBus server list from configuration <br> + * - validate artifact types against sdc server <br> * - set the notification callback <br> + * - set up notification sender <br> * <p> * Note: all configuration fields are mandatory. <br> * Password must be in clear text and not encrypted <br> |