Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 06d5164

Browse files
authored
Remove envoy (#2127)
- Just go through the gateway directly - We'll need to update the mobile version eventually
1 parent 67d4c06 commit 06d5164

File tree

8 files changed

+4
-339
lines changed

8 files changed

+4
-339
lines changed

src/.env

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66

77
# Use this values to run the app locally in Windows
88
ESHOP_EXTERNAL_DNS_NAME_OR_IP=host.docker.internal
9-
ESHOP_STORAGE_CATALOG_URL=http://host.docker.internal:5202/c/api/v1/catalog/items/[0]/pic/
9+
ESHOP_STORAGE_CATALOG_URL=http://host.docker.internal:5121/c/api/v1/catalog/items/[0]/pic/
1010

1111
# Use this values to run the app locally in Mac
1212
# ESHOP_EXTERNAL_DNS_NAME_OR_IP=docker.for.mac.localhost
13-
# ESHOP_STORAGE_CATALOG_URL=http://docker.for.mac.localhost:5202/c/api/v1/catalog/items/[0]/pic/
13+
# ESHOP_STORAGE_CATALOG_URL=http://docker.for.mac.localhost:5121/c/api/v1/catalog/items/[0]/pic/
1414

1515
# Use this values to run the app locally in Linux
1616
# ESHOP_EXTERNAL_DNS_NAME_OR_IP=docker.for.linux.localhost
17-
# ESHOP_STORAGE_CATALOG_URL=http://docker.for.linux.localhost:5202/c/api/v1/catalog/items/[0]/pic/
17+
# ESHOP_STORAGE_CATALOG_URL=http://docker.for.linux.localhost:5121/c/api/v1/catalog/items/[0]/pic/
1818

1919
# Configure this values to the cloud storage locations
2020
# ESHOP_STORAGE_CATALOG_URL=<YourAzureStorage_Catalog_BLOB_URL>

src/ApiGateways/Envoy/config/mobileshopping/envoy.yaml

Lines changed: 0 additions & 139 deletions
This file was deleted.

src/ApiGateways/Envoy/config/webshopping/envoy.yaml

Lines changed: 0 additions & 142 deletions
This file was deleted.

src/docker-compose.override.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -169,20 +169,6 @@ services:
169169
ports:
170170
- "5113:80"
171171

172-
mobileshoppingapigw:
173-
volumes:
174-
- ./ApiGateways/Envoy/config/mobileshopping:/etc/envoy
175-
ports:
176-
- "5200:80"
177-
- "15200:8001"
178-
179-
webshoppingapigw:
180-
volumes:
181-
- ./ApiGateways/Envoy/config/webshopping:/etc/envoy
182-
ports:
183-
- "5202:80"
184-
- "15202:8001"
185-
186172
mobileshoppingagg:
187173
environment:
188174
- ASPNETCORE_ENVIRONMENT=Development

src/docker-compose.prod.yml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ services:
128128
environment:
129129
- ASPNETCORE_ENVIRONMENT=Development
130130
- ASPNETCORE_URLS=http://0.0.0.0:80
131-
- PurchaseUrl=http://webshoppingapigw
131+
- PurchaseUrl=http://webshoppingagg
132132
- IdentityUrl=http://10.0.75.1:5105 # Local Mac: Use http://docker.for.mac.localhost:5105 || Local Windows: Use 10.0.75.1 in a "Docker for Windows" environment, if using "localhost" from browser. || #Remote access: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP} if using external IP or DNS name from browser.
133133
- CatalogUrlHC=http://catalog-api/hc
134134
- OrderingUrlHC=http://ordering-api/hc
@@ -191,26 +191,6 @@ services:
191191
- "15672:15672" # Important: In a production environment your should remove the external port
192192
- "5672:5672" # Important: In a production environment your should remove the external port
193193

194-
mobileshoppingapigw:
195-
environment:
196-
- ASPNETCORE_ENVIRONMENT=Development
197-
- IdentityUrl=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110.
198-
ports:
199-
- "5200:80" # Important: In a production environment your should remove the external port (5200) kept here for microservice debugging purposes.
200-
# The API Gateway redirects and access through the internal port (80).
201-
volumes:
202-
- ./ApiGateways/Mobile.Bff.Shopping/apigw:/app/configuration
203-
204-
webshoppingapigw:
205-
environment:
206-
- ASPNETCORE_ENVIRONMENT=Development
207-
- IdentityUrl=http://identity-api #Local: You need to open your local dev-machine firewall at range 5100-5110.
208-
ports:
209-
- "5202:80" # Important: In a production environment your should remove the external port (5202) kept here for microservice debugging purposes.
210-
# The API Gateway redirects and access through the internal port (80).
211-
volumes:
212-
- ./ApiGateways/Web.Bff.Shopping/apigw:/app/configuration
213-
214194
mobileshoppingagg:
215195
environment:
216196
- ASPNETCORE_ENVIRONMENT=Development

src/docker-compose.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,6 @@ services:
7878
depends_on:
7979
- sqldata
8080

81-
mobileshoppingapigw:
82-
image: envoyproxy/envoy:v1.11.1
83-
8481
mobileshoppingagg:
8582
image: ${REGISTRY:-eshop}/mobileshoppingagg:${PLATFORM:-linux}-${TAG:-latest}
8683
build:
@@ -154,6 +151,3 @@ services:
154151
dockerfile: Web/WebhookClient/Dockerfile
155152
depends_on:
156153
- webhooks-api
157-
158-
webshoppingapigw:
159-
image: envoyproxy/envoy:v1.11.1

0 commit comments

Comments
 (0)