Skip to content

example event driven microservice using funktion with a Groovy function

Notifications You must be signed in to change notification settings

fabric8-quickstarts/funktion-groovy-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Groovy Funktion

This example shows how easy it is to develop a funktion in Groovy.

funktion logo

The source code consists of:

You can then run your funktion locally via:

mvn

You can then invoke it via your web browser at http://localhost:8080/?name=Funktion

Trying your funktion on Kubernetes or OpenShift

Assuming your current shell is connected to Kubernetes or OpenShift so that you can type a command like

kubectl get pods

or for OpenShift

oc get pods

Then the following command will package your funktion and run it on Kubernetes:

mvn install fabric8:deploy

About

example event driven microservice using funktion with a Groovy function

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages