GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - GoodforGod/openfaas-java11-example: OpenFaaS Java 11 Template Function

This repository was archived by the owner on Mar 8, 2022. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
config
config
 
 
gradle/wrapper
gradle/wrapper
 
 
src
src
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
function-local.yml
function-local.yml
 
 
function.yml
function.yml
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 
template.yml
template.yml
 
 

Repository files navigation

OpenFaaS Template

The Java11 template uses gradle as a build system.

Create functions by forking this function and renaming openfaas-template yaml and inside yaml for you function name.

Usage

First you need to load templates to start working with OpenFaaS

Run this command:

faas-cli build -f ./function-local.yml

Deploy

faas-cli deploy -f ./function-local.yml

Structure

Package structure should remain the same so templates entrypoint code that creates handler will be created correctly from this package as specified per template.

Correct package name for Handler is default one com.openfaas.function

Handler

The handler is written in the ./src/main/Handler.java folder

Tests are supported with junit via files in ./src/test

About

OpenFaaS Java 11 Template Function

Topics

openfaasopenfaas-functionopenfaas-templateopenfaas-templatesopenfass-java

Resources

Readme
MIT license
Activity

Stars

3 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.