Skip to content

andrew-su/scrap-java-function

Repository files navigation

Java Accelerator - Function Buildpacks for Knative

This accelerator generates template files, which enable developers to work with Function Buildpacks and deploy a FaaS experience easily.

These template files are generated from VMware's open-source Function Buildpacks for Knative project.

Getting Started

To begin editing your function, refer to the tree diagram below of the file to modify:

functions-java
└── src/main/java/functions
    └── Hire.java // EDIT THIS FILE
    └── models/

Inside this file, you will find a main class and function that is invoked by default. Models contains scaffold classes you may edit or delete to build out your Java function. You can change the name of the default class and file, too.

To see samples of code deployable as a Function (FaaS) experience, visit the samples folder.

Implementation Details (FAQ)

To add/remove dependencies, you may use Maven or Gradle for dependency management as with any normal Java / Spring development.

Instead of arguments in the function definition, the in object has attributes that can be populated and accessed.

Deploying

Please see DEPLOYING.md on how to build, deploy, and test your newly built function.

Links

Contributing

License

Reporting Bugs or Vulnerabilities

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages