Skip to content

Commit

Permalink
runtimeinfo: Support YAML components for msgflo
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnor committed Sep 21, 2016
1 parent d3baeec commit 864ff1a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions elements/noflo-new-component.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ <h1>Create new component</h1>
<option value="c++">C++</option>
<option value="supercollider">SuperCollider</option>
<option value="python">Python</option>
<option value="yaml">YAML</option>
</select>
</label>
<div class="toolbar">
Expand Down
10 changes: 10 additions & 0 deletions runtimeinfo/msgflo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,13 @@ componenttemplates:
};
module.exports = RepeatParticipant;
yaml: |
# Declare MsgFlo participant on behalf of code which does not send discovery message by itself
component: DoorLock
label: Open the door
icon: lightbulb-o
inports:
open:
queue: /bitraf/door/#ROLE/open
type: object
outports: {}

0 comments on commit 864ff1a

Please sign in to comment.