From 91b59a90efc647a5a0767aa42b2f3e9a6905e389 Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Thu, 4 Jan 2024 22:10:12 +0100 Subject: [PATCH] Remove unused namespaces and pipelines project This commit removes System.Net and Elsa.Http import statements from the DynamicWorkflows endpoint as they were not being used. Additionally, this includes removal of the unnecessary "pipelines" project from Elsa.sln file as the referred workflow files were no longer needed in the solution. --- Elsa.sln | 8 -------- .../Endpoints/DynamicWorkflows/Post/Endpoint.cs | 2 -- 2 files changed, 10 deletions(-) diff --git a/Elsa.sln b/Elsa.sln index 5cbb006aa..5af513753 100644 --- a/Elsa.sln +++ b/Elsa.sln @@ -304,14 +304,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Elsa.MassTransit.AzureServi EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Elsa.Samples.AspNet.Heartbeats", "src\samples\aspnet\Elsa.Samples.AspNet.Heartbeats\Elsa.Samples.AspNet.Heartbeats.csproj", "{26888832-DBEA-4B23-8DC2-84478A702CC4}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "pipelines", "pipelines", "{B789B743-0FBE-4BBC-9F45-84C20C8D4814}" - ProjectSection(SolutionItems) = preProject - .github\workflows\elsa-server-and-studio.yml = .github\workflows\elsa-server-and-studio.yml - .github\workflows\elsa-server.yml = .github\workflows\elsa-server.yml - .github\workflows\packages.yml = .github\workflows\packages.yml - .github\workflows\elsa-studio.yml = .github\workflows\elsa-studio.yml - EndProjectSection -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Elsa.Studio.Web", "src\bundles\Elsa.Studio.Web\Elsa.Studio.Web.csproj", "{D5C149EE-276C-4C59-98F9-37F0EA2A7866}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Elsa.Samples.AspNet.CustomUIHandler", "src\samples\aspnet\Elsa.Samples.AspNet.CustomUIHandler\Elsa.Samples.AspNet.CustomUIHandler.csproj", "{832D6FF5-16D3-41D1-8FDD-D9BEC26BDA6A}" diff --git a/src/bundles/Elsa.Server.Web/Endpoints/DynamicWorkflows/Post/Endpoint.cs b/src/bundles/Elsa.Server.Web/Endpoints/DynamicWorkflows/Post/Endpoint.cs index 9375aa404..8e5f6b4fe 100644 --- a/src/bundles/Elsa.Server.Web/Endpoints/DynamicWorkflows/Post/Endpoint.cs +++ b/src/bundles/Elsa.Server.Web/Endpoints/DynamicWorkflows/Post/Endpoint.cs @@ -1,6 +1,4 @@ -using System.Net; using Elsa.Abstractions; -using Elsa.Http; using Elsa.Workflows.Activities; using Elsa.Workflows.Models; using Elsa.Workflows.Runtime.Contracts;