Skip to content

Commit df63d9c

Browse files
Merge pull request dotnet-architecture#52 from dotnet-architecture/dev
eShopOnContainers fork
2 parents 3f0c467 + f87ae19 commit df63d9c

155 files changed

Lines changed: 142 additions & 28965 deletions

File tree

Some content is hidden

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

docker-compose.override.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ services:
111111
- OrchestratorType=${ORCHESTRATOR_TYPE}
112112
- UseLoadTest=${USE_LOADTEST:-False}
113113
- Serilog__MinimumLevel__Override__Microsoft.eShopOnContainers.BuildingBlocks.EventBusRabbitMQ=Verbose
114+
- Serilog__MinimumLevel__Override__Ordering.API=Verbose
114115
ports:
115116
- "5102:80" # Important: In a production environment your should remove the external port (5102) kept here for microservice debugging purposes.
116117
# The API Gateway redirects and access through the internal port (80).
744 KB
Binary file not shown.
761 KB
Binary file not shown.

k8s/helm/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ app: # app global settings
2929
catalog: catalog # service name for catalog api
3030
ordering: ordering # service name for ordering api
3131
orderingbackgroundtasks: orderingbackgroundtasks # service name for orderingbackgroundtasks
32-
orderingsignalrhub: ordering-signalrhub # service name for orderingsignalrhub
32+
orderingsignalrhub: ordering-signalrhub # service name for orderingsignalrhub
3333
identity: identity # service name for identity api
3434
mvc: webmvc # service name for web mvc
3535
spa: webspa # service name for web spa

k8s/helm/basket-api/templates/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ data:
1515
urls__IdentityUrl: http://{{ $identity }}
1616
basket__EnableLoadTest: "{{ .Values.inf.misc.useLoadTest }}"
1717
all__EventBusConnection: {{ .Values.inf.eventbus.constr }}
18-
all__InstrumentationKey: {{ .Values.inf.appinsights.key }}
18+
all__InstrumentationKey: "{{ .Values.inf.appinsights.key }}"
1919
all__UseAzureServiceBus: "{{ .Values.inf.eventbus.useAzure }}"

k8s/helm/catalog-api/templates/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ data:
1616
catalog__PicBaseUrl: http://{{ $webshoppingapigw }}/api/v1/c/catalog/items/[0]/pic/
1717
catalog__AzureStorageEnabled: "{{ .Values.inf.misc.useAzureStorage }}"
1818
all__EventBusConnection: {{ .Values.inf.eventbus.constr }}
19-
all__InstrumentationKey: {{ .Values.inf.appinsights.key }}
19+
all__InstrumentationKey: "{{ .Values.inf.appinsights.key }}"
2020
all__UseAzureServiceBus: "{{ .Values.inf.eventbus.useAzure }}"

k8s/helm/deploy-all.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ $charts = ("eshop-common", "apigwmm", "apigwms", "apigwwm", "apigwws", "basket-a
6767
if ($deployInfrastructure) {
6868
foreach ($infra in $infras) {
6969
Write-Host "Installing infrastructure: $infra" -ForegroundColor Green
70-
helm install --values app.yaml --values inf.yaml --values $ingressValuesFile --set app.name=$appName --set inf.k8s.dns=$dns --set ingress.hosts={$dns} --name="$appName-$infra" $infra
70+
helm install --values app.yaml --values inf.yaml --values $ingressValuesFile --set app.name=$appName --set inf.k8s.dns=$dns --set "ingress.hosts={$dns}" --name="$appName-$infra" $infra
7171
}
7272
}
7373
else {
@@ -78,11 +78,11 @@ if ($deployCharts) {
7878
foreach ($chart in $charts) {
7979
Write-Host "Installing: $chart" -ForegroundColor Green
8080
if ($useCustomRegistry) {
81-
helm install --set inf.registry.server=$registry --set inf.registry.login=$dockerUser --set inf.registry.pwd=$dockerPassword --set inf.registry.secretName=eshop-docker-scret --values app.yaml --values inf.yaml --values $ingressValuesFile --set app.name=$appName --set inf.k8s.dns=$dns --set ingress.hosts={$dns} --set image.tag=$imageTag --set image.pullPolicy=Always --name="$appName-$chart" $chart
81+
helm install --set inf.registry.server=$registry --set inf.registry.login=$dockerUser --set inf.registry.pwd=$dockerPassword --set inf.registry.secretName=eshop-docker-scret --values app.yaml --values inf.yaml --values $ingressValuesFile --set app.name=$appName --set inf.k8s.dns=$dns --set "ingress.hosts={$dns}" --set image.tag=$imageTag --set image.pullPolicy=Always --name="$appName-$chart" $chart
8282
}
8383
else {
8484
if ($chart -ne "eshop-common") { # eshop-common is ignored when no secret must be deployed
85-
helm install --values app.yaml --values inf.yaml --values $ingressValuesFile --set app.name=$appName --set inf.k8s.dns=$dns --set ingress.hosts={$dns} --set image.tag=$imageTag --set image.pullPolicy=Always --name="$appName-$chart" $chart
85+
helm install --values app.yaml --values inf.yaml --values $ingressValuesFile --set app.name=$appName --set inf.k8s.dns=$dns --set "ingress.hosts={$dns}" --set image.tag=$imageTag --set image.pullPolicy=Always --name="$appName-$chart" $chart
8686
}
8787
}
8888
}

k8s/helm/identity-api/templates/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ metadata:
2424
data:
2525
identity__ConnectionString: Server={{ $sqlsrv }};Initial Catalog={{ .Values.inf.sql.identity.db }};User Id={{ .Values.inf.sql.common.user }};Password={{ .Values.inf.sql.common.pwd }};
2626
identity__keystore: {{ .Values.inf.redis.keystore.constr }}
27-
all__InstrumentationKey: {{ .Values.inf.appinsights.key }}
27+
all__InstrumentationKey: "{{ .Values.inf.appinsights.key }}"
2828
mvc_e: http://{{ $mvc_url }}
2929
spa_e: http://{{ $spa_url }}
3030
locations_e: http://{{ $locations_url }}

k8s/helm/inf.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This heml values file defines all infrastructure used by eShopOnContainers.
1+
# This helm values file defines all infrastructure used by eShopOnContainers.
22
# It is used on all charts, so ** MUST BE INCLUDED ** on every deployment
33

44
inf:
@@ -15,11 +15,11 @@ inf:
1515
identity:
1616
db: IdentityDb # Ordering API SQL db name
1717
marketing:
18-
db: MarketingDb # Marketing API SQL db name
18+
db: MarketingDb # Marketing API SQL db name
1919
webhooks:
20-
db: WebhooksDb # Webhooks DB
20+
db: WebhooksDb # Webhooks DB
2121
mongo:
22-
# host: my-nosql-data # Uncomment to use specify custom mongo host. By default nosql-data is used
22+
# host: my-nosql-data # Uncomment to use specify custom mongo host. By default nosql-data is used
2323
locations:
2424
database: LocationsDb
2525
marketing:

k8s/helm/locations-api/templates/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ metadata:
1313
heritage: {{ .Release.Service }}
1414
data:
1515
all__EventBusConnection: {{ .Values.inf.eventbus.constr }}
16-
all__InstrumentationKey: {{ .Values.inf.appinsights.key }}
16+
all__InstrumentationKey: "{{ .Values.inf.appinsights.key }}"
1717
all__UseAzureServiceBus: "{{ .Values.inf.eventbus.useAzure }}"
1818
all_EnableLoadTest: "{{ .Values.inf.misc.useLoadTest }}"
1919
internalurls__IdentityUrl: http://{{ .Values.app.svc.identity }}

0 commit comments

Comments
 (0)