Last active
August 29, 2015 14:02
-
-
Save davidzchen/c5175c8931033bff99ae to your computer and use it in GitHub Desktop.
Azkaban JProperties-based DSL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
innerJobA.type = javaprocess | |
innerJobA.job.class = azkaban.executor.SleepJavaJob | |
innerJobA.seconds = 1 | |
innerJobA.fail = false | |
innerJobA.property.with.variable = Name of class: ${job.class} | |
innerJobA.arithmetic = $($(1 + 3) - 2) | |
innerJobB.type = javaprocess | |
innerJobB.job.class = azkaban.executor.SleepJavaJob | |
innerJobB.deps = innerJobA | |
innerJobB.seconds = 1 | |
innerJobB.fail = false | |
innerJobC.type = javaprocess | |
innerJobC.job.class = azkaban.executor.SleepJavaJob | |
innerJobC.deps = innerJobA | |
innerJobC.seconds = 1 | |
innerJobC.fail = false | |
jobA.type = javaprocess | |
jobA.job.class = azkaban.executor.SleepJavaJob | |
jobA.seconds = 1 | |
jobA.fail = false | |
innerFlow.type = workflow | |
innerFlow.deps = jobA | |
innerFlow.runs = innerJobB, innerJobC | |
flowB.type = workflow | |
flowB.embeds = innerFlow | |
flowB.deps = jobA | |
flowC.type = workflow | |
flowC.embeds = innerFlow | |
flowC.deps = jobA | |
flowD.type = workflow | |
flowD.embeds = innerFlow | |
flowD.deps = jobA | |
embedded.type = workflow | |
embedded.runs = jobB, jobC, jobD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment