Certificate/wireless plugins; major refactoring
Migrate much of BI to Services. Added Wireless Profile Provider plugin feature. Added Certificate Authority Provider plugin feature. Modified Certificate Provider plugin feature. Database migration v17, for Device Profiles. Enrolment Client Updated to support CA Certificates, Wireless Profiles and Hardware Info. New Client Enrolment Protocol to support new features. Plugin Manifest Generator added to main solution. Improved AD search performance.
This commit is contained in:
@@ -25,6 +25,8 @@ namespace Disco.Services.Tasks
|
||||
InitializeScheduledTasksExceptionWithInner,
|
||||
ScheduledTasksException = 30,
|
||||
ScheduledTasksExceptionWithInner,
|
||||
ScheduledTasksWarning,
|
||||
ScheduledTasksInformation,
|
||||
ScheduledTaskExecuted = 50,
|
||||
ScheduledTaskFinished = 80,
|
||||
}
|
||||
@@ -98,6 +100,16 @@ namespace Disco.Services.Tasks
|
||||
}
|
||||
}
|
||||
|
||||
public static void LogScheduledTaskInformation(string ScheduledTaskName, string SessionId, string Message)
|
||||
{
|
||||
Log(EventTypeIds.ScheduledTasksInformation, ScheduledTaskName, SessionId, Message);
|
||||
}
|
||||
|
||||
public static void LogScheduledTaskWarning(string ScheduledTaskName, string SessionId, string Message)
|
||||
{
|
||||
Log(EventTypeIds.ScheduledTasksWarning, ScheduledTaskName, SessionId, Message);
|
||||
}
|
||||
|
||||
protected override List<Logging.Models.LogEventType> LoadEventTypes()
|
||||
{
|
||||
return new System.Collections.Generic.List<LogEventType>
|
||||
@@ -178,7 +190,29 @@ namespace Disco.Services.Tasks
|
||||
UseLive = true,
|
||||
UsePersist = true,
|
||||
UseDisplay = true
|
||||
},
|
||||
},
|
||||
new LogEventType
|
||||
{
|
||||
Id = (int)EventTypeIds.ScheduledTasksWarning,
|
||||
ModuleId = _ModuleId,
|
||||
Name = "Scheduled Task Warning",
|
||||
Format = "Scheduled Task '{0}' Warning: {2}; Session Id: {1}",
|
||||
Severity = (int)LogEventType.Severities.Warning,
|
||||
UseLive = true,
|
||||
UsePersist = true,
|
||||
UseDisplay = true
|
||||
},
|
||||
new LogEventType
|
||||
{
|
||||
Id = (int)EventTypeIds.ScheduledTasksInformation,
|
||||
ModuleId = _ModuleId,
|
||||
Name = "Scheduled Task Information",
|
||||
Format = "Scheduled Task '{0}' Information: {2}; Session Id: {1}",
|
||||
Severity = (int)LogEventType.Severities.Information,
|
||||
UseLive = true,
|
||||
UsePersist = true,
|
||||
UseDisplay = true
|
||||
},
|
||||
new LogEventType
|
||||
{
|
||||
Id = (int)EventTypeIds.ScheduledTaskExecuted,
|
||||
@@ -201,7 +235,7 @@ namespace Disco.Services.Tasks
|
||||
UsePersist = true,
|
||||
UseDisplay = true
|
||||
}
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user