https://github.com/ibmstreams/streamsx.openwhisk
IBM Streams and OpenWhisk
https://github.com/ibmstreams/streamsx.openwhisk
Last synced: 11 months ago
JSON representation
IBM Streams and OpenWhisk
- Host: GitHub
- URL: https://github.com/ibmstreams/streamsx.openwhisk
- Owner: IBMStreams
- License: apache-2.0
- Created: 2017-08-22T14:04:33.000Z (almost 9 years ago)
- Default Branch: develop
- Last Pushed: 2020-07-10T12:20:27.000Z (almost 6 years ago)
- Last Synced: 2025-01-23T18:50:34.418Z (over 1 year ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 0
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenWhisk Toolkit
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](https://console.bluemix.net/openwhisk)
### Two simple Bluemix usage examples provided:
1. Integrating strings manipulation action [StringToCaps.js](action_examples/StringToCaps.js) in Streams flow demonstrating sync and async OpenWhisk action invocations.
2. Push Notification, use the following instructions to create push notification action:
[https://console.bluemix.net/docs/openwhisk/openwhisk_pushnotifications.html#openwhisk_catalog_pushnotifications](https://console.bluemix.net/docs/openwhisk/openwhisk_pushnotifications.html#openwhisk_catalog_pushnotifications)
###### Binding for the Streams push notification example using wsk CLI:
wsk package bind /whisk.system/pushnotifications myPush1 -p appId -p appSecret
### Developing and running examples:
1. Clone the repository.
2. Use Streams Studio - Import as existing project.
3. Select com.ibm.streamsx.OpenWhisk to import.
4. 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...