big changes
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
namespace ZA.CoreService.ESBCertificateManager.Setup;
|
||||
|
||||
public sealed class SetupCheckResult
|
||||
{
|
||||
public bool RuntimeReady { get; init; }
|
||||
|
||||
public bool CertificateReady { get; init; }
|
||||
|
||||
public bool DatabaseReady { get; init; }
|
||||
|
||||
public bool CredentialsReady { get; init; }
|
||||
|
||||
public string RuntimeMessage { get; init; } =
|
||||
string.Empty;
|
||||
|
||||
public string CertificateMessage { get; init; } =
|
||||
string.Empty;
|
||||
|
||||
public string DatabaseMessage { get; init; } =
|
||||
string.Empty;
|
||||
|
||||
public string CredentialsMessage { get; init; } =
|
||||
string.Empty;
|
||||
|
||||
public bool IsReady =>
|
||||
RuntimeReady
|
||||
&& CertificateReady
|
||||
&& DatabaseReady
|
||||
&& CredentialsReady;
|
||||
}
|
||||
Reference in New Issue
Block a user