Skip to content

Zero config, one click serverless framework in Java. Aims to be fully compatible with GraalVM. Java 11 onwards

Notifications You must be signed in to change notification settings

arakoodev/venil-serverless-spring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites

AWS Account

Spring-to-AWS-Lambda Plugin project

jump into spring-to-aws-lambda-plugin

run below commond to publish plugin into Maven Local

gradle clean publishToMavenLocal

Sample Spring web project

jump into spring-demo-api

Add these plugin configurations into build.gradle

deployConfigs {
	springAppClass = 'com.springdemo.Application' // Spring Starter Class
}

Add this task into build.gradle. !!! Note - This will move to plugin. then End-User don't need to add this !!!

task buildZip(type: Zip) {
	from compileJava
	from processResources
	into('lib') {
		from configurations.runtimeClasspath
	}
}

run below commond to publish plugin into Maven Local

gradle -i  clean deploy

Endpoint URL will be return once after completed the below commond

Lambda function name will be the same as your Gradle project name

About

Zero config, one click serverless framework in Java. Aims to be fully compatible with GraalVM. Java 11 onwards

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages