EntityStore: Remove http access (can use apiserver now) (#77602)

This commit is contained in:
Ryan McKinley
2023-11-03 08:14:51 -07:00
committed by GitHub
parent dd654fdc87
commit 35c1ee9686
4 changed files with 1 additions and 368 deletions

View File

@ -282,11 +282,6 @@ func (hs *HTTPServer) registerRoutes() {
apiRoute.Group("/storage", hs.StorageService.RegisterHTTPRoutes)
}
// Allow HTTP access to the entity storage feature (dev only for now)
if hs.Features.IsEnabled(featuremgmt.FlagEntityStore) {
apiRoute.Group("/entity", hs.httpEntityStore.RegisterHTTPRoutes)
}
if hs.Features.IsEnabled(featuremgmt.FlagPanelTitleSearch) {
apiRoute.Group("/search-v2", hs.SearchV2HTTPService.RegisterHTTPRoutes)
}