Skip to content
Apache OpenWhisk is an open source serverless cloud platform
Scala JavaScript Python Shell Java Groovy Other
Branch: master
Clone or download

Latest commit

neerajmangal and Neeraj Mangal Support Relabel of Prometheus Metrics Tags based on provided config. (#…
…4876)

* Relabel Prometheus Metrics Tags based on config provided

* Remove commented code

* Fix Tag order and refactoring

* Fix Tests

* actionStatus->userDefinedStatusCode

* Fix Tests and Add Test for rename-tags config

* Review Comments and README updates

Co-authored-by: Neeraj Mangal <mangal@adobe.com>
Latest commit d495993 Apr 24, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Define processes for proposing OpenWhisk enhancements (#4818) Feb 18, 2020
ansible Create AES128 and AES256 encryption for parameters (#4756) Mar 11, 2020
bin Move wskadmin to tools/admin. Sep 22, 2016
common/scala add activationId to event message Apr 9, 2020
core Support Relabel of Prometheus Metrics Tags based on provided config. (#… Apr 24, 2020
docs Add -i to docker command, otherwise doesnt work (#4864) Mar 28, 2020
gradle Update Gradle to 5.5 version (#4567) Aug 12, 2019
licenses Add the license and notice for ConcurrentMapBackedCache.scala (#3703) May 30, 2018
proposals Fix broken links. (#4832) Feb 26, 2020
tests Allow OPTIONS response on web actions before checking for authenticat… Apr 18, 2020
tools Fix scala usage in :tools:admin and :core:standalone. (#4861) Mar 14, 2020
.asf.yaml additional topics (#4613) Sep 7, 2019
.gitattributes Remove Vagrant mentions. (#4779) Jan 9, 2020
.gitignore Remove Vagrant mentions. (#4779) Jan 9, 2020
.pydevproject Add python:3 action support. Mar 28, 2017
.scalafmt.conf Update all files using Mini license header to use full ASF header (#4512 Jun 13, 2019
.travis.yml Fix warnings in travis file, remove scala again. (#4868) Mar 31, 2020
CODE_OF_CONDUCT.md Add code of conduct pointer. (#4260) Feb 8, 2019
CONTRIBUTING.md Remove Incubator(ing, tion) references and DISCLAIMER (#4566) Jul 23, 2019
CREDITS.txt graduation: remove more incubator- references (#4581) Aug 14, 2019
Jenkinsfile Run Gradle install for Jenkins build to install Standalone jar (#4531) Jul 2, 2019
LICENSE.txt gradlew licensing (#4552) Jul 10, 2019
NOTICE.txt update second year in copyright notice (#4292) Feb 16, 2019
README.md Replace compose with quick-start standalone OpenWhisk. (#4880) Apr 18, 2020
build.gradle Update scoverage plugin to 4.0.1. (#4752) Feb 24, 2020
gradlew Update Gradle to 5.5 version (#4567) Aug 12, 2019
gradlew.bat Update Gradle to 5.5 version (#4567) Aug 12, 2019
settings.gradle Allow build to use either Scala 2.12 or 2.13 and test that in CI. (#4867 Mar 27, 2020

README.md

OpenWhisk

Build Status License Join Slack codecov Twitter

OpenWhisk is a serverless functions platform for building cloud applications. OpenWhisk offers a rich programming model for creating serverless APIs from functions, composing functions into serverless workflows, and connecting events to functions using rules and triggers. Learn more at http://openwhisk.apache.org.

Quick Start

The easiest way to start using OpenWhisk is to install the "Standalone" OpenWhisk stack. This is a full-featured OpenWhisk stack running as a Java process for convenience. Serverless functions run within Docker containers. You will need Docker, Java and Node.js available on your machine.

To get started:

git clone https://github.com/apache/openwhisk.git
cd openwhisk
./gradlew core:standalone:bootRun
  • When the OpenWhisk stack is up, it will open your browser to a functions Playground, typically served from http://localhost:3232. The Playground allows you create and run functions directly from your browser.

  • To make use of all OpenWhisk features, you will need the OpenWhisk command line tool called wsk which you can download from https://s.apache.org/openwhisk-cli-download. Please refer to the CLI configuration for additional details. Typically you configure the CLI for Standalone OpenWhisk as follows:

wsk property set \
  --apihost 'http://localhost:3233' \
  --auth '23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP'
  • Standalone OpenWhisk can be configured to deploy additional capabilities when that is desirable. Additional resources are available here.

Deploy to Kubernetes

OpenWhisk can also be installed on a Kubernetes cluster. You can use a managed Kubernetes cluster provisioned from a public cloud provider (e.g., AKS, EKS, IKS, GKE), or a cluster you manage yourself. Additionally for local development, OpenWhisk is compatible with Minikube, and Kubernetes for Mac using the support built into Docker 18.06 (or higher).

To get started:

git clone https://github.com/apache/openwhisk-deploy-kube.git

Then follow the instructions in the OpenWhisk on Kubernetes README.md.

Learn Concepts and Commands

Browse the documentation to learn more. Here are some topics you may be interested in:

OpenWhisk Community and Support

Report bugs, ask questions and request features here on GitHub.

You can also join the OpenWhisk Team on Slack https://openwhisk-team.slack.com and chat with developers. To get access to our public Slack team, request an invite https://openwhisk.apache.org/slack.html.

Project Repository Structure

The OpenWhisk system is built from a number of components. The picture below groups the components by their GitHub repos. Please open issues for a component against the appropriate repo (if in doubt just open against the main openwhisk repo).

component/repo mapping

You can’t perform that action at this time.