Questions tagged [api-gateway]

A service which acts as a gateway for many other services. Providing discovery, registry, security, circuit breaker, fault tolerance among other things.

Useful links:

1246 questions
7
votes
1 answer

Considering Tyk API Gateway - open source version

Project background: Building an API driven Learning Management System. The back-end system will be receiving data from multiple systems and interfaces: web, mobile, VR. Looking at API Gateways to front our APIs. Preferably an Open Source API gateway…
Budha
  • 83
  • 6
7
votes
3 answers

How can I add a customized kong plugin into dockerized kong

I have a KONG container running and I want to add a customized plugin to it, specifically a JWT crafter. I've downloaded the plugin but I don't know how to make it start with my KONG container. so please if anyone have been into the same position or…
7
votes
1 answer

Zuul - Single point of Failure

Zuul being used to work with Eureka/Edge Services stands out to be a single point of failure? Is there any way around it to make this scalable and resilient?
Divs
  • 1,578
  • 2
  • 24
  • 51
6
votes
1 answer

Unable to use aws-amplify with NextJS 13.4 api routes

I have successfully used pages/api routes in previous versions of NextJS to connect to AWS API Gateway. I'm trying to use new app router to do the same thing in app/api/route. But I'm unable to get the aws-amplify libraries working, i.e. const…
6
votes
1 answer

Is there a way to send metadata in krakend endpoint configuration?

I'm using Krakend as API-Gateway, and my configuration looks like this : { "plugin": { "folder": "/etc/krakend/plugins/authenticator/", "pattern":".so" }, "port": 8080, "extra_config": { …
slifer2015
  • 682
  • 6
  • 12
6
votes
0 answers

How to share a single API Gateway across multiple SAM templates?

I've been trying to use a single APIGateway across multiple SAM templates. For this, I've tried importing the RestApiId from the base template on other SAM templates and use it under the event sections of a lambda. But SAM has restriction saying…
6
votes
1 answer

Can I make a call to AWS Cognito via a Lambda through the API gateway?

My current stack is like this: User creates an account via AWS Cognito A post confirmation lambda is triggered which then adds further user details to a database My database uses the sub id generated by cognito as the userId so they are the same.…
6
votes
5 answers

Microservices, API Gateways, and Frontends

I have recently begun exploring the concept of microservices and API gateways and am particularly confused on how frontend endpoints should be hosted. If I have an API gateway that acts as the middleman between requests to all of my services, where…
user2779450
  • 733
  • 1
  • 9
  • 19
6
votes
3 answers

com.amazon.coral.service#UnknownOperationException when triggering CodeBuild from API Gateway

There's no actual guide to integrating specifically API gateway and Codebuild, so I'm looking at several and trying to adapt. I have my roles and policies set up per this documentation and have my CodeBuild project setup and running…
Adam Grant
  • 12,477
  • 10
  • 58
  • 65
6
votes
0 answers

How do I reference one model from another model with multiple definitions using aws API Gateway

I am trying to reference a model using this: https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-api-step-by-step.html#getting-started-models-add-models "deets":…
prog101
  • 61
  • 4
6
votes
3 answers

Unable to infer base url. This is common when using dynamic servlet registration or when the API is behind an API Gateway

I already went Why does springfox-swagger2 UI tell me "Unable to infer base url." and Getting an unexpected result while configuring Swagger with Spring Boot and not using Spring Security at all and for each service, I am using @EnableSwagger2…
Jeff Cook
  • 7,956
  • 36
  • 115
  • 186
6
votes
1 answer

Passing event from API gateway to Lambda

I have a lambda function that can received JSON in many different forms. The idea is to receive that through API Gateway. When i test the function given any form of JSON, it works fine. However, when i try to test it through API Gateway, it fails…
rodrigocf
  • 1,951
  • 13
  • 39
  • 62
6
votes
1 answer

AWS Api Gateway as a HTTP Proxy is currupting binary uploaded image files

I have a ruby on rails app that takes an image file, "attaches it to a member", and uploads it to s3. When I use insomnia and POST directly to the app ... it works, however when I use the exact same endpoint behind AWS Api Gateway, the image is…
Andrew Wei
  • 2,020
  • 1
  • 17
  • 28
6
votes
1 answer

two way SSL using AWS API Gateway

Can we use Two Way SSL feature using AWS API Gateway ? We want to use API Gateway as proxy for kinesis in our real-time streaming application. Below is my requirement The client make request to apigateway and apigateway needs to put the data in…
6
votes
0 answers

Authentication: API gateway vs separate service

We have just started splitting our monolith into services. We are going to extract the authentication/authorization service out of the monolith first. Now we have a choice - API Gateway to provide authentication vs a standalone service (Like…
Alex Buyny
  • 3,047
  • 19
  • 25