From c8ba8f21b68b64b4068f188614dd7c891edf035f Mon Sep 17 00:00:00 2001 From: Rajamohan Raj Date: Fri, 3 Apr 2020 07:43:11 +0000 Subject: Test cases for resolving the helm templates Added test cases for overriding values and resolving the helm charts. Also addressed the merge conflicts and review comments Issue-ID: MULTICLOUD-1041 Signed-off-by: Rajamohan Raj Change-Id: I511e8e2e71c60e878df434370fc053f09cda1f66 --- src/orchestrator/api/instantiation_handler.go | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/orchestrator/api') diff --git a/src/orchestrator/api/instantiation_handler.go b/src/orchestrator/api/instantiation_handler.go index d9da2183..c95785f2 100644 --- a/src/orchestrator/api/instantiation_handler.go +++ b/src/orchestrator/api/instantiation_handler.go @@ -29,23 +29,6 @@ type instantiationHandler struct { client moduleLib.InstantiationManager } -// func (h instantiationHandler) approveInstantiationHandler(w http.ResponseWriter, r *http.Request) { - -// vars := mux.Vars(r) -// p := vars["project-name"] -// ca := vars["composite-app-name"] -// v := vars["composite-app-version"] -// di := vars["deployment-intent-group-name"] - -// instantiateErr := h.client.ApproveInstantiation(p, ca, v, di) -// if instantiateErr != nil { -// http.Error(w, instantiateErr.Error(), http.StatusInternalServerError) -// return -// } - -// w.WriteHeader(http.StatusCreated) -// } - func (h instantiationHandler) instantiateHandler(w http.ResponseWriter, r *http.Request) { vars := mux.Vars(r) -- cgit 1.2.3-korg