Browse Source
# Conflicts: # src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Logs/log-20220218.txt # src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Logs/log-20220219.txt # src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.Development.json # src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.jsonFoShanPG
44673626
3 years ago
8 changed files with 1120 additions and 50 deletions
Binary file not shown.
@ -1,9 +1,127 @@ |
|||||
{ |
{ |
||||
|
"App": { |
||||
|
"CorsOrigins": "https://*.abc.com,http://localhost:9528,http://149.223.116.5:8088" |
||||
|
}, |
||||
|
//"ConnectionStrings": { |
||||
|
// "Default": "Server=LAPTOP-V3U07C2O;Database=ABP;user id=sa;Password=1q2w!@#", |
||||
|
// "SettleAccountService": "Server=LAPTOP-V3U07C2O;Database=SettleAccountService;user id=sa;Password=1q2w!@#;" |
||||
|
//}, |
||||
|
"ConnectionStrings": { |
||||
|
//"Default": "Server=127.0.0.1;Database=ABP;user id=sa;Password=1", |
||||
|
//"SettleAccountService": "Server=127.0.0.1;Database=SettleAccountService;user id=sa;Password=1;" |
||||
|
"Default": "Server=192.168.0.140;Database=ABP;User ID=sa;Password=Microsoft2008;", |
||||
|
"SettleAccountService": "Server=192.168.0.140;Database=SettleAccountService;user id=sa;password=Microsoft2008;", |
||||
|
"Wms": "Server=192.168.0.63;Database=CPAT_WMS;user id=sa;password=Microsoft2008;" |
||||
|
|
||||
|
}, |
||||
"Logging": { |
"Logging": { |
||||
"LogLevel": { |
"LogLevel": { |
||||
"Default": "Information", |
"Default": "Information", |
||||
"Microsoft": "Warning", |
"Microsoft": "Warning", |
||||
"Microsoft.Hosting.Lifetime": "Information" |
"Microsoft.Hosting.Lifetime": "Information" |
||||
} |
} |
||||
|
}, |
||||
|
|
||||
|
|
||||
|
"Serilog": { |
||||
|
"Using": [], |
||||
|
"MinumumLevel": { |
||||
|
"Default": "Information", |
||||
|
"Override": { |
||||
|
"Microsoft": "Warning", |
||||
|
"System": "Warning" |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"Settings": { |
||||
|
"Abp.Mailing.Smtp.Host": "149.223.116.5", |
||||
|
"Abp.Mailing.Smtp.Port": "25", |
||||
|
"Abp.Mailing.Smtp.UserName": "", |
||||
|
"Abp.Mailing.Smtp.Password": "", |
||||
|
"Abp.Mailing.Smtp.Domain": "", |
||||
|
"Abp.Mailing.Smtp.EnableSsl": "false", |
||||
|
"Abp.Mailing.Smtp.UseDefaultCredentials": "true", |
||||
|
"Abp.Mailing.DefaultFromAddress": "noreply@abp.io", |
||||
|
"Abp.Mailing.DefaultFromDisplayName": "ABP application" |
||||
|
}, |
||||
|
|
||||
|
"WriteTo": [ |
||||
|
{ "Name": "Console" }, |
||||
|
{ |
||||
|
"Name": "File", |
||||
|
"Args": { |
||||
|
"path": ".\\Logs\\log-.txt", |
||||
|
"rollingInterval": "Day", // Not currently in use. |
||||
|
"rollOnFileSizeLimit": true, |
||||
|
"fileSizeLimitBytes": 10000000, |
||||
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff G} {Message}{NewLine:1}{Exception:1}" |
||||
|
} |
||||
|
}, |
||||
|
{ |
||||
|
"Name": "MSSqlServer", |
||||
|
"Args": { |
||||
|
"connectionString": "Default", |
||||
|
"tableName": "Logs", |
||||
|
"autoCreateSqlTable": true, |
||||
|
"restrictedToMinimumLevel": "Information", |
||||
|
"batchPostingLimit": 1000, |
||||
|
"period": "0.00:00:30" |
||||
|
} |
||||
|
} |
||||
|
] |
||||
|
}, |
||||
|
|
||||
|
"RabbitMQ": { |
||||
|
"Connections": { |
||||
|
"Default": { |
||||
|
"HostName": "149.223.116.5" |
||||
|
} |
||||
|
}, |
||||
|
"EventBus": { |
||||
|
"ClientName": "MyClientName", |
||||
|
"ExchangeName": "MyExchangeName" |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
"AuthServer": { |
||||
|
"Authority": "http://149.223.116.5:8066", |
||||
|
"AlwaysAllowAuthorization": false |
||||
|
}, |
||||
|
|
||||
|
"Redis": { |
||||
|
"Configuration": "127.0.0.1" |
||||
|
}, |
||||
|
|
||||
|
"DefaultBranchId": "3FA85F64-5717-4562-B3FC-2C963F66AFA6", |
||||
|
"AllowedHosts": "*", |
||||
|
|
||||
|
"ElasticSearch": { |
||||
|
"Url": "http://localhost:9200" |
||||
|
}, |
||||
|
|
||||
|
"RemoteServices": { |
||||
|
"Default": { |
||||
|
"BaseUrl": "http://149.223.116.5:8091/", |
||||
|
"UseCurrentAccessToken": "true" |
||||
|
} |
||||
|
}, |
||||
|
"IdentityClients": { |
||||
|
"Default": { |
||||
|
"GrantType": "client_credentials", |
||||
|
"ClientId": "business-app", |
||||
|
"ClientSecret": "1q2w3e*", |
||||
|
"Authority": "http://149.223.116.5:8066", |
||||
|
"Scope": "InternalGateway IdentityService SettleAccount" |
||||
|
} |
||||
} |
} |
||||
|
|
||||
|
|
||||
|
|
||||
} |
} |
@ -1,38 +1,129 @@ |
|||||
{ |
{ |
||||
"AuthServer": { |
"App": { |
||||
"Authority": "http://localhost:10100", |
"CorsOrigins": "https://*.abc.com,http://localhost:9528,http://149.223.116.5:8088" |
||||
"ApiName": "InternalGateway" |
|
||||
}, |
}, |
||||
|
//"ConnectionStrings": { |
||||
|
// "Default": "Server=LAPTOP-V3U07C2O;Database=ABP;user id=sa;Password=1q2w!@#", |
||||
|
// "SettleAccountService": "Server=LAPTOP-V3U07C2O;Database=SettleAccountService1;user id=sa;Password=1q2w!@#;" |
||||
|
//}, |
||||
"ConnectionStrings": { |
"ConnectionStrings": { |
||||
"Default": "Server=localhost;Database=ABP;Trusted_Connection=True;" |
//"Default": "Server=127.0.0.1;Database=ABP;user id=sa;Password=1", |
||||
|
//"SettleAccountService": "Server=127.0.0.1;Database=SettleAccountService;user id=sa;Password=1;" |
||||
|
"Default": "Server=192.168.0.140;Database=ABP;User ID=sa;Password=Microsoft2008;", |
||||
|
"SettleAccountService": "Server=192.168.0.140;Database=SettleAccountService;user id=sa;password=Microsoft2008;", |
||||
|
"Wms": "Server=192.168.0.63;Database=CPAT_WMS;user id=sa;password=Microsoft2008;" |
||||
|
|
||||
}, |
}, |
||||
"ElasticSearch": { |
"Logging": { |
||||
"Url": "http://localhost:9200" |
"LogLevel": { |
||||
|
"Default": "Information", |
||||
|
"Microsoft": "Warning", |
||||
|
"Microsoft.Hosting.Lifetime": "Information" |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
"Serilog": { |
||||
|
"Using": [], |
||||
|
"MinumumLevel": { |
||||
|
"Default": "Information", |
||||
|
"Override": { |
||||
|
"Microsoft": "Warning", |
||||
|
"System": "Warning" |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
"Settings": { |
||||
|
"Abp.Mailing.Smtp.Host": "149.223.116.5", |
||||
|
"Abp.Mailing.Smtp.Port": "25", |
||||
|
"Abp.Mailing.Smtp.UserName": "", |
||||
|
"Abp.Mailing.Smtp.Password": "", |
||||
|
"Abp.Mailing.Smtp.Domain": "", |
||||
|
"Abp.Mailing.Smtp.EnableSsl": "false", |
||||
|
"Abp.Mailing.Smtp.UseDefaultCredentials": "true", |
||||
|
"Abp.Mailing.DefaultFromAddress": "noreply@abp.io", |
||||
|
"Abp.Mailing.DefaultFromDisplayName": "ABP application" |
||||
|
}, |
||||
|
|
||||
|
"WriteTo": [ |
||||
|
{ "Name": "Console" }, |
||||
|
{ |
||||
|
"Name": "File", |
||||
|
"Args": { |
||||
|
"path": ".\\Logs\\log-.txt", |
||||
|
"rollingInterval": "Day", // Not currently in use. |
||||
|
"rollOnFileSizeLimit": true, |
||||
|
"fileSizeLimitBytes": 10000000, |
||||
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff G} {Message}{NewLine:1}{Exception:1}" |
||||
|
} |
||||
|
}, |
||||
|
{ |
||||
|
"Name": "MSSqlServer", |
||||
|
"Args": { |
||||
|
"connectionString": "Default", |
||||
|
"tableName": "Logs", |
||||
|
"autoCreateSqlTable": true, |
||||
|
"restrictedToMinimumLevel": "Information", |
||||
|
"batchPostingLimit": 1000, |
||||
|
"period": "0.00:00:30" |
||||
|
} |
||||
|
} |
||||
|
] |
||||
|
}, |
||||
|
|
||||
|
"RabbitMQ": { |
||||
|
"Connections": { |
||||
|
"Default": { |
||||
|
"HostName": "149.223.116.5" |
||||
|
} |
||||
|
}, |
||||
|
"EventBus": { |
||||
|
"ClientName": "MyClientName", |
||||
|
"ExchangeName": "MyExchangeName" |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
"AuthServer": { |
||||
|
"Authority": "http://149.223.116.5:8066", |
||||
|
"AlwaysAllowAuthorization": false |
||||
}, |
}, |
||||
|
|
||||
"Redis": { |
"Redis": { |
||||
"Configuration": "127.0.0.1" |
"Configuration": "127.0.0.1" |
||||
}, |
}, |
||||
"ReRoutes": [ |
|
||||
{ |
"DefaultBranchId": "3FA85F64-5717-4562-B3FC-2C963F66AFA6", |
||||
"DownstreamPathTemplate": "/api/identity/{everything}", |
"AllowedHosts": "*", |
||||
"DownstreamScheme": "http", |
|
||||
"DownstreamHostAndPorts": [ |
"ElasticSearch": { |
||||
{ |
"Url": "http://localhost:9200" |
||||
"Host": "localhost", |
|
||||
"Port": 10130 |
|
||||
} |
|
||||
], |
|
||||
"UpstreamPathTemplate": "/api/identity/{everything}", |
|
||||
"UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] |
|
||||
} |
|
||||
], |
|
||||
"GlobalConfiguration": { |
|
||||
"BaseUrl": "http://localhost:10110" |
|
||||
}, |
}, |
||||
"Logging": { |
|
||||
"LogLevel": { |
"RemoteServices": { |
||||
"Default": "Warning" |
"Default": { |
||||
|
"BaseUrl": "http://149.223.116.5:8091/", |
||||
|
"UseCurrentAccessToken": "true" |
||||
} |
} |
||||
}, |
}, |
||||
"AllowedHosts": "*" |
"IdentityClients": { |
||||
|
"Default": { |
||||
|
"GrantType": "client_credentials", |
||||
|
"ClientId": "business-app", |
||||
|
"ClientSecret": "1q2w3e*", |
||||
|
"Authority": "http://149.223.116.5:8066", |
||||
|
"Scope": "InternalGateway IdentityService SettleAccount" |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
} |
} |
Loading…
Reference in new issue