Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Gateway with filters for the book-a-book backend

Notifications You must be signed in to change notification settings

UNIR-WG/book-a-book-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Cloud Gateway Implementation with Custom Filters

This is a Java application built with Spring Boot and Maven. It serves as a gateway for microservices architecture, implementing custom filters for request translation.

Components

The application consists of several components:

  • RequestTranslationFilter: A custom filter for the Spring Cloud Gateway. It translates incoming requests using the RequestBodyExtractor and the RequestDecoratorFactory.

  • RequestBodyExtractor: Extracts the body of the request and converts it into a GatewayRequest object.

  • RequestDecoratorFactory: Creates decorators for the GatewayRequest object.

  • PostRequestDecorator and GetRequestDecorator: Decorators for the GatewayRequest object for POST and GET requests respectively.

  • GatewayRequest: Represents a request that is being processed by the gateway.

For more detailed information about these components, please refer to the source code documentation.

Deploy on Railway

About

Gateway with filters for the book-a-book backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published