https://github.com/ninadingole/micronaut-aws
https://github.com/ninadingole/micronaut-aws
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ninadingole/micronaut-aws
- Owner: ninadingole
- Created: 2020-06-25T10:16:51.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-05T05:39:56.000Z (over 5 years ago)
- Last Synced: 2025-03-03T16:27:51.697Z (over 1 year ago)
- Language: Kotlin
- Size: 112 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
AWS Functions using Micronaut
-----
How to run:
- setup sls credentials for aws account
- run `./gradlew clean build` to package jar
- run `sls deploy` to deploy the function
- to execute function run `sls invoke -f "micronaut-aws" --data '{"message":"Hello World", "someValue":8}'`
##Zipkin Setup
Distributed tracing using Zipkin is enabled by default, start zipkin on a docker before running the app
```
$> docker run -d -p 9411:9411 openzipkin/zipkin
```
##Swagger/Redoc/RapiDoc
Open api specs are available at `http://localhost:8080/swagger/employees-0.1`
Swagger UI: `http://localhost:8080/swagger-ui`
Rapidoc: `http://localhost:8080/rapidoc`
Redoc: `http://localhost:8080/redoc`