Added the missing file to expose the REST implementation for
xApp uninstall.
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
Change-Id: I8a1ddad9a55b46ed4fbc4cf17e99d24c3e3490f0
return resp
})
+ api.DeployDeleteDeployHandler = deploy.DeleteDeployHandlerFunc(func(param deploy.DeleteDeployParams) middleware.Responder {
+ ricdms.Logger.Debug("==> undeploy xApp")
+ resp := r.rh.UninstallChart(*param.Body.XAppname, *param.Body.Version, param.Body.Namespace)
+ return resp
+ })
api.ApplicationZipProducer = runtime.ProducerFunc(func(w io.Writer, data interface{}) error {
if zp, ok := data.(io.ReadCloser); ok {
defer zp.Close()