# api-gateway-old **Repository Path**: wangxuwen/api-gateway-old ## Basic Information - **Project Name**: api-gateway-old - **Description**: The gateway service is responsible for routing requests to real services. Pulling configuration information including routes from config-server to implement dynamic routing. After requesting to remove the request body, it is forwarded to gateway-helper for authentication, traffic restrictions. - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 21 - **Created**: 2020-03-11 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # API Gateway The gateway service is responsible for routing requests to real services. Pulling configuration information including routes from `config-server `to implement dynamic routing. After requesting to remove the request body, it is forwarded to `gateway-helper` for authentication, traffic restrictions. ![Flow chart](screenshot/flow_chart.png) ## Feature - In the future, spring cloud zuul may be deprecated and `linkerd` or other gateway services may be used. ## Requirements - The service is an eureka client service. The local operation needs to cooperate with `eureka-server`, and the online operation needs to cooperate with `go-register-server`. - It needs to cooperate with `gateway-helper` to complete the gateway functions such as authentication, traffic restrictions, and routing. ## Installation and Getting Started - Start `eureka-server` - Go to the project directory, run `mvn spring-boot:run` ## Dependencies - `go-register-server`: The registration of service. - `config-server`:The configuration of service ## Links * [Change Log](./CHANGELOG.zh-CN.md) ## How to Contribute Pull requests are welcome! [Follow](https://github.com/choerodon/choerodon/blob/master/CONTRIBUTING.md) to know for more information on how to contribute. ## Note - It needs to cooperate with `gateway-helper` to complete the gateway functions such as authentication, traffic restrictions and routing. ## Filter流程图 ![Filter Workflow](screenshot/filter_workflow.jpg)