diff options
author | Ittay Stern <ittay.stern@att.com> | 2019-07-31 10:26:39 +0300 |
---|---|---|
committer | Ittay Stern <ittay.stern@att.com> | 2019-07-31 13:31:33 +0300 |
commit | 0d37e2c3db490fac0b7b7e53612dbf9450bb2841 (patch) | |
tree | 97ad033436b51d2fb98a277086ab277e224912cc /vid-app-common/src/test/java/org/onap/vid/controller | |
parent | 5efec2c3cfcead17394beb825200e132f827eb31 (diff) |
Handle A&AI Service-Tree and add tests
Issue-ID: VID-378
Change-Id: Id1b86b77732768f9b497e2fcd29ee1665381ac57
Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-app-common/src/test/java/org/onap/vid/controller')
-rw-r--r-- | vid-app-common/src/test/java/org/onap/vid/controller/LocalWebConfig.java | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/controller/LocalWebConfig.java b/vid-app-common/src/test/java/org/onap/vid/controller/LocalWebConfig.java index 701f1c62a..aae1b0621 100644 --- a/vid-app-common/src/test/java/org/onap/vid/controller/LocalWebConfig.java +++ b/vid-app-common/src/test/java/org/onap/vid/controller/LocalWebConfig.java @@ -22,12 +22,21 @@ package org.onap.vid.controller; import com.fasterxml.jackson.databind.ObjectMapper; +import java.io.File; +import java.util.concurrent.ExecutorService; +import javax.servlet.ServletContext; import org.onap.vid.aai.AaiClient; import org.onap.vid.aai.AaiClientInterface; import org.onap.vid.aai.AaiOverTLSClientInterface; import org.onap.vid.aai.AaiResponseTranslator; import org.onap.vid.aai.model.PortDetailsTranslator; -import org.onap.vid.aai.util.*; +import org.onap.vid.aai.util.AAIRestInterface; +import org.onap.vid.aai.util.CacheProvider; +import org.onap.vid.aai.util.HttpsAuthClient; +import org.onap.vid.aai.util.NonCachingCacheProvider; +import org.onap.vid.aai.util.SSLContextProvider; +import org.onap.vid.aai.util.ServletRequestHelper; +import org.onap.vid.aai.util.SystemPropertyHelper; import org.onap.vid.asdc.AsdcClient; import org.onap.vid.asdc.parser.ToscaParserImpl2; import org.onap.vid.asdc.parser.VidNotionsBuilder; @@ -42,10 +51,6 @@ import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.togglz.core.manager.FeatureManager; -import javax.servlet.ServletContext; -import java.io.File; -import java.util.concurrent.ExecutorService; - @Configuration public class LocalWebConfig { @@ -68,7 +73,7 @@ public class LocalWebConfig { @Bean public AaiService getAaiService(AaiClientInterface aaiClient, AaiOverTLSClientInterface aaiOverTLSClient, AaiResponseTranslator aaiResponseTranslator, AAITreeNodeBuilder aaiTreeNode, AAIServiceTree aaiServiceTree, ExecutorService executorService) { - return new AaiServiceImpl(aaiClient, aaiOverTLSClient, aaiResponseTranslator, aaiTreeNode, aaiServiceTree, executorService); + return new AaiServiceImpl(aaiClient, aaiOverTLSClient, aaiResponseTranslator, aaiServiceTree, executorService); } @Bean |