release orchestrator v1 draft and build fixes
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
using StellaOps.Determinism;
|
||||
|
||||
namespace StellaOps.Authority.Persistence.InMemory.Stores;
|
||||
|
||||
public interface IAuthorityInMemoryIdGenerator
|
||||
@@ -7,5 +9,12 @@ public interface IAuthorityInMemoryIdGenerator
|
||||
|
||||
public sealed class GuidAuthorityInMemoryIdGenerator : IAuthorityInMemoryIdGenerator
|
||||
{
|
||||
public string NextId() => Guid.NewGuid().ToString("N");
|
||||
private readonly IGuidProvider _guidProvider;
|
||||
|
||||
public GuidAuthorityInMemoryIdGenerator(IGuidProvider? guidProvider = null)
|
||||
{
|
||||
_guidProvider = guidProvider ?? SystemGuidProvider.Instance;
|
||||
}
|
||||
|
||||
public string NextId() => _guidProvider.NewGuid().ToString("N");
|
||||
}
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\__Libraries\StellaOps.Infrastructure.Postgres\StellaOps.Infrastructure.Postgres.csproj" />
|
||||
<ProjectReference Include="..\..\..\__Libraries\StellaOps.Infrastructure.EfCore\StellaOps.Infrastructure.EfCore.csproj" />
|
||||
<ProjectReference Include="..\..\..\__Libraries\StellaOps.Determinism.Abstractions\StellaOps.Determinism.Abstractions.csproj" />
|
||||
<ProjectReference Include="..\StellaOps.Authority.Core\StellaOps.Authority.Core.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user