修复Kafka启动消费订阅启动失败的问题
This commit is contained in:
parent
e43b5361de
commit
5f1e252307
@ -1,3 +1,4 @@
|
||||
using JiShe.ServicePro.ServerOptions;
|
||||
using JiShe.ServicePro.SwaggerConfigs;
|
||||
using System.Reflection;
|
||||
using Volo.Abp.BlobStoring.FileSystem;
|
||||
@ -45,6 +46,11 @@ namespace JiShe.IoT
|
||||
ConfigurationSignalR(context);
|
||||
ConfigurationMultiTenancy();
|
||||
ConfigureBlobStorage();
|
||||
|
||||
Configure<ServerApplicationOptions>(options =>
|
||||
{
|
||||
configuration.GetSection(nameof(ServerApplicationOptions)).Bind(options);
|
||||
});
|
||||
}
|
||||
|
||||
public override void OnApplicationInitialization(ApplicationInitializationContext context)
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
using JiShe.ServicePro.CTWingManagement;
|
||||
using JiShe.ServicePro.DeviceManagement;
|
||||
using JiShe.ServicePro.DynamicMenuManagement;
|
||||
using JiShe.ServicePro.FileManagement;
|
||||
@ -17,6 +18,7 @@ namespace JiShe.IoT
|
||||
typeof(FileManagementApplicationContractsModule),
|
||||
typeof(IoTDBManagementApplicationContractsModule),
|
||||
typeof(DynamicMenuManagementApplicationContractsModule),
|
||||
typeof(CTWingManagementApplicationContractsModule),
|
||||
typeof(DeviceManagementApplicationContractsModule)
|
||||
)]
|
||||
public class IoTApplicationContractsModule : AbpModule
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
using JiShe.IoT.Jobs.ToMysql;
|
||||
using JiShe.IoT.Jobs.ToRedis;
|
||||
using JiShe.ServicePro.CTWingManagement;
|
||||
using JiShe.ServicePro.DeviceManagement;
|
||||
using JiShe.ServicePro.DynamicMenuManagement;
|
||||
using JiShe.ServicePro.FileManagement;
|
||||
@ -24,6 +25,7 @@ namespace JiShe.IoT
|
||||
typeof(IoTDBManagementApplicationModule),
|
||||
typeof(ServiceProFreeRedisProviderModule),
|
||||
typeof(ServiceProFreeSqlProviderModule),
|
||||
typeof(CTWingManagementApplicationModule),
|
||||
typeof(DeviceManagementApplicationModule)
|
||||
)]
|
||||
public class IoTApplicationModule : AbpModule
|
||||
@ -41,7 +43,7 @@ namespace JiShe.IoT
|
||||
public override void PostConfigureServices(ServiceConfigurationContext context)
|
||||
{
|
||||
// ¶¨Ê±ÈÎÎñ
|
||||
ConfigureBackgroundJob(context);
|
||||
//ConfigureBackgroundJob(context);
|
||||
}
|
||||
|
||||
private static void ConfigureBackgroundJob(ServiceConfigurationContext context)
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
using JiShe.ServicePro.CTWingManagement;
|
||||
using JiShe.ServicePro.DeviceManagement;
|
||||
using JiShe.ServicePro.DynamicMenuManagement;
|
||||
using JiShe.ServicePro.FileManagement;
|
||||
@ -17,6 +18,7 @@ namespace JiShe.IoT
|
||||
typeof(FileManagementDomainSharedModule),
|
||||
typeof(IoTDBManagementDomainSharedModule),
|
||||
typeof(ServiceProFreeSqlProviderModule),
|
||||
typeof(CTWingManagementDomainSharedModule),
|
||||
typeof(ServiceProCoreModule),
|
||||
typeof(DeviceManagementDomainSharedModule)
|
||||
)]
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
using JiShe.ServicePro.CTWingManagement;
|
||||
using JiShe.ServicePro.DeviceManagement;
|
||||
using JiShe.ServicePro.DynamicMenuManagement;
|
||||
using JiShe.ServicePro.FileManagement;
|
||||
@ -16,6 +17,7 @@ namespace JiShe.IoT
|
||||
typeof(FileManagementDomainModule),
|
||||
typeof(IoTDBManagementDomainModule),
|
||||
typeof(DynamicMenuManagementDomainModule),
|
||||
typeof(CTWingManagementDomainModule),
|
||||
typeof(DeviceManagementDomainModule)
|
||||
)]
|
||||
public class IoTDomainModule : AbpModule
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
using JiShe.ServicePro.CTWingManagement.EntityFrameworkCore;
|
||||
using JiShe.ServicePro.DeviceManagement.EntityFrameworkCore;
|
||||
using JiShe.ServicePro.DynamicMenuManagement.EntityFrameworkCore;
|
||||
using JiShe.ServicePro.FileManagement.EntityFrameworkCore;
|
||||
@ -16,6 +17,7 @@ namespace JiShe.IoT.EntityFrameworkCore
|
||||
typeof(TemplateManagementEntityFrameworkCoreModule),
|
||||
typeof(FileManagementEntityFrameworkCoreModule),
|
||||
typeof(DynamicMenuManagementEntityFrameworkCoreModule),
|
||||
typeof(CTWingManagementEntityFrameworkCoreModule),
|
||||
typeof(DeviceManagementEntityFrameworkCoreModule)
|
||||
)]
|
||||
public class IoTEntityFrameworkCoreModule : AbpModule
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
using JiShe.ServicePro.BasicManagement;
|
||||
using JiShe.ServicePro.CTWingManagement;
|
||||
using JiShe.ServicePro.DataDictionaryManagement;
|
||||
using JiShe.ServicePro.DeviceManagement;
|
||||
using JiShe.ServicePro.DynamicMenuManagement;
|
||||
@ -20,6 +21,7 @@ namespace JiShe.IoT
|
||||
typeof(FileManagementHttpApiClientModule),
|
||||
typeof(IoTDBManagementHttpApiClientModule),
|
||||
typeof(DynamicMenuManagementHttpApiClientModule),
|
||||
typeof(CTWingManagementHttpApiClientModule),
|
||||
typeof(DeviceManagementHttpApiClientModule)
|
||||
)]
|
||||
public class IoTHttpApiClientModule : AbpModule
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
using JiShe.ServicePro.CTWingManagement;
|
||||
using JiShe.ServicePro.DataDictionaryManagement;
|
||||
using JiShe.ServicePro.DeviceManagement;
|
||||
using JiShe.ServicePro.DynamicMenuManagement;
|
||||
@ -18,6 +19,7 @@ namespace JiShe.IoT
|
||||
typeof(FileManagementHttpApiModule),
|
||||
typeof(IoTDBManagementHttpApiModule),
|
||||
typeof(DynamicMenuManagementHttpApiModule),
|
||||
typeof(CTWingManagementHttpApiModule),
|
||||
typeof(DeviceManagementHttpApiModule)
|
||||
)]
|
||||
public class IoTHttpApiModule : AbpModule
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user