X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=e2-mgr-client%2Fsrc%2Ftest%2Fjava%2Forg%2Foransc%2Fric%2Fportal%2Fdashboard%2Fe2mgr%2Fclient%2Ftest%2FE2ManagerClientTest.java;h=a740f05e20f13264513c82ae5b5587e19691e724;hb=ace0b71ff6e424193ff6d6519a529d279e7ade58;hp=fa48e693054d7bf45afb906b7c3b792404ccb2bc;hpb=f660cae7a447b60d84ef75f7c2bcbf62412d4579;p=portal%2Fric-dashboard.git diff --git a/e2-mgr-client/src/test/java/org/oransc/ric/portal/dashboard/e2mgr/client/test/E2ManagerClientTest.java b/e2-mgr-client/src/test/java/org/oransc/ric/portal/dashboard/e2mgr/client/test/E2ManagerClientTest.java index fa48e693..a740f05e 100644 --- a/e2-mgr-client/src/test/java/org/oransc/ric/portal/dashboard/e2mgr/client/test/E2ManagerClientTest.java +++ b/e2-mgr-client/src/test/java/org/oransc/ric/portal/dashboard/e2mgr/client/test/E2ManagerClientTest.java @@ -20,7 +20,7 @@ package org.oransc.ric.portal.dashboard.e2mgr.client.test; import org.junit.jupiter.api.Test; -import org.oransc.ric.e2mgr.client.api.HealthCheckApi; +import org.oransc.ric.e2mgr.client.api.E2ManagerApi; import org.oransc.ric.e2mgr.client.invoker.ApiClient; import org.springframework.web.client.RestClientException; @@ -35,9 +35,9 @@ public class E2ManagerClientTest { public void demo() { ApiClient apiClient = new ApiClient(); apiClient.setBasePath("http://localhost:30099/"); - HealthCheckApi e2Health = new HealthCheckApi(apiClient); + E2ManagerApi e2Api = new E2ManagerApi(apiClient); try { - e2Health.healthCheck(); + e2Api.healthCheck(); System.out.println("getHealth answered: " + apiClient.getStatusCode().toString()); } catch (RestClientException e) { System.err.println("getHealth failed: " + e.toString());