X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=pkg%2Frestful%2Frestful.go;h=e01d2fc4e77046d555bcdecd81ae2496f5da0774;hb=refs%2Fchanges%2F30%2F9230%2F1;hp=acfd65afce18952b3115dbfaff5cce30dfca346d;hpb=6e8d970e6ec582bd4473c3fbb6772906658608ca;p=ric-plt%2Fricdms.git diff --git a/pkg/restful/restful.go b/pkg/restful/restful.go index acfd65a..e01d2fc 100644 --- a/pkg/restful/restful.go +++ b/pkg/restful/restful.go @@ -75,6 +75,12 @@ func (r *Restful) setupHandler() { return resp }) + api.ChartsDownloadHelmChartHandler = charts.DownloadHelmChartHandlerFunc(func(param charts.DownloadHelmChartParams) middleware.Responder { + ricdms.Logger.Debug("==> Download helm chart") + resp := r.rh.DownloadChart(param.XAppName, param.Version) + return resp + }) + r.api = api }