From 4e808d1382b1b06ae2d2454185384436f138a903 Mon Sep 17 00:00:00 2001 From: enisn Date: Mon, 11 Oct 2021 16:38:40 +0300 Subject: [PATCH] Configure CatalogService appsettings --- .../appsettings.json | 43 +++++++++++++++---- 1 file changed, 34 insertions(+), 9 deletions(-) diff --git a/services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/appsettings.json b/services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/appsettings.json index 5a78f1ef..df63a06b 100644 --- a/services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/appsettings.json +++ b/services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/appsettings.json @@ -1,19 +1,44 @@ { "App": { - "SelfUrl": "https://localhost:44312", - "CorsOrigins": "https://*.CatalogService.com", - "RedirectAllowedUrls": "http://localhost:4200,https://localhost:44307" - }, - "ConnectionStrings": { - "Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=CatalogService;Trusted_Connection=True" + "SelfUrl": "https://localhost:44354", + "CorsOrigins": "https://localhost:44371,https://localhost:44372,https://localhost:44373" }, "AuthServer": { - "Authority": "https://localhost:44312", - "RequireHttpsMetadata": "false", - "SwaggerClientId": "CatalogService_Swagger", + "Authority": "https://localhost:44330", + "RequireHttpsMetadata": "true", + "SwaggerClientId": "IdentityService_Swagger", "SwaggerClientSecret": "1q2w3e*" }, + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft": "Warning", + "Microsoft.Hosting.Lifetime": "Information" + } + }, + "AllowedHosts": "*", + "ConnectionStrings": { + "CatalogService": "Server=localhost,1434;Database=EShopOnAbp_Catalog;User Id=sa;password=myPassw0rd;MultipleActiveResultSets=true", + "AdministrationService": "Server=localhost,1434;Database=EShopOnAbp_Administration;User Id=sa;password=myPassw0rd;MultipleActiveResultSets=true" + }, "StringEncryption": { "DefaultPassPhrase": "cca88WgRXnVk07rx" + }, + "Redis": { + "Configuration": "localhost:6379" + }, + "RabbitMQ": { + "Connections": { + "Default": { + "HostName": "localhost" + } + }, + "EventBus": { + "ClientName": "EShopOnAbp_CatalogService", + "ExchangeName": "EShopOnAbp" + } + }, + "ElasticSearch": { + "Url": "http://localhost:9200" } } \ No newline at end of file