.add(new TestingHttpServerModule())
.add(new JsonModule())
.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");