You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by pt...@apache.org on 2013/11/19 16:26:43 UTC

[06/24] git commit: Replace wrapper helper around core UI app

Replace wrapper helper around core UI app

This will once again wrap cookies, sessions, etc., in a proper way.  See
compojure.handler/site.


Project: http://git-wip-us.apache.org/repos/asf/incubator-storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-storm/commit/cab62135
Tree: http://git-wip-us.apache.org/repos/asf/incubator-storm/tree/cab62135
Diff: http://git-wip-us.apache.org/repos/asf/incubator-storm/diff/cab62135

Branch: refs/heads/master
Commit: cab621358bbdc7fe5725ef99767a9a75bb897450
Parents: 66a2939
Author: Derek Dagit <de...@yahoo-inc.com>
Authored: Wed Oct 16 13:54:35 2013 -0500
Committer: Derek Dagit <de...@yahoo-inc.com>
Committed: Wed Oct 16 13:54:35 2013 -0500

----------------------------------------------------------------------
 storm-core/src/clj/backtype/storm/ui/core.clj | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-storm/blob/cab62135/storm-core/src/clj/backtype/storm/ui/core.clj
----------------------------------------------------------------------
diff --git a/storm-core/src/clj/backtype/storm/ui/core.clj b/storm-core/src/clj/backtype/storm/ui/core.clj
index 7b8b323..15d3739 100644
--- a/storm-core/src/clj/backtype/storm/ui/core.clj
+++ b/storm-core/src/clj/backtype/storm/ui/core.clj
@@ -803,9 +803,9 @@
         ))))
 
 (def app
-  (-> main-routes
-      (wrap-reload '[backtype.storm.ui.core])
-      catch-errors))
+  (handler/site (-> main-routes
+                    (wrap-reload '[backtype.storm.ui.core])
+                    catch-errors)))
 
 (defn start-server! [] (run-jetty app {:port (Integer. (*STORM-CONF* UI-PORT))
                                        :join? false}))