diff --git a/appveyor.yml b/appveyor.yml
index 98c9cb64f1..ebfe1041dc 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -41,8 +41,6 @@ test_script:
- ps: $wc = New-Object 'System.Net.WebClient'
- ps: $wc.UploadFile("https://ci.appveyor.com/api/testresults/mstest/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\TestResults\results.trx))
- vstest.console /logger:trx;LogFileName=results.trx "tests\Tgstation.Server.Host.Tests\bin\%CONFIGURATION%\netcoreapp2.0\Tgstation.Server.Host.Tests.dll" /Enablecodecoverage /inIsolation /Platform:x64
- - ps: $wc = New-Object 'System.Net.WebClient'
- - ps: $wc.UploadFile("https://ci.appveyor.com/api/testresults/mstest/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\TestResults\results.trx))
- vstest.console /logger:trx;LogFileName=results.trx "tests\Tgstation.Server.Host.Console.Tests\bin\%CONFIGURATION%\netcoreapp2.0\Tgstation.Server.Host.Console.Tests.dll" /Enablecodecoverage /inIsolation /Platform:x64
- ps: $wc = New-Object 'System.Net.WebClient'
- ps: $wc.UploadFile("https://ci.appveyor.com/api/testresults/mstest/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\TestResults\results.trx))
diff --git a/src/Tgstation.Server.Api/Models/Internal/DreamDaemonLaunchParameters.cs b/src/Tgstation.Server.Api/Models/Internal/DreamDaemonLaunchParameters.cs
index 62e0f7eb87..8602b302b5 100644
--- a/src/Tgstation.Server.Api/Models/Internal/DreamDaemonLaunchParameters.cs
+++ b/src/Tgstation.Server.Api/Models/Internal/DreamDaemonLaunchParameters.cs
@@ -1,5 +1,4 @@
-using System.ComponentModel.DataAnnotations;
-using Tgstation.Server.Api.Rights;
+using Tgstation.Server.Api.Rights;
namespace Tgstation.Server.Api.Models.Internal
{
@@ -13,28 +12,24 @@ namespace Tgstation.Server.Api.Models.Internal
/// If the BYOND web client can be used to connect to the game server
///
[Permissions(ReadRight = DreamDaemonRights.ReadMetadata, WriteRight = DreamDaemonRights.SetWebClient)]
- [Required]
- public bool? AllowWebClient { get; set; }
+ public bool AllowWebClient { get; set; }
///
/// The level of
///
[Permissions(ReadRight = DreamDaemonRights.ReadMetadata, WriteRight = DreamDaemonRights.SetSecurity)]
- [Required]
- public DreamDaemonSecurity? SecurityLevel { get; set; }
+ public DreamDaemonSecurity SecurityLevel { get; set; }
///
/// The first port uses. This should be the publically advertised port
///
[Permissions(ReadRight = DreamDaemonRights.ReadMetadata, WriteRight = DreamDaemonRights.SetPorts)]
- [Required]
- public ushort? PrimaryPort { get; set; }
+ public ushort PrimaryPort { get; set; }
///
/// The second port uses
///
[Permissions(ReadRight = DreamDaemonRights.ReadMetadata, WriteRight = DreamDaemonRights.SetPorts)]
- [Required]
- public ushort? SecondaryPort { get; set; }
+ public ushort SecondaryPort { get; set; }
}
}
\ No newline at end of file
diff --git a/src/Tgstation.Server.Api/Models/Internal/DreamDaemonSettings.cs b/src/Tgstation.Server.Api/Models/Internal/DreamDaemonSettings.cs
index 72260ee5fc..b4fd279881 100644
--- a/src/Tgstation.Server.Api/Models/Internal/DreamDaemonSettings.cs
+++ b/src/Tgstation.Server.Api/Models/Internal/DreamDaemonSettings.cs
@@ -1,5 +1,4 @@
-using System.ComponentModel.DataAnnotations;
-using Tgstation.Server.Api.Rights;
+using Tgstation.Server.Api.Rights;
namespace Tgstation.Server.Api.Models.Internal
{
@@ -12,21 +11,18 @@ namespace Tgstation.Server.Api.Models.Internal
/// If starts when it's starts
///
[Permissions(ReadRight = DreamDaemonRights.ReadMetadata, WriteRight = DreamDaemonRights.SetAutoStart)]
- [Required]
- public bool? AutoStart { get; set; }
+ public bool AutoStart { get; set; }
///
/// If the server is undergoing a soft reset. This may be automatically set by changes to other fields
///
[Permissions(ReadRight = DreamDaemonRights.ReadMetadata, WriteRight = DreamDaemonRights.SoftRestart)]
- [Required]
- public bool? SoftRestart { get; set; }
+ public bool SoftRestart { get; set; }
///
/// If the server is undergoing a soft shutdown
///
[Permissions(ReadRight = DreamDaemonRights.ReadMetadata, WriteRight = DreamDaemonRights.SoftShutdown)]
- [Required]
- public bool? SoftShutdown { get; set; }
+ public bool SoftShutdown { get; set; }
}
}
diff --git a/src/Tgstation.Server.Host/Components/DreamDaemon.cs b/src/Tgstation.Server.Host/Components/DreamDaemon.cs
index f699150079..1d6846ccb3 100644
--- a/src/Tgstation.Server.Host/Components/DreamDaemon.cs
+++ b/src/Tgstation.Server.Host/Components/DreamDaemon.cs
@@ -27,12 +27,6 @@ namespace Tgstation.Server.Host.Components
///
public bool SoftStopping { get; private set; }
- ///
- public DreamDaemonLaunchParameters LastLaunchParameters { get; private set; }
-
- ///
- public Host.Models.CompileJob LastCompileJob => watchdog.CurrentCompileJob;
-
///
/// The for
///
@@ -75,7 +69,7 @@ namespace Tgstation.Server.Host.Components
this.watchdog = watchdog ?? throw new ArgumentNullException(nameof(watchdog));
currentLaunchParameters = initialSettings ?? throw new ArgumentNullException(nameof(initialSettings));
- autoStart = initialSettings.AutoStart.Value;
+ autoStart = initialSettings.AutoStart;
semaphore = new SemaphoreSlim(1);
}
@@ -204,7 +198,6 @@ namespace Tgstation.Server.Host.Components
await semaphore.WaitAsync(cancellationToken).ConfigureAwait(false);
try
{
- LastLaunchParameters = currentLaunchParameters;
return currentLaunchParameters;
}
finally
diff --git a/src/Tgstation.Server.Host/Components/DreamDaemonExecutor.cs b/src/Tgstation.Server.Host/Components/DreamDaemonExecutor.cs
index 3a54783935..0f3a47b026 100644
--- a/src/Tgstation.Server.Host/Components/DreamDaemonExecutor.cs
+++ b/src/Tgstation.Server.Host/Components/DreamDaemonExecutor.cs
@@ -56,7 +56,7 @@ namespace Tgstation.Server.Host.Components
}
///
- public async Task RunDreamDaemon(DreamDaemonLaunchParameters launchParameters, TaskCompletionSource