### Haskell OpenWhisk Services Example Source: https://openwhisk.apache.org/documentation.html/index Demonstrates how to run Haskell-based services on OpenWhisk, showcasing community-contributed runtime support. ```bash wsk action create myHaskellAction --kind haskell action.zip ``` -------------------------------- ### Ruby OpenWhisk Actions Example Source: https://openwhisk.apache.org/documentation.html/index Provides an example of running Ruby Actions on OpenWhisk using Docker, demonstrating support for popular scripting languages. ```bash wsk action create myRubyAction --docker user/ruby-action ``` -------------------------------- ### Clojure OpenWhisk Actions Example Source: https://openwhisk.apache.org/documentation.html/index Illustrates running Clojure Actions on OpenWhisk using Docker, highlighting multi-language support. ```bash wsk action create myClojureAction --docker user/clojure-action ``` -------------------------------- ### Rust OpenWhisk Actions Example Source: https://openwhisk.apache.org/documentation.html/index Demonstrates running Rust Actions on OpenWhisk using Docker, showcasing support for systems programming languages. ```bash wsk action create myRustAction --docker user/rust-action ``` -------------------------------- ### Deploy OpenWhisk Actions with wskdeploy (Go Example) Source: https://openwhisk.apache.org/documentation.html/index This snippet shows the manifest.yaml configuration for deploying a Go action using wskdeploy. It specifies the action name, runtime, and the location of the Go file. ```YAML version: 1.0 packages: hello_package: actions: helloGo: function: actions/hello.go runtime: go:1.18 ``` -------------------------------- ### OpenWhisk Vagrant Setup Source: https://openwhisk.apache.org/documentation.html/index Vagrant configurations for setting up OpenWhisk development environments. This provides a consistent virtualized environment. ```Vagrant openwhisk/vagrant-setup ``` -------------------------------- ### Erlang OpenWhisk Actions Example Source: https://openwhisk.apache.org/documentation.html/index Shows how to execute Erlang Actions on OpenWhisk via Docker, emphasizing the platform's flexibility with different runtimes. ```bash wsk action create myErlangAction --docker user/erlang-action ``` -------------------------------- ### Verify OpenWhisk CLI Installation Source: https://openwhisk.apache.org/documentation.html/index This command verifies the installation of the OpenWhisk CLI by displaying its help information. It's a fundamental step after installing the CLI to ensure it's accessible and functional. ```bash wsk --help ``` -------------------------------- ### Deploy OpenWhisk Actions with wskdeploy (Java Example) Source: https://openwhisk.apache.org/documentation.html/index This snippet shows the manifest.yaml configuration for deploying a Java action using wskdeploy. It specifies the action name, runtime, JAR file, and the main class. ```YAML version: 1.0 packages: hello_package: actions: helloJava: jar: hello.jar main: Hello runtime: java:8 ``` -------------------------------- ### Install Newtonsoft.Json NuGet Package Source: https://openwhisk.apache.org/documentation.html/index Shows how to install the Newtonsoft.Json NuGet package into the .NET Core project using the .NET CLI. This package is often used for JSON serialization/deserialization in OpenWhisk actions. ```bash dotnet add package Newtonsoft.Json ``` -------------------------------- ### IBM Cloud Functions CLI Usage Source: https://openwhisk.apache.org/documentation.html/index Shows an example of using the IBM Cloud Functions CLI, a common way to interact with OpenWhisk on a cloud provider. ```bash bx wsk property set --apihost --auth --namespace ``` -------------------------------- ### Deploy OpenWhisk Actions with wskdeploy (Python Example) Source: https://openwhisk.apache.org/documentation.html/index This snippet shows the manifest.yaml configuration for deploying a Python action using wskdeploy. It specifies the action name, runtime, and the location of the Python file. ```YAML version: 1.0 packages: hello_package: actions: helloPy: function: hello.py runtime: python:3.9 ``` -------------------------------- ### Deploy OpenWhisk Actions with wskdeploy (PHP Example) Source: https://openwhisk.apache.org/documentation.html/index This snippet shows the manifest.yaml configuration for deploying a PHP action using wskdeploy. It specifies the action name, runtime, and the location of the PHP file. ```YAML version: 1.0 packages: hello_package: actions: helloPHP: function: hello.php runtime: php:7.4 ``` -------------------------------- ### Deploy NodeJS Action using wskdeploy Source: https://openwhisk.apache.org/documentation.html/index This snippet demonstrates deploying a NodeJS action using the wskdeploy utility. It requires a manifest.yaml file and the wskdeploy binary to be installed and configured. ```Shell wskdeploy --manifest manifest.yaml ``` -------------------------------- ### OpenWhisk Docker Compose Deployment Source: https://openwhisk.apache.org/documentation.html/index Docker Compose configurations for deploying OpenWhisk in a development or testing environment. This simplifies local setup. ```Docker Compose openwhisk-devtools/docker-compose ``` -------------------------------- ### Create a Simple Hello World Action in OpenWhisk Source: https://openwhisk.apache.org/documentation.html/index This JavaScript code defines a basic 'hello' action for OpenWhisk. It takes a 'name' parameter and returns a greeting. This is a foundational example for creating actions. ```javascript function main(params) { const name = params.name || 'World'; return { msg: `Hello, ${name}!` }; } ``` -------------------------------- ### OpenWhisk Template Package Source: https://openwhisk.apache.org/documentation.html/index A template package for creating new OpenWhisk packages. This serves as a starting point for custom integrations. ```OpenWhisk openwhisk-package-template ``` -------------------------------- ### Deploy OpenWhisk Manifest File using wskdeploy Source: https://openwhisk.apache.org/documentation.html/index This snippet demonstrates how to deploy an OpenWhisk Manifest file using the wskdeploy utility. It requires a manifest.yaml file and the wskdeploy binary to be installed and configured. ```YAML apiVersion: v1 kind: manifest metadata: name: hello-world-app functions: helloJS: lang: javascript exec: code: |- function main(params) { return {payload: 'Hello World!'}; } ``` -------------------------------- ### Create and Invoke NodeJS Action with OpenWhisk CLI Source: https://openwhisk.apache.org/documentation.html/index This snippet shows how to create a 'Hello World' action in NodeJS using the OpenWhisk CLI (wsk) and then invoke it. It requires the wsk CLI to be installed and configured. ```JavaScript function main(params) { return {payload: 'Hello World!'}; } ``` ```Shell wsk action create helloJS hello.js wsk action invoke helloJS ``` -------------------------------- ### Configure wsk CLI for Standalone OpenWhisk Source: https://openwhisk.apache.org/documentation.html/index This snippet shows the typical configuration for the OpenWhisk command-line tool (wsk) when using a Standalone OpenWhisk deployment. It assumes the user has already downloaded and installed the CLI. ```bash wsk property set whisk.endpoint=http://localhost:3233 ``` -------------------------------- ### Get Current OpenWhisk CLI Properties Source: https://openwhisk.apache.org/documentation.html/index This command retrieves and displays the currently configured properties for the OpenWhisk CLI, including the API host and authentication key. It's used to verify that configuration changes have been applied correctly. ```bash wsk property get ``` -------------------------------- ### Create Go Action for OpenWhisk Source: https://openwhisk.apache.org/documentation.html/index This snippet demonstrates how to create a basic 'hello world' Go file for an OpenWhisk action. It requires the wsk CLI for deployment. ```Go package main import ( "fmt" ) func main() { fmt.Println("Hello, World!") } ``` -------------------------------- ### Local OpenWhisk Deployment with Docker Source: https://openwhisk.apache.org/documentation.html/index Provides instructions for setting up a local OpenWhisk instance using Docker, recommended for lightweight development. ```bash docker run -d -p 3280:3280 -p 8080:8080 -p 443:443 openwhisk/controller docker run -d -p 6379:6379 redis docker run -d -p 27017:27017 mongo ``` -------------------------------- ### List OpenWhisk System Packages Source: https://openwhisk.apache.org/documentation.html/index This command lists the packages available under the '/whisk.system' namespace, which includes pre-installed services like alarms, GitHub, and Slack. These packages provide ready-to-use capabilities. ```bash packages /whisk.system/alarms shared /whisk.system/system shared /whisk.system/utils shared /whisk.system/samples shared /whisk.system/slack shared /whisk.system/github shared ... ``` -------------------------------- ### OpenWhisk CLI Interactive Tutorial Source: https://openwhisk.apache.org/documentation.html/index Contains interactive tutorials for the OpenWhisk Command Line Interface (CLI). This resource helps users learn and practice using the OpenWhisk CLI. ```OpenWhisk openwhisk-tutorial ``` -------------------------------- ### Create .NET Core Action File Source: https://openwhisk.apache.org/documentation.html/index Provides the C# code for a basic 'Hello World' OpenWhisk action. This file, 'Hello.cs', contains the entry point for the serverless function. ```csharp using System; using Newtonsoft.Json.Linq; namespace Apache.OpenWhisk.Example.Dotnet { public class Hello { public JObject Main(JObject args) { string name = "World"; if (args.ContainsKey("name")) { name = args["name"].ToString(); } return new JObject( new JProperty("greeting", $Hello {name}!) ); } } } ``` -------------------------------- ### Deploy Swift Actions with wskdeploy Source: https://openwhisk.apache.org/documentation.html/index Illustrates the deployment of Swift actions using the wskdeploy tool. It involves creating a manifest.yaml file to define the action and its properties for deployment. ```yaml --- packages: hello-package: actions: helloSwift: function: actions/hello.swift runtime: swift:4.2 ``` -------------------------------- ### Create .NET Core Action Project Source: https://openwhisk.apache.org/documentation.html/index Demonstrates the initial step of creating a C# project for an OpenWhisk .NET Core action using the .NET CLI. This sets up the project structure for the serverless function. ```bash dotnet new "classlib" --name Apache.OpenWhisk.Example.Dotnet --framework netcoreapp2.1 ``` -------------------------------- ### Create Swift Action with wsk CLI Source: https://openwhisk.apache.org/documentation.html/index Demonstrates the creation of a Swift action named 'helloSwift' using the 'hello.swift' file with the wsk CLI. This is a basic step for deploying Swift functions on OpenWhisk. ```bash wsk action create helloSwift hello.swift ``` -------------------------------- ### Create .NET Core Action with wsk CLI Source: https://openwhisk.apache.org/documentation.html/index Shows the command to create a .NET Core action named 'helloDotNet' on OpenWhisk, referencing the published output from the .NET project. ```bash wsk action create helloDotNet --docker /path/to/your/docker/image ``` -------------------------------- ### OpenWhisk Serverless Application Workshop Source: https://openwhisk.apache.org/documentation.html/index Provides a series of exercises to help users understand how to build serverless applications using OpenWhisk. This workshop is designed for hands-on learning. ```OpenWhisk openwhisk-workshop ``` -------------------------------- ### Create PHP Action for OpenWhisk Source: https://openwhisk.apache.org/documentation.html/index This snippet demonstrates creating a 'hello world' PHP file for an OpenWhisk action. It uses the wsk CLI for action creation and invocation. ```PHP "Hello, World!"]; } ?> ``` -------------------------------- ### Publish .NET Core Project for OpenWhisk Source: https://openwhisk.apache.org/documentation.html/index Demonstrates how to publish the .NET Core project into a self-contained deployment package suitable for OpenWhisk. This command creates the necessary files for deployment. ```bash dotnet publish -c release -r linux-x64 --self-contained true ``` -------------------------------- ### OpenWhisk Sequence Creation Source: https://openwhisk.apache.org/documentation.html/index Demonstrates how to compose multiple actions into a sequence using the OpenWhisk CLI. ```bash wsk action create mySequence --sequence action1,action2,action3 ``` -------------------------------- ### Deploy Ruby Actions with wskdeploy Source: https://openwhisk.apache.org/documentation.html/index Illustrates the deployment of Ruby actions using the wskdeploy tool. It involves creating a manifest.yaml file to define the action and its properties for deployment. ```yaml --- packages: hello-package: actions: hello-ruby: function: hello.rb runtime: ruby:2.5 ``` -------------------------------- ### Deploy Swift Actions with wskdeploy CLI Source: https://openwhisk.apache.org/documentation.html/index Provides the command to execute the deployment of Swift actions using wskdeploy, referencing the manifest.yaml file. ```bash wskdeploy ``` -------------------------------- ### Create Ruby Action with wsk CLI Source: https://openwhisk.apache.org/documentation.html/index Demonstrates the creation of a Ruby action named 'hello_ruby' using the 'hello.rb' file with the wsk CLI. This is a fundamental step for deploying Ruby functions on OpenWhisk. ```bash wsk action create hello_ruby hello.rb ``` -------------------------------- ### Create Python Action for OpenWhisk Source: https://openwhisk.apache.org/documentation.html/index This snippet shows how to create a 'hello world' Python file for an OpenWhisk action. It utilizes the wsk CLI for action creation and invocation. ```Python def main(args): return {"message": "Hello, World!"} ``` -------------------------------- ### OpenWhisk wskdeploy Tool Source: https://openwhisk.apache.org/documentation.html/index The wskdeploy tool for deploying OpenWhisk applications and packages. This utility simplifies the deployment lifecycle. ```OpenWhisk openwhisk-wskdeploy ``` -------------------------------- ### OpenWhisk Kubernetes Deployment Source: https://openwhisk.apache.org/documentation.html/index Deployment scripts and configurations for deploying OpenWhisk on Kubernetes. This repository facilitates cloud-native deployments. ```OpenWhisk openwhisk-deploy-kube ``` -------------------------------- ### Deploy Ruby Actions with wskdeploy CLI Source: https://openwhisk.apache.org/documentation.html/index Provides the command to execute the deployment of Ruby actions using wskdeploy, referencing the manifest.yaml file. ```bash wskdeploy ``` -------------------------------- ### OpenWhisk Development Tools Suite Source: https://openwhisk.apache.org/documentation.html/index A collection of development tools and utilities for OpenWhisk. This repository centralizes helpful resources for developers. ```OpenWhisk openwhisk-devtools ``` -------------------------------- ### List OpenWhisk Packages Source: https://openwhisk.apache.org/documentation.html/index This command retrieves a list of all available packages within the OpenWhisk system, including those in the shared '/whisk.system' namespace. It helps in discovering available functionalities and services. ```bash wsk package list ``` -------------------------------- ### OpenWhisk Catalog Package Source: https://openwhisk.apache.org/documentation.html/index Repository for the OpenWhisk catalog, which manages available services and integrations. This includes default system packages. ```OpenWhisk openwhisk-catalog ``` -------------------------------- ### OpenWhisk Platform Source Code Source: https://openwhisk.apache.org/documentation.html/index Primary source code repositories for the OpenWhisk platform, including platform code, run books, and tests. ```OpenWhisk openwhisk ``` -------------------------------- ### OpenWhisk Playground Source: https://openwhisk.apache.org/documentation.html/index The OpenWhisk Playground provides an environment for experimenting with OpenWhisk features. It's useful for quick testing and learning. ```OpenWhisk openwhisk-playground ``` -------------------------------- ### OpenWhisk Language Runtimes Source: https://openwhisk.apache.org/documentation.html/index Lists the officially supported language runtimes for Apache OpenWhisk actions. This includes .NET Core, Go, Java, JavaScript (Node.js), PHP, Python, Ruby, and Swift, with specific version details provided for each. ```text .Net - OpenWhisk runtime for .Net Core 2.2 Go - OpenWhisk runtime for Go Java - OpenWhisk runtime for Java 8 _(OpenJDK 8, JVM OpenJ9)_ JavaScript - OpenWhisk runtime for Node.js v10, v12 and v14 PHP - OpenWhisk runtime for PHP 8.0, 7.4 and 7.3 Python - OpenWhisk runtime for Python 2.7, 3 and a 3 runtime variant for AI/ML _(including packages for Tensorflow and PyTorch)_ Ruby - OpenWhisk runtime for Ruby 2.5 Swift - OpenWhisk runtime for Swift 3.1.1, 4.1 and 4.2 ``` -------------------------------- ### Invoke .NET Core Action with wsk CLI Source: https://openwhisk.apache.org/documentation.html/index Demonstrates how to invoke the 'helloDotNet' action using the wsk CLI, passing a JSON payload as input. ```bash wsk action invoke helloDotNet -p name "OpenWhisk" ``` -------------------------------- ### Invoke Ruby Action with wsk CLI Source: https://openwhisk.apache.org/documentation.html/index Shows how to invoke the 'hello_ruby' action using the wsk CLI. This allows testing the deployed Ruby function and receiving its output. ```bash wsk action invoke hello_ruby ``` -------------------------------- ### Invoke Swift Action with wsk CLI Source: https://openwhisk.apache.org/documentation.html/index Shows how to invoke the 'helloSwift' action using the wsk CLI. This allows testing the deployed Swift function and receiving its output. ```bash wsk action invoke helloSwift ``` -------------------------------- ### OpenWhisk Xcode Integration Source: https://openwhisk.apache.org/documentation.html/index Xcode integration for OpenWhisk development. This allows developers to build and deploy OpenWhisk actions using Xcode. ```Xcode Integration openwhisk-xcode ``` -------------------------------- ### OpenWhisk Slack Community Invitation Implementation Source: https://openwhisk.apache.org/documentation.html/index Implements invitations for the Apache OpenWhisk Slack Community. This utility helps manage community access and onboarding. ```OpenWhisk openwhisk-slackinvite ``` -------------------------------- ### OpenWhisk Rule Creation Source: https://openwhisk.apache.org/documentation.html/index Illustrates how to create a rule to associate a trigger with an action, enabling event-driven automation. ```bash wsk rule create myRule myTrigger myAction ``` -------------------------------- ### OpenWhisk Go Client Source: https://openwhisk.apache.org/documentation.html/index Go client library for accessing the OpenWhisk API. This allows Go applications to interact with OpenWhisk services. ```Go openwhisk-client-go ``` -------------------------------- ### OpenWhisk CLI Tool Source: https://openwhisk.apache.org/documentation.html/index The command-line interface tool for interacting with OpenWhisk. This is essential for managing actions, packages, and triggers. ```OpenWhisk openwhisk-cli ``` -------------------------------- ### OpenWhisk Deploy Package Source: https://openwhisk.apache.org/documentation.html/index Package related to deployment functionalities within OpenWhisk. This might include utilities for managing deployments. ```OpenWhisk openwhisk-package-deploy ``` -------------------------------- ### OpenWhisk Go Runtime Source: https://openwhisk.apache.org/documentation.html/index Docker runtime container for executing Go actions on OpenWhisk. This supports serverless functions written in the Go programming language. ```Docker openwhisk-runtime-go ``` -------------------------------- ### Create Java Action for OpenWhisk Source: https://openwhisk.apache.org/documentation.html/index This snippet outlines the process of creating a Java action for OpenWhisk, including compiling a Java file into a JAR and specifying the main class. It requires the gson library and wsk CLI. ```Java import com.google.gson.JsonObject; public class Hello { public JsonObject main(JsonObject args) { JsonObject response = new JsonObject(); response.addProperty("message", "Hello, World!"); return response; } } ``` -------------------------------- ### OpenWhisk VS Code Integration Source: https://openwhisk.apache.org/documentation.html/index Visual Studio Code extension for OpenWhisk development. This provides IDE support for creating and deploying OpenWhisk actions. ```VS Code Extension openwhisk-vscode ``` -------------------------------- ### OpenWhisk GitHub Slack Bot Integration Source: https://openwhisk.apache.org/documentation.html/index Demonstrates integration of GitHub Pull Request management with Slack and using Alarms. This sample showcases event-driven workflows within OpenWhisk. ```OpenWhisk openwhisk-GitHubSlackBot ``` -------------------------------- ### OpenWhisk Ansible Deployment Source: https://openwhisk.apache.org/documentation.html/index Ansible playbooks for deploying and managing OpenWhisk infrastructure. This repository automates the deployment process. ```Ansible openwhisk/ansible ``` -------------------------------- ### Deploy OpenWhisk Entities using wskdeploy CLI Source: https://openwhisk.apache.org/documentation.html/index This command utilizes the wskdeploy subcommand within the OpenWhisk CLI to deploy or manage OpenWhisk Packages, Actions, Triggers, Rules, and APIs using an application manifest file. This is the primary way to deploy applications to OpenWhisk. ```bash wsk deploy --manifest --வு ``` -------------------------------- ### Describe an OpenWhisk Action Source: https://openwhisk.apache.org/documentation.html/index This command provides a detailed description of a specific OpenWhisk action, including its purpose, parameters, and any associated metadata. It helps users understand how to invoke the action correctly. ```bash action /whisk.system/samples/greeting: Returns a friendly greeting (parameters: name, place) ``` -------------------------------- ### OpenWhisk Slackbot for Invoking Actions Source: https://openwhisk.apache.org/documentation.html/index A proof-of-concept Slackbot designed to invoke OpenWhisk actions. This sample demonstrates how to interact with OpenWhisk services from a chat interface. ```OpenWhisk openwhisk-sample-slackbot ``` -------------------------------- ### Create and Fire an OpenWhisk Trigger Source: https://openwhisk.apache.org/documentation.html/index This section demonstrates how to create a trigger for event notifications and then fire it with specific parameters. Firing a trigger is the first step in automating actions based on events. ```bash triggers /someNamespace/locationUpdate private ``` ```bash ok: triggered locationUpdate ``` -------------------------------- ### OpenWhisk Swift Runtime Source: https://openwhisk.apache.org/documentation.html/index Docker runtime container for executing Swift actions on OpenWhisk. This enables serverless functions to be developed using Swift. ```Docker openwhisk-runtime-swift ``` -------------------------------- ### OpenWhisk Docker Runtime Base Source: https://openwhisk.apache.org/documentation.html/index Base Docker runtime container for OpenWhisk. This serves as a foundation for creating custom language runtimes. ```Docker openwhisk-runtime-docker ``` -------------------------------- ### Configure OpenWhisk CLI API Host and Authentication Key Source: https://openwhisk.apache.org/documentation.html/index This command sets the API host and authorization key for the OpenWhisk CLI, creating or updating the configuration file (defaulting to ~/.wskprops). This is essential for the CLI to connect to your OpenWhisk instance. ```bash wsk property set --apihost --auth ``` -------------------------------- ### OpenWhisk Cloudant Package Source: https://openwhisk.apache.org/documentation.html/index Package for integrating with Cloudant databases from OpenWhisk actions. This facilitates data persistence and retrieval. ```OpenWhisk openwhisk-package-cloudant ``` -------------------------------- ### OpenWhisk CLI Basic Invocation Source: https://openwhisk.apache.org/documentation.html/index Shows a basic command to invoke an OpenWhisk Action using the command-line interface. ```bash wsk action invoke myAction ``` -------------------------------- ### OpenWhisk Web Action Annotation Source: https://openwhisk.apache.org/documentation.html/index Demonstrates how to annotate an OpenWhisk Action to enable it as a Web Action, allowing direct HTTP access. ```json { "annotations": { "web-export": true } } ``` -------------------------------- ### OpenWhisk API Gateway Source: https://openwhisk.apache.org/documentation.html/index Repository for the OpenWhisk API Gateway component. This handles incoming API requests and routes them to the appropriate OpenWhisk services. ```OpenWhisk openwhisk-apigateway ``` -------------------------------- ### OpenWhisk Website Repository Source: https://openwhisk.apache.org/documentation.html/index Source code for the Apache OpenWhisk project website. This repository contains the content and structure of the official website. ```Website openwhisk-website ``` -------------------------------- ### OpenWhisk Ruby Runtime Source: https://openwhisk.apache.org/documentation.html/index Docker runtime container for executing Ruby actions on OpenWhisk. This enables serverless functions to be developed using Ruby. ```Docker openwhisk-runtime-ruby ``` -------------------------------- ### OpenWhisk Node.js Runtime Source: https://openwhisk.apache.org/documentation.html/index Docker runtime container for executing Node.js actions on OpenWhisk. This enables serverless functions written in Node.js. ```Docker openwhisk-runtime-nodejs ``` -------------------------------- ### OpenWhisk Trigger Creation Source: https://openwhisk.apache.org/documentation.html/index Shows the command to create a trigger in OpenWhisk, which serves as a named channel for events. ```bash wsk trigger create myTrigger ``` -------------------------------- ### OpenWhisk Action Debugger Source: https://openwhisk.apache.org/documentation.html/index Supports debugging of OpenWhisk actions by offloading them to run locally on a user's laptop. This tool allows for inspection and modification of action values during execution. ```OpenWhisk openwhisk-debugger ``` -------------------------------- ### OpenWhisk Jira Package Source: https://openwhisk.apache.org/documentation.html/index Package for integrating with Jira from OpenWhisk actions. This enables workflow automation related to issue tracking. ```OpenWhisk openwhisk-package-jira ``` -------------------------------- ### Verify OpenWhisk Action Activations Source: https://openwhisk.apache.org/documentation.html/index This command lists recent activations, allowing verification that the expected action was invoked after the trigger was fired. It helps in debugging and confirming the event-driven workflow. ```bash activations 1234.... hello abcd.... locationUpdate ``` -------------------------------- ### OpenWhisk Java Runtime Source: https://openwhisk.apache.org/documentation.html/index Docker runtime container for executing Java actions on OpenWhisk. This supports serverless functions written in Java. ```Docker openwhisk-runtime-java ``` -------------------------------- ### Verify OpenWhisk CLI Host Connection and Credentials Source: https://openwhisk.apache.org/documentation.html/index This command tests the connection to the OpenWhisk API host and validates the configured credentials by attempting to list entities. The -v flag provides verbose output, showing HTTP request and response details. ```bash wsk list -v ``` -------------------------------- ### Create an OpenWhisk Rule Source: https://openwhisk.apache.org/documentation.html/index This command creates a rule, which is an association between a trigger and an action. When the specified trigger fires, the associated action is invoked, enabling event-driven automation. ```bash ok: created rule myRule ``` -------------------------------- ### OpenWhisk PHP Runtime Source: https://openwhisk.apache.org/documentation.html/index Docker runtime container for executing PHP actions on OpenWhisk. This allows serverless functions to be written in PHP. ```Docker openwhisk-runtime-php ``` -------------------------------- ### OpenWhisk Python Runtime Source: https://openwhisk.apache.org/documentation.html/index Docker runtime container for executing Python actions on OpenWhisk. This allows serverless functions to be written in Python. ```Docker openwhisk-runtime-python ``` -------------------------------- ### OpenWhisk Kafka Package Source: https://openwhisk.apache.org/documentation.html/index Package for integrating with Apache Kafka from OpenWhisk actions. This enables event streaming and processing. ```OpenWhisk openwhisk-package-kafka ``` -------------------------------- ### OpenWhisk Push Notifications Package Source: https://openwhisk.apache.org/documentation.html/index Package for sending push notifications from OpenWhisk actions. This enables mobile and web push capabilities. ```OpenWhisk openwhisk-package-pushnotifications ``` -------------------------------- ### OpenWhisk External Resources Source: https://openwhisk.apache.org/documentation.html/index Repository for miscellaneous but crucial external resources related to Apache OpenWhisk. This may include documentation or tools not fitting other categories. ```OpenWhisk openwhisk-external-resources ``` -------------------------------- ### List Entities in an OpenWhisk Package Source: https://openwhisk.apache.org/documentation.html/index This command lists all entities (actions, triggers, or other packages) contained within a specified OpenWhisk package. It's useful for understanding the contents of a package before invoking specific actions. ```bash wsk list /whisk.system/samples ``` -------------------------------- ### OpenWhisk Release Management Source: https://openwhisk.apache.org/documentation.html/index Repository related to the release process of Apache OpenWhisk. This includes scripts and information for managing project releases. ```OpenWhisk openwhisk-release ``` -------------------------------- ### OpenWhisk REST API Action Invocation Source: https://openwhisk.apache.org/documentation.html/index Illustrates how to invoke an OpenWhisk Action using the REST API, providing a programmatic way to trigger actions. ```http POST /api/v1/namespaces/guest/actions/myAction?blocking=true Host: localhost:3280 Content-Type: application/json {} ``` -------------------------------- ### OpenWhisk RSS Package Source: https://openwhisk.apache.org/documentation.html/index Package for processing RSS feeds within OpenWhisk actions. This allows for content aggregation and automation. ```OpenWhisk openwhisk-package-rss ``` -------------------------------- ### OpenWhisk JavaScript Client Source: https://openwhisk.apache.org/documentation.html/index JavaScript client library for accessing the OpenWhisk API. This enables Node.js and browser-based applications to interact with OpenWhisk. ```JavaScript openwhisk-client-js ``` -------------------------------- ### OpenWhisk Alarms Package Source: https://openwhisk.apache.org/documentation.html/index Package providing alarm-based triggers and actions for OpenWhisk. This enables time-based or scheduled execution of functions. ```OpenWhisk openwhisk-package-alarms ``` -------------------------------- ### Invoke OpenWhisk Action via Trigger Source: https://openwhisk.apache.org/documentation.html/index This command fires a trigger, which in turn invokes an associated action. The output shows the trigger being fired and provides an activation ID for the subsequent action execution. ```bash ok: triggered /_/locationUpdate with id abcd... ``` -------------------------------- ### OpenWhisk Serverless Message Archiver (MATOS) Source: https://openwhisk.apache.org/documentation.html/index Implements a pipeline to read messages from a Message Hub topic and archive them in batches into an Object Storage folder. This sample highlights data processing and storage capabilities. ```OpenWhisk openwhisk-sample-matos ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.