Permalink
Browse files

q le Please enter the commit message for your changes. Lines starting

  • Loading branch information...
schorsch committed Jun 29, 2010
1 parent 8c9f1b5 commit acfccf15226864d7162da116c645a513fe5e93d8
Showing with 9 additions and 9 deletions.
  1. +4 −0 maestro/client.rb
  2. +4 −0 maestro/server.rb
  3. +1 −9 spec/king_soa/rack/middleware_spec.rb
View
@@ -0,0 +1,4 @@
+# Service discovery client
+# - connects to server to get services descriptions
+# - saves it to a local space
+# - uses local def if server is not reachable
View
@@ -0,0 +1,4 @@
+# This is the service discovery server:
+# - knows all services
+# - knows which services are connected
+# -
@@ -25,12 +25,4 @@
env = {"PATH_INFO" => "/soa"}
# KingSoa.should_receive(:find).and_return(@service)
end
-end
-
-#
-# von bumi
-#referer = "http://google.com"
-# env = Rack::MockRequest.env_for "http://payango.com", :method => "GET", "HTTP_REFERER" => referer
-# app = mock('app')
-# app.expects(:call).with(has_entry("X_EXTERNAL_REFERER", referer))
-# response = Middleware::Referer.new(app).call(env)
+end

0 comments on commit acfccf1

Please sign in to comment.