Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,27 +68,5 @@ protected override void OnConfigurationUpdated(TSecureConfiguration oldConfigura
{
get => base.ConfManager;
}

/// <inheritdoc />
public override void StartOperations(Vault vaultPersistent)
{
// Do we have a valid configuration?
this.isCurrentConfigurationValid = this.IsValid(vaultPersistent);

// Initialize the application.
base.StartOperations(vaultPersistent);

// Ensure that our recurring configuration is updated.
try
{
this.RecurringOperationConfigurationManager?.PopulateFromConfiguration(isVaultStartup: true);
}
catch(Exception e)
{
this.Logger?.Fatal(e, $"Exception mapping configuration to recurring operations.");
}


}
}
}
11 changes: 11 additions & 0 deletions MFiles.VAF.Extensions/ConfigurableVaultApplicationBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,23 @@ protected TaskQueueBackgroundOperationManager<TSecureConfiguration> TaskQueueBac
protected override void StartApplication()
{
this.startApplicationCalled = true;
this.isCurrentConfigurationValid = this.IsValid( this.PermanentVault );
this.RecurringOperationConfigurationManager = new RecurringOperationConfigurationManager<TSecureConfiguration>(this);
this.ApplicationOverviewDashboardContentRenderer = this.GetApplicationOverviewDashboardContentRenderer();
this.AsynchronousDashboardContentRenderer = this.GetAsynchronousDashboardContentRenderer();
this.AsynchronousDashboardContentProviders.AddRange(this.GetAsynchronousDashboardContentProviders());
this.LoggingDashboardContentRenderer = this.GetLoggingDashboardContentRenderer();

// Ensure that our recurring configuration is updated.
try
{
this.RecurringOperationConfigurationManager?.PopulateFromConfiguration(isVaultStartup: true);
}
catch(Exception e)
{
this.Logger?.Fatal(e, $"Exception mapping configuration to recurring operations.");
}

#if DEBUG
// In debug builds we want to show the referenced assemblies and the like.
{
Expand Down
Loading