cagataygurturk / lambadaframework

Build serverless REST API's with JAVA. It implements the JAX-RS API and deploys your application easily to AWS Lambda and API Gateway
MIT License
244 stars 48 forks source link

Integrating the new proxy feature #35

Open cagataygurturk opened 7 years ago

cagataygurturk commented 7 years ago

API Gateway now has a new feature: https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-set-up-simple-proxy.html

It is leaving the vast majority of lambada framework obsolete, like method creating logic etc.

Also it'll automatically resolve issues like https://github.com/lambadaframework/lambadaframework/issues/12 https://github.com/lambadaframework/lambadaframework/issues/11

It needs a big refactor but the business value is very big, so it should be implemented as soon as possible.

arran4 commented 7 years ago

It removes a significant portion of the code base right?

cagataygurturk commented 7 years ago

That's correct. And it means we will be able to support more features with less code.

davidmco65 commented 7 years ago

Any progress on this?

arranubels commented 7 years ago

Can't figure out how to programmatically create the lambda proxy in api gateway.. Even with the Swagger JSON it doesn't setup permissions correctly. Anyone know?

cagataygurturk commented 7 years ago

Of course they also did not add Cloudformation support for that.

arranubels commented 7 years ago

So where does that leave us?

arranubels commented 7 years ago

Actually my AWS SDK is old.. Checking .60

arranubels commented 7 years ago

Got it.

refacktor commented 5 years ago

I've been experimenting with this and got a working branch in https://github.com/atramos/serverless-jax-rs/commits/proxy-redux, unfortunately I found that it doesn't really help much and actually makes it harder to fix #57.