X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Frestful%2Frestful.go;h=ca454178e73c237755d986829d2af9417386681d;hb=refs%2Fchanges%2F45%2F9245%2F1;hp=e01d2fc4e77046d555bcdecd81ae2496f5da0774;hpb=f8dc81bc7dd198da9fcb17bef2e164dc71c39e49;p=ric-plt%2Fricdms.git diff --git a/pkg/restful/restful.go b/pkg/restful/restful.go index e01d2fc..ca45417 100644 --- a/pkg/restful/restful.go +++ b/pkg/restful/restful.go @@ -81,6 +81,12 @@ func (r *Restful) setupHandler() { return resp }) + api.ChartsGetChartHandler = charts.GetChartHandlerFunc(func(param charts.GetChartParams) middleware.Responder { + ricdms.Logger.Debug("==> Get Charts by name is invoked") + resp := r.rh.GetChartsByName(param.XAppName) + return resp + }) + r.api = api }