Skip to content

Commit

Permalink
Fix #1470: use a YAML example in OLM
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaferraro committed May 27, 2020
1 parent 1913086 commit e2b1d2e
Showing 1 changed file with 17 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,24 @@ metadata:
"name": "example"
},
"spec": {
"sources": [
"flows": [
{
"content": "from('timer:groovy?period=1000')\n .setBody().simple('Hello world from Camel K!')\n .to('log:info?showAll=false')",
"name": "example.groovy"
"from": {
"uri": "timer:yaml",
"parameters": {
"period": "1000"
},
"steps": [
{
"set-body": {
"constant": "Hello from Camel K"
}
},
{
"to": "log:info"
}
]
}
}
]
}
Expand Down

0 comments on commit e2b1d2e

Please sign in to comment.