Internal Gateway

Overview

The Internal Gateway is a simplified Zuul service which provides an easy integration of services running different namespaces of a multistate instance, the clients need not know about all the details of microservices and their namespace in the K8s setup.

Pre-requisites

Before you proceed with the documentation, make sure the following pre-requisites are met -

  • Java 17

  • API Gateway

Key Functionalities

  • Provides an easier API interface between services running in different tenants(namespaces) where direct access between microservices is blocked by default.

  • Allows refactoring microservices independently without forcing the clients to refactor integrating logic with other tenants.

Zuul Components

Route filter - a single route filter enables the routing based on tenatId from the HTTP header of the incoming requests.

Configuration Details

Routing Property

For each service, the below-mentioned property has to be added in internal-gateway.json

Sequence Diagram

Open

Last updated

Was this helpful?