This plugin invokes OpenWhisk Actions. The Apache OpenWhisk plugin can be used in combination with other request plugins to secure, manage, or extend the function.

Apache OpenWhisk
Install the OpenWhisk plugin
This plugin is not bundled with Kong Gateway.
-
Install the OpenWhisk plugin using the LuaRocks package manager:
luarocks install kong-plugin-openwhisk
-
Update your loaded plugins list in Kong Gateway.
In your
kong.conf
, appendopenwhisk
to theplugins
field. Make sure the field isn’t commented out.plugins = bundled,openwhisk
-
Restart Kong Gateway:
kong restart
You can also install the OpenWhisk plugin from source.
Using the OpenWhisk plugin
To learn how to use this plugin with OpenWhisk, see the Kong OpenWhisk plugin README.
Limitations of the OpenWhisk plugin
Using a fake upstream service
When using the OpenWhisk plugin, the response is returned by the plugin itself without proxying the request to any upstream service. This means that a Gateway Service’s host
, port
, path
properties are ignored, but must still be specified for the entity to be validated by Kong Gateway.
The host
property in particular must either be an IP address, or a hostname that gets resolved by your nameserver.
Response plugins
There is a known limitation in the system that prevents some response plugins from being executed.