From 2e8979d23df33ccb20700135bb9414d05c7ff79a Mon Sep 17 00:00:00 2001 From: Kyle Krull Date: Wed, 25 Apr 2018 16:32:46 -0500 Subject: [PATCH] Toggled off the parameter route for now --- main/cmd/factory.go | 2 +- main/cmd/factory_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main/cmd/factory.go b/main/cmd/factory.go index e9cbd2d..b192bfb 100644 --- a/main/cmd/factory.go +++ b/main/cmd/factory.go @@ -47,7 +47,7 @@ func (factory *InterruptFactory) TCPServer(contentRootPath string, host string, func (factory *InterruptFactory) routerWithAllRoutes(contentRootPath string) http.Router { router := http.NewRouter() router.AddRoute(capability.NewRoute()) - router.AddRoute(playground.NewParameterRoute()) + //router.AddRoute(playground.NewParameterRoute()) router.AddRoute(playground.NewReadOnlyRoute()) router.AddRoute(playground.NewReadWriteRoute()) router.AddRoute(teapot.NewRoute()) diff --git a/main/cmd/factory_test.go b/main/cmd/factory_test.go index 2561d66..11b1d6c 100644 --- a/main/cmd/factory_test.go +++ b/main/cmd/factory_test.go @@ -91,7 +91,7 @@ var _ = Describe("InterruptFactory", func() { Expect(typedServer.Routes()).To(ContainElement(BeAssignableToTypeOf(capability.NewRoute()))) }) - It("has a playground route for parameter decoding", func() { + XIt("has a playground route for parameter decoding", func() { Expect(typedServer.Routes()).To(ContainElement(BeAssignableToTypeOf(playground.NewParameterRoute()))) })