VT2017 Serverless Architectures Demo
Prerequis
- Un compte IBM Bluemix avec IBM Function activé : https://console.bluemix.net/openwhisk
- La CLI IBM OpenWhisk : https://console.bluemix.net/openwhisk/learn/cli
Demo
Hello.js:
1function main(params) {
2 return {payload: 'Hello ' + params.name};
3}
Then in your terminal:
bx wsk action create hello hello.js --web true
bx wsk api create /hello GET hello