.add(new ServerMainModule(new SqlParserOptions()));
if (discoveryUri != null) {
checkNotNull(environment, "environment required when discoveryUri is present");
serverProperties.put("discovery.uri", discoveryUri.toString());
modules.add(new DiscoveryModule());
}
else {
modules.add(new TestingDiscoveryModule());
}