heidloff.net - Building is my Passion
Post
Cancel

Developing OpenWhisk Actions via the new Web Editor

In addition to Cloud Foundry, Docker and Virtual Maschines Bluemix provides a fourth compute option OpenWhisk. OpenWhisk is an event-driven compute platform that executes code in response to events or direct invocations without having to maintain servers. The advantage is that you only have to pay for actual usage, not for peaked projections.

As I blogged about earlier you can write OpenWhisk actions in JavaScript and Swift. The actions can be deployed via CLI (command line interface) and now also with the new web editor which makes it easier for developers like me who cannot remember all commands of the various command line tools.

The screenshot shows the same translation action from the previous blog. Logs show up in the console.

image

In order to invoke actions the editor shows the endpoint and curl command.

image

Another nice feature is the list of public actions and triggers that are displayed in the right column. When clicked, the documentation of these packages is displayed and you can use the source code of these packages as samples and starting points for your own actions.

image

Featured Blog Posts
Disclaimer
The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions.
Trending Tags