aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java/org/onap/vid/controller/WebConfig.java
diff options
context:
space:
mode:
authorkurczews <krzysztof.kurczewski@nokia.com>2019-02-12 14:55:53 +0100
committerkurczews <krzysztof.kurczewski@nokia.com>2019-02-18 08:28:47 +0100
commit3899593de4f545a8900f148586ba367eeb465126 (patch)
treefead589963e149781aec68cd6424aac865cdd1ff /vid-app-common/src/main/java/org/onap/vid/controller/WebConfig.java
parent4b8ae0089f38ab06ba319ef439fffb59008e08e5 (diff)
Add tests for AaiServiceImpl
Issue-ID: VID-386 Change-Id: I8959a30b8cbd38663dd410b23d167c405ed2592e Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
Diffstat (limited to 'vid-app-common/src/main/java/org/onap/vid/controller/WebConfig.java')
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/controller/WebConfig.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/controller/WebConfig.java b/vid-app-common/src/main/java/org/onap/vid/controller/WebConfig.java
index 68d5b71d0..8fe7c1fa1 100644
--- a/vid-app-common/src/main/java/org/onap/vid/controller/WebConfig.java
+++ b/vid-app-common/src/main/java/org/onap/vid/controller/WebConfig.java
@@ -70,8 +70,9 @@ public class WebConfig {
}
@Bean
- public AaiService getAaiService() {
- return new AaiServiceImpl();
+ public AaiService getAaiService(AaiClientInterface aaiClient, AaiOverTLSClientInterface aaiOverTLSClient,
+ AaiResponseTranslator aaiResponseTranslator, AAITreeNodeBuilder aaiTreeNode, AAIServiceTree aaiServiceTree) {
+ return new AaiServiceImpl(aaiClient, aaiOverTLSClient, aaiResponseTranslator, aaiTreeNode, aaiServiceTree);
}
@Bean