From 899886142f6e3e7c24b4f8cde4184211b6d73f73 Mon Sep 17 00:00:00 2001 From: Fredi Machado Date: Mon, 25 Nov 2024 20:01:35 +1100 Subject: [PATCH] Remove Atom Pub over HTTP as support is deprecated --- .../EventStoreBuilderExtensions.cs | 1 - .../AddEventStoreTests.cs | 5 ----- 2 files changed, 6 deletions(-) diff --git a/src/CommunityToolkit.Aspire.Hosting.EventStore/EventStoreBuilderExtensions.cs b/src/CommunityToolkit.Aspire.Hosting.EventStore/EventStoreBuilderExtensions.cs index a2ebfa7b..c4f9b87a 100644 --- a/src/CommunityToolkit.Aspire.Hosting.EventStore/EventStoreBuilderExtensions.cs +++ b/src/CommunityToolkit.Aspire.Hosting.EventStore/EventStoreBuilderExtensions.cs @@ -204,6 +204,5 @@ private static void ConfigureEventStoreContainer(EnvironmentCallbackContext cont context.EnvironmentVariables.Add("EVENTSTORE_START_STANDARD_PROJECTIONS", "true"); context.EnvironmentVariables.Add("EVENTSTORE_NODE_PORT", $"{EventStoreResource.DefaultHttpPort}"); context.EnvironmentVariables.Add("EVENTSTORE_INSECURE", "true"); - context.EnvironmentVariables.Add("EVENTSTORE_ENABLE_ATOM_PUB_OVER_HTTP", "true"); } } diff --git a/tests/CommunityToolkit.Aspire.Hosting.EventStore.Tests/AddEventStoreTests.cs b/tests/CommunityToolkit.Aspire.Hosting.EventStore.Tests/AddEventStoreTests.cs index bcb8426d..1707a2fc 100644 --- a/tests/CommunityToolkit.Aspire.Hosting.EventStore.Tests/AddEventStoreTests.cs +++ b/tests/CommunityToolkit.Aspire.Hosting.EventStore.Tests/AddEventStoreTests.cs @@ -66,11 +66,6 @@ public async Task AddEventStoreContainerWithDefaultsAddsAnnotationMetadata() { Assert.Equal("EVENTSTORE_INSECURE", ext.Key); Assert.Equal("true", ext.Value); - }, - ext => - { - Assert.Equal("EVENTSTORE_ENABLE_ATOM_PUB_OVER_HTTP", ext.Key); - Assert.Equal("true", ext.Value); }); }