In a previous post, I looked at the mechanics of how to create an Alexa skill to tell me which colour bin I needed to put out next. I’ll now look at how I chose to implement it in OpenWhisk, using Swift.
In the previous blog post, we explained how to write Serverless Swift functions using OpenWhisk actions.
Swift sources files are compiled by the platform before processing requests.
Swift is one of the fastest growing programming languages with developers.
The OpenWhisk serverless platform allows developers to run functions coded in different languages in the “cloud” without deploying or managing servers. The platform today offers first class support for Node.js, Python, Swift and Java.
Sometimes it is helpful to develop and test an action locally before deploying to the cloud. In this article, I’ll describe how to test an Apache OpenWhisk action locally using Docker and a helper Python script. This is an advanced feature. For a more friendly…