X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-backend%2Fsrc%2Fmain%2Fjava%2Forg%2Foransc%2Fric%2Fportal%2Fdashboard%2Fcontroller%2FE2ManagerController.java;h=17e68fdc7b818c3037fc5fc6a16ab7e166939e08;hb=a16f2d04fa1af4fe1ea993133a1d106e7fa1da3d;hp=15379be2bb7fd267b5bc90e04d92413f7e2c7d6f;hpb=b244a344777f416ad9b5ff09d1a8ad5f5517f2bf;p=portal%2Fric-dashboard.git diff --git a/webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/controller/E2ManagerController.java b/webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/controller/E2ManagerController.java index 15379be2..17e68fdc 100644 --- a/webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/controller/E2ManagerController.java +++ b/webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/controller/E2ManagerController.java @@ -2,7 +2,7 @@ * ========================LICENSE_START================================= * O-RAN-SC * %% - * Copyright (C) 2019 AT&T Intellectual Property and Nokia + * Copyright (C) 2019 AT&T Intellectual Property * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,7 +74,7 @@ public class E2ManagerController { public static final String HEALTH_METHOD = "health"; public static final String VERSION_METHOD = DashboardConstants.VERSION_METHOD; // Keep these consistent with the E2M implementation - /*package*/ static final String NODEB_PREFIX = "/nodeb"; + /* package */ static final String NODEB_PREFIX = "/nodeb"; public static final String RAN_METHOD = NODEB_PREFIX + "/ran"; public static final String NODEB_SHUTDOWN_METHOD = NODEB_PREFIX + "/shutdown"; public static final String NODEB_LIST_METHOD = NODEB_PREFIX + "/ids"; @@ -120,6 +120,7 @@ public class E2ManagerController { public List getRanDetails() { logger.debug("getRanDetails"); List nodebIdList = e2NodebApi.getNodebIdList(); + logger.debug("getRanDetails: nodebIdList {}", nodebIdList); List details = new ArrayList<>(); for (NodebIdentity nbid : nodebIdList) { GetNodebResponse nbResp = null; @@ -180,7 +181,7 @@ public class E2ManagerController { } @ApiOperation(value = "Abort any other ongoing procedures over X2 between the RIC and the RAN.") - @PutMapping(NODEB_PREFIX + "/{" + PP_RANNAME + "}"+ RESET_METHOD) + @PutMapping(NODEB_PREFIX + "/{" + PP_RANNAME + "}" + RESET_METHOD) @Secured({ DashboardConstants.ROLE_ADMIN }) public void reset(@PathVariable(PP_RANNAME) String ranName, @RequestBody ResetRequest resetRequest, HttpServletResponse response) {