in src/main/java/com/google/cloud/dfmetrics/commands/TemplateLauncherCommand.java [76:88]
public void initialize() {
try {
TemplateLauncherConfig templateLauncherConfig = loadConfig(commandargs.configFile);
ConfigValidator.validateTemplateLauncherConfig(templateLauncherConfig);
LOG.info("Creating Job Config from supplied config file:{}", commandargs.configFile);
this.jobConfig = createJobConfig(templateLauncherConfig);
LOG.info("Creating pipeline client");
templateClient = TemplateClient.create(jobConfig.templateType(), this.dataflowClient);
templateConfig = templateClient.buildTemplateConfig(jobConfig);
} catch (IOException | IllegalAccessException e) {
throw new RuntimeException(e);
}
}