Created
February 23, 2016 01:15
-
-
Save razueroh/4a1c979dcc6c4716ac32 to your computer and use it in GitHub Desktop.
NoFlo HTTP GET client demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"properties": { | |
"name": "HTTP GET Client Demo", | |
"id": "HTTPGETClientDemo", | |
"environment": { | |
"type": "noflo-nodejs" | |
} | |
}, | |
"inports": {}, | |
"outports": {}, | |
"groups": [], | |
"processes": { | |
"SendRequest": { | |
"component": "http/SendRequest", | |
"metadata": { | |
"label": "SendRequest", | |
"x": 360, | |
"y": 216, | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"ReceiveResponse": { | |
"component": "http/ReceiveResponse", | |
"metadata": { | |
"label": "ReceiveResponse", | |
"x": 504, | |
"y": 216, | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"core/Repeat_2iq0o": { | |
"component": "core/Repeat", | |
"metadata": { | |
"label": "core/Repeat", | |
"x": 216, | |
"y": 216, | |
"width": 72, | |
"height": 72 | |
} | |
}, | |
"core/Output_av11k": { | |
"component": "core/Output", | |
"metadata": { | |
"label": "core/Output", | |
"x": 648, | |
"y": 216, | |
"width": 72, | |
"height": 72 | |
} | |
} | |
}, | |
"connections": [ | |
{ | |
"src": { | |
"process": "core/Repeat_2iq0o", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "SendRequest", | |
"port": "url" | |
}, | |
"metadata": { | |
"route": 4 | |
} | |
}, | |
{ | |
"src": { | |
"process": "core/Repeat_2iq0o", | |
"port": "out" | |
}, | |
"tgt": { | |
"process": "SendRequest", | |
"port": "start" | |
}, | |
"metadata": { | |
"route": 3 | |
} | |
}, | |
{ | |
"src": { | |
"process": "SendRequest", | |
"port": "request" | |
}, | |
"tgt": { | |
"process": "ReceiveResponse", | |
"port": "request" | |
}, | |
"metadata": { | |
"route": 4 | |
} | |
}, | |
{ | |
"src": { | |
"process": "ReceiveResponse", | |
"port": "message" | |
}, | |
"tgt": { | |
"process": "core/Output_av11k", | |
"port": "in" | |
}, | |
"metadata": { | |
"route": 7 | |
} | |
}, | |
{ | |
"data": "https://httpbin.org/get", | |
"tgt": { | |
"process": "core/Repeat_2iq0o", | |
"port": "in" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment