Skip to content

Commit

Permalink
Removed LogStore
Browse files Browse the repository at this point in the history
  • Loading branch information
stidsborg committed Dec 14, 2024
1 parent a7c1cc8 commit 9c11a10
Show file tree
Hide file tree
Showing 18 changed files with 2 additions and 1,239 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public class LeaseUpdaterTestFunctionStore : IFunctionStore
public ICorrelationStore CorrelationStore => _inner.CorrelationStore;
public Utilities Utilities => _inner.Utilities;
public IMigrator Migrator => _inner.Migrator;
public ILogStore LogStore => _inner.LogStore;
public ISemaphoreStore SemaphoreStore => _inner.SemaphoreStore;
public Task Initialize() => _inner.Initialize();

Expand Down

This file was deleted.

155 changes: 0 additions & 155 deletions Core/Cleipnir.ResilientFunctions.Tests/TestTemplates/LogStoreTests.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ public class CrashableFunctionStore : IFunctionStore
public ICorrelationStore CorrelationStore => _crashed ? throw new TimeoutException() : _inner.CorrelationStore;
public Utilities Utilities => _crashed ? throw new TimeoutException() : _inner.Utilities;
public IMigrator Migrator => _crashed ? throw new TimeoutException() : _inner.Migrator;
public ILogStore LogStore => _crashed ? throw new TimeoutException() : _inner.LogStore;
public ISemaphoreStore SemaphoreStore => _crashed ? throw new TimeoutException() : _inner.SemaphoreStore;

public CrashableFunctionStore(IFunctionStore inner)
Expand Down
1 change: 0 additions & 1 deletion Core/Cleipnir.ResilientFunctions/Storage/IFunctionStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ public interface IFunctionStore
public ICorrelationStore CorrelationStore { get; }
public Utilities Utilities { get; }
public IMigrator Migrator { get; }
public ILogStore LogStore { get; }
public ISemaphoreStore SemaphoreStore { get; }
public Task Initialize();

Expand Down
22 changes: 0 additions & 22 deletions Core/Cleipnir.ResilientFunctions/Storage/ILogStore.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public class InMemoryFunctionStore : IFunctionStore, IMessageStore
public Utilities Utilities { get; }

public IMigrator Migrator { get; } = new InMemoryMigrator();
public ILogStore LogStore { get; } = new InMemoryLogStore();
public ISemaphoreStore SemaphoreStore { get; } = new InMemorySemaphoreStore();

public Task Initialize() => Task.CompletedTask;
Expand Down
106 changes: 0 additions & 106 deletions Core/Cleipnir.ResilientFunctions/Storage/InMemoryLogStore.cs

This file was deleted.

1 change: 0 additions & 1 deletion Samples/Sample.ConsoleApp/Utils/CrashableFunctionStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public class CrashableFunctionStore : IFunctionStore
public ICorrelationStore CorrelationStore => _inner.CorrelationStore;
public Utilities Utilities => _inner.Utilities;
public IMigrator Migrator => _inner.Migrator;
public ILogStore LogStore => _inner.LogStore;
public ISemaphoreStore SemaphoreStore => _inner.SemaphoreStore;

public CrashableFunctionStore(IFunctionStore inner) => _inner = inner;
Expand Down

This file was deleted.

Loading

0 comments on commit 9c11a10

Please sign in to comment.