Skip to content
Merged
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
361 changes: 39 additions & 322 deletions .github/workflows/createrelease.yml

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions StreamManagementTool/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System.Text.Json;
using EventStore.Client;
using KurrentDB.Client;
using Microsoft.Extensions.Configuration;
using Shared.General;

Expand All @@ -13,8 +14,8 @@ static async Task Main(string[] args) {
ConfigurationReader.Initialise(configurationRoot);

List<StreamConfiguration> config = await LoadStreamConfig(CancellationToken.None);
EventStoreClientSettings settings = EventStoreClientSettings.Create(ConfigurationReader.GetValue("AppSettings", "EventStoreAddress"));
EventStoreClient client = new EventStoreClient(settings);
KurrentDBClientSettings settings = KurrentDBClientSettings.Create(ConfigurationReader.GetValue("AppSettings", "EventStoreAddress"));
KurrentDBClient client = new KurrentDBClient(settings);

foreach (StreamConfiguration streamConfiguration in config) {
// Fetch existing metadata
Expand All @@ -36,7 +37,7 @@ static async Task Main(string[] args) {
// Set the updated metadata
await client.SetStreamMetadataAsync(
streamName: streamConfiguration.StreamName,
expectedRevision: new StreamRevision(existingMetadataResult.MetastreamRevision.GetValueOrDefault()),
StreamState.StreamRevision(existingMetadataResult.MetastreamRevision.GetValueOrDefault()),
metadata: updatedMetadata
);

Expand Down
10 changes: 5 additions & 5 deletions StreamManagementTool/StreamManagementTool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="EventStore.Client.Grpc.Streams" Version="23.3.9" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="9.0.10" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.10" />
<PackageReference Include="Shared" Version="2025.10.2" />
<PackageReference Include="KurrentDB.Client" Version="1.3.0" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="10.0.1" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="10.0.1" />
<PackageReference Include="Shared" Version="2025.12.1" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SecurityService.Client" Version="2025.8.1" />
<PackageReference Include="Shared" Version="2025.10.2" />
<PackageReference Include="Shared.Results" Version="2025.10.2" />
<PackageReference Include="TransactionProcessor.Client" Version="2025.9.1" />
<PackageReference Include="SecurityService.Client" Version="2025.12.1" />
<PackageReference Include="Shared" Version="2025.12.1" />
<PackageReference Include="Shared.Results" Version="2025.12.1" />
<PackageReference Include="TransactionProcessor.Client" Version="2025.12.1" />
</ItemGroup>

</Project>

This file was deleted.

This file was deleted.

Loading
Loading