storm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ptgo...@apache.org
Subject [06/24] git commit: Replace wrapper helper around core UI app
Date Tue, 19 Nov 2013 15:26:43 GMT
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 <derekd@yahoo-inc.com>
Authored: Wed Oct 16 13:54:35 2013 -0500
Committer: Derek Dagit <derekd@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}))


Mime
View raw message