2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
Hi,
Depends where are you deploying the app. If using lambda (https://docs.spring.io/spring-cloud-function/docs/current/reference/html/aws-intro.html) you can just have a direct proxy integration between api gw and the lambda itself.
If using a container, you may need an application load balancer between the api gw and you container (deployed in ECS or EKS).
Hope it helps ;)
0
In the blog only get method is shown and swagger specs but i would like to know how to do it without swagger.
I was able to workaround with @Request Params instead of @Path Variable but please do let me know if an appropriate solution is availbale.
Thank you.
답변함 일 년 전
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전
Thank you so much for the reply.
I am deploying my spring boot application jar in EC2. I am using request parameters in the GET request but while integrating with api gateway im able to hit get without configuring any request params and without using lambda functions. But i am not able to hit PUT and delete with id as path variables.
I assume you are using HTTP integration? Did you have a read as this? https://awstip.com/spring-boot-application-deployment-with-amazon-api-gateway-ae7272919311