From aacf8ed4806afbeab2bce8b6268e47be26e16b4e Mon Sep 17 00:00:00 2001 From: Ollie Ferns Date: Wed, 12 Apr 2017 10:28:24 +0100 Subject: [PATCH] Added eventbus connection --- .../Package.appxmanifest | 2 +- .../Basket/Basket.API/appsettings.json | 21 ++++++++------- .../Catalog/Catalog.API/settings.json | 19 +++++++------- .../Identity/Identity.API/appsettings.json | 26 ++++++++++--------- .../Ordering/Ordering.API/settings.json | 20 +++++++------- 5 files changed, 47 insertions(+), 41 deletions(-) diff --git a/src/Mobile/eShopOnContainers/eShopOnContainers.Windows/Package.appxmanifest b/src/Mobile/eShopOnContainers/eShopOnContainers.Windows/Package.appxmanifest index fedbe0cc4..13405f309 100644 --- a/src/Mobile/eShopOnContainers/eShopOnContainers.Windows/Package.appxmanifest +++ b/src/Mobile/eShopOnContainers/eShopOnContainers.Windows/Package.appxmanifest @@ -1,6 +1,6 @@  - + eShopOnContainers.UWP diff --git a/src/Services/Basket/Basket.API/appsettings.json b/src/Services/Basket/Basket.API/appsettings.json index 31f76d0d0..d48f52b83 100644 --- a/src/Services/Basket/Basket.API/appsettings.json +++ b/src/Services/Basket/Basket.API/appsettings.json @@ -1,12 +1,13 @@ { - "Logging": { - "IncludeScopes": false, - "LogLevel": { - "Default": "Debug", - "System": "Information", - "Microsoft": "Information" - } - }, - "IdentityUrl": "http://localhost:5105", - "ConnectionString": "127.0.0.1" + "Logging": { + "IncludeScopes": false, + "LogLevel": { + "Default": "Debug", + "System": "Information", + "Microsoft": "Information" + } + }, + "IdentityUrl": "http://localhost:5105", + "ConnectionString": "127.0.0.1", + "EventBusConnection": "amqp://guest:guest@localhost:5672" } diff --git a/src/Services/Catalog/Catalog.API/settings.json b/src/Services/Catalog/Catalog.API/settings.json index e67fec713..dc32a291b 100644 --- a/src/Services/Catalog/Catalog.API/settings.json +++ b/src/Services/Catalog/Catalog.API/settings.json @@ -1,12 +1,13 @@ { - "ConnectionString": "Server=tcp:127.0.0.1,5433;Initial Catalog=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word", - "ExternalCatalogBaseUrl": "http://localhost:5101", - "Logging": { - "IncludeScopes": false, - "LogLevel": { - "Default": "Debug", - "System": "Information", - "Microsoft": "Information" + "ConnectionString": "Server=tcp:127.0.0.1,5433;Initial Catalog=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word", + "EventBusConnection": "amqp://guest:guest@localhost:5672", + "ExternalCatalogBaseUrl": "http://localhost:5101", + "Logging": { + "IncludeScopes": false, + "LogLevel": { + "Default": "Debug", + "System": "Information", + "Microsoft": "Information" + } } - } } diff --git a/src/Services/Identity/Identity.API/appsettings.json b/src/Services/Identity/Identity.API/appsettings.json index b41f05352..c10b78645 100644 --- a/src/Services/Identity/Identity.API/appsettings.json +++ b/src/Services/Identity/Identity.API/appsettings.json @@ -1,15 +1,17 @@ { - "ConnectionStrings": { - "DefaultConnection": "Server=tcp:127.0.0.1,5433;Database=Microsoft.eShopOnContainers.Services.IdentityDb;User Id=sa;Password=Pass@word;" - }, - "MvcClient": "http://localhost:5100", - "SpaClient": "http://localhost:5104", - "Logging": { - "IncludeScopes": false, - "LogLevel": { - "Default": "Debug", - "System": "Information", - "Microsoft": "Information" + "ConnectionStrings": { + "DefaultConnection": "Server=tcp:127.0.0.1,5433;Database=Microsoft.eShopOnContainers.Services.IdentityDb;User Id=sa;Password=Pass@word;", + "EventBusConnection": "amqp://guest:guest@localhost:5672" + + }, + "MvcClient": "http://localhost:5100", + "SpaClient": "http://localhost:5104", + "Logging": { + "IncludeScopes": false, + "LogLevel": { + "Default": "Debug", + "System": "Information", + "Microsoft": "Information" + } } - } } diff --git a/src/Services/Ordering/Ordering.API/settings.json b/src/Services/Ordering/Ordering.API/settings.json index 09552377a..7ddc15dda 100644 --- a/src/Services/Ordering/Ordering.API/settings.json +++ b/src/Services/Ordering/Ordering.API/settings.json @@ -1,12 +1,14 @@ { - "ConnectionString": "Server=tcp:127.0.0.1,5433;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word;", - "IdentityUrl": "http://localhost:5105", - "Logging": { - "IncludeScopes": false, - "LogLevel": { - "Default": "Debug", - "System": "Information", - "Microsoft": "Information" + "ConnectionString": "Server=tcp:127.0.0.1,5433;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word;", + "EventBusConnection": "amqp://guest:guest@localhost:5672", + + "IdentityUrl": "http://localhost:5105", + "Logging": { + "IncludeScopes": false, + "LogLevel": { + "Default": "Debug", + "System": "Information", + "Microsoft": "Information" + } } - } }