Commit da75ae5b authored by hengwen's avatar hengwen
Browse files

Use zookeeper registry

parent 2c03c166
......@@ -37,7 +37,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