         (log/info "before"     before)
         (log/info "after"      after)
         (log/info "operation"  operation)
+        (if (contains? #{:branch-created :branch-deleted :branch-updated} operation)
+            (new-action repository-url))
         ))
-
-        
 
 (defn http-request-handler
     "Handler that is called by Ring for all requests received from user(s)."

(require '[clojure.tools.logging   :as log])

(def verbose true)
(def port 4000)

(defn slurp-
    [filename]

(defn -main
    "Entry point to the branch handler service server."
    [& args]
    (log/info "Started app on port" port)
    (action-consumer)
    (start-server ring-app port))

