From 8d01a46d02041d40f92ed8dcfd25a97bdf44f9c5 Mon Sep 17 00:00:00 2001 From: fjy Date: Fri, 17 Jan 2014 18:01:09 -0800 Subject: [PATCH] actually register resources --- .../src/main/java/io/druid/cli/CliCoordinator.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/services/src/main/java/io/druid/cli/CliCoordinator.java b/services/src/main/java/io/druid/cli/CliCoordinator.java index e4c7742a107..670de931d7d 100644 --- a/services/src/main/java/io/druid/cli/CliCoordinator.java +++ b/services/src/main/java/io/druid/cli/CliCoordinator.java @@ -47,9 +47,14 @@ import io.druid.server.http.BackwardsCompatibleInfoResource; import io.druid.server.http.CoordinatorDynamicConfigsResource; import io.druid.server.http.CoordinatorRedirectInfo; import io.druid.server.http.CoordinatorResource; +import io.druid.server.http.DBResource; +import io.druid.server.http.DatasourcesResource; import io.druid.server.http.InfoResource; import io.druid.server.http.RedirectFilter; import io.druid.server.http.RedirectInfo; +import io.druid.server.http.RulesResource; +import io.druid.server.http.ServersResource; +import io.druid.server.http.TiersResource; import io.druid.server.initialization.JettyServerInitializer; import org.apache.curator.framework.CuratorFramework; import org.eclipse.jetty.server.Server; @@ -107,6 +112,11 @@ public class CliCoordinator extends ServerRunnable Jerseys.addResource(binder, InfoResource.class); Jerseys.addResource(binder, CoordinatorResource.class); Jerseys.addResource(binder, CoordinatorDynamicConfigsResource.class); + Jerseys.addResource(binder, TiersResource.class); + Jerseys.addResource(binder, RulesResource.class); + Jerseys.addResource(binder, ServersResource.class); + Jerseys.addResource(binder, DatasourcesResource.class); + Jerseys.addResource(binder, DBResource.class); LifecycleModule.register(binder, Server.class); }