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

Commit 0742f94

Browse files
authored
Merge pull request #566 from dotnet-architecture/revert-565-xamarin-settings
Revert "Simplified the SettingsService in the mobile client."
2 parents 9218a46 + 0b4b001 commit 0742f94

File tree

156 files changed

+2379
-5859
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+2379
-5859
lines changed

.dockerignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ hosts
1313
LICENSE
1414
*.testsettings
1515
vsts-docs
16-
test
1716
ServiceFabric
1817
readme
1918
k8s
@@ -30,5 +29,4 @@ cli-linux
3029
**/bower_components/
3130
**/wwwroot/lib/
3231
global.json
33-
**/appsettings.localhost.json
3432
src/Web/WebSPA/wwwroot/

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,4 +260,3 @@ pub/
260260
/src/Web/WebMVC/wwwroot/lib
261261
/src/Web/WebMVC/wwwroot/css/site.min.css
262262
**/.kube/**
263-
.mfractor

docker-compose.dcproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<DockerServiceName>webmvc</DockerServiceName>
88
<DockerTargetOS>Linux</DockerTargetOS>
99
<ProjectVersion>2.1</ProjectVersion>
10-
<DockerLaunchAction>LaunchBrowser</DockerLaunchAction>
1110
</PropertyGroup>
1211
<ItemGroup>
1312
<None Include=".dockerignore" />

docker-compose.override.yml

Lines changed: 28 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ services:
5757
- MarketingApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5110
5858
- BasketApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5103
5959
- OrderingApiClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5102
60-
- MobileShoppingAggClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5120
61-
- WebShoppingAggClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5121
6260
- UseCustomizationData=True
6361
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
6462
- OrchestratorType=${ORCHESTRATOR_TYPE}
@@ -85,6 +83,24 @@ services:
8583
ports:
8684
- "5102:80"
8785

86+
ordering.backgroundtasks:
87+
environment:
88+
- ASPNETCORE_ENVIRONMENT=Development
89+
- ASPNETCORE_URLS=http://0.0.0.0:80
90+
- ConnectionString=${ESHOP_AZURE_ORDERING_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word}
91+
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
92+
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
93+
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
94+
- UseCustomizationData=True
95+
- AzureServiceBusEnabled=False
96+
- CheckUpdateTime=30000
97+
- GracePeriodTime=1
98+
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
99+
- OrchestratorType=${ORCHESTRATOR_TYPE}
100+
- UseLoadTest=${USE_LOADTEST:-False}
101+
ports:
102+
- "5111:80"
103+
88104
marketing.api:
89105
environment:
90106
- ASPNETCORE_ENVIRONMENT=Development
@@ -113,9 +129,12 @@ services:
113129
environment:
114130
- ASPNETCORE_ENVIRONMENT=Development
115131
- ASPNETCORE_URLS=http://0.0.0.0:80
132+
- CatalogUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5101
133+
- OrderingUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5102
116134
- IdentityUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5105 #Local: You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105.
117-
- PurchaseUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5202
118-
- MarketingUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5203
135+
- BasketUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5103
136+
- MarketingUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5110
137+
- LocationsUrl=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5109
119138
- CatalogUrlHC=http://catalog.api/hc
120139
- OrderingUrlHC=http://ordering.api/hc
121140
- IdentityUrlHC=http://identity.api/hc #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser.
@@ -132,9 +151,12 @@ services:
132151
environment:
133152
- ASPNETCORE_ENVIRONMENT=Development
134153
- ASPNETCORE_URLS=http://0.0.0.0:80
135-
- PurchaseUrl=http://webshoppingapigw
154+
- CatalogUrl=http://catalog.api
155+
- OrderingUrl=http://ordering.api
156+
- BasketUrl=http://basket.api
157+
- LocationsUrl=http://locations.api
136158
- 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_EXTERNAL_DNS_NAME_OR_IP} if using external IP or DNS name from browser.
137-
- MarketingUrl=http://webmarketingapigw
159+
- MarketingUrl=http://marketing.api
138160
- CatalogUrlHC=http://catalog.api/hc
139161
- OrderingUrlHC=http://ordering.api/hc
140162
- IdentityUrlHC=http://identity.api/hc #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser.
@@ -217,58 +239,3 @@ services:
217239
- "15672:15672"
218240
- "5672:5672"
219241

220-
mobileshoppingapigw:
221-
environment:
222-
- ASPNETCORE_ENVIRONMENT=Development
223-
- IdentityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
224-
ports:
225-
- "5200:80"
226-
volumes:
227-
- ./src/ApiGateways/Mobile.Bff.Shopping/apigw:/app/configuration
228-
229-
mobilemarketingapigw:
230-
environment:
231-
- ASPNETCORE_ENVIRONMENT=Development
232-
- IdentityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
233-
ports:
234-
- "5201:80"
235-
volumes:
236-
- ./src/ApiGateways/Mobile.Bff.Marketing/apigw:/app/configuration
237-
238-
webshoppingapigw:
239-
environment:
240-
- ASPNETCORE_ENVIRONMENT=Development
241-
- IdentityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
242-
ports:
243-
- "5202:80"
244-
volumes:
245-
- ./src/ApiGateways/Web.Bff.Shopping/apigw:/app/configuration
246-
247-
webmarketingapigw:
248-
environment:
249-
- ASPNETCORE_ENVIRONMENT=Development
250-
- IdentityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
251-
ports:
252-
- "5203:80"
253-
volumes:
254-
- ./src/ApiGateways/Web.Bff.Marketing/apigw:/app/configuration
255-
256-
mobileshoppingagg:
257-
environment:
258-
- ASPNETCORE_ENVIRONMENT=Development
259-
- urls__basket=http://basket.api
260-
- urls__catalog=http://catalog.api
261-
- urls__orders=http://ordering.api
262-
- urls__identity=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
263-
ports:
264-
- "5120:80"
265-
266-
webshoppingagg:
267-
environment:
268-
- ASPNETCORE_ENVIRONMENT=Development
269-
- urls__basket=http://basket.api
270-
- urls__catalog=http://catalog.api
271-
- urls__orders=http://ordering.api
272-
- urls__identity=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
273-
ports:
274-
- "5121:80"

docker-compose.prod.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ services:
6464
- MarketingApiClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5110
6565
- BasketApiClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5103
6666
- OrderingApiClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5102
67-
- MobileShoppingAggClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5120
68-
- WebShoppingAggClient=http://${ESHOP_EXTERNAL_DNS_NAME_OR_IP}:5120
6967
- UseCustomizationData=True
7068
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
7169
- OrchestratorType=${ORCHESTRATOR_TYPE}
@@ -158,16 +156,17 @@ services:
158156

159157
webmvc:
160158
environment:
161-
162159
- ASPNETCORE_ENVIRONMENT=Development
163160
- ASPNETCORE_URLS=http://0.0.0.0:80
164-
- PurchaseUrl=http://webshoppingapigw/shopping
161+
- CatalogUrl=http://catalog.api
162+
- OrderingUrl=http://ordering.api
163+
- BasketUrl=http://basket.api
165164
- LocationsUrl=http://locations.api
166-
- IdentityUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}: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_EXTERNAL_DNS_NAME_OR_IP} if using external IP or DNS name from browser.
167-
- MarketingUrl=http://marketing.api
165+
- IdentityUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105 #Local: Use 10.0.75.1 in a "Docker for Windows" environment, if using "localhost" from browser. #Remote: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP} if using external IP or DNS name from browser.
166+
- MarketingUrl=http://marketing.api
168167
- CatalogUrlHC=http://catalog.api/hc
169168
- OrderingUrlHC=http://ordering.api/hc
170-
- IdentityUrlHC=http://identity.api/hc #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser.
169+
- IdentityUrlHC=http://identity.api/hc
171170
- BasketUrlHC=http://basket.api/hc
172171
- MarketingUrlHC=http://marketing.api/hc
173172
- PaymentUrlHC=http://payment.api/hc

docker-compose.yml

Lines changed: 10 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@ services:
3838
- sql.data
3939
- rabbitmq
4040

41+
ordering.backgroundtasks:
42+
image: eshop/ordering.backgroundtasks:${TAG:-latest}
43+
build:
44+
context: .
45+
dockerfile: src/Services/Ordering/Ordering.BackgroundTasks/Dockerfile
46+
depends_on:
47+
- sql.data
48+
- rabbitmq
49+
4150
marketing.api:
4251
image: eshop/marketing.api:${TAG:-latest}
4352
build:
@@ -106,41 +115,4 @@ services:
106115
image: redis:alpine
107116

108117
rabbitmq:
109-
image: rabbitmq:3-management-alpine
110-
111-
mobileshoppingapigw:
112-
image: eshop/ocelotapigw-ms:${TAG:-latest}
113-
build:
114-
context: .
115-
dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
116-
117-
mobilemarketingapigw:
118-
image: eshop/ocelotapigw-mm:${TAG:-latest}
119-
build:
120-
context: .
121-
dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile2
122-
123-
webshoppingapigw:
124-
image: eshop/ocelotapigw-ws:${TAG:-latest}
125-
build:
126-
context: .
127-
dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile3
128-
129-
webmarketingapigw:
130-
image: eshop/ocelotapigw-wm:${TAG:-latest}
131-
build:
132-
context: .
133-
dockerfile: src/ApiGateways/ApiGw-Base/Dockerfile
134-
135-
mobileshoppingagg:
136-
image: eshop/mobileshoppingagg:${TAG:-latest}
137-
build:
138-
context: .
139-
dockerfile: src/ApiGateways/Mobile.Bff.Shopping/aggregator/Dockerfile
140-
141-
webshoppingagg:
142-
image: eshop/webshoppingagg:${TAG:-latest}
143-
build:
144-
context: .
145-
dockerfile: src/ApiGateways/Web.Bff.Shopping/aggregator/Dockerfile
146-
118+
image: rabbitmq:3-management-alpine

0 commit comments

Comments
 (0)