this.plugins = ImmutableList.of();
}
else {
this.plugins = ImmutableList.copyOf(config.getPlugins());
}
this.resolver = new ArtifactResolver(config.getMavenLocalRepository(), config.getMavenRemoteRepository());
Map<String, String> optionalConfig = new TreeMap<>(configurationFactory.getProperties());
optionalConfig.put("node.id", nodeInfo.getNodeId());
// TODO: make this work with and without HTTP and HTTPS
optionalConfig.put("http-server.http.port", Integer.toString(httpServerInfo.getHttpUri().getPort()));