public static void deploymentInfo(boolean bindAddress,
boolean httpTracer,
int port,
boolean httpMetrics,
List<ExecutorConfig> executorConfig,
List<SchedulerConfig> schedulerConfig,
OptionMap.Builder options,
List<MappedEndpoint> endpoints, String basePath) {
System.err.println("---------------- HTTP CONFIG ----------------");
System.err.println(String.format("Bind address: %s", bindAddress));
System.err.println(String.format("Port: %d", port));
System.err.println(String.format("Http tracer : %b", httpTracer));
System.err.println(String.format("Http metrics: %b", httpMetrics));
System.err.println();
System.err.println("--------------- SERVER CONFIG ---------------");
options.getMap().forEach(option -> {
System.err.println(String.format("%s: %s", option.getName().replaceAll("_", " ").toLowerCase(), options.getMap().get(option)));
});
System.err.println();
System.err.println("------------- APP THREAD CONFIG -------------");
if (executorConfig.isEmpty() && schedulerConfig.isEmpty()) {
System.err.println("No executors configured (default will be used)");
}
executorConfig.forEach(exec -> logExecutors(exec.getName(), exec.getExecutor()));
schedulerConfig.forEach(entry -> logExecutors(entry.getName(), entry.getScheduler()));
System.err.println();
System.err.println("----------------- ENDPOINTS -----------------");
logEndpoints(endpoints, basePath);
System.err.println();
}