Skip to content

Commit

Permalink
Merge pull request #1487 from praminda/envoy-gw
Browse files Browse the repository at this point in the history
Rename proxy as router
  • Loading branch information
pubudu538 authored Nov 13, 2020
2 parents 6bfe108 + 358303f commit aa8f26c
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
Binary file modified Architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ curl -X GET "https://localhost:9095/v2/pet/1" -H "accept: application/json" -H "
- **APICTL** : The APICTL is used to initiate Microgateway projects as well as to deploy APIs in to Microgateway. This is a developer tool used
to deploy APIs into Microgateway

- **Proxy** : The client facing component of the Microgateway. The downstream request will reach the proxy component and it will route the request
- **Router** : The client facing component of the Microgateway. The downstream request will reach the proxy component and it will route the request
to the desired destination.

- **Enforcer** : This component will intercept the request going through the proxy and applies security, rate limiting, publish analytics data and etc.
Proxy will forward the request to this component in order to validate and to add additional QoS.
- **Enforcer** : This component will intercept the request going through the Router and applies security, rate limiting, publish analytics data and etc.
Router will forward the request to this component in order to validate and to add additional QoS.

- **Adapter** : The component configures the proxy and the enforcer components dynamically during the runtime upon receiving an event for API
- **Adapter** : The component configures the Router and the enforcer components dynamically during the runtime upon receiving an event for API
creation or update.
#### Architecture

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<modules>
<module>adapter</module>
<module>enforcer</module>
<module>proxy</module>
<module>router</module>
<module>distribution</module>
</modules>

Expand Down
4 changes: 2 additions & 2 deletions resources/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3.7"
services:
proxy:
image: wso2am/mg-proxy:4.0.0-SNAPSHOT
router:
image: wso2am/mg-router:4.0.0-SNAPSHOT
ports:
- "9095:9095"
- "9000:9000"
Expand Down
8 changes: 4 additions & 4 deletions proxy/pom.xml → router/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>proxy</artifactId>
<artifactId>router</artifactId>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<name>Micro Gateway - Proxy</name>
<name>Micro Gateway - Router</name>

<build>
<plugins>
Expand All @@ -37,8 +37,8 @@
<configuration>
<images>
<image>
<alias>mg-proxy</alias>
<name>wso2am/mg-proxy:${project.version}</name>
<alias>mg-router</alias>
<name>wso2am/mg-router:${project.version}</name>
<build>
<contextDir>${project.basedir}/src/main/resources</contextDir>
<assembly>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<assembly>
<includeBaseDirectory>false</includeBaseDirectory>
<baseDirectory>/</baseDirectory>
<id>proxy</id>
<id>router</id>
<formats>
<format>dir</format>
</formats>
Expand Down
File renamed without changes.

0 comments on commit aa8f26c

Please sign in to comment.