Add native web sample

This commit is contained in:
Oleg Zhurakousky
2024-01-12 14:31:53 +01:00
parent 494f60ba31
commit ea3570683f
22 changed files with 1315 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/sh
cd ${LAMBDA_TASK_ROOT:-.}
java -Dspring.main.web-application-type=none -Dlogging.level.org.springframework=DEBUG \
-noverify -XX:TieredStopAtLevel=1 -Xss256K -XX:MaxMetaspaceSize=128M \
-cp .:`echo lib/*.jar | tr ' ' :` com.example.demo.DemoApplication

View File

@@ -0,0 +1,5 @@
#!/bin/sh
cd ${LAMBDA_TASK_ROOT:-.}
./function-sample-aws-serverless-web-native -Dlogging.level.org.springframework=DEBUG -Dlogging.level.com.amazonaws.serverless.proxy.spring=DEBUG