From db163f47774e9f90fece7b8d9043891e03dfb114 Mon Sep 17 00:00:00 2001
From: stijnmoreels <9039753+stijnmoreels@users.noreply.github.com>
Date: Thu, 13 Feb 2025 07:20:51 +0100
Subject: [PATCH] chore(remove): leftover event-hubs docker projects
---
.../.gitignore | 264 ------------------
...s.AzureFunction.EventHubs.InProcess.csproj | 30 --
.../Dockerfile | 13 -
.../OrderFunction.cs | 49 ----
.../Properties/serviceDependencies.json | 7 -
.../Startup.cs | 34 ---
.../host.json | 11 -
.../.gitignore | 264 ------------------
...ts.Runtimes.AzureFunction.EventHubs.csproj | 35 ---
.../Dockerfile | 22 --
.../OrderFunction.cs | 63 -----
.../Program.cs | 25 --
.../Properties/serviceDependencies.json | 7 -
.../host.json | 11 -
.../local.settings.json | 7 -
15 files changed, 842 deletions(-)
delete mode 100644 src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/.gitignore
delete mode 100644 src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess.csproj
delete mode 100644 src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/Dockerfile
delete mode 100644 src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/OrderFunction.cs
delete mode 100644 src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/Properties/serviceDependencies.json
delete mode 100644 src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/Startup.cs
delete mode 100644 src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/host.json
delete mode 100644 src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/.gitignore
delete mode 100644 src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.csproj
delete mode 100644 src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/Dockerfile
delete mode 100644 src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/OrderFunction.cs
delete mode 100644 src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/Program.cs
delete mode 100644 src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/Properties/serviceDependencies.json
delete mode 100644 src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/host.json
delete mode 100644 src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/local.settings.json
diff --git a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/.gitignore b/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/.gitignore
deleted file mode 100644
index ff5b00c5..00000000
--- a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/.gitignore
+++ /dev/null
@@ -1,264 +0,0 @@
-## Ignore Visual Studio temporary files, build results, and
-## files generated by popular Visual Studio add-ons.
-
-# Azure Functions localsettings file
-local.settings.json
-
-# User-specific files
-*.suo
-*.user
-*.userosscache
-*.sln.docstates
-
-# User-specific files (MonoDevelop/Xamarin Studio)
-*.userprefs
-
-# Build results
-[Dd]ebug/
-[Dd]ebugPublic/
-[Rr]elease/
-[Rr]eleases/
-x64/
-x86/
-bld/
-[Bb]in/
-[Oo]bj/
-[Ll]og/
-
-# Visual Studio 2015 cache/options directory
-.vs/
-# Uncomment if you have tasks that create the project's static files in wwwroot
-#wwwroot/
-
-# MSTest test Results
-[Tt]est[Rr]esult*/
-[Bb]uild[Ll]og.*
-
-# NUNIT
-*.VisualState.xml
-TestResult.xml
-
-# Build Results of an ATL Project
-[Dd]ebugPS/
-[Rr]eleasePS/
-dlldata.c
-
-# DNX
-project.lock.json
-project.fragment.lock.json
-artifacts/
-
-*_i.c
-*_p.c
-*_i.h
-*.ilk
-*.meta
-*.obj
-*.pch
-*.pdb
-*.pgc
-*.pgd
-*.rsp
-*.sbr
-*.tlb
-*.tli
-*.tlh
-*.tmp
-*.tmp_proj
-*.log
-*.vspscc
-*.vssscc
-.builds
-*.pidb
-*.svclog
-*.scc
-
-# Chutzpah Test files
-_Chutzpah*
-
-# Visual C++ cache files
-ipch/
-*.aps
-*.ncb
-*.opendb
-*.opensdf
-*.sdf
-*.cachefile
-*.VC.db
-*.VC.VC.opendb
-
-# Visual Studio profiler
-*.psess
-*.vsp
-*.vspx
-*.sap
-
-# TFS 2012 Local Workspace
-$tf/
-
-# Guidance Automation Toolkit
-*.gpState
-
-# ReSharper is a .NET coding add-in
-_ReSharper*/
-*.[Rr]e[Ss]harper
-*.DotSettings.user
-
-# JustCode is a .NET coding add-in
-.JustCode
-
-# TeamCity is a build add-in
-_TeamCity*
-
-# DotCover is a Code Coverage Tool
-*.dotCover
-
-# NCrunch
-_NCrunch_*
-.*crunch*.local.xml
-nCrunchTemp_*
-
-# MightyMoose
-*.mm.*
-AutoTest.Net/
-
-# Web workbench (sass)
-.sass-cache/
-
-# Installshield output folder
-[Ee]xpress/
-
-# DocProject is a documentation generator add-in
-DocProject/buildhelp/
-DocProject/Help/*.HxT
-DocProject/Help/*.HxC
-DocProject/Help/*.hhc
-DocProject/Help/*.hhk
-DocProject/Help/*.hhp
-DocProject/Help/Html2
-DocProject/Help/html
-
-# Click-Once directory
-publish/
-
-# Publish Web Output
-*.[Pp]ublish.xml
-*.azurePubxml
-# TODO: Comment the next line if you want to checkin your web deploy settings
-# but database connection strings (with potential passwords) will be unencrypted
-#*.pubxml
-*.publishproj
-
-# Microsoft Azure Web App publish settings. Comment the next line if you want to
-# checkin your Azure Web App publish settings, but sensitive information contained
-# in these scripts will be unencrypted
-PublishScripts/
-
-# NuGet Packages
-*.nupkg
-# The packages folder can be ignored because of Package Restore
-**/packages/*
-# except build/, which is used as an MSBuild target.
-!**/packages/build/
-# Uncomment if necessary however generally it will be regenerated when needed
-#!**/packages/repositories.config
-# NuGet v3's project.json files produces more ignoreable files
-*.nuget.props
-*.nuget.targets
-
-# Microsoft Azure Build Output
-csx/
-*.build.csdef
-
-# Microsoft Azure Emulator
-ecf/
-rcf/
-
-# Windows Store app package directories and files
-AppPackages/
-BundleArtifacts/
-Package.StoreAssociation.xml
-_pkginfo.txt
-
-# Visual Studio cache files
-# files ending in .cache can be ignored
-*.[Cc]ache
-# but keep track of directories ending in .cache
-!*.[Cc]ache/
-
-# Others
-ClientBin/
-~$*
-*~
-*.dbmdl
-*.dbproj.schemaview
-*.jfm
-*.pfx
-*.publishsettings
-node_modules/
-orleans.codegen.cs
-
-# Since there are multiple workflows, uncomment next line to ignore bower_components
-# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
-#bower_components/
-
-# RIA/Silverlight projects
-Generated_Code/
-
-# Backup & report files from converting an old project file
-# to a newer Visual Studio version. Backup files are not needed,
-# because we have git ;-)
-_UpgradeReport_Files/
-Backup*/
-UpgradeLog*.XML
-UpgradeLog*.htm
-
-# SQL Server files
-*.mdf
-*.ldf
-
-# Business Intelligence projects
-*.rdl.data
-*.bim.layout
-*.bim_*.settings
-
-# Microsoft Fakes
-FakesAssemblies/
-
-# GhostDoc plugin setting file
-*.GhostDoc.xml
-
-# Node.js Tools for Visual Studio
-.ntvs_analysis.dat
-
-# Visual Studio 6 build log
-*.plg
-
-# Visual Studio 6 workspace options file
-*.opt
-
-# Visual Studio LightSwitch build output
-**/*.HTMLClient/GeneratedArtifacts
-**/*.DesktopClient/GeneratedArtifacts
-**/*.DesktopClient/ModelManifest.xml
-**/*.Server/GeneratedArtifacts
-**/*.Server/ModelManifest.xml
-_Pvt_Extensions
-
-# Paket dependency manager
-.paket/paket.exe
-paket-files/
-
-# FAKE - F# Make
-.fake/
-
-# JetBrains Rider
-.idea/
-*.sln.iml
-
-# CodeRush
-.cr/
-
-# Python Tools for Visual Studio (PTVS)
-__pycache__/
-*.pyc
\ No newline at end of file
diff --git a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess.csproj b/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess.csproj
deleted file mode 100644
index 96ec3ab9..00000000
--- a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess.csproj
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
- net8.0
- v4
- /home/site/wwwroot
- Linux
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PreserveNewest
-
-
- PreserveNewest
- Never
-
-
-
diff --git a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/Dockerfile b/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/Dockerfile
deleted file mode 100644
index 2749935f..00000000
--- a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/Dockerfile
+++ /dev/null
@@ -1,13 +0,0 @@
-FROM mcr.microsoft.com/dotnet/sdk:8.0.100-alpine3.18 AS publish
-WORKDIR /src
-COPY ["Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess.csproj", "Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/"]
-RUN dotnet restore "Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess.csproj"
-COPY . .
-RUN dotnet publish "Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess.csproj" -c Release -o /app/publish
-
-FROM mcr.microsoft.com/azure-functions/dotnet:4 AS runtime
-WORKDIR /home/site/wwwroot
-EXPOSE 80
-COPY --from=publish /app/publish .
-ENV AzureWebJobsScriptRoot=/home/site/wwwroot \
- AzureFunctionsJobHost__Logging__Console__IsEnabled=true
\ No newline at end of file
diff --git a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/OrderFunction.cs b/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/OrderFunction.cs
deleted file mode 100644
index 60b23088..00000000
--- a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/OrderFunction.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-using System;
-using System.Threading;
-using System.Threading.Tasks;
-using Arcus.Messaging.Abstractions;
-using Arcus.Messaging.Abstractions.EventHubs;
-using Arcus.Messaging.Abstractions.EventHubs.MessageHandling;
-using Arcus.Messaging.AzureFunctions.EventHubs;
-using Azure.Messaging.EventHubs;
-using Microsoft.Azure.WebJobs;
-using Microsoft.Extensions.Logging;
-
-namespace Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess
-{
- public class OrderFunction
- {
- private readonly string _jobId = Guid.NewGuid().ToString();
- private readonly IAzureEventHubsMessageRouter _messageRouter;
- private readonly AzureFunctionsInProcessMessageCorrelation _messageCorrelation;
-
- ///
- /// Initializes a new instance of the class.
- ///
- public OrderFunction(
- IAzureEventHubsMessageRouter messageRouter,
- AzureFunctionsInProcessMessageCorrelation messageCorrelation)
- {
- _messageRouter = messageRouter;
- _messageCorrelation = messageCorrelation;
- }
-
- [FunctionName("orders")]
- public async Task Run(
- [EventHubTrigger("orders-az-func-inprocess-docker", Connection = "EventHubsConnectionString")] EventData[] events,
- ILogger log,
- CancellationToken cancellation)
- {
- log.LogInformation("Processing first Azure EventHubs message: {MessageId}", events[0].MessageId);
-
- foreach (EventData eventData in events)
- {
- AzureEventHubsMessageContext messageContext = eventData.GetMessageContext("", "", "$Default", _jobId);
- using (MessageCorrelationResult result = _messageCorrelation.CorrelateMessage(eventData))
- {
- await _messageRouter.RouteMessageAsync(eventData, messageContext, result.CorrelationInfo, cancellation);
- }
- }
- }
- }
-}
diff --git a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/Properties/serviceDependencies.json b/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/Properties/serviceDependencies.json
deleted file mode 100644
index c264e8ca..00000000
--- a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/Properties/serviceDependencies.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "dependencies": {
- "appInsights1": {
- "type": "appInsights"
- }
- }
-}
\ No newline at end of file
diff --git a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/Startup.cs b/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/Startup.cs
deleted file mode 100644
index 6a4ced35..00000000
--- a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/Startup.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-using System;
-using Arcus.EventGrid.Publishing;
-using Arcus.Messaging.Tests.Core.Messages.v1;
-using Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess;
-using Arcus.Messaging.Tests.Workers.MessageHandlers;
-using Azure;
-using Microsoft.Azure.Functions.Extensions.DependencyInjection;
-using Microsoft.Extensions.Azure;
-using Microsoft.Extensions.DependencyInjection;
-
-[assembly: FunctionsStartup(typeof(Startup))]
-
-namespace Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess
-{
- public class Startup : FunctionsStartup
- {
- ///
- /// This method gets called by the runtime. Use this method to add services to the container.
- ///
- /// The instance to build the registered services inside the functions app.
- public override void Configure(IFunctionsHostBuilder builder)
- {
- builder.Services.AddAzureClients(clients =>
- {
- var eventGridTopic = Environment.GetEnvironmentVariable("EVENTGRID_TOPIC_URI");
- var eventGridKey = Environment.GetEnvironmentVariable("EVENTGRID_AUTH_KEY");
- clients.AddEventGridPublisherClient(new Uri(eventGridTopic), new AzureKeyCredential(eventGridKey));
- });
-
- builder.AddEventHubsMessageRouting()
- .WithEventHubsMessageHandler();
- }
- }
-}
\ No newline at end of file
diff --git a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/host.json b/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/host.json
deleted file mode 100644
index beb2e402..00000000
--- a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.InProcess/host.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "version": "2.0",
- "logging": {
- "applicationInsights": {
- "samplingSettings": {
- "isEnabled": true,
- "excludedTypes": "Request"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/.gitignore b/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/.gitignore
deleted file mode 100644
index ff5b00c5..00000000
--- a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/.gitignore
+++ /dev/null
@@ -1,264 +0,0 @@
-## Ignore Visual Studio temporary files, build results, and
-## files generated by popular Visual Studio add-ons.
-
-# Azure Functions localsettings file
-local.settings.json
-
-# User-specific files
-*.suo
-*.user
-*.userosscache
-*.sln.docstates
-
-# User-specific files (MonoDevelop/Xamarin Studio)
-*.userprefs
-
-# Build results
-[Dd]ebug/
-[Dd]ebugPublic/
-[Rr]elease/
-[Rr]eleases/
-x64/
-x86/
-bld/
-[Bb]in/
-[Oo]bj/
-[Ll]og/
-
-# Visual Studio 2015 cache/options directory
-.vs/
-# Uncomment if you have tasks that create the project's static files in wwwroot
-#wwwroot/
-
-# MSTest test Results
-[Tt]est[Rr]esult*/
-[Bb]uild[Ll]og.*
-
-# NUNIT
-*.VisualState.xml
-TestResult.xml
-
-# Build Results of an ATL Project
-[Dd]ebugPS/
-[Rr]eleasePS/
-dlldata.c
-
-# DNX
-project.lock.json
-project.fragment.lock.json
-artifacts/
-
-*_i.c
-*_p.c
-*_i.h
-*.ilk
-*.meta
-*.obj
-*.pch
-*.pdb
-*.pgc
-*.pgd
-*.rsp
-*.sbr
-*.tlb
-*.tli
-*.tlh
-*.tmp
-*.tmp_proj
-*.log
-*.vspscc
-*.vssscc
-.builds
-*.pidb
-*.svclog
-*.scc
-
-# Chutzpah Test files
-_Chutzpah*
-
-# Visual C++ cache files
-ipch/
-*.aps
-*.ncb
-*.opendb
-*.opensdf
-*.sdf
-*.cachefile
-*.VC.db
-*.VC.VC.opendb
-
-# Visual Studio profiler
-*.psess
-*.vsp
-*.vspx
-*.sap
-
-# TFS 2012 Local Workspace
-$tf/
-
-# Guidance Automation Toolkit
-*.gpState
-
-# ReSharper is a .NET coding add-in
-_ReSharper*/
-*.[Rr]e[Ss]harper
-*.DotSettings.user
-
-# JustCode is a .NET coding add-in
-.JustCode
-
-# TeamCity is a build add-in
-_TeamCity*
-
-# DotCover is a Code Coverage Tool
-*.dotCover
-
-# NCrunch
-_NCrunch_*
-.*crunch*.local.xml
-nCrunchTemp_*
-
-# MightyMoose
-*.mm.*
-AutoTest.Net/
-
-# Web workbench (sass)
-.sass-cache/
-
-# Installshield output folder
-[Ee]xpress/
-
-# DocProject is a documentation generator add-in
-DocProject/buildhelp/
-DocProject/Help/*.HxT
-DocProject/Help/*.HxC
-DocProject/Help/*.hhc
-DocProject/Help/*.hhk
-DocProject/Help/*.hhp
-DocProject/Help/Html2
-DocProject/Help/html
-
-# Click-Once directory
-publish/
-
-# Publish Web Output
-*.[Pp]ublish.xml
-*.azurePubxml
-# TODO: Comment the next line if you want to checkin your web deploy settings
-# but database connection strings (with potential passwords) will be unencrypted
-#*.pubxml
-*.publishproj
-
-# Microsoft Azure Web App publish settings. Comment the next line if you want to
-# checkin your Azure Web App publish settings, but sensitive information contained
-# in these scripts will be unencrypted
-PublishScripts/
-
-# NuGet Packages
-*.nupkg
-# The packages folder can be ignored because of Package Restore
-**/packages/*
-# except build/, which is used as an MSBuild target.
-!**/packages/build/
-# Uncomment if necessary however generally it will be regenerated when needed
-#!**/packages/repositories.config
-# NuGet v3's project.json files produces more ignoreable files
-*.nuget.props
-*.nuget.targets
-
-# Microsoft Azure Build Output
-csx/
-*.build.csdef
-
-# Microsoft Azure Emulator
-ecf/
-rcf/
-
-# Windows Store app package directories and files
-AppPackages/
-BundleArtifacts/
-Package.StoreAssociation.xml
-_pkginfo.txt
-
-# Visual Studio cache files
-# files ending in .cache can be ignored
-*.[Cc]ache
-# but keep track of directories ending in .cache
-!*.[Cc]ache/
-
-# Others
-ClientBin/
-~$*
-*~
-*.dbmdl
-*.dbproj.schemaview
-*.jfm
-*.pfx
-*.publishsettings
-node_modules/
-orleans.codegen.cs
-
-# Since there are multiple workflows, uncomment next line to ignore bower_components
-# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
-#bower_components/
-
-# RIA/Silverlight projects
-Generated_Code/
-
-# Backup & report files from converting an old project file
-# to a newer Visual Studio version. Backup files are not needed,
-# because we have git ;-)
-_UpgradeReport_Files/
-Backup*/
-UpgradeLog*.XML
-UpgradeLog*.htm
-
-# SQL Server files
-*.mdf
-*.ldf
-
-# Business Intelligence projects
-*.rdl.data
-*.bim.layout
-*.bim_*.settings
-
-# Microsoft Fakes
-FakesAssemblies/
-
-# GhostDoc plugin setting file
-*.GhostDoc.xml
-
-# Node.js Tools for Visual Studio
-.ntvs_analysis.dat
-
-# Visual Studio 6 build log
-*.plg
-
-# Visual Studio 6 workspace options file
-*.opt
-
-# Visual Studio LightSwitch build output
-**/*.HTMLClient/GeneratedArtifacts
-**/*.DesktopClient/GeneratedArtifacts
-**/*.DesktopClient/ModelManifest.xml
-**/*.Server/GeneratedArtifacts
-**/*.Server/ModelManifest.xml
-_Pvt_Extensions
-
-# Paket dependency manager
-.paket/paket.exe
-paket-files/
-
-# FAKE - F# Make
-.fake/
-
-# JetBrains Rider
-.idea/
-*.sln.iml
-
-# CodeRush
-.cr/
-
-# Python Tools for Visual Studio (PTVS)
-__pycache__/
-*.pyc
\ No newline at end of file
diff --git a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.csproj b/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.csproj
deleted file mode 100644
index 663e533b..00000000
--- a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.csproj
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
- net8.0
- v4
- Exe
- /home/site/wwwroot
- Linux
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PreserveNewest
-
-
- PreserveNewest
- Never
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/Dockerfile b/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/Dockerfile
deleted file mode 100644
index 2b75321f..00000000
--- a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/Dockerfile
+++ /dev/null
@@ -1,22 +0,0 @@
-#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
-
-FROM mcr.microsoft.com/azure-functions/dotnet-isolated:4-dotnet-isolated8.0 AS base
-WORKDIR /home/site/wwwroot
-EXPOSE 80
-
-FROM mcr.microsoft.com/dotnet/sdk:8.0.100-alpine3.18 AS build
-WORKDIR /src
-COPY ["Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.csproj", "Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/"]
-RUN dotnet restore "Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.csproj"
-COPY . .
-WORKDIR "/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs"
-RUN dotnet build "Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.csproj" -c Release -o /app/build
-
-FROM build AS publish
-RUN dotnet publish "Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs.csproj" -c Release -o /app/publish
-
-FROM base AS final
-WORKDIR /home/site/wwwroot
-COPY --from=publish /app/publish .
-ENV AzureWebJobsScriptRoot=/home/site/wwwroot \
- AzureFunctionsJobHost__Logging__Console__IsEnabled=true
\ No newline at end of file
diff --git a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/OrderFunction.cs b/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/OrderFunction.cs
deleted file mode 100644
index 466ff16e..00000000
--- a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/OrderFunction.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Text.Json;
-using System.Threading;
-using System.Threading.Tasks;
-using Arcus.Messaging.Abstractions;
-using Arcus.Messaging.Abstractions.EventHubs;
-using Arcus.Messaging.Abstractions.EventHubs.MessageHandling;
-using Azure.Messaging.EventHubs;
-using Microsoft.Azure.Functions.Worker;
-using Microsoft.Extensions.Logging;
-
-namespace Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs
-{
- public class OrderFunction
- {
- private readonly IAzureEventHubsMessageRouter _messageRouter;
- private readonly string _jobId = Guid.NewGuid().ToString();
- private readonly ILogger _logger;
-
- public OrderFunction(
- IAzureEventHubsMessageRouter messageRouter,
- ILoggerFactory loggerFactory)
- {
- _messageRouter = messageRouter;
- _logger = loggerFactory.CreateLogger();
- }
-
- [Function("orders")]
- public async Task Run(
- [EventHubTrigger("orders-az-func-docker", Connection = "EventHubsConnectionString")] string[] messages,
- Dictionary[] propertiesArray,
- FunctionContext executionContext)
- {
- _logger.LogInformation($"First Event Hubs triggered message: {messages[0]}");
-
- for (var i = 0; i < messages.Length; i++)
- {
- string message = messages[i];
- Dictionary properties = propertiesArray[i];
-
- EventData eventData = CreateEventData(message, properties);
- AzureEventHubsMessageContext messageContext = eventData.GetMessageContext("", "$Default", "", _jobId);
-
- using (MessageCorrelationResult result = executionContext.GetCorrelationInfo(properties))
- {
- await _messageRouter.RouteMessageAsync(eventData, messageContext, result.CorrelationInfo, CancellationToken.None);
- }
- }
- }
-
- private static EventData CreateEventData(string message, IDictionary properties)
- {
- var data = new EventData(message);
- foreach (KeyValuePair property in properties)
- {
- data.Properties.Add(property.Key, property.Value.ToString());
- }
-
- return data;
- }
- }
-}
diff --git a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/Program.cs b/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/Program.cs
deleted file mode 100644
index 255032cd..00000000
--- a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/Program.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-using System;
-using Arcus.EventGrid.Publishing;
-using Arcus.Messaging.Tests.Core.Messages.v1;
-using Arcus.Messaging.Tests.Workers.MessageHandlers;
-using Azure;
-using Microsoft.Extensions.Azure;
-using Microsoft.Extensions.DependencyInjection;
-using Microsoft.Extensions.Hosting;
-
-var host = new HostBuilder()
- .ConfigureFunctionsWorkerDefaults(builder =>
- {
- builder.Services.AddAzureClients(clients =>
- {
- var eventGridTopic = Environment.GetEnvironmentVariable("EVENTGRID_TOPIC_URI");
- var eventGridKey = Environment.GetEnvironmentVariable("EVENTGRID_AUTH_KEY");
- clients.AddEventGridPublisherClient(new Uri(eventGridTopic), new AzureKeyCredential(eventGridKey));
- });
-
- builder.Services.AddEventHubsMessageRouting()
- .WithEventHubsMessageHandler();
- })
- .Build();
-
-host.Run();
diff --git a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/Properties/serviceDependencies.json b/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/Properties/serviceDependencies.json
deleted file mode 100644
index c264e8ca..00000000
--- a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/Properties/serviceDependencies.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "dependencies": {
- "appInsights1": {
- "type": "appInsights"
- }
- }
-}
\ No newline at end of file
diff --git a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/host.json b/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/host.json
deleted file mode 100644
index beb2e402..00000000
--- a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/host.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "version": "2.0",
- "logging": {
- "applicationInsights": {
- "samplingSettings": {
- "isEnabled": true,
- "excludedTypes": "Request"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/local.settings.json b/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/local.settings.json
deleted file mode 100644
index 30386e36..00000000
--- a/src/Arcus.Messaging.Tests.Runtimes.AzureFunction.EventHubs/local.settings.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "IsEncrypted": false,
- "Values": {
- "AzureWebJobsStorage": "",
- "FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated"
- }
-}
\ No newline at end of file