Commit 7f35e469 authored by hengwen's avatar hengwen

Use zookeeper registry

parent f1899c5c
......@@ -40,7 +40,7 @@ public class SimulationView {
@PostMapping("/{id}/start")
public String startSimulation(@PathVariable("id") int simulationID) {
ServiceRegistry registry = RegistryFactory.getDefaultRegistry();
ServiceRegistry registry = RegistryFactory.getZookeeperRegistry();
try {
Thread thread = new Thread(
new SimulationService(simulationID, registry)
......
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