aboutsummaryrefslogtreecommitdiffstats
path: root/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/MainApp.java
diff options
context:
space:
mode:
authorpwielebs <piotr.wielebski@nokia.com>2019-03-07 10:47:59 +0100
committerMarcin Migdal <marcin.migdal@nokia.com>2019-03-20 11:59:16 +0100
commit295746ec486e0300e7d5958ba44f8054c30389f4 (patch)
tree3b43650f5878d00af3193a82d8394b1e0fcac1c0 /prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/MainApp.java
parentd824f1434f7ea71f1efdf3e9a667f6724ae600d3 (diff)
Integrate PRH with SDK in version 1.1.4
- AAI client aligned - CBS client aligned - DmaaP client aligned Change-Id: I7afd0a44572e1097be5c3a4acc7221c7923cea8b Issue-ID: DCAEGEN2-1319 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
Diffstat (limited to 'prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/MainApp.java')
-rw-r--r--prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/MainApp.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/MainApp.java b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/MainApp.java
index 3967dc0a..5ea07e0a 100644
--- a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/MainApp.java
+++ b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/MainApp.java
@@ -25,6 +25,7 @@ import static org.onap.dcaegen2.services.prh.model.logging.MdcVariables.REQUEST_
import java.util.Map;
import java.util.UUID;
+import org.onap.dcaegen2.services.sdk.rest.services.cbs.client.providers.CloudConfigurationClient;
import org.slf4j.MDC;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@@ -58,4 +59,10 @@ public class MainApp {
TaskScheduler concurrentTaskScheduler() {
return new ConcurrentTaskScheduler();
}
+
+
+ @Bean
+ CloudConfigurationClient getCloudConfigurationClient(){
+ return new CloudConfigurationClient();
+ }
}