.add(new JaxrsModule(true))
.add(new MBeanModule())
.add(new TestingJmxModule())
.add(new InMemoryEventModule())
.add(new TraceTokenModule())
.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());