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:
Gary Sharp
2016-09-28 20:16:25 +10:00
parent 489a5df7cc
commit 27c21175d7
210 changed files with 9822 additions and 6675 deletions
-35
View File
@@ -1,35 +0,0 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Disco.Models.BI.Device
{
public class ImportDevice
{
[Required, StringLength(60)]
public string SerialNumber { get; set; }
public int? DeviceModelId { get; set; }
[Range(1, int.MaxValue, ErrorMessage = "A valid Device Profile is Required")]
public int DeviceProfileId { get; set; }
public int? DeviceBatchId { get; set; }
[StringLength(50)]
public string AssignedUserId { get; set; }
[StringLength(250)]
public string Location { get; set; }
[StringLength(40)]
public string AssetNumber { get; set; }
public Repository.Device Device { get; set; }
public Repository.DeviceModel DeviceModel { get; set; }
public Repository.DeviceProfile DeviceProfile { get; set; }
public Repository.DeviceBatch DeviceBatch { get; set; }
public Repository.User AssignedUser { get; set; }
public Dictionary<string, string> Errors { get; set; }
}
}
@@ -1,11 +0,0 @@
using System.Collections.Generic;
namespace Disco.Models.BI.Device
{
public class ImportDeviceSession
{
public string ImportParseTaskId { get; set; }
public string ImportFilename { get; set; }
public List<ImportDevice> ImportDevices { get; set; }
}
}
-19
View File
@@ -1,19 +0,0 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Disco.Models.BI.Job
{
public enum LocationModes
{
[Display(Name = "Unrestricted")]
Unrestricted,
[Display(Name = "Optional List")]
OptionalList,
[Display(Name = "Restricted List")]
RestrictedList
}
}
@@ -1,12 +0,0 @@
using System;
namespace Disco.Models.BI.Job.Statistics
{
public class DailyOpenedClosedItem
{
public DateTime Timestamp { get; set; }
public int TotalJobs { get; set; }
public int OpenedJobs { get; set; }
public int ClosedJobs { get; set; }
}
}