aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ms/sliboot/pom.xml1
-rw-r--r--services/pom.xml5
-rw-r--r--services/src/main/java/org/onap/ccsdk/apps/services/SvcLogicFactory.java6
3 files changed, 12 insertions, 0 deletions
diff --git a/ms/sliboot/pom.xml b/ms/sliboot/pom.xml
index 475e990e..a35a28b1 100644
--- a/ms/sliboot/pom.xml
+++ b/ms/sliboot/pom.xml
@@ -200,6 +200,7 @@
<version>2.3.1</version>
<executions>
<execution>
+ <phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
diff --git a/services/pom.xml b/services/pom.xml
index 329b7bf6..33952c41 100644
--- a/services/pom.xml
+++ b/services/pom.xml
@@ -117,6 +117,11 @@
</dependency>
<dependency>
<groupId>org.onap.ccsdk.sli.adaptors</groupId>
+ <artifactId>aai-service-provider</artifactId>
+ <version>${ccsdk.sli.adaptors.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.onap.ccsdk.sli.adaptors</groupId>
<artifactId>mdsal-resource-provider</artifactId>
<version>${ccsdk.sli.adaptors.version}</version>
</dependency>
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() {