A toolkit for integrating OpenWhisk actions in IBM Streams flow.
The OpenWhisk Action operator uses streamsx.inet HTTPPost Operator to call OpenWhisk API to invoke actions.
To create OpenWhisk actions in Bluemix use: https://console.bluemix.net/openwhisk
-
Integrating strings manipulation action StringToCaps.js in Streams flow demonstrating sync and async OpenWhisk action invocations.
-
Push Notification, use the following instructions to create push notification action: https://console.bluemix.net/docs/openwhisk/openwhisk_pushnotifications.html#openwhisk_catalog_pushnotifications
wsk package bind /whisk.system/pushnotifications myPush1 -p appId <APP_ID> -p appSecret <APP_SECRET>
-
Clone the repository.
-
Use Streams Studio - Import as existing project.
-
Select com.ibm.streamsx.OpenWhisk to import.
-
Choose an example, create a Build Config and add the mandatory ow-auth-key submission time value for the service, for example:
Authorization: Basic ABCDE...