Skip to content

Running on Amazon SimpleWorkflow SWF

neyric edited this page Oct 30, 2012 · 1 revision

WARNING: EXPERIMENTAL !!

Transform Yahoo! pipes into Amazon Simple Workflows (SWF)

Usage

First we need to register a domain :

$ swf-register -k domain aws-swf-pipes-import

Finally, we will register all activity types for pipes :

$ cd modules
$ swf-register

Step1: register all components

Import the pipe into a workflow :

$ node import.js 59738c010bb144a36d54a1697aab7d0d

Then, register the workflow :

$ swf-register -k workflow 59738c010bb144a36d54a1697aab7d0d

Step2: run the decider, and the activity poller

Launch a decider Poller:

$ cd pipes/
$ swf-decider

Launch an Activity Poller:

$ cd modules/
$ swf-activity

Step3: Start the workflow !

$ swf-start 59738c010bb144a36d54a1697aab7d0d