Important
|
This project is retired as Micornaut Framework team now offers their own implementation of API Gateway Integration |
Lambda for API Gateway Proxy is defined in :hello-world
subproject and can be deployed with ./gradlew :hello-world:deployLambda
command.
It provides two endpoints GET /hello/world
and GET /good/bye/
declared in starter.HelloController
and starter.GoodByeController
.
Warning
|
You need to add the API Gateway Proxy mapping to this function manually. |
Local server is defined in :local-server
subproject and can be run with ./gradlew :local-server:run
command.
Both projects contain tests using Gru.
To add new lambda, copy the :hello-world
project and add the new subproject to settings.gradle
and as a dependency of :local-server
.