From 5b4adb7235391abee9bf8283220842e2798063bd Mon Sep 17 00:00:00 2001 From: Sumit Ghosh <13281246+sughosneo@users.noreply.github.com> Date: Wed, 7 Oct 2020 11:32:21 +0530 Subject: [PATCH] Refactored tye yamls for all services --- .../Mobile.Bff.Shopping/aggregator/tye.yaml | 43 ++ .../Web.Bff.Shopping/aggregator/tye.yaml | 43 ++ src/Services/Basket/Basket.API/tye.yaml | 41 ++ src/Services/Catalog/Catalog.API/tye.yaml | 43 ++ src/Services/Identity/Identity.API/tye.yaml | 44 ++ src/Services/Location/Locations.API/tye.yaml | 39 ++ src/Services/Marketing/Marketing.API/tye.yaml | 51 ++ src/Services/Ordering/Ordering.API/tye.yaml | 49 ++ .../Ordering.BackgroundTasks/tye.yaml | 41 ++ .../Ordering/Ordering.SignalrHub/tye.yaml | 29 + src/Services/Payment/Payment.API/tye.yaml | 31 + src/Services/Webhooks/Webhooks.API/tye.yaml | 27 + src/Web/WebMVC/tye.yaml | 55 ++ src/Web/WebSPA/tye.yaml | 31 + src/Web/WebStatus/tye.yaml | 71 ++ src/Web/WebhookClient/tye.yaml | 25 + src/tye.yaml | 611 +----------------- 17 files changed, 680 insertions(+), 594 deletions(-) create mode 100644 src/ApiGateways/Mobile.Bff.Shopping/aggregator/tye.yaml create mode 100644 src/ApiGateways/Web.Bff.Shopping/aggregator/tye.yaml create mode 100644 src/Services/Basket/Basket.API/tye.yaml create mode 100644 src/Services/Catalog/Catalog.API/tye.yaml create mode 100644 src/Services/Identity/Identity.API/tye.yaml create mode 100644 src/Services/Location/Locations.API/tye.yaml create mode 100644 src/Services/Marketing/Marketing.API/tye.yaml create mode 100644 src/Services/Ordering/Ordering.API/tye.yaml create mode 100644 src/Services/Ordering/Ordering.BackgroundTasks/tye.yaml create mode 100644 src/Services/Ordering/Ordering.SignalrHub/tye.yaml create mode 100644 src/Services/Payment/Payment.API/tye.yaml create mode 100644 src/Services/Webhooks/Webhooks.API/tye.yaml create mode 100644 src/Web/WebMVC/tye.yaml create mode 100644 src/Web/WebSPA/tye.yaml create mode 100644 src/Web/WebStatus/tye.yaml create mode 100644 src/Web/WebhookClient/tye.yaml diff --git a/src/ApiGateways/Mobile.Bff.Shopping/aggregator/tye.yaml b/src/ApiGateways/Mobile.Bff.Shopping/aggregator/tye.yaml new file mode 100644 index 000000000..c775ea81e --- /dev/null +++ b/src/ApiGateways/Mobile.Bff.Shopping/aggregator/tye.yaml @@ -0,0 +1,43 @@ +name: eshoponcontainers-servicesandwebapps + +services: + +- name: mobileshoppingagg + project: Mobile.Shopping.HttpAggregator.csproj + env: + - name: ASPNETCORE_ENVIRONMENT + value: Development + - name: urls__basket + value: http://localhost:5103 + - name: urls__catalog + value: http://localhost:5101 + - name: urls__orders + value: http://localhost:5102 + - name: urls__identity + value: http://localhost:5105 + - name: urls__grpcBasket + value: http://localhost:9103 + - name: urls__grpcCatalog + value: http://localhost:9101 + - name: urls__grpcOrdering + value: http://localhost:9102 + - name: CatalogUrlHC + value: http://localhost:5101/hc + - name: OrderingUrlHC + value: http://localhost:5102/hc + - name: IdentityUrlHC + value: http://localhost:5105/hc + - name: BasketUrlHC + value: http://localhost:5103/hc + - name: MarketingUrlHC + value: http://localhost:5110/hc + - name: PaymentUrlHC + value: http://localhost:5108/hc + - name: LocationUrlHC + value: http://localhost:5109/hc + - name: IdentityUrlExternal + value: http://localhost:5105 + bindings: + - name: http-port-80-binding + port: 5120 + protocol: http \ No newline at end of file diff --git a/src/ApiGateways/Web.Bff.Shopping/aggregator/tye.yaml b/src/ApiGateways/Web.Bff.Shopping/aggregator/tye.yaml new file mode 100644 index 000000000..3445ba7f9 --- /dev/null +++ b/src/ApiGateways/Web.Bff.Shopping/aggregator/tye.yaml @@ -0,0 +1,43 @@ +name: eshoponcontainers-servicesandwebapps + +services: + +- name: webshoppingagg + project: Web.Shopping.HttpAggregator.csproj + env: + - name: ASPNETCORE_ENVIRONMENT + value: Development + - name: urls__basket + value: http://localhost:5103 + - name: urls__catalog + value: http://localhost:5101 + - name: urls__orders + value: http://localhost:5102 + - name: urls__identity + value: http://localhost:5105 + - name: urls__grpcBasket + value: http://localhost:9103 + - name: urls__grpcCatalog + value: http://localhost:9101 + - name: urls__grpcOrdering + value: http://localhost:9102 + - name: CatalogUrlHC + value: http://localhost:5101/hc + - name: OrderingUrlHC + value: http://localhost:5102/hc + - name: IdentityUrlHC + value: http://localhost:5105/hc + - name: BasketUrlHC + value: http://localhost:5103/hc + - name: MarketingUrlHC + value: http://localhost:5110/hc + - name: PaymentUrlHC + value: http://localhost:5108/hc + - name: LocationUrlHC + value: http://localhost:5109/hc + - name: IdentityUrlExternal + value: http://localhost:5105 + bindings: + - name: http-port-80-binding + port: 5121 + protocol: http \ No newline at end of file diff --git a/src/Services/Basket/Basket.API/tye.yaml b/src/Services/Basket/Basket.API/tye.yaml new file mode 100644 index 000000000..3dd52ec40 --- /dev/null +++ b/src/Services/Basket/Basket.API/tye.yaml @@ -0,0 +1,41 @@ +name: eshoponcontainers-servicesandwebapps + +services: + +- name: basket-api + project: Basket.API.csproj + env: + - name: ASPNETCORE_ENVIRONMENT + value: Development + - name: ASPNETCORE_URLS + value: http://0.0.0.0:80 + - name: ConnectionString + value: 127.0.0.1 + - name: identityUrl + value: http://localhost:5105 + - name: IdentityUrlExternal + value: http://localhost:5105 + - name: EventBusConnection + value: localhost + - name: EventBusUserName + value: + - name: EventBusPassword + value: + - name: AzureServiceBusEnabled + value: False + - name: ApplicationInsights__InstrumentationKey + value: + - name: OrchestratorType + value: + - name: UseLoadTest + value: False + - name: GRPC_PORT + value: 9103 + - name: PORT + value: 80 + - name: PATH_BASE + value: /basket-api + bindings: + - name: http-port-80-binding + port: 5103 + protocol: http \ No newline at end of file diff --git a/src/Services/Catalog/Catalog.API/tye.yaml b/src/Services/Catalog/Catalog.API/tye.yaml new file mode 100644 index 000000000..7e9b456a0 --- /dev/null +++ b/src/Services/Catalog/Catalog.API/tye.yaml @@ -0,0 +1,43 @@ +name: eshoponcontainers-servicesandwebapps + +services: + +- name: catalog-api + project: Catalog.API.csproj + env: + - name: ASPNETCORE_ENVIRONMENT + value: Development + - name: ConnectionString + value: Server=localhost;Database=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word + - name: PicBaseUrl + value: http://localhost:5202/c/api/v1/catalog/items/[0]/pic/ + - name: EventBusConnection + value: localhost + - name: EventBusUserName + value: + - name: EventBusPassword + value: + - name: AzureStorageAccountName + value: + - name: AzureStorageAccountKey + value: + - name: UseCustomizationData + value: True + - name: AzureServiceBusEnabled + value: False + - name: AzureStorageEnabled + value: False + - name: ApplicationInsights__InstrumentationKey + value: + - name: OrchestratorType + value: + - name: GRPC_PORT + value: 9101 + - name: PORT + value: 80 + - name: PATH_BASE + value: /catalog-api + bindings: + - protocol: http + name: http-port-80-binding + port: 5101 \ No newline at end of file diff --git a/src/Services/Identity/Identity.API/tye.yaml b/src/Services/Identity/Identity.API/tye.yaml new file mode 100644 index 000000000..9ac89e8bb --- /dev/null +++ b/src/Services/Identity/Identity.API/tye.yaml @@ -0,0 +1,44 @@ +name: eshoponcontainers-servicesandwebapps + +services: + +- name: identity-api + project: Identity.API.csproj + env: + - name: ASPNETCORE_ENVIRONMENT + value: Development + - name: ASPNETCORE_URLS + value: http://0.0.0.0:80 + - name: SpaClient + value: http://localhost:5104/ + - name: XamarinCallback + value: http://localhost:5105/xamarincallback + - name: ConnectionString + value: Server=localhost;Database=Microsoft.eShopOnContainers.Service.IdentityDb;User Id=sa;Password=Pass@word + - name: MvcClient + value: http://localhost:5100 + - name: LocationApiClient + value: http://localhost:5109 + - name: MarketingApiClient + value: http://localhost:5110 + - name: BasketApiClient + value: http://localhost:5103 + - name: OrderingApiClient + value: http://localhost:5102 + - name: MobileShoppingAggClient + value: http://localhost:5120 + - name: WebShoppingAggClient + value: http://localhost:5121 + - name: WebhooksApiClient + value: http://localhost:5113 + - name: WebhooksWebClient + value: http://localhost:5114 + - name: UseCustomizationData + value: True + - name: ApplicationInsights__InstrumentationKey + value: + - name: OrchestratorType + value: + bindings: + - name: http-binding + port: 5105 \ No newline at end of file diff --git a/src/Services/Location/Locations.API/tye.yaml b/src/Services/Location/Locations.API/tye.yaml new file mode 100644 index 000000000..220123d23 --- /dev/null +++ b/src/Services/Location/Locations.API/tye.yaml @@ -0,0 +1,39 @@ +name: eshoponcontainers-servicesandwebapps + +services: + +- name: locations-api + project: Locations.API.csproj + env: + - name: ASPNETCORE_ENVIRONMENT + value: Development + - name: ASPNETCORE_URLS + value: http://0.0.0.0:80 + - name: ConnectionString + value: mongodb://localhost:27017 + - name: Database + value: LocationsDb + - name: identityUrl + value: http://localhost:5105 + - name: IdentityUrlExternal + value: http://localhost:5105 + - name: EventBusConnection + value: localhost + - name: EventBusUserName + value: + - name: EventBusPassword + value: + - name: AzureServiceBusEnabled + value: False + - name: ApplicationInsights__InstrumentationKey + value: + - name: OrchestratorType + value: + - name: UseLoadTest + value: False + - name: PATH_BASE + value: /locations-api + bindings: + - name: http-port-80-binding + port: 5109 + protocol: http \ No newline at end of file diff --git a/src/Services/Marketing/Marketing.API/tye.yaml b/src/Services/Marketing/Marketing.API/tye.yaml new file mode 100644 index 000000000..f83377388 --- /dev/null +++ b/src/Services/Marketing/Marketing.API/tye.yaml @@ -0,0 +1,51 @@ +name: eshoponcontainers-servicesandwebapps + +services: + +- name: marketing-api + project: Marketing.API.csproj + env: + - name: ASPNETCORE_ENVIRONMENT + value: Development + - name: ASPNETCORE_URLS + value: http://0.0.0.0:80 + - name: ConnectionString + value: Server=localhost;Database=Microsoft.eShopOnContainers.Services.MarketingDb;User Id=sa;Password=Pass@word + - name: MongoConnectionString + value: mongodb://localhost:27017 + - name: MongoDatabase + value: MarketingDb + - name: identityUrl + value: http://localhost:5105 + - name: IdentityUrlExternal + value: http://localhost:5105 + - name: EventBusConnection + value: localhost + - name: EventBusUserName + value: + - name: EventBusPassword + value: + - name: CampaignDetailFunctionUri + value: + - name: PicBaseUrl + value: + - name: AzureStorageAccountName + value: + - name: AzureStorageAccountKey + value: + - name: AzureServiceBusEnabled + value: False + - name: AzureStorageEnabled + value: False + - name: ApplicationInsights__InstrumentationKey + value: + - name: OrchestratorType + value: + - name: UseLoadTest + value: False + - name: PATH_BASE + value: /marketing-api + bindings: + - name: http-port-80-binding + port: 5110 + protocol: http \ No newline at end of file diff --git a/src/Services/Ordering/Ordering.API/tye.yaml b/src/Services/Ordering/Ordering.API/tye.yaml new file mode 100644 index 000000000..0388d106f --- /dev/null +++ b/src/Services/Ordering/Ordering.API/tye.yaml @@ -0,0 +1,49 @@ +name: eshoponcontainers-servicesandwebapps + +services: + +- name: ordering-api + project: Ordering.API.csproj + env: + - name: ASPNETCORE_ENVIRONMENT + value: Development + - name: ASPNETCORE_URLS + value: http://0.0.0.0:80 + - name: ConnectionString + value: Server=localhost;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word + - name: identityUrl + value: http://localhost:5105 + - name: IdentityUrlExternal + value: http://localhost:5105 + - name: EventBusConnection + value: localhost + - name: EventBusUserName + value: + - name: EventBusPassword + value: + - name: UseCustomizationData + value: True + - name: AzureServiceBusEnabled + value: False + - name: CheckUpdateTime + value: 30000 + - name: ApplicationInsights__InstrumentationKey + value: + - name: OrchestratorType + value: + - name: UseLoadTest + value: False + - name: Serilog__MinimumLevel__Override__Microsoft.eShopOnContainers.BuildingBlocks.EventBusRabbitMQ + value: Verbose + - name: Serilog__MinimumLevel__Override__ordering-api + value: Verbose + - name: GRPC_PORT + value: 9102 + - name: PORT + value: 80 + - name: PATH_BASE + value: /ordering-api + bindings: + - name: http-port-80-binding + port: 5102 + protocol: http \ No newline at end of file diff --git a/src/Services/Ordering/Ordering.BackgroundTasks/tye.yaml b/src/Services/Ordering/Ordering.BackgroundTasks/tye.yaml new file mode 100644 index 000000000..b64607c9a --- /dev/null +++ b/src/Services/Ordering/Ordering.BackgroundTasks/tye.yaml @@ -0,0 +1,41 @@ +name: eshoponcontainers-servicesandwebapps + +services: + +- name: ordering-backgroundtasks + project: Ordering.BackgroundTasks.csproj + env: + - name: ASPNETCORE_ENVIRONMENT + value: Development + - name: ASPNETCORE_URLS + value: http://0.0.0.0:80 + - name: ConnectionString + value: Server=localhost;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word + - name: identityUrl + value: http://localhost:5105 + - name: IdentityUrlExternal + value: http://localhost:5105 + - name: EventBusConnection + value: localhost + - name: EventBusUserName + value: + - name: EventBusPassword + value: + - name: UseCustomizationData + value: True + - name: AzureServiceBusEnabled + value: False + - name: CheckUpdateTime + value: 30000 + - name: ApplicationInsights__InstrumentationKey + value: + - name: OrchestratorType + value: + - name: UseLoadTest + value: False + - name: Serilog__MinimumLevel__Override__Microsoft.eShopOnContainers.BuildingBlocks.EventBusRabbitMQ + value: Verbose + bindings: + - name: http-port-80-binding + port: 5111 + protocol: http \ No newline at end of file diff --git a/src/Services/Ordering/Ordering.SignalrHub/tye.yaml b/src/Services/Ordering/Ordering.SignalrHub/tye.yaml new file mode 100644 index 000000000..aebc161c7 --- /dev/null +++ b/src/Services/Ordering/Ordering.SignalrHub/tye.yaml @@ -0,0 +1,29 @@ +name: eshoponcontainers-servicesandwebapps + +services: + +- name: ordering-signalrhub + project: Ordering.SignalrHub.csproj + env: + - name: ASPNETCORE_ENVIRONMENT + value: Development + - name: ASPNETCORE_URLS + value: http://0.0.0.0:80 + - name: identityUrl + value: http://localhost:5105 + - name: EventBusConnection + value: localhost + - name: EventBusUserName + value: + - name: EventBusPassword + value: + - name: AzureServiceBusEnabled + value: False + - name: ApplicationInsights__InstrumentationKey + value: + - name: OrchestratorType + value: + bindings: + - name: http-port-80-binding + port: 5112 + protocol: http \ No newline at end of file diff --git a/src/Services/Payment/Payment.API/tye.yaml b/src/Services/Payment/Payment.API/tye.yaml new file mode 100644 index 000000000..4db329397 --- /dev/null +++ b/src/Services/Payment/Payment.API/tye.yaml @@ -0,0 +1,31 @@ +name: eshoponcontainers-servicesandwebapps + +services: + +- name: payment-api + project: Payment.API.csproj + env: + - name: ASPNETCORE_ENVIRONMENT + value: Development + - name: ASPNETCORE_URLS + value: http://0.0.0.0:80 + - name: EventBusConnection + value: localhost + - name: EventBusUserName + value: + - name: EventBusPassword + value: + - name: AzureServiceBusEnabled + value: False + - name: ApplicationInsights__InstrumentationKey + value: + - name: OrchestratorType + value: + - name: Serilog__MinimumLevel__Override__payment-api.IntegrationEvents.EventHandling + value: Verbose + - name: Serilog__MinimumLevel__Override__Microsoft.eShopOnContainers.BuildingBlocks.EventBusRabbitMQ + value: Verbose + bindings: + - name: http-port-80-binding + port: 5108 + protocol: http \ No newline at end of file diff --git a/src/Services/Webhooks/Webhooks.API/tye.yaml b/src/Services/Webhooks/Webhooks.API/tye.yaml new file mode 100644 index 000000000..18862f0a2 --- /dev/null +++ b/src/Services/Webhooks/Webhooks.API/tye.yaml @@ -0,0 +1,27 @@ +name: eshoponcontainers-servicesandwebapps + +services: + +- name: webhooks-api + project: Webhooks.API.csproj + env: + - name: ASPNETCORE_ENVIRONMENT + value: Development + - name: ASPNETCORE_URLS + value: http://0.0.0.0:80 + - name: ConnectionString + value: Server=localhost;Database=Microsoft.eShopOnContainers.Services.WebhooksDb;User Id=sa;Password=Pass@word + - name: identityUrl + value: http://localhost:5105 + - name: IdentityUrlExternal + value: http://localhost:5105 + - name: EventBusConnection + value: localhost + - name: EventBusUserName + value: + - name: EventBusPassword + value: + bindings: + - name: http-port-80-binding + port: 5113 + protocol: http \ No newline at end of file diff --git a/src/Web/WebMVC/tye.yaml b/src/Web/WebMVC/tye.yaml new file mode 100644 index 000000000..929f28d37 --- /dev/null +++ b/src/Web/WebMVC/tye.yaml @@ -0,0 +1,55 @@ +name: eshoponcontainers-servicesandwebapps + +services: + +- name: webmvc + project: WebMVC.csproj + env: + - name: ASPNETCORE_ENVIRONMENT + value: Development + - name: ASPNETCORE_URLS + value: http://0.0.0.0:80 + - name: IdentityUrl + value: http://localhost:5105 + - name: PurchaseUrl + value: http://localhost:5202 + - name: CatalogUrl + value: http://localhost:5101 + - name: BasketUrl + value: http://localhost:5103 + - name: OrderingUrl + value: http://localhost:5102 + - name: MarketingUrl + value: http://localhost:5203 + - name: CallBackUrl + value: http://localhost:5100/ + - name: LocationsUrl + value: http://localhost:5109/ + - name: SignalrHubUrl + value: http://localhost:5202 + - name: IdentityUrlHC + value: http://localhost:5105/hc + - name: IsClusterEnv + value: False + - name: UseResilientHttp + value: True + - name: UseLoadTest + value: False + - name: UseCustomizationData + value: False + - name: ActivateCampaignDetailFunction + value: False + - name: HttpClientRetryCount + value: 8 + - name: HttpClientExceptionsAllowedBeforeBreaking + value: 7 + - name: SessionCookieLifetimeMinutes + value: 60 + - name: ApplicationInsights__InstrumentationKey + value: + - name: OrchestratorType + value: + bindings: + - name: http-port-80-binding + port: 5100 + protocol: http \ No newline at end of file diff --git a/src/Web/WebSPA/tye.yaml b/src/Web/WebSPA/tye.yaml new file mode 100644 index 000000000..bc55432b1 --- /dev/null +++ b/src/Web/WebSPA/tye.yaml @@ -0,0 +1,31 @@ +name: eshoponcontainers-servicesandwebapps + +services: + +- name: webspa + project: WebSPA.csproj + env: + - name: ASPNETCORE_ENVIRONMENT + value: Development + - name: ASPNETCORE_URLS + value: http://0.0.0.0:80 + - name: IdentityUrl + value: http://localhost:5105 + - name: PurchaseUrl + value: http://localhost:5202 + - name: MarketingUrl + value: http://localhost:5203 + - name: IdentityUrlHC + value: http://localhost:5105/hc + - name: UseCustomizationData + value: True + - name: ApplicationInsights__InstrumentationKey + value: + - name: OrchestratorType + value: + - name: SignalrHubUrl + value: http://localhost:5202 + bindings: + - name: http-port-80-binding + port: 5104 + protocol: http \ No newline at end of file diff --git a/src/Web/WebStatus/tye.yaml b/src/Web/WebStatus/tye.yaml new file mode 100644 index 000000000..4774293d6 --- /dev/null +++ b/src/Web/WebStatus/tye.yaml @@ -0,0 +1,71 @@ +name: eshoponcontainers-servicesandwebapps + +services: + +- name: webstatus + project: WebStatus.csproj + env: + - name: ASPNETCORE_ENVIRONMENT + value: Development + - name: ASPNETCORE_URLS + value: http://0.0.0.0:80 + - name: HealthChecksUI__HealthChecks__0__Name + value: WebMVC HTTP Check + - name: HealthChecksUI__HealthChecks__0__Uri + value: http://localhost:5100/hc + - name: HealthChecksUI__HealthChecks__1__Name + value: WebSPA HTTP Check + - name: HealthChecksUI__HealthChecks__1__Uri + value: http://localhost:5104/hc + - name: HealthChecksUI__HealthChecks__2__Name + value: Web Shopping Aggregator GW HTTP Check + - name: HealthChecksUI__HealthChecks__2__Uri + value: http://localhost:5121/hc + - name: HealthChecksUI__HealthChecks__3__Name + value: Mobile Shopping Aggregator HTTP Check + - name: HealthChecksUI__HealthChecks__3__Uri + value: http://localhost:5120/hc + - name: HealthChecksUI__HealthChecks__4__Name + value: Ordering HTTP Check + - name: HealthChecksUI__HealthChecks__4__Uri + value: http://localhost:5102/hc + - name: HealthChecksUI__HealthChecks__5__Name + value: Basket HTTP Check + - name: HealthChecksUI__HealthChecks__5__Uri + value: http://localhost:5103/hc + - name: HealthChecksUI__HealthChecks__6__Name + value: Catalog HTTP Check + - name: HealthChecksUI__HealthChecks__6__Uri + value: http://localhost:5101/hc + - name: HealthChecksUI__HealthChecks__7__Name + value: Identity HTTP Check + - name: HealthChecksUI__HealthChecks__7__Uri + value: http://localhost:5105/hc + - name: HealthChecksUI__HealthChecks__8__Name + value: Marketing HTTP Check + - name: HealthChecksUI__HealthChecks__8__Uri + value: http://localhost:5110/hc + - name: HealthChecksUI__HealthChecks__9__Name + value: Locations HTTP Check + - name: HealthChecksUI__HealthChecks__9__Uri + value: http://localhost:5109/hc + - name: HealthChecksUI__HealthChecks__10__Name + value: Payments HTTP Check + - name: HealthChecksUI__HealthChecks__10__Uri + value: http://localhost:5108/hc + - name: HealthChecksUI__HealthChecks__11__Name + value: Ordering SignalRHub HTTP Check + - name: HealthChecksUI__HealthChecks__11__Uri + value: http://localhost:5112/hc + - name: HealthChecksUI__HealthChecks__12__Name + value: Ordering HTTP Background Check + - name: HealthChecksUI__HealthChecks__12__Uri + value: http://localhost:5111/hc + - name: ApplicationInsights__InstrumentationKey + value: + - name: OrchestratorType + value: + bindings: + - name: http-port-80-binding + port: 5107 + protocol: http \ No newline at end of file diff --git a/src/Web/WebhookClient/tye.yaml b/src/Web/WebhookClient/tye.yaml new file mode 100644 index 000000000..71cc45781 --- /dev/null +++ b/src/Web/WebhookClient/tye.yaml @@ -0,0 +1,25 @@ +name: eshoponcontainers-servicesandwebapps + +services: + +- name: webhooks-client + project: WebhookClient.csproj + env: + - name: ASPNETCORE_ENVIRONMENT + value: Development + - name: ASPNETCORE_URLS + value: http://0.0.0.0:80 + - name: Token + value: 6168DB8D-DC58-4094-AF24-483278923590 + - name: IdentityUrl + value: http://localhost:5105 + - name: CallBackUrl + value: http://localhost:5114 + - name: WebhooksUrl + value: http://localhost:5113 + - name: SelfUrl + value: http://localhost:5114/ + bindings: + - name: http-port-80-binding + port: 5114 + protocol: http \ No newline at end of file diff --git a/src/tye.yaml b/src/tye.yaml index b1b5dd868..c4e4d6946 100644 --- a/src/tye.yaml +++ b/src/tye.yaml @@ -50,350 +50,31 @@ services: value: Y - name: identity-api - project: Services/Identity/Identity.API/Identity.API.csproj - env: - - name: ASPNETCORE_ENVIRONMENT - value: Development - - name: ASPNETCORE_URLS - value: http://0.0.0.0:80 - - name: SpaClient - value: http://localhost:5104/ - - name: XamarinCallback - value: http://localhost:5105/xamarincallback - - name: ConnectionString - value: Server=localhost;Database=Microsoft.eShopOnContainers.Service.IdentityDb;User Id=sa;Password=Pass@word - - name: MvcClient - value: http://localhost:5100 - - name: LocationApiClient - value: http://localhost:5109 - - name: MarketingApiClient - value: http://localhost:5110 - - name: BasketApiClient - value: http://localhost:5103 - - name: OrderingApiClient - value: http://localhost:5102 - - name: MobileShoppingAggClient - value: http://localhost:5120 - - name: WebShoppingAggClient - value: http://localhost:5121 - - name: WebhooksApiClient - value: http://localhost:5113 - - name: WebhooksWebClient - value: http://localhost:5114 - - name: UseCustomizationData - value: True - - name: ApplicationInsights__InstrumentationKey - value: - - name: OrchestratorType - value: - bindings: - - name: http-binding - port: 5105 + include: Services/Identity/Identity.API/tye.yaml - name: catalog-api - project: Services/Catalog/Catalog.API/Catalog.API.csproj - env: - - name: ASPNETCORE_ENVIRONMENT - value: Development - - name: ConnectionString - value: Server=localhost;Database=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word - - name: PicBaseUrl - value: http://localhost:5202/c/api/v1/catalog/items/[0]/pic/ - - name: EventBusConnection - value: localhost - - name: EventBusUserName - value: - - name: EventBusPassword - value: - - name: AzureStorageAccountName - value: - - name: AzureStorageAccountKey - value: - - name: UseCustomizationData - value: True - - name: AzureServiceBusEnabled - value: False - - name: AzureStorageEnabled - value: False - - name: ApplicationInsights__InstrumentationKey - value: - - name: OrchestratorType - value: - - name: GRPC_PORT - value: 9101 - - name: PORT - value: 80 - - name: PATH_BASE - value: /catalog-api - bindings: - - name: http-port-80-binding - port: 5101 - + include: Services/Catalog/Catalog.API/tye.yaml - name: basket-api - project: Services/Basket/Basket.API/Basket.API.csproj - env: - - name: ASPNETCORE_ENVIRONMENT - value: Development - - name: ASPNETCORE_URLS - value: http://0.0.0.0:80 - - name: ConnectionString - value: 127.0.0.1 - - name: identityUrl - value: http://localhost:5105 - - name: IdentityUrlExternal - value: http://localhost:5105 - - name: EventBusConnection - value: localhost - - name: EventBusUserName - value: - - name: EventBusPassword - value: - - name: AzureServiceBusEnabled - value: False - - name: ApplicationInsights__InstrumentationKey - value: - - name: OrchestratorType - value: - - name: UseLoadTest - value: False - - name: GRPC_PORT - value: 9103 - - name: PORT - value: 80 - - name: PATH_BASE - value: /basket-api - bindings: - - name: http-port-80-binding - port: 5103 - protocol: http - + include: Services/Basket/Basket.API/tye.yaml - name: ordering-api - project: Services/Ordering/Ordering.API/Ordering.API.csproj - env: - - name: ASPNETCORE_ENVIRONMENT - value: Development - - name: ASPNETCORE_URLS - value: http://0.0.0.0:80 - - name: ConnectionString - value: Server=localhost;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word - - name: identityUrl - value: http://localhost:5105 - - name: IdentityUrlExternal - value: http://localhost:5105 - - name: EventBusConnection - value: localhost - - name: EventBusUserName - value: - - name: EventBusPassword - value: - - name: UseCustomizationData - value: True - - name: AzureServiceBusEnabled - value: False - - name: CheckUpdateTime - value: 30000 - - name: ApplicationInsights__InstrumentationKey - value: - - name: OrchestratorType - value: - - name: UseLoadTest - value: False - - name: Serilog__MinimumLevel__Override__Microsoft.eShopOnContainers.BuildingBlocks.EventBusRabbitMQ - value: Verbose - - name: Serilog__MinimumLevel__Override__ordering-api - value: Verbose - - name: GRPC_PORT - value: 9102 - - name: PORT - value: 80 - - name: PATH_BASE - value: /ordering-api - bindings: - - name: http-port-80-binding - port: 5102 - protocol: http - + include: Services/Ordering/Ordering.API/tye.yaml - name: ordering-backgroundtasks - project: Services/Ordering/Ordering.BackgroundTasks/Ordering.BackgroundTasks.csproj - env: - - name: ASPNETCORE_ENVIRONMENT - value: Development - - name: ASPNETCORE_URLS - value: http://0.0.0.0:80 - - name: ConnectionString - value: Server=localhost;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word - - name: identityUrl - value: http://localhost:5105 - - name: IdentityUrlExternal - value: http://localhost:5105 - - name: EventBusConnection - value: localhost - - name: EventBusUserName - value: - - name: EventBusPassword - value: - - name: UseCustomizationData - value: True - - name: AzureServiceBusEnabled - value: False - - name: CheckUpdateTime - value: 30000 - - name: ApplicationInsights__InstrumentationKey - value: - - name: OrchestratorType - value: - - name: UseLoadTest - value: False - - name: Serilog__MinimumLevel__Override__Microsoft.eShopOnContainers.BuildingBlocks.EventBusRabbitMQ - value: Verbose - bindings: - - name: http-port-80-binding - port: 5111 - protocol: http - + include: Services/Ordering/Ordering.BackgroundTasks/tye.yaml - name: marketing-api - project: Services/Marketing/Marketing.API/Marketing.API.csproj - env: - - name: ASPNETCORE_ENVIRONMENT - value: Development - - name: ASPNETCORE_URLS - value: http://0.0.0.0:80 - - name: ConnectionString - value: Server=localhost;Database=Microsoft.eShopOnContainers.Services.MarketingDb;User Id=sa;Password=Pass@word - - name: MongoConnectionString - value: mongodb://localhost:27017 - - name: MongoDatabase - value: MarketingDb - - name: identityUrl - value: http://localhost:5105 - - name: IdentityUrlExternal - value: http://localhost:5105 - - name: EventBusConnection - value: localhost - - name: EventBusUserName - value: - - name: EventBusPassword - value: - - name: CampaignDetailFunctionUri - value: - - name: PicBaseUrl - value: - - name: AzureStorageAccountName - value: - - name: AzureStorageAccountKey - value: - - name: AzureServiceBusEnabled - value: False - - name: AzureStorageEnabled - value: False - - name: ApplicationInsights__InstrumentationKey - value: - - name: OrchestratorType - value: - - name: UseLoadTest - value: False - - name: PATH_BASE - value: /marketing-api - bindings: - - name: http-port-80-binding - port: 5110 - protocol: http - + include: Services/Marketing/Marketing.API/tye.yaml - name: payment-api - project: Services/Payment/Payment.API/Payment.API.csproj - env: - - name: ASPNETCORE_ENVIRONMENT - value: Development - - name: ASPNETCORE_URLS - value: http://0.0.0.0:80 - - name: EventBusConnection - value: localhost - - name: EventBusUserName - value: - - name: EventBusPassword - value: - - name: AzureServiceBusEnabled - value: False - - name: ApplicationInsights__InstrumentationKey - value: - - name: OrchestratorType - value: - - name: Serilog__MinimumLevel__Override__payment-api.IntegrationEvents.EventHandling - value: Verbose - - name: Serilog__MinimumLevel__Override__Microsoft.eShopOnContainers.BuildingBlocks.EventBusRabbitMQ - value: Verbose - bindings: - - name: http-port-80-binding - port: 5108 - protocol: http - + include: Services/Payment/Payment.API/tye.yaml - name: locations-api - project: Services/Location/Locations.API/Locations.API.csproj - env: - - name: ASPNETCORE_ENVIRONMENT - value: Development - - name: ASPNETCORE_URLS - value: http://0.0.0.0:80 - - name: ConnectionString - value: mongodb://localhost:27017 - - name: Database - value: LocationsDb - - name: identityUrl - value: http://localhost:5105 - - name: IdentityUrlExternal - value: http://localhost:5105 - - name: EventBusConnection - value: localhost - - name: EventBusUserName - value: - - name: EventBusPassword - value: - - name: AzureServiceBusEnabled - value: False - - name: ApplicationInsights__InstrumentationKey - value: - - name: OrchestratorType - value: - - name: UseLoadTest - value: False - - name: PATH_BASE - value: /locations-api - bindings: - - name: http-port-80-binding - port: 5109 - protocol: http - + include: Services/Location/Locations.API/tye.yaml - name: webhooks-api - project: Services/Webhooks/Webhooks.API/Webhooks.API.csproj - env: - - name: ASPNETCORE_ENVIRONMENT - value: Development - - name: ASPNETCORE_URLS - value: http://0.0.0.0:80 - - name: ConnectionString - value: Server=localhost;Database=Microsoft.eShopOnContainers.Services.WebhooksDb;User Id=sa;Password=Pass@word - - name: identityUrl - value: http://localhost:5105 - - name: IdentityUrlExternal - value: http://localhost:5105 - - name: EventBusConnection - value: localhost - - name: EventBusUserName - value: - - name: EventBusPassword - value: - bindings: - - name: http-port-80-binding - port: 5113 - protocol: http - + include: Services/Webhooks/Webhooks.API/tye.yaml - name: mobileshoppingapigw image: envoyproxy/envoy:v1.11.1 @@ -448,281 +129,23 @@ services: - source: ./ApiGateways/Envoy/tye-config/webmarketing target: /etc/envoy - - name: mobileshoppingagg - project: ApiGateways/Mobile.Bff.Shopping/aggregator/Mobile.Shopping.HttpAggregator.csproj - env: - - name: ASPNETCORE_ENVIRONMENT - value: Development - - name: urls__basket - value: http://localhost:5103 - - name: urls__catalog - value: http://localhost:5101 - - name: urls__orders - value: http://localhost:5102 - - name: urls__identity - value: http://localhost:5105 - - name: urls__grpcBasket - value: http://localhost:9103 - - name: urls__grpcCatalog - value: http://localhost:9101 - - name: urls__grpcOrdering - value: http://localhost:9102 - - name: CatalogUrlHC - value: http://localhost:5101/hc - - name: OrderingUrlHC - value: http://localhost:5102/hc - - name: IdentityUrlHC - value: http://localhost:5105/hc - - name: BasketUrlHC - value: http://localhost:5103/hc - - name: MarketingUrlHC - value: http://localhost:5110/hc - - name: PaymentUrlHC - value: http://localhost:5108/hc - - name: LocationUrlHC - value: http://localhost:5109/hc - - name: IdentityUrlExternal - value: http://localhost:5105 - bindings: - - name: http-port-80-binding - port: 5120 - protocol: http - + include: ApiGateways/Mobile.Bff.Shopping/aggregator/tye.yaml + - name: webshoppingagg - project: ApiGateways/Web.Bff.Shopping/aggregator/Web.Shopping.HttpAggregator.csproj - env: - - name: ASPNETCORE_ENVIRONMENT - value: Development - - name: urls__basket - value: http://localhost:5103 - - name: urls__catalog - value: http://localhost:5101 - - name: urls__orders - value: http://localhost:5102 - - name: urls__identity - value: http://localhost:5105 - - name: urls__grpcBasket - value: http://localhost:9103 - - name: urls__grpcCatalog - value: http://localhost:9101 - - name: urls__grpcOrdering - value: http://localhost:9102 - - name: CatalogUrlHC - value: http://localhost:5101/hc - - name: OrderingUrlHC - value: http://localhost:5102/hc - - name: IdentityUrlHC - value: http://localhost:5105/hc - - name: BasketUrlHC - value: http://localhost:5103/hc - - name: MarketingUrlHC - value: http://localhost:5110/hc - - name: PaymentUrlHC - value: http://localhost:5108/hc - - name: LocationUrlHC - value: http://localhost:5109/hc - - name: IdentityUrlExternal - value: http://localhost:5105 - bindings: - - name: http-port-80-binding - port: 5121 - protocol: http - + include: ApiGateways/Web.Bff.Shopping/aggregator/tye.yaml - name: ordering-signalrhub - project: Services/Ordering/Ordering.SignalrHub/Ordering.SignalrHub.csproj - env: - - name: ASPNETCORE_ENVIRONMENT - value: Development - - name: ASPNETCORE_URLS - value: http://0.0.0.0:80 - - name: identityUrl - value: http://localhost:5105 - - name: EventBusConnection - value: localhost - - name: EventBusUserName - value: - - name: EventBusPassword - value: - - name: AzureServiceBusEnabled - value: False - - name: ApplicationInsights__InstrumentationKey - value: - - name: OrchestratorType - value: - bindings: - - name: http-port-80-binding - port: 5112 - protocol: http - + include: Services/Ordering/Ordering.SignalrHub/tye.yaml - name: webstatus - project: Web/WebStatus/WebStatus.csproj - env: - - name: ASPNETCORE_ENVIRONMENT - value: Development - - name: ASPNETCORE_URLS - value: http://0.0.0.0:80 - - name: HealthChecksUI__HealthChecks__0__Name - value: WebMVC HTTP Check - - name: HealthChecksUI__HealthChecks__0__Uri - value: http://localhost:5100/hc - - name: HealthChecksUI__HealthChecks__1__Name - value: WebSPA HTTP Check - - name: HealthChecksUI__HealthChecks__1__Uri - value: http://localhost:5104/hc - - name: HealthChecksUI__HealthChecks__2__Name - value: Web Shopping Aggregator GW HTTP Check - - name: HealthChecksUI__HealthChecks__2__Uri - value: http://localhost:5121/hc - - name: HealthChecksUI__HealthChecks__3__Name - value: Mobile Shopping Aggregator HTTP Check - - name: HealthChecksUI__HealthChecks__3__Uri - value: http://localhost:5120/hc - - name: HealthChecksUI__HealthChecks__4__Name - value: Ordering HTTP Check - - name: HealthChecksUI__HealthChecks__4__Uri - value: http://localhost:5102/hc - - name: HealthChecksUI__HealthChecks__5__Name - value: Basket HTTP Check - - name: HealthChecksUI__HealthChecks__5__Uri - value: http://localhost:5103/hc - - name: HealthChecksUI__HealthChecks__6__Name - value: Catalog HTTP Check - - name: HealthChecksUI__HealthChecks__6__Uri - value: http://localhost:5101/hc - - name: HealthChecksUI__HealthChecks__7__Name - value: Identity HTTP Check - - name: HealthChecksUI__HealthChecks__7__Uri - value: http://localhost:5105/hc - - name: HealthChecksUI__HealthChecks__8__Name - value: Marketing HTTP Check - - name: HealthChecksUI__HealthChecks__8__Uri - value: http://localhost:5110/hc - - name: HealthChecksUI__HealthChecks__9__Name - value: Locations HTTP Check - - name: HealthChecksUI__HealthChecks__9__Uri - value: http://localhost:5109/hc - - name: HealthChecksUI__HealthChecks__10__Name - value: Payments HTTP Check - - name: HealthChecksUI__HealthChecks__10__Uri - value: http://localhost:5108/hc - - name: HealthChecksUI__HealthChecks__11__Name - value: Ordering SignalRHub HTTP Check - - name: HealthChecksUI__HealthChecks__11__Uri - value: http://localhost:5112/hc - - name: HealthChecksUI__HealthChecks__12__Name - value: Ordering HTTP Background Check - - name: HealthChecksUI__HealthChecks__12__Uri - value: http://localhost:5111/hc - - name: ApplicationInsights__InstrumentationKey - value: - - name: OrchestratorType - value: - bindings: - - name: http-port-80-binding - port: 5107 - protocol: http + include: Web/WebStatus/tye.yaml - name: webmvc - project: Web/WebMVC/WebMVC.csproj - env: - - name: ASPNETCORE_ENVIRONMENT - value: Development - - name: ASPNETCORE_URLS - value: http://0.0.0.0:80 - - name: IdentityUrl - value: http://localhost:5105 - - name: PurchaseUrl - value: http://localhost:5202 - - name: CatalogUrl - value: http://localhost:5101 - - name: BasketUrl - value: http://localhost:5103 - - name: OrderingUrl - value: http://localhost:5102 - - name: MarketingUrl - value: http://localhost:5203 - - name: CallBackUrl - value: http://localhost:5100/ - - name: LocationsUrl - value: http://localhost:5109/ - - name: SignalrHubUrl - value: http://localhost:5202 - - name: IdentityUrlHC - value: http://localhost:5105/hc - - name: IsClusterEnv - value: False - - name: UseResilientHttp - value: True - - name: UseLoadTest - value: False - - name: UseCustomizationData - value: False - - name: ActivateCampaignDetailFunction - value: False - - name: HttpClientRetryCount - value: 8 - - name: HttpClientExceptionsAllowedBeforeBreaking - value: 7 - - name: SessionCookieLifetimeMinutes - value: 60 - - name: ApplicationInsights__InstrumentationKey - value: - - name: OrchestratorType - value: - bindings: - - name: http-port-80-binding - port: 5100 - protocol: http + include: Web/WebMVC/tye.yaml - name: webspa - project: Web/WebSPA/WebSPA.csproj - env: - - name: ASPNETCORE_ENVIRONMENT - value: Development - - name: ASPNETCORE_URLS - value: http://0.0.0.0:80 - - name: IdentityUrl - value: http://localhost:5105 - - name: PurchaseUrl - value: http://localhost:5202 - - name: MarketingUrl - value: http://localhost:5203 - - name: IdentityUrlHC - value: http://localhost:5105/hc - - name: UseCustomizationData - value: True - - name: ApplicationInsights__InstrumentationKey - value: - - name: OrchestratorType - value: - - name: SignalrHubUrl - value: http://localhost:5202 - bindings: - - name: http-port-80-binding - port: 5104 - protocol: http + include: Web/WebSPA/tye.yaml - name: webhooks-client - project: Web/WebhookClient/WebhookClient.csproj - env: - - name: ASPNETCORE_ENVIRONMENT - value: Development - - name: ASPNETCORE_URLS - value: http://0.0.0.0:80 - - name: Token - value: 6168DB8D-DC58-4094-AF24-483278923590 - - name: IdentityUrl - value: http://localhost:5105 - - name: CallBackUrl - value: http://localhost:5114 - - name: WebhooksUrl - value: http://localhost:5113 - - name: SelfUrl - value: http://localhost:5114/ - bindings: - - name: http-port-80-binding - port: 5114 - protocol: http \ No newline at end of file + include: Web/WebhookClient/tye.yaml \ No newline at end of file