Skip to content

Instantly share code, notes, and snippets.

@davidzchen
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidzchen/c5175c8931033bff99ae to your computer and use it in GitHub Desktop.
Save davidzchen/c5175c8931033bff99ae to your computer and use it in GitHub Desktop.
Azkaban JProperties-based DSL
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