From 50d4d559247852ebb52aee1dc9f65a7bcf752ad4 Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Tue, 10 Nov 2020 12:55:43 -0500 Subject: Add aai-service bean Added bean for aai-service to allow aai-service to be called from directed graphs Change-Id: I8a617aabce8cb14de5c481276c520809e3917181 Issue-ID: CCSDK-2976 Signed-off-by: Dan Timoney --- .../src/main/java/org/onap/ccsdk/apps/services/SvcLogicFactory.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'services/src/main/java/org') diff --git a/services/src/main/java/org/onap/ccsdk/apps/services/SvcLogicFactory.java b/services/src/main/java/org/onap/ccsdk/apps/services/SvcLogicFactory.java index f7e3662f..30a85ac8 100644 --- a/services/src/main/java/org/onap/ccsdk/apps/services/SvcLogicFactory.java +++ b/services/src/main/java/org/onap/ccsdk/apps/services/SvcLogicFactory.java @@ -25,6 +25,8 @@ import java.io.IOException; import java.util.List; import java.util.Properties; +import org.onap.ccsdk.sli.adaptors.aai.AAIService; +import org.onap.ccsdk.sli.adaptors.aai.AAIServiceProvider; import org.onap.ccsdk.sli.adaptors.messagerouter.publisher.api.PublisherApi; import org.onap.ccsdk.sli.adaptors.messagerouter.publisher.provider.impl.PublisherApiImpl; import org.onap.ccsdk.sli.adaptors.netbox.api.NetboxClient; @@ -163,6 +165,10 @@ public class SvcLogicFactory { } // Beans from sli/adaptors + + @Bean AAIService aaiService() { + return new AAIService(new AAIServiceProvider()); + } @Bean public ConfigResource configResource() { -- cgit 1.2.3-korg