From: Lott, Christopher (cl778h) Date: Fri, 24 May 2019 14:34:06 +0000 (-0400) Subject: Add missing @Bean method to create ggNodebsApi X-Git-Tag: R2~95 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F93%2F193%2F1;p=portal%2Fric-dashboard.git Add missing @Bean method to create ggNodebsApi Change-Id: I777d6242ae3f47005fbd821215317865749e41c9 Signed-off-by: Lott, Christopher (cl778h) --- diff --git a/webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/config/AnrXappConfiguration.java b/webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/config/AnrXappConfiguration.java index 3a2e810b..d6063abb 100644 --- a/webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/config/AnrXappConfiguration.java +++ b/webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/config/AnrXappConfiguration.java @@ -21,6 +21,7 @@ package org.oransc.ric.portal.dashboard.config; import java.lang.invoke.MethodHandles; +import org.oransc.ric.anrxapp.client.api.GnodebsApi; import org.oransc.ric.anrxapp.client.api.HealthApi; import org.oransc.ric.anrxapp.client.api.NcrtApi; import org.oransc.ric.anrxapp.client.invoker.ApiClient; @@ -64,6 +65,11 @@ public class AnrXappConfiguration { return new HealthApi(apiClient()); } + @Bean + public GnodebsApi anrGnodebsApi() { + return new GnodebsApi(apiClient()); + } + @Bean public NcrtApi anrNcrtApi() { return new NcrtApi(apiClient()); diff --git a/webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/controller/AnrXappController.java b/webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/controller/AnrXappController.java index ea52a3a5..b3cdcbbf 100644 --- a/webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/controller/AnrXappController.java +++ b/webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/controller/AnrXappController.java @@ -136,7 +136,7 @@ public class AnrXappController { @ApiOperation(value = "Delete neighbor cell relation based on Serving Cell NRCGI and Neighbor Cell NRPCI") @RequestMapping(value = "/ncrt/" + PP_SERVING + "/{" + PP_SERVING + "}/" + PP_NEIGHBOR + "/{" + PP_NEIGHBOR - + "}", method = RequestMethod.PUT) + + "}", method = RequestMethod.DELETE) public void deleteNcrt(@PathVariable(PP_SERVING) String servingCellNrcgi, // @PathVariable(PP_NEIGHBOR) String neighborCellNrpci, // HttpServletResponse response) {