X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=E2Manager%2Fhttpserver%2Fhttp_server.go;h=1109f6ecdb6270fbf6bd60b80f95fd2f00ff6517;hb=refs%2Fchanges%2F97%2F5097%2F1;hp=d1a210c12fcf3a96c21e93440198b0917c631831;hpb=fe8d481d7f3e8d4b889ee3dcd995984eeb64cc6e;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/httpserver/http_server.go b/E2Manager/httpserver/http_server.go index d1a210c..1109f6e 100644 --- a/E2Manager/httpserver/http_server.go +++ b/E2Manager/httpserver/http_server.go @@ -1,6 +1,7 @@ // // Copyright 2019 AT&T Intellectual Property // Copyright 2019 Nokia +// Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -46,6 +47,7 @@ func initializeRoutes(router *mux.Router, rootController controllers.IRootContro rr := r.PathPrefix("/nodeb").Subrouter() rr.HandleFunc("/states", nodebController.GetNodebIdList).Methods(http.MethodGet) + rr.HandleFunc("/states/{ranName}", nodebController.GetNodebId).Methods(http.MethodGet) rr.HandleFunc("/{ranName}", nodebController.GetNodeb).Methods(http.MethodGet) rr.HandleFunc("/enb", nodebController.AddEnb).Methods(http.MethodPost) rr.HandleFunc("/enb/{ranName}", nodebController.DeleteEnb).Methods(http.MethodDelete)