up
This commit is contained in:
@@ -16,7 +16,7 @@ public sealed class AttestorOptions
|
||||
|
||||
public SigningOptions Signing { get; set; } = new();
|
||||
|
||||
public MongoOptions Mongo { get; set; } = new();
|
||||
public StorageOptions Storage { get; set; } = new();
|
||||
|
||||
public RedisOptions Redis { get; set; } = new();
|
||||
|
||||
@@ -122,7 +122,7 @@ public sealed class AttestorOptions
|
||||
public bool Enabled { get; set; }
|
||||
}
|
||||
|
||||
public sealed class MongoOptions
|
||||
public sealed class StorageOptions
|
||||
{
|
||||
public string? Uri { get; set; }
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||
namespace StellaOps.Attestor.Core.Storage;
|
||||
|
||||
/// <summary>
|
||||
/// Canonical representation of a Rekor entry persisted in Mongo.
|
||||
/// Canonical representation of a Rekor entry persisted in storage.
|
||||
/// </summary>
|
||||
public sealed class AttestorEntry
|
||||
{
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Options" Version="10.0.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Http" Version="10.0.0" />
|
||||
<PackageReference Include="StackExchange.Redis" Version="2.8.24" />
|
||||
<PackageReference Include="StackExchange.Redis" Version="2.8.37" />
|
||||
<PackageReference Include="AWSSDK.S3" Version="4.0.2" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@@ -190,8 +190,8 @@ internal sealed class AttestorWebApplicationFactory : WebApplicationFactory<Prog
|
||||
["attestor:s3:endpoint"] = "http://localhost",
|
||||
["attestor:s3:useTls"] = "false",
|
||||
["attestor:redis:url"] = string.Empty,
|
||||
["attestor:mongo:uri"] = "mongodb://localhost:27017/attestor-tests",
|
||||
["attestor:mongo:database"] = "attestor-tests"
|
||||
["attestor:postgres:connectionString"] = "Host=localhost;Port=5432;Database=attestor-tests",
|
||||
["attestor:postgres:database"] = "attestor-tests"
|
||||
};
|
||||
|
||||
configuration.AddInMemoryCollection(settings!);
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.12.0" />
|
||||
<PackageReference Include="Serilog.AspNetCore" Version="8.0.1" />
|
||||
<PackageReference Include="Serilog.Sinks.Console" Version="5.0.1" />
|
||||
<PackageReference Include="StackExchange.Redis" Version="2.8.24" />
|
||||
<PackageReference Include="StackExchange.Redis" Version="2.8.37" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\StellaOps.Attestor.Core\StellaOps.Attestor.Core.csproj" />
|
||||
|
||||
Reference in New Issue
Block a user