Browse Source
- 修改多个配置文件以更新数据库连接字符串 - 添加本地时区设置 - 调整服务配置以支持 PostgreSQL - 移除各个模块独立的数据库配置,使其支持当项目启动数据迁移pull/1048/head
11 changed files with 472 additions and 531 deletions
@ -1,4 +1,14 @@ |
|||||
namespace LY.MicroService.Applications.Single.DbMigrator; |
using Microsoft.Extensions.Configuration; |
||||
public partial class SingleDbMigratorModule |
using Volo.Abp.Timing; |
||||
{ |
|
||||
} |
namespace LY.MicroService.Applications.Single.DbMigrator; |
||||
|
public partial class SingleDbMigratorModule |
||||
|
{ |
||||
|
private void ConfigureTiming(IConfiguration configuration) |
||||
|
{ |
||||
|
Configure<AbpClockOptions>(options => |
||||
|
{ |
||||
|
configuration.GetSection("Clock").Bind(options); |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
|
|||||
@ -1,117 +1,103 @@ |
|||||
{ |
{ |
||||
"ConnectionStrings": { |
"Clock": { |
||||
"Default": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
"Kind": "Local" |
||||
"AbpAuditLogging": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
}, |
||||
"AbpOpenIddict": "Server=127.0.0.1;Database=IdentityServer-V70;User Id=root;Password=123456;SslMode=None", |
"ConnectionStrings": { |
||||
"AbpIdentity": "Server=127.0.0.1;Database=IdentityServer-V70;User Id=root;Password=123456;SslMode=None", |
"Default": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None" |
||||
"AbpIdentityServer": "Server=127.0.0.1;Database=IdentityServer-V70;User Id=root;Password=123456;SslMode=None", |
}, |
||||
"AbpSaas": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
"StringEncryption": { |
||||
"AbpTenantManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
"DefaultPassPhrase": "s46c5q55nxpeS8Ra", |
||||
"AbpFeatureManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
"InitVectorBytes": "s83ng0abvd02js84", |
||||
"AbpSettingManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
"DefaultSalt": "sf&5)s3#" |
||||
"AbpPermissionManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
}, |
||||
"AbpLocalizationManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
"AuthServer": { |
||||
"AbpTextTemplating": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
"UseOpenIddict": true |
||||
"AppPlatform": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
}, |
||||
"TaskManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
"IdentityServer": { |
||||
"Workflow": "Server=127.0.0.1;Database=Workflow-V70;User Id=root;Password=123456;SslMode=None", |
"Clients": { |
||||
"Notifications": "Server=127.0.0.1;Database=Messages-V70;User Id=root;Password=123456;SslMode=None", |
"VueAdmin": { |
||||
"MessageService": "Server=127.0.0.1;Database=Messages-V70;User Id=root;Password=123456;SslMode=None", |
"ClientId": "vue-admin-client", |
||||
"Demo": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None" |
"RootUrl": "http://127.0.0.1:40080/" |
||||
}, |
}, |
||||
"StringEncryption": { |
"InternalService": { |
||||
"DefaultPassPhrase": "s46c5q55nxpeS8Ra", |
"ClientId": "InternalServiceClient" |
||||
"InitVectorBytes": "s83ng0abvd02js84", |
} |
||||
"DefaultSalt": "sf&5)s3#" |
} |
||||
}, |
}, |
||||
"AuthServer": { |
"OpenIddict": { |
||||
"UseOpenIddict": true |
"Applications": { |
||||
}, |
"VueAdmin": { |
||||
"IdentityServer": { |
"ClientId": "vue-admin-client", |
||||
"Clients": { |
"RootUrl": "http://127.0.0.1:40080/" |
||||
"VueAdmin": { |
}, |
||||
"ClientId": "vue-admin-client", |
"InternalService": { |
||||
"RootUrl": "http://127.0.0.1:40080/" |
"ClientId": "InternalServiceClient" |
||||
}, |
} |
||||
"InternalService": { |
} |
||||
"ClientId": "InternalServiceClient" |
}, |
||||
} |
"Serilog": { |
||||
} |
"MinimumLevel": { |
||||
}, |
"Default": "Information", |
||||
"OpenIddict": { |
"Override": { |
||||
"Applications": { |
"System": "Warning", |
||||
"VueAdmin": { |
"Microsoft": "Warning", |
||||
"ClientId": "vue-admin-client", |
"DotNetCore": "Information" |
||||
"RootUrl": "http://127.0.0.1:40080/" |
} |
||||
}, |
}, |
||||
"InternalService": { |
"Enrich": [ "FromLogContext", "WithProcessId", "WithThreadId", "WithEnvironmentName", "WithMachineName", "WithApplicationName", "WithUniqueId" ], |
||||
"ClientId": "InternalServiceClient" |
"WriteTo": [ |
||||
} |
{ |
||||
} |
"Name": "Console", |
||||
}, |
"Args": { |
||||
"Serilog": { |
"restrictedToMinimumLevel": "Debug", |
||||
"MinimumLevel": { |
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
||||
"Default": "Information", |
} |
||||
"Override": { |
}, |
||||
"System": "Warning", |
{ |
||||
"Microsoft": "Warning", |
"Name": "File", |
||||
"DotNetCore": "Information" |
"Args": { |
||||
} |
"path": "Logs/Debug-.log", |
||||
}, |
"restrictedToMinimumLevel": "Debug", |
||||
"Enrich": [ "FromLogContext", "WithProcessId", "WithThreadId", "WithEnvironmentName", "WithMachineName", "WithApplicationName", "WithUniqueId" ], |
"rollingInterval": "Day", |
||||
"WriteTo": [ |
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
||||
{ |
} |
||||
"Name": "Console", |
}, |
||||
"Args": { |
{ |
||||
"restrictedToMinimumLevel": "Debug", |
"Name": "File", |
||||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
"Args": { |
||||
} |
"path": "Logs/Info-.log", |
||||
}, |
"restrictedToMinimumLevel": "Information", |
||||
{ |
"rollingInterval": "Day", |
||||
"Name": "File", |
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
||||
"Args": { |
} |
||||
"path": "Logs/Debug-.log", |
}, |
||||
"restrictedToMinimumLevel": "Debug", |
{ |
||||
"rollingInterval": "Day", |
"Name": "File", |
||||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
"Args": { |
||||
} |
"path": "Logs/Warn-.log", |
||||
}, |
"restrictedToMinimumLevel": "Warning", |
||||
{ |
"rollingInterval": "Day", |
||||
"Name": "File", |
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
||||
"Args": { |
} |
||||
"path": "Logs/Info-.log", |
}, |
||||
"restrictedToMinimumLevel": "Information", |
{ |
||||
"rollingInterval": "Day", |
"Name": "File", |
||||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
"Args": { |
||||
} |
"path": "Logs/Error-.log", |
||||
}, |
"restrictedToMinimumLevel": "Error", |
||||
{ |
"rollingInterval": "Day", |
||||
"Name": "File", |
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
||||
"Args": { |
} |
||||
"path": "Logs/Warn-.log", |
}, |
||||
"restrictedToMinimumLevel": "Warning", |
{ |
||||
"rollingInterval": "Day", |
"Name": "File", |
||||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
"Args": { |
||||
} |
"path": "Logs/Fatal-.log", |
||||
}, |
"restrictedToMinimumLevel": "Fatal", |
||||
{ |
"rollingInterval": "Day", |
||||
"Name": "File", |
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
||||
"Args": { |
} |
||||
"path": "Logs/Error-.log", |
} |
||||
"restrictedToMinimumLevel": "Error", |
] |
||||
"rollingInterval": "Day", |
} |
||||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
} |
||||
} |
|
||||
}, |
|
||||
{ |
|
||||
"Name": "File", |
|
||||
"Args": { |
|
||||
"path": "Logs/Fatal-.log", |
|
||||
"restrictedToMinimumLevel": "Fatal", |
|
||||
"rollingInterval": "Day", |
|
||||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|
||||
} |
|
||||
} |
|
||||
] |
|
||||
} |
|
||||
} |
|
||||
|
|||||
@ -1,262 +1,245 @@ |
|||||
{ |
{ |
||||
"App": { |
"App": { |
||||
"ShowPii": true, |
"ShowPii": true, |
||||
"SelfUrl": "http://127.0.0.1:30001/", |
"SelfUrl": "http://127.0.0.1:30001/", |
||||
"CorsOrigins": "http://127.0.0.1:3100,http://127.0.0.1:30001", |
"CorsOrigins": "http://127.0.0.1:3100,http://127.0.0.1:30001", |
||||
"Urls": { |
"Urls": { |
||||
"Applications": { |
"Applications": { |
||||
"MVC": { |
"MVC": { |
||||
"RootUrl": "http://127.0.0.1:30001/", |
"RootUrl": "http://127.0.0.1:30001/", |
||||
"Urls": { |
"Urls": { |
||||
"Abp.Account.EmailConfirm": "Account/EmailConfirm", |
"Abp.Account.EmailConfirm": "Account/EmailConfirm", |
||||
"Abp.Account.EmailVerifyLogin": "Account/VerifyCode" |
"Abp.Account.EmailVerifyLogin": "Account/VerifyCode" |
||||
} |
} |
||||
}, |
}, |
||||
"STS": { |
"STS": { |
||||
"RootUrl": "http://127.0.0.1:30001/" |
"RootUrl": "http://127.0.0.1:30001/" |
||||
}, |
}, |
||||
"VueVbenAdmin": { |
"VueVbenAdmin": { |
||||
"RootUrl": "http://127.0.0.1:3100", |
"RootUrl": "http://127.0.0.1:3100", |
||||
"Urls": { |
"Urls": { |
||||
"Abp.Account.EmailConfirm": "account/email-confirm" |
"Abp.Account.EmailConfirm": "account/email-confirm" |
||||
} |
} |
||||
} |
} |
||||
} |
} |
||||
} |
} |
||||
}, |
}, |
||||
"Auditing": { |
"Auditing": { |
||||
"AllEntitiesSelector": true |
"AllEntitiesSelector": true |
||||
}, |
}, |
||||
"DistributedCache": { |
"DistributedCache": { |
||||
"HideErrors": true, |
"HideErrors": true, |
||||
"KeyPrefix": "LINGYUN.Abp.Application", |
"KeyPrefix": "LINGYUN.Abp.Application", |
||||
"GlobalCacheEntryOptions": { |
"GlobalCacheEntryOptions": { |
||||
"SlidingExpiration": "30:00:00", |
"SlidingExpiration": "30:00:00", |
||||
"AbsoluteExpirationRelativeToNow": "60:00:00" |
"AbsoluteExpirationRelativeToNow": "60:00:00" |
||||
} |
} |
||||
}, |
}, |
||||
"ConnectionStrings": { |
"ConnectionStrings": { |
||||
"Default": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
"Default": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None" |
||||
"AbpAuditLogging": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
}, |
||||
"AbpOpenIddict": "Server=127.0.0.1;Database=IdentityServer-V70;User Id=root;Password=123456;SslMode=None", |
"DistributedLock": { |
||||
"AbpIdentity": "Server=127.0.0.1;Database=IdentityServer-V70;User Id=root;Password=123456;SslMode=None", |
"IsEnabled": true, |
||||
"AbpIdentityServer": "Server=127.0.0.1;Database=IdentityServer-V70;User Id=root;Password=123456;SslMode=None", |
"Redis": { |
||||
"AbpSaas": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
"Configuration": "127.0.0.1,defaultDatabase=14" |
||||
"AbpTenantManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
} |
||||
"AbpFeatureManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
}, |
||||
"AbpSettingManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
"Elsa": { |
||||
"AbpPermissionManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
"Features": { |
||||
"AbpLocalizationManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
"DefaultPersistence": { |
||||
"AbpTextTemplating": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
"Enabled": true, |
||||
"AppPlatform": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
"ConnectionStringIdentifier": "Workflow", |
||||
"TaskManagement": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None", |
"EntityFrameworkCore": { |
||||
"Workflow": "Server=127.0.0.1;Database=Workflow-V70;User Id=root;Password=123456;SslMode=None", |
"MySql": { |
||||
"Notifications": "Server=127.0.0.1;Database=Messages-V70;User Id=root;Password=123456;SslMode=None", |
"Enabled": true |
||||
"MessageService": "Server=127.0.0.1;Database=Messages-V70;User Id=root;Password=123456;SslMode=None", |
} |
||||
"Demo": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456;SslMode=None" |
} |
||||
}, |
}, |
||||
"DistributedLock": { |
"Console": true, |
||||
"IsEnabled": true, |
"Http": true, |
||||
"Redis": { |
"Email": true, |
||||
"Configuration": "127.0.0.1,defaultDatabase=14" |
"TemporalQuartz": true, |
||||
} |
"JavaScriptActivities": true, |
||||
}, |
"UserTask": true, |
||||
"Elsa": { |
"Conductor": true, |
||||
"Features": { |
"Telnyx": true, |
||||
"DefaultPersistence": { |
"BlobStoring": true, |
||||
"Enabled": true, |
"Emailing": true, |
||||
"ConnectionStringIdentifier": "Workflow", |
"Notification": true, |
||||
"EntityFrameworkCore": { |
"Sms": true, |
||||
"MySql": { |
"IM": true, |
||||
"Enabled": true |
"PublishWebhook": true, |
||||
} |
"Webhooks": { |
||||
} |
"Enabled": true, |
||||
}, |
"ConnectionStringIdentifier": "Workflow", |
||||
"Console": true, |
"EntityFrameworkCore": { |
||||
"Http": true, |
"MySql": { |
||||
"Email": true, |
"Enabled": true |
||||
"TemporalQuartz": true, |
} |
||||
"JavaScriptActivities": true, |
} |
||||
"UserTask": true, |
}, |
||||
"Conductor": true, |
"WorkflowSettings": { |
||||
"Telnyx": true, |
"Enabled": true, |
||||
"BlobStoring": true, |
"ConnectionStringIdentifier": "Workflow", |
||||
"Emailing": true, |
"EntityFrameworkCore": { |
||||
"Notification": true, |
"MySql": { |
||||
"Sms": true, |
"Enabled": true |
||||
"IM": true, |
} |
||||
"PublishWebhook": true, |
} |
||||
"Webhooks": { |
} |
||||
"Enabled": true, |
}, |
||||
"ConnectionStringIdentifier": "Workflow", |
"Server": { |
||||
"EntityFrameworkCore": { |
"BaseUrl": "http://127.0.0.1:30000" |
||||
"MySql": { |
} |
||||
"Enabled": true |
}, |
||||
} |
"Quartz": { |
||||
} |
"UsePersistentStore": false, |
||||
}, |
"Properties": { |
||||
"WorkflowSettings": { |
"quartz.jobStore.dataSource": "tkm", |
||||
"Enabled": true, |
"quartz.jobStore.type": "Quartz.Impl.AdoJobStore.JobStoreTX,Quartz", |
||||
"ConnectionStringIdentifier": "Workflow", |
"quartz.jobStore.driverDelegateType": "Quartz.Impl.AdoJobStore.MySQLDelegate,Quartz", |
||||
"EntityFrameworkCore": { |
"quartz.dataSource.tkm.connectionString": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456", |
||||
"MySql": { |
"quartz.dataSource.tkm.connectionStringName": "TaskManagement", |
||||
"Enabled": true |
"quartz.dataSource.tkm.provider": "MySqlConnector", |
||||
} |
"quartz.jobStore.clustered": "true", |
||||
} |
"quartz.serializer.type": "json" |
||||
} |
} |
||||
}, |
}, |
||||
"Server": { |
"Redis": { |
||||
"BaseUrl": "http://127.0.0.1:30000" |
"IsEnabled": true, |
||||
} |
"Configuration": "127.0.0.1,defaultDatabase=15", |
||||
}, |
"InstanceName": "LINGYUN.Abp.Application" |
||||
"Quartz": { |
}, |
||||
"UsePersistentStore": false, |
"Features": { |
||||
"Properties": { |
"Validation": { |
||||
"quartz.jobStore.dataSource": "tkm", |
"Redis": { |
||||
"quartz.jobStore.type": "Quartz.Impl.AdoJobStore.JobStoreTX,Quartz", |
"Configuration": "127.0.0.1,defaultDatabase=13", |
||||
"quartz.jobStore.driverDelegateType": "Quartz.Impl.AdoJobStore.MySQLDelegate,Quartz", |
"InstanceName": "LINGYUN.Abp.Application" |
||||
"quartz.dataSource.tkm.connectionString": "Server=127.0.0.1;Database=Platform-V70;User Id=root;Password=123456", |
} |
||||
"quartz.dataSource.tkm.connectionStringName": "TaskManagement", |
} |
||||
"quartz.dataSource.tkm.provider": "MySqlConnector", |
}, |
||||
"quartz.jobStore.clustered": "true", |
"AuthServer": { |
||||
"quartz.serializer.type": "json" |
"UseOpenIddict": true, |
||||
} |
"Authority": "http://127.0.0.1:30001/", |
||||
}, |
"Audience": "lingyun-abp-application", |
||||
"Redis": { |
"RequireHttpsMetadata": false, |
||||
"IsEnabled": true, |
"SwaggerClientId": "InternalServiceClient", |
||||
"Configuration": "127.0.0.1,defaultDatabase=15", |
"SwaggerClientSecret": "1q2w3E*" |
||||
"InstanceName": "LINGYUN.Abp.Application" |
}, |
||||
}, |
"IdentityServer": { |
||||
"Features": { |
"Clients": { |
||||
"Validation": { |
"VueAdmin": { |
||||
"Redis": { |
"ClientId": "vue-admin-client", |
||||
"Configuration": "127.0.0.1,defaultDatabase=13", |
"RootUrl": "http://127.0.0.1:3100/" |
||||
"InstanceName": "LINGYUN.Abp.Application" |
}, |
||||
} |
"InternalService": { |
||||
} |
"ClientId": "InternalServiceClient" |
||||
}, |
} |
||||
"AuthServer": { |
} |
||||
"UseOpenIddict": true, |
}, |
||||
"Authority": "http://127.0.0.1:30001/", |
"OpenIddict": { |
||||
"Audience": "lingyun-abp-application", |
"Applications": { |
||||
"RequireHttpsMetadata": false, |
"VueAdmin": { |
||||
"SwaggerClientId": "InternalServiceClient", |
"ClientId": "vue-admin-client", |
||||
"SwaggerClientSecret": "1q2w3E*" |
"RootUrl": "http://127.0.0.1:3100/" |
||||
}, |
}, |
||||
"IdentityServer": { |
"InternalService": { |
||||
"Clients": { |
"ClientId": "InternalServiceClient" |
||||
"VueAdmin": { |
} |
||||
"ClientId": "vue-admin-client", |
}, |
||||
"RootUrl": "http://127.0.0.1:3100/" |
"Lifetime": { |
||||
}, |
"AuthorizationCode": "00:05:00", |
||||
"InternalService": { |
"AccessToken": "14:00:00", |
||||
"ClientId": "InternalServiceClient" |
"DeviceCode": "00:10:00", |
||||
} |
"IdentityToken": "00:20:00", |
||||
} |
"RefreshToken": "14:00:00", |
||||
}, |
"RefreshTokenReuseLeeway": "00:00:30", |
||||
"OpenIddict": { |
"UserCode": "00:10:00" |
||||
"Applications": { |
} |
||||
"VueAdmin": { |
}, |
||||
"ClientId": "vue-admin-client", |
"Identity": { |
||||
"RootUrl": "http://127.0.0.1:3100/" |
"Password": { |
||||
}, |
"RequiredLength": 6, |
||||
"InternalService": { |
"RequiredUniqueChars": 0, |
||||
"ClientId": "InternalServiceClient" |
"RequireNonAlphanumeric": false, |
||||
} |
"RequireLowercase": false, |
||||
}, |
"RequireUppercase": false, |
||||
"Lifetime": { |
"RequireDigit": false |
||||
"AuthorizationCode": "00:05:00", |
}, |
||||
"AccessToken": "14:00:00", |
"Lockout": { |
||||
"DeviceCode": "00:10:00", |
"AllowedForNewUsers": false, |
||||
"IdentityToken": "00:20:00", |
"LockoutDuration": 5, |
||||
"RefreshToken": "14:00:00", |
"MaxFailedAccessAttempts": 5 |
||||
"RefreshTokenReuseLeeway": "00:00:30", |
}, |
||||
"UserCode": "00:10:00" |
"SignIn": { |
||||
} |
"RequireConfirmedEmail": false, |
||||
}, |
"RequireConfirmedPhoneNumber": false |
||||
"Identity": { |
} |
||||
"Password": { |
}, |
||||
"RequiredLength": 6, |
"FeatureManagement": { |
||||
"RequiredUniqueChars": 0, |
"IsDynamicStoreEnabled": true |
||||
"RequireNonAlphanumeric": false, |
}, |
||||
"RequireLowercase": false, |
"SettingManagement": { |
||||
"RequireUppercase": false, |
"IsDynamicStoreEnabled": true |
||||
"RequireDigit": false |
}, |
||||
}, |
"PermissionManagement": { |
||||
"Lockout": { |
"IsDynamicStoreEnabled": true |
||||
"AllowedForNewUsers": false, |
}, |
||||
"LockoutDuration": 5, |
"TextTemplating": { |
||||
"MaxFailedAccessAttempts": 5 |
"IsDynamicStoreEnabled": true |
||||
}, |
}, |
||||
"SignIn": { |
"WebhooksManagement": { |
||||
"RequireConfirmedEmail": false, |
"IsDynamicStoreEnabled": true |
||||
"RequireConfirmedPhoneNumber": false |
}, |
||||
} |
"Logging": { |
||||
}, |
"Serilog": { |
||||
"FeatureManagement": { |
"Elasticsearch": { |
||||
"IsDynamicStoreEnabled": true |
"IndexFormat": "abp.dev.logging-{0:yyyy.MM.dd}" |
||||
}, |
} |
||||
"SettingManagement": { |
} |
||||
"IsDynamicStoreEnabled": true |
}, |
||||
}, |
"AuditLogging": { |
||||
"PermissionManagement": { |
"Elasticsearch": { |
||||
"IsDynamicStoreEnabled": true |
"IndexPrefix": "abp.dev.auditing" |
||||
}, |
} |
||||
"TextTemplating": { |
}, |
||||
"IsDynamicStoreEnabled": true |
"Elasticsearch": { |
||||
}, |
"NodeUris": "http://127.0.0.1:9200" |
||||
"WebhooksManagement": { |
}, |
||||
"IsDynamicStoreEnabled": true |
"Minio": { |
||||
}, |
"WithSSL": false, |
||||
"Logging": { |
"BucketName": "blobs", |
||||
"Serilog": { |
"EndPoint": "127.0.0.1:19000", |
||||
"Elasticsearch": { |
"AccessKey": "ZD43kNpimiJf9mCuomTP", |
||||
"IndexFormat": "abp.dev.logging-{0:yyyy.MM.dd}" |
"SecretKey": "w8IqMgi4Tnz0DGzN8jZ7IJWq7OEdbUnAU0jlZxQK", |
||||
} |
"CreateBucketIfNotExists": false |
||||
} |
}, |
||||
}, |
"Serilog": { |
||||
"AuditLogging": { |
"MinimumLevel": { |
||||
"Elasticsearch": { |
"Default": "Information", |
||||
"IndexPrefix": "abp.dev.auditing" |
"Override": { |
||||
} |
"System": "Warning", |
||||
}, |
"Microsoft": "Warning", |
||||
"Elasticsearch": { |
"DotNetCore": "Warning" |
||||
"NodeUris": "http://127.0.0.1:9200" |
} |
||||
}, |
}, |
||||
"Minio": { |
"WriteTo": [ |
||||
"WithSSL": false, |
{ |
||||
"BucketName": "blobs", |
"Name": "Console", |
||||
"EndPoint": "127.0.0.1:19000", |
"Args": { |
||||
"AccessKey": "ZD43kNpimiJf9mCuomTP", |
"restrictedToMinimumLevel": "Debug", |
||||
"SecretKey": "w8IqMgi4Tnz0DGzN8jZ7IJWq7OEdbUnAU0jlZxQK", |
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
||||
"CreateBucketIfNotExists": false |
} |
||||
}, |
}, |
||||
"Serilog": { |
{ |
||||
"MinimumLevel": { |
"Name": "Elasticsearch", |
||||
"Default": "Information", |
"Args": { |
||||
"Override": { |
"nodeUris": "http://127.0.0.1:9200", |
||||
"System": "Warning", |
"indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}", |
||||
"Microsoft": "Warning", |
"autoRegisterTemplate": true, |
||||
"DotNetCore": "Warning" |
"autoRegisterTemplateVersion": "ESv7" |
||||
} |
} |
||||
}, |
} |
||||
"WriteTo": [ |
] |
||||
{ |
} |
||||
"Name": "Console", |
} |
||||
"Args": { |
|
||||
"restrictedToMinimumLevel": "Debug", |
|
||||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
|
||||
} |
|
||||
}, |
|
||||
{ |
|
||||
"Name": "Elasticsearch", |
|
||||
"Args": { |
|
||||
"nodeUris": "http://127.0.0.1:9200", |
|
||||
"indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}", |
|
||||
"autoRegisterTemplate": true, |
|
||||
"autoRegisterTemplateVersion": "ESv7" |
|
||||
} |
|
||||
} |
|
||||
] |
|
||||
} |
|
||||
} |
|
||||
|
|||||
@ -1,86 +1,89 @@ |
|||||
{ |
{ |
||||
"Forwarded": { |
"Clock": { |
||||
"ForwardedHeaders": "XForwardedFor,XForwardedProto" |
"Kind": "Local" |
||||
}, |
}, |
||||
"StringEncryption": { |
"Forwarded": { |
||||
"DefaultPassPhrase": "s46c5q55nxpeS8Ra", |
"ForwardedHeaders": "XForwardedFor,XForwardedProto" |
||||
"InitVectorBytes": "s83ng0abvd02js84", |
}, |
||||
"DefaultSalt": "sf&5)s3#" |
"StringEncryption": { |
||||
}, |
"DefaultPassPhrase": "s46c5q55nxpeS8Ra", |
||||
"Json": { |
"InitVectorBytes": "s83ng0abvd02js84", |
||||
"OutputDateTimeFormat": "yyyy-MM-dd HH:mm:ss", |
"DefaultSalt": "sf&5)s3#" |
||||
"InputDateTimeFormats": [ |
}, |
||||
"yyyy-MM-dd HH:mm:ss", |
"Json": { |
||||
"yyyy-MM-ddTHH:mm:ss" |
"OutputDateTimeFormat": "yyyy-MM-dd HH:mm:ss", |
||||
] |
"InputDateTimeFormats": [ |
||||
}, |
"yyyy-MM-dd HH:mm:ss", |
||||
"AllowedHosts": "*", |
"yyyy-MM-ddTHH:mm:ss" |
||||
"Hosting": { |
] |
||||
"BasePath": "" |
}, |
||||
}, |
"AllowedHosts": "*", |
||||
"Serilog": { |
"Hosting": { |
||||
"MinimumLevel": { |
"BasePath": "" |
||||
"Default": "Information", |
}, |
||||
"Override": { |
"Serilog": { |
||||
"System": "Warning", |
"MinimumLevel": { |
||||
"Microsoft": "Warning", |
"Default": "Information", |
||||
"DotNetCore": "Information" |
"Override": { |
||||
} |
"System": "Warning", |
||||
}, |
"Microsoft": "Warning", |
||||
"Enrich": [ "FromLogContext", "WithProcessId", "WithThreadId", "WithEnvironmentName", "WithMachineName", "WithApplicationName", "WithUniqueId" ], |
"DotNetCore": "Information" |
||||
"WriteTo": [ |
} |
||||
{ |
}, |
||||
"Name": "Console", |
"Enrich": [ "FromLogContext", "WithProcessId", "WithThreadId", "WithEnvironmentName", "WithMachineName", "WithApplicationName", "WithUniqueId" ], |
||||
"Args": { |
"WriteTo": [ |
||||
"restrictedToMinimumLevel": "Debug", |
{ |
||||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
"Name": "Console", |
||||
} |
"Args": { |
||||
}, |
"restrictedToMinimumLevel": "Debug", |
||||
{ |
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
||||
"Name": "File", |
} |
||||
"Args": { |
}, |
||||
"path": "Logs/Debug-.log", |
{ |
||||
"restrictedToMinimumLevel": "Debug", |
"Name": "File", |
||||
"rollingInterval": "Day", |
"Args": { |
||||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
"path": "Logs/Debug-.log", |
||||
} |
"restrictedToMinimumLevel": "Debug", |
||||
}, |
"rollingInterval": "Day", |
||||
{ |
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
||||
"Name": "File", |
} |
||||
"Args": { |
}, |
||||
"path": "Logs/Info-.log", |
{ |
||||
"restrictedToMinimumLevel": "Information", |
"Name": "File", |
||||
"rollingInterval": "Day", |
"Args": { |
||||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
"path": "Logs/Info-.log", |
||||
} |
"restrictedToMinimumLevel": "Information", |
||||
}, |
"rollingInterval": "Day", |
||||
{ |
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
||||
"Name": "File", |
} |
||||
"Args": { |
}, |
||||
"path": "Logs/Warn-.log", |
{ |
||||
"restrictedToMinimumLevel": "Warning", |
"Name": "File", |
||||
"rollingInterval": "Day", |
"Args": { |
||||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
"path": "Logs/Warn-.log", |
||||
} |
"restrictedToMinimumLevel": "Warning", |
||||
}, |
"rollingInterval": "Day", |
||||
{ |
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
||||
"Name": "File", |
} |
||||
"Args": { |
}, |
||||
"path": "Logs/Error-.log", |
{ |
||||
"restrictedToMinimumLevel": "Error", |
"Name": "File", |
||||
"rollingInterval": "Day", |
"Args": { |
||||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
"path": "Logs/Error-.log", |
||||
} |
"restrictedToMinimumLevel": "Error", |
||||
}, |
"rollingInterval": "Day", |
||||
{ |
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
||||
"Name": "File", |
} |
||||
"Args": { |
}, |
||||
"path": "Logs/Fatal-.log", |
{ |
||||
"restrictedToMinimumLevel": "Fatal", |
"Name": "File", |
||||
"rollingInterval": "Day", |
"Args": { |
||||
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
"path": "Logs/Fatal-.log", |
||||
} |
"restrictedToMinimumLevel": "Fatal", |
||||
} |
"rollingInterval": "Day", |
||||
] |
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" |
||||
} |
} |
||||
} |
} |
||||
|
] |
||||
|
} |
||||
|
} |
||||
|
|||||
Loading…
Reference in new issue