From 79f844d1ddde4242d7cafd9cd4afa9e00f38bc30 Mon Sep 17 00:00:00 2001 From: Daniel Gerlag Date: Sun, 24 Sep 2017 14:43:04 -0700 Subject: [PATCH] remove scratch pad --- WorkflowCore.sln | 9 +---- test/ScratchPad/Program.cs | 42 ---------------------- test/ScratchPad/Properties/AssemblyInfo.cs | 19 ---------- test/ScratchPad/ScratchPad.csproj | 28 --------------- 4 files changed, 1 insertion(+), 97 deletions(-) delete mode 100644 test/ScratchPad/Program.cs delete mode 100644 test/ScratchPad/Properties/AssemblyInfo.cs delete mode 100644 test/ScratchPad/ScratchPad.csproj diff --git a/WorkflowCore.sln b/WorkflowCore.sln index afb5c9608..b342b5d06 100644 --- a/WorkflowCore.sln +++ b/WorkflowCore.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 -VisualStudioVersion = 15.0.26730.3 +VisualStudioVersion = 15.0.26730.16 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{EF47161E-E399-451C-BDE8-E92AAD3BD761}" EndProject @@ -52,8 +52,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WorkflowCore.TestAssets", " EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WorkflowCore.Sample07", "src\samples\WorkflowCore.Sample07\WorkflowCore.Sample07.csproj", "{0631B4BA-D5DD-4C9E-8842-0D370A3D714A}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ScratchPad", "test\ScratchPad\ScratchPad.csproj", "{6B1C4B1E-AB43-4E87-A137-3AD9F534F059}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WorkflowCore.IntegrationTests", "test\WorkflowCore.IntegrationTests\WorkflowCore.IntegrationTests.csproj", "{9162B6AD-AD06-4C64-9032-0E727643B1B9}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WorkflowCore.Tests.MongoDB", "test\WorkflowCore.Tests.MongoDB\WorkflowCore.Tests.MongoDB.csproj", "{58EC09C7-EC0A-4708-9B6F-FBE6243CEB49}" @@ -173,10 +171,6 @@ Global {0631B4BA-D5DD-4C9E-8842-0D370A3D714A}.Debug|Any CPU.Build.0 = Debug|Any CPU {0631B4BA-D5DD-4C9E-8842-0D370A3D714A}.Release|Any CPU.ActiveCfg = Release|Any CPU {0631B4BA-D5DD-4C9E-8842-0D370A3D714A}.Release|Any CPU.Build.0 = Release|Any CPU - {6B1C4B1E-AB43-4E87-A137-3AD9F534F059}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6B1C4B1E-AB43-4E87-A137-3AD9F534F059}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6B1C4B1E-AB43-4E87-A137-3AD9F534F059}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6B1C4B1E-AB43-4E87-A137-3AD9F534F059}.Release|Any CPU.Build.0 = Release|Any CPU {9162B6AD-AD06-4C64-9032-0E727643B1B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {9162B6AD-AD06-4C64-9032-0E727643B1B9}.Debug|Any CPU.Build.0 = Debug|Any CPU {9162B6AD-AD06-4C64-9032-0E727643B1B9}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -278,7 +272,6 @@ Global {37B598A8-B054-4ABA-884D-96AEF2511600} = {E6CEAD8D-F565-471E-A0DC-676F54EAEDEB} {17C270A8-EC88-4883-9318-74BB28EFF508} = {E6CEAD8D-F565-471E-A0DC-676F54EAEDEB} {0631B4BA-D5DD-4C9E-8842-0D370A3D714A} = {5080DB09-CBE8-4C45-9957-C3BB7651755E} - {6B1C4B1E-AB43-4E87-A137-3AD9F534F059} = {E6CEAD8D-F565-471E-A0DC-676F54EAEDEB} {9162B6AD-AD06-4C64-9032-0E727643B1B9} = {E6CEAD8D-F565-471E-A0DC-676F54EAEDEB} {58EC09C7-EC0A-4708-9B6F-FBE6243CEB49} = {E6CEAD8D-F565-471E-A0DC-676F54EAEDEB} {8C2BD4D2-43EC-4930-9364-CDA938C01803} = {E6CEAD8D-F565-471E-A0DC-676F54EAEDEB} diff --git a/test/ScratchPad/Program.cs b/test/ScratchPad/Program.cs deleted file mode 100644 index ab9fc7bff..000000000 --- a/test/ScratchPad/Program.cs +++ /dev/null @@ -1,42 +0,0 @@ -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; -using WorkflowCore.Interface; -using WorkflowCore.LockProviders.ZeroMQ.Services; -using WorkflowCore.QueueProviders.ZeroMQ.Services; - -namespace ScratchPad -{ - public class Program - { - public static void Main(string[] args) - { - LoggerFactory lf = new LoggerFactory(); - lf.AddConsole(LogLevel.Debug); - - IQueueProvider Peer1 = new ZeroMQProvider(4001, "localhost:4002;localhost:4003".Split(';'), true, lf); - IQueueProvider Peer2 = new ZeroMQProvider(4002, "localhost:4001;localhost:4003".Split(';'), true, lf); - IQueueProvider Peer3 = new ZeroMQProvider(4003, "localhost:4001;localhost:4002".Split(';'), true, lf); - - Peer1.Start(); - Peer2.Start(); - Peer3.Start(); - System.Threading.Thread.Sleep(500); - - Peer1.QueueWork("Task 1", QueueType.Workflow).Wait(); - Peer1.QueueWork("Task 2", QueueType.Workflow).Wait(); - Peer1.QueueWork("Task 3", QueueType.Workflow).Wait(); - System.Threading.Thread.Sleep(100); - - var value1 = Peer1.DequeueWork(QueueType.Workflow, new CancellationToken()).Result; - var value2 = Peer2.DequeueWork(QueueType.Workflow, new CancellationToken()).Result; - var value3 = Peer3.DequeueWork(QueueType.Workflow, new CancellationToken()).Result; - - Console.ReadLine(); - } - } -} - diff --git a/test/ScratchPad/Properties/AssemblyInfo.cs b/test/ScratchPad/Properties/AssemblyInfo.cs deleted file mode 100644 index 98c15d979..000000000 --- a/test/ScratchPad/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("ScratchPad")] -[assembly: AssemblyTrademark("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("6b1c4b1e-ab43-4e87-a137-3ad9f534f059")] diff --git a/test/ScratchPad/ScratchPad.csproj b/test/ScratchPad/ScratchPad.csproj deleted file mode 100644 index 1744f7c0b..000000000 --- a/test/ScratchPad/ScratchPad.csproj +++ /dev/null @@ -1,28 +0,0 @@ - - - - netcoreapp1.0 - ScratchPad - Exe - ScratchPad - 1.0.3 - $(PackageTargetFallback);dnxcore50 - false - false - false - - - - - - - - - - - - - - - -