Commit 5ffae6ae by Dan Markwat

Removed bootstrapping of the broken bridges; this will be revisited

later
parent 83e593ad
......@@ -47,18 +47,19 @@ import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonPrimitive;
@Path("bridge/hive")
//@Path("bridge/hive")
@Singleton
public class HiveLineageResource {
private final HiveLineageBridge bridge;
private final HiveLineageBridge bridge = null;
/*
//@Inject
public HiveLineageResource(HiveLineageBridge bridge) {
this.bridge = bridge;
}
@Inject
//@Inject
public HiveLineageResource(Map<Class<? extends IBridge>, IBridge> bridges) {
this.bridge = (HiveLineageBridge) bridges.get(HiveLineageBridge.class);
}
......@@ -102,4 +103,5 @@ public class HiveLineageResource {
return jo;
}
}
*/
}
......@@ -78,6 +78,9 @@ public class GuiceServletConfig extends GuiceServletContextListener {
LOG.info(String.format("Loaded Service: %s", graphService.getClass().getName()));
LOG.info("Services bootstrapped successfully");
/*
* Turned off for now - will be revisited later
*
LOG.info("Bootstrapping types into Type System");
BridgeTypeBootstrapper bootstrapper = injector.getInstance(BridgeTypeBootstrapper.class);
......@@ -88,6 +91,7 @@ public class GuiceServletConfig extends GuiceServletContextListener {
}
LOG.info("Types bootstrapped successfully");
*/
return injector;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment