OpenWhisk Configuration
The openwhisk plugin invokes Apache OpenWhisk actions with Basic authentication and propagates action status, headers, and response bodies. Configuration covers plugin parameters.
Parameters
See plugin common configurations for configuration options available to all plugins.
api_host
HTTP or HTTPS origin of the OpenWhisk API.
service_token
OpenWhisk authorization key in
UUID:secretform. The plugin sends it through HTTP Basic authentication. API7 Gateway encrypts the value with AES at rest. APISIX encrypts it before etcd storage whenapisix.data_encryption.enable_encrypt_fieldsis enabled.namespace
valid value:
no more than 256 characters and matching the released OpenWhisk name patternNamespace containing the action.
package
valid value:
no more than 256 characters and matching the released OpenWhisk name patternPackage containing the action. Omit for an unpackaged action.
action
valid value:
no more than 256 characters and matching the released OpenWhisk name patternAction to invoke.
result
If true, request the action result. If false, return the complete activation record. Invocations are always blocking.
max_req_body_size
valid value:
greater than or equal to 1Maximum request body size in bytes. A larger body is rejected with
413 Payload Too Large. Introduced in API7 Enterprise 3.9.17 and 3.10.4, and in APISIX 3.18.0.timeout
valid value:
between 1 and 60000 inclusiveOpenWhisk action and gateway HTTP request timeout in milliseconds.
ssl_verify
If true, verify the OpenWhisk API TLS certificate.
keepalive
If true, keep connections to OpenWhisk alive for reuse.
keepalive_timeout
valid value:
greater than or equal to 1000Time in milliseconds that an idle keepalive connection remains open.
keepalive_pool
valid value:
greater than or equal to 1Maximum number of connections in the keepalive pool.