Skip to content

Commit

Permalink
Added Jackie Chan configs for the blog post.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewserff committed May 20, 2015
1 parent f5f6dce commit ce942a0
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/dist/conf/jackieChanSimConfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"workflows": [{
"workflowName": "jackieChan",
"workflowFilename": "jackieChanWorkflow.json"
}],
"producers": [{
"type": "kafka",
"broker.server": "192.168.59.103",
"broker.port": 9092,
"topic": "jackieChanCommand",
"flatten": false,
"sync": false

}]
}
20 changes: 20 additions & 0 deletions src/dist/conf/jackieChanWorkflow.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"eventFrequency": 400,
"varyEventFrequency": true,
"repeatWorkflow": true,
"timeBetweenRepeat": 1500,
"varyRepeatFrequency": true,
"steps": [{
"config": [{
"timestamp": "now()",
"style": "random('KUNG_FU','WUSHU','DRUNKEN_BOXING')",
"action": "random('KICK','PUNCH','BLOCK','JUMP')",
"weapon": "random('BROAD_SWORD','STAFF','CHAIR','ROPE')",
"target": "random('HEAD','BODY','LEGS','ARMS')",
"strength": "double(1.0,10.0)"
}
],
"duration": 0
}]
}

0 comments on commit ce942a0

Please sign in to comment.