Skip to content

itmaginationdemos/java-lambda-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

[//]: # TODO

installing

In order to compile and install application locally, execute:

./mvnw clean install

Running locally

Run the spring server locally, either from IDE, or with maven wrapper, by executing:

./mvnw spring-boot:run

Test app locally by:

curl localhost:8080/lambdaHandlerWithFunction -H "Content-Type: text/plain" -d "ITMagination"
curl localhost:8080/lambdaHandlerWithConsumer -H "Content-Type: text/plain" -d "ITMagination"
curl localhost:8080/lambdaHandlerWithSupplier -H "Content-Type: text/plain"
curl localhost:8080/functionHandler -H "Content-Type: text/plain" -d "ITMagination"