Browse Source

Configure Ordering service evironment

enisn/payment-service-with-mock
enisn 5 years ago
parent
commit
fe5ef325fd
  1. 6
      services/ordering/src/EShopOnAbp.OrderingService.HttpApi.Host/Properties/launchSettings.json
  2. 46
      services/ordering/src/EShopOnAbp.OrderingService.HttpApi.Host/appsettings.json

6
services/ordering/src/EShopOnAbp.OrderingService.HttpApi.Host/Properties/launchSettings.json

@ -3,8 +3,8 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "https://localhost:44380",
"sslPort": 44380
"applicationUrl": "https://localhost:44356",
"sslPort": 44356
}
},
"profiles": {
@ -18,7 +18,7 @@
"EShopOnAbp.OrderingService.DemoApp": {
"commandName": "Project",
"launchBrowser": true,
"applicationUrl": "https://localhost:44380",
"applicationUrl": "https://localhost:44356",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}

46
services/ordering/src/EShopOnAbp.OrderingService.HttpApi.Host/appsettings.json

@ -1,18 +1,44 @@
{
"App": {
"CorsOrigins": "https://*.OrderingService.com,http://localhost:4200,http://localhost:44307,https://localhost:44307"
"SelfUrl": "https://localhost:44356",
"CorsOrigins": "https://localhost:44371,https://localhost:44372,https://localhost:44373"
},
"AuthServer": {
"Authority": "https://localhost:44330",
"RequireHttpsMetadata": "true",
"SwaggerClientId": "IdentityService_Swagger",
"SwaggerClientSecret": "1q2w3e*"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=OrderingService_Main;Trusted_Connection=True",
"OrderingService": "Server=(LocalDb)\\MSSQLLocalDB;Database=OrderingService_Module;Trusted_Connection=True"
"OrderingService": "Server=localhost,1434;Database=EShopOnAbp_Ordering;User Id=sa;password=myPassw0rd;MultipleActiveResultSets=true",
"AdministrationService": "Server=localhost,1434;Database=EShopOnAbp_Administration;User Id=sa;password=myPassw0rd;MultipleActiveResultSets=true"
},
"StringEncryption": {
"DefaultPassPhrase": "0f000WgRXnVk0704"
},
"Redis": {
"Configuration": "127.0.0.1"
"Configuration": "localhost:6379"
},
"AuthServer": {
"Authority": "https://localhost:44333/",
"RequireHttpsMetadata": "false",
"SwaggerClientId": "OrderingService_Swagger",
"SwaggerClientSecret": "1q2w3e*"
"RabbitMQ": {
"Connections": {
"Default": {
"HostName": "localhost"
}
},
"EventBus": {
"ClientName": "EShopOnAbp_OrderingService",
"ExchangeName": "EShopOnAbp"
}
},
"ElasticSearch": {
"Url": "http://localhost:9200"
}
}
}
Loading…
Cancel
Save