commit | 289c0ceb2b3b0565ae19014a4cfa06a1bf10ccc3 | [log] [tgz] |
---|---|---|
author | efiacor <fiachra.corcoran@est.tech> | Mon Apr 24 13:14:04 2023 +0100 |
committer | efiacor <fiachra.corcoran@est.tech> | Mon Apr 24 13:14:08 2023 +0100 |
tree | cd3de4ba68604a739231b68d78043e75fe679367 | |
parent | f503df63288ba978e723e24d1dab69b9820c8d20 [diff] |
[SDC-DISTOR-CLIENT] Move to use nexus mock sdc image Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I24ac1656e2ce76e4030c00d42d0cd71166e8ebaf Issue-ID: SDC-4476
ONAP SDC Distribution client is delivered as helper JAR that can be used by clients that work with SDC. It listens for notifications from SDC, download artifacts from SDC, and send response back to SDC.
As mentioned in the onap wiki https://wiki.onap.org/display/DW/Setting+Up+Your+Development+Environment, the settings.xml (https://git.onap.org/oparent/plain/settings.xml) from the oparent project must be installed in your ~/.m2 folder and referenced by your IDE.
Once maven is set up properly, ONAP SDC Distribution client can be compiled easily using maven command: mvn clean install
The result is JAR file under "target" folder
Every client that wants to use the JAR, need to implement IConfiguration interface.
See the SDC ONAP read the docs for more detail in relation to the sdc-distribution-client usage. https://docs.onap.org/projects/onap-sdc/en/kohn/sdcsdks.html#sdc-tosca-and-sdc-distribution-client
log4j.rootCategory=DEBUG, CONSOLE, LOGFILE log4j.logger.org.onap=TRACE, CONSOLE, LOGFILE
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout log4j.appender.CONSOLE.layout.ConversionPattern=%p %d{yyyy-MM-dd HH:mm:ss.SSS Z} %c{1} - %m%n
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender log4j.appender.LOGFILE.File=logs/wordnik.log log4j.appender.LOGFILE.Append=true log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout log4j.appender.LOGFILE.layout.ConversionPattern=%p %d{yyyy-MM-dd HH:mm:ss.SSS Z} %c{1} - %m%n log4j.appender.LOGFILE.MaxFileSize=10MB log4j.appender.LOGFILE.MaxBackupIndex=10
*** to be completed on release ***
SDC Javadoc and Maven site
*** to be completed on rrelease ***