     [com.sixsq.slipstream.ssclj.resources.common.schema :as c]
     [com.sixsq.slipstream.ssclj.resources.common.crud :as crud]
     [com.sixsq.slipstream.ssclj.resources.common.utils :as u]
-    [com.sixsq.slipstream.auth.acl :as a]
-    [com.sixsq.slipstream.util.response :as sr])
-  (:import (clojure.lang ExceptionInfo))
-  )
+    [com.sixsq.slipstream.auth.acl :as a])
+  (:import (clojure.lang ExceptionInfo)))
 
 (def ^:const resource-tag :connectors)
 

    (catch ExceptionInfo ei
      (ex-data ei))))



(defmulti set-subtype-ops
          (fn [resource _] (:cloudServiceType resource)))

(defmethod set-subtype-ops :default
  [resource request]
  (crud/set-standard-operations resource request)
  )

(defmethod crud/set-operations resource-uri
  [resource request]

(defmethod activate-subtype :default
  [resource _]
  (let [err-msg (str "unknown Connector type: " (:cloudServiceType resource))]
    (throw (ex-info err-msg {:status  400
                             :message err-msg
                             :body    resource}))))

(defmethod crud/do-action [resource-url "activate"]
  [{{uuid :uuid} :params :as request}]
