Code Review
/
ric-plt
/
ricdms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Implement get the charts by name
[ric-plt/ricdms.git]
/
pkg
/
restful
/
restful.go
diff --git
a/pkg/restful/restful.go
b/pkg/restful/restful.go
index
e01d2fc
..
ca45417
100644
(file)
--- a/
pkg/restful/restful.go
+++ b/
pkg/restful/restful.go
@@
-81,6
+81,12
@@
func (r *Restful) setupHandler() {
return resp
})
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
}
r.api = api
}