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
2
votes
1 answer

How to implement thread efficient retries on async JmsOutboundGateway

In my case i use JmsOutboundGateway for mq connection - inputChannel is ExecutorChannel. Currently ServiceActivator don't have any output channel. Gateway interface method returns CompletableFuture object. @MessagingGateway public interface…
Luke
  • 23
  • 3
2
votes
0 answers

GCP: How can I protect my vm Instance from internet access, but keeping it accessible from API Gateway

I have a vm instance that makes our service in Go, and we want our users to go through an API Gateway before acessign the vm Instance (for monitoring, authentification and other reasons...). We have bought registered private-acme.com DNS with…
Nicolas Zozol
  • 6,910
  • 3
  • 50
  • 74
2
votes
3 answers

Looking for a suitable API-gateway solution

Our project is undergoing a refactor to a micro-services architecture, and we are currently considering different API gateway solutions. We did our research, looked at the official sites for several solutions, went over some technical comparisons of…
2
votes
1 answer

Kong rate limit plugin to multiple services

I'm using rate limiting plugin by Kong, I'm using the declarative mode with a config file like: _format_version: "3.0" _transform: true services: - name: service1 url: https://example.com/api/endpoint1 routes: - name: route1 paths: -…
2
votes
1 answer

Running/Testing an AWS Serverless API written in Terraform

No clear path to do development in a serverless environment. I have an API Gateway backed by some Lambda functions declared in Terraform. I deploy to the cloud and everything is fine, but how do I go about setting a proper workflow for development?…
Solon
  • 21
  • 2
2
votes
0 answers

HTTP API with Custom Authorizer and Stage Variables

TLDR; We have a custom authorizer deployed and want to use stage variables to switch which (authorizer) function is used per stage/environment. e.g the dev stage would use the authorizer-dev function, acpt stage would use authorizer-acpt and so on.…
2
votes
1 answer

How to call XML-RPC from WSO2 API Manager?

Invoking XML-RPC method from Postman Works good but when i deploy this API in the WSO2 API Gateway it give me an "error decoding RPC". Example of XML payload. vpop.emailinfo
Oussama Nairi
  • 146
  • 1
  • 10
2
votes
0 answers

Setting GCP API Gateway backend path implicitly as part of terraform deployment

I'm using Terraform to deploy a containerized app on Cloud Run sitting behind API Gateway on GCP. API Gateway on GCP requires an API spec, in which a backend parameter is used to direct traffic from the gateway to the Cloud Run function. resource…
Dan
  • 6,022
  • 3
  • 20
  • 28
2
votes
0 answers

Consume response from a WebClient API call in spring cloud gateway filter exchange

I am using Spring Cloud Gateway for my microservices and I am trying to make a blocking API call to another microservice within my GatewayFilter. But since spring cloud gateway is reactive, it does not allow for making blocking API Calls so I'm…
2
votes
0 answers

square - cash app button won't render properly

I don't know why the button won't render properly on the screen. I've copied & pasted the example from the docs found here:
JC23
  • 1,248
  • 4
  • 18
  • 28
2
votes
2 answers

API Gateway integration response mapping: parse statusCode and body from Step Function output

I want to parse 'statusCode' and 'body' values from API Gateway integration response using VTL and return those as a method response like this: Request status: 201 Response body: {"firstName":"He","lastName":"Man","email":"he.man@eternia.com"} My…
villekr
  • 221
  • 1
  • 3
  • 9
2
votes
1 answer

Firebase Hosting rewrite path to use GCP API Gateway as backend for SPA

I am trying to find a way to connect the backend (GCP API Gateway) to our Angular app hosted on firebase. The goal is to route requests on myapp.com/api to the API Gateway. All other routes should server our SPA. I know there is a possibility to…
2
votes
0 answers

Spring Security - Keycloak fails with Invalid credentials after login when reached from docker container

I'm building a spring app using keycloak as identity provider. I use microservices with it. What I want to do is sending the request to api gateway, api gateway communicates with keycloak and authenticate the request (show login page if not). And…
roro
  • 23
  • 3
2
votes
1 answer

GCP Api Gateway is it possible to update the code of a config file or do I need to create a brand new config every time?

I'm trying to set up API Gateway to work with a GCP Function that I have running. I previously created a config using the following code in terminal: gcloud api-gateway api-configs create apigateway-gcpfunction-config \ --api=my-api…
movac
  • 1,576
  • 3
  • 21
  • 45
2
votes
0 answers

Passing sensitive headers in Spring Cloud Gateway

I am migrating my application from Zuul to Spring Cloud Gateway. How can I replace the sensitive header part of below code in Spring Cloud Gateway? zuul: routes: tableau: path:/test/** sensitiveHeaders: url:…