A polyglot workflow engine
- Can use external packages as nodes.
- It can be used as a Java lib.
- Nodes can be represented as DAG.
- JDK: 11
- Create a JSON file with the following content
{
"nodes": [
{
"id": "1",
"action": {
"name": "random-number"
}
},
{
"id": "2",
"action": {
"name": "print",
"arguments": {
"message": {
"type": "NODE_RESULT",
"value": "1:result"
}
}
},
"dependencies": [
"1"
]
}
]
}
- Run
./gradlew :magicpen-workflow-cli:run --args workflow.json