@Test public void verifyUnusedKeysInGroupingTask() { Config config = loadYamlResource("/io/digdag/core/workflow/unused_keys_in_group.dig"); exception.expect(ConfigException.class); compiler.compile("unused_keys_in_group", config); }
public Workflow compile(String name, Config config) { return Workflow.builder() .name(name) .meta(config.getNestedOrGetEmpty("meta")) .tasks(compileTasks("", "+" + name, config)) .build(); }
WorkflowCompiler { public Workflow compile(String name, Config config) { return Workflow.builder() .name(name) .meta(config.getNestedOrGetEmpty("meta")) .tasks(compileTasks("", "+" + name, config)) .build(); } }
WorkflowCompiler { public Workflow compile(String name, Config config) { return Workflow.builder() .name(name) .meta(config.getNestedOrGetEmpty("meta")) .tasks(compileTasks("", "+" + name, config)) .build(); } WorkflowCompiler(); }
WorkflowCompiler { public Workflow compile(String name, Config config) { return Workflow.builder() .name(name) .meta(config.getNestedOrGetEmpty("meta")) .tasks(compileTasks("", "+" + name, config)) .build(); } WorkflowCompiler(); Workflow compile(String name, Config config); WorkflowTaskList compileTasks(String parentFullName, String name, Config config); }
WorkflowCompiler { public Workflow compile(String name, Config config) { return Workflow.builder() .name(name) .meta(config.getNestedOrGetEmpty("meta")) .tasks(compileTasks("", "+" + name, config)) .build(); } WorkflowCompiler(); Workflow compile(String name, Config config); WorkflowTaskList compileTasks(String parentFullName, String name, Config config);  }