aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java/org/onap/vid/controller/WebConfig.java
diff options
context:
space:
mode:
authorWojciech Sliwka <wojciech.sliwka@nokia.com>2019-02-18 08:24:22 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-18 08:24:22 +0000
commit2cfbe3407713a48fb81783ae2a560c5fe6face5e (patch)
tree8cec17542088d746e7b11812eb036e4b17bd3f6c /vid-app-common/src/main/java/org/onap/vid/controller/WebConfig.java
parente9381e08b6a48468ff6f3ccaa03d0b19dd47d535 (diff)
parent3899593de4f545a8900f148586ba367eeb465126 (diff)
Merge "Add tests for AaiServiceImpl"
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