Add admin endpoint to delete bundle backtest requests and implement related UI functionality + Add job resilient
This commit is contained in:
@@ -197,4 +197,7 @@ public class BacktestExecutorAdapter : IBacktester
|
||||
|
||||
public Task<BundleBacktestRequestSummary> GetBundleBacktestRequestsSummaryAsync() =>
|
||||
throw new NotImplementedException("Not available in compute worker");
|
||||
|
||||
public Task DeleteBundleBacktestRequestByIdAsync(Guid id) =>
|
||||
throw new NotImplementedException("Not available in compute worker");
|
||||
}
|
||||
@@ -590,6 +590,11 @@ namespace Managing.Application.Backtests
|
||||
return await _backtestRepository.GetBundleBacktestRequestsSummaryAsync();
|
||||
}
|
||||
|
||||
public async Task DeleteBundleBacktestRequestByIdAsync(Guid id)
|
||||
{
|
||||
await _backtestRepository.DeleteBundleBacktestRequestByIdAsync(id);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sends a LightBacktestResponse to all SignalR subscribers of a bundle request.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user