Curated catalog of Apache OpenWhisk packages to interface with event producers and consumers

Clone this repo:
  1. 6997e19 Fix and provide clarity on access token scopes needed (#314) by Matt Rutkowski · 8 days ago master
  2. e00eb37 travis - dist:xenial and language:java (#313) by David Grove · 3 weeks ago
  3. a879c19 gradle version 5 (#312) by David Grove · 9 weeks ago
  4. 16ea317 invoke.swift and hello.promises also need provide-api-key (#311) by David Grove · 2 months ago
  5. f4d6e3b Fix countdown sample action (#310) by Mathieu Bacou · 2 months ago

Openwhisk Catalog

Build Status License

This openwhisk-catalog maintains the package catalogs of openwhisk. In OpenWhisk, the catalog of packages gives you an easy way to enhance your app with useful capabilities, and to access external services in the ecosystem. Examples of external services that are OpenWhisk-enabled include the Weather Company, Slack, and GitHub.system packages and sample packages.

The catalog is available as packages in the /whisk.system namespace. See Browsing packages for information about how to browse the catalog by using the command line tool.

How to install openWhisk-catalog

Pre-requisites

  • openwhisk is installed.
  • Environment variable OPENWHISK_HOME is configured as the path to openwhisk source code directory.

Install openwhisk-catalog

We should be able to run the script packages/installCatalogUsingWskdeploy.sh to install the catalog like:

./packages/installCatalogUsingWskdeploy.sh [catalog_auth_key] [api_host] [cli_path]

The first argument catalog_auth_key, defines the secret key used to authenticate the openwhisk service. The second argument api_host, determines the location, where the openwhisk edge host is running, in the format of IP or hostname. The third argument cli_path is the full path to the wsk cli executable.

Existing packages in catalog

For more details about how to use packages in the catalog, you can go to the README.md under each package subfolder.

PackageDescription
/whisk.system/githuboffers a convenient way to use the GitHub APIs.
/whisk.system/slackoffers a convenient way to use the Slack APIs.
/whisk.system/weatherServices from the Weather Company Data for IBM Cloud API
/whisk.system/websocketPackage to send messages to Web Socket server

How to create top-level packages

If your package is more involved you may want to create your own top-level packages repository using the openwhisk-package-template. It will provide a good example on what a good template template should include (i.e., sufficient help build, test and integrate into OpenWhisk).