Update E2 manager API to version 20190515
[portal/ric-dashboard.git] / webapp-backend / src / main / java / org / oransc / ric / portal / dashboard / config / E2ManagerConfiguration.java
index 3b610b5..1983623 100644 (file)
@@ -1,6 +1,6 @@
 /*-
  * ========================LICENSE_START=================================
- * ORAN-OSC
+ * O-RAN-SC
  * %%
  * Copyright (C) 2019 AT&T Intellectual Property and Nokia
  * %%
@@ -21,9 +21,8 @@ package org.oransc.ric.portal.dashboard.config;
 
 import java.lang.invoke.MethodHandles;
 
-import org.oransc.ric.e2mgr.client.api.EndcSetupRequestApi;
 import org.oransc.ric.e2mgr.client.api.HealthCheckApi;
-import org.oransc.ric.e2mgr.client.api.X2SetupRequestApi;
+import org.oransc.ric.e2mgr.client.api.NodebApi;
 import org.oransc.ric.e2mgr.client.invoker.ApiClient;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -61,18 +60,13 @@ public class E2ManagerConfiguration {
        }
 
        @Bean
-       public EndcSetupRequestApi endcSetupRequestApi() {
-               return new EndcSetupRequestApi(apiClient());
-       }
-
-       @Bean
-       public HealthCheckApi healthCheckApi() {
+       public HealthCheckApi e2HealthCheckApi() {
                return new HealthCheckApi(apiClient());
        }
 
        @Bean
-       public X2SetupRequestApi x2SetupRequestApi() {
-               return new X2SetupRequestApi(apiClient());
+       public NodebApi e2NodebApi() {
+               return new NodebApi(apiClient());
        }
 
 }