diff options
author | 2022-06-16 09:38:26 +0100 | |
---|---|---|
committer | 2022-10-10 17:40:51 +0100 | |
commit | cff56489f774f937654cb6eb198d3d5ef41418a2 (patch) | |
tree | 3819828c2fed7d46536253ff2f35bcf0a3c9c031 /README.md | |
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 'README.md')
-rw-r--r-- | README.md | 34 |
1 files changed, 17 insertions, 17 deletions
@@ -23,18 +23,18 @@ Every client that wants to use the JAR, need to implement IConfiguration interfa Configuration parameters: -------------------------- -- AsdcAddress : ASDC Distribution Engine address. Value can be either hostname (with or without port), IP:port or FQDN (Fully Qualified Domain Name). -- User : User Name for ASDC distribution consumer authentication. -- Password : User Password for ASDC distribution consumer authentication. -- PollingInterval : Distribution Client Polling Interval towards UEB in seconds. Can Be reconfigured in runtime. -- PollingTimeout : Distribution Client Timeout in seconds waiting to UEB server response in each fetch interval. Can Be reconfigured in runtime. +- sdcAddress : SDC Distribution Engine address. Value can be either hostname (with or without port), IP:port or FQDN (Fully Qualified Domain Name). +- User : User Name for SDC distribution consumer authentication. +- Password : User Password for SDC distribution consumer authentication. +- PollingInterval : Distribution Client Polling Interval towards MessageBus in seconds. Can Be reconfigured in runtime. +- PollingTimeout : Distribution Client Timeout in seconds waiting to MessageBus server response in each fetch interval. Can Be reconfigured in runtime. - RelevantArtifactTypes : List of artifact types. If the service contains any of the artifacts in the list, the callback will be activated. Can Be reconfigured in runtime. - ConsumerGroup : Returns the consumer group defined for this ONAP component, if no consumer group is defined return null. -- EnvironmentName : Returns the environment name (testing, production etc... Can Be reconfigured in runtime. -- ConsumerID : Unique ID of ONAP component instance (e.x INSTAR name). -- KeyStorePath : Return full path to Client's Key Store that contains either CA certificate or the ASDC's public key (e.g /etc/keystore/asdc-client.jks). file will be deployed with asdc-distribution jar +- EnvironmentName : Returns the environment name (testing, production etc... Can Be reconfigured in runtime. +- ConsumerID : Unique ID of ONAP component instance (e.x INSTAR name). +- KeyStorePath : Return full path to Client's Key Store that contains either CA certificate or the SDC's public key (e.g /etc/keystore/sdc-client.jks). file will be deployed with sdc-distribution jar - KeyStorePassword : Return client's Key Store password. -- activateServerTLSAuth : Sets whether ASDC server TLS authentication is activated. If set to false, Key Store path and password are not needed to be set. +- activateServerTLSAuth : Sets whether SDC server TLS authentication is activated. If set to false, Key Store path and password are not needed to be set. - UseSystemProxy : If set to true, SDC Distribution Client will use system wide proxy configuration passed through JVM arguments. - HttpProxyHost : Optional config. If configured, SDC Distribution client will use this http proxy host with HTTP client. - HttpProxyPort : Mandatory if HttpProxyHost is configured. If configured, SDC Distribution client will use this https proxy port with HTTP client. @@ -48,16 +48,16 @@ package org.onap.conf; import java.util.ArrayList; import java.util.List; -import org.onap.asdc.api.consumer.IConfiguration; -import org.onap.asdc.utils.ArtifactTypeEnum; +import org.onap.sdc.api.consumer.IConfiguration; +import org.onap.sdc.utils.ArtifactTypeEnum; public class SimpleConfiguration implements IConfiguration{ int randomSeed; - String asdcAddress; + String sdcAddress; public SimpleConfiguration(){ randomSeed = ((int)(Math.random()*1000)); - asdcAddress = "127.0.0.1:8443"; + sdcAddress = "127.0.0.1:8443"; } public String getUser() { return "ci"; @@ -95,12 +95,12 @@ public class SimpleConfiguration implements IConfiguration{ return "unique-Consumer-Group"+randomSeed; } - public String getAsdcAddress() { - return asdcAddress; + public String getSdcAddress() { + return sdcAddress; } - public void setAsdcAddress(String asdcAddress) { - this.asdcAddress = asdcAddress; + public void setSdcAddress(String sdcAddress) { + this.sdcAddress = sdcAddress; } @Override public String getKeyStorePath() { |