This demo shows how to use OpenWhisk to process stock data
- Shows how to create a trigger
stockTrigger
- Shows how to create an action
processStocks
- Shows how to create a rule between the trigger
stockTrigger
and the actionprocessStocks
- Access to a running OpenWhisk instance
- The OpenWhisk CLI configured with correct
apihost
,namespace
, andauth
Usage: ./wskproject.sh [--install, --test, --update, --reinstall, --uninstall]
Run wsk activation poll
in one terminal then run ./wskproject.sh --test
in another terminal window.
- Read wskproject.sh to learn how to use the wsk cli, and use curl to access the OpenWhisk API
- Modify processStocks.js action to adjust and play :-). Remember to run
./wskproject.sh --update
to push your code to OpenWhisk