From 2a389f4f2bbb46f1efe8736903ebcfb8a07a6f33 Mon Sep 17 00:00:00 2001 From: Victor Chang Date: Fri, 11 Aug 2023 17:42:54 -0700 Subject: [PATCH] Fix rebase issues Signed-off-by: Victor Chang --- src/Messaging/Common/ExportRequestType.cs | 9 --------- src/Messaging/Events/ExportRequestEvent.cs | 12 +++++------- 2 files changed, 5 insertions(+), 16 deletions(-) delete mode 100755 src/Messaging/Common/ExportRequestType.cs diff --git a/src/Messaging/Common/ExportRequestType.cs b/src/Messaging/Common/ExportRequestType.cs deleted file mode 100755 index aae8514..0000000 --- a/src/Messaging/Common/ExportRequestType.cs +++ /dev/null @@ -1,9 +0,0 @@ - -namespace Monai.Deploy.Messaging.Common -{ - public enum ExportRequestType - { - None = 0, - ExternalProcessing - } -} diff --git a/src/Messaging/Events/ExportRequestEvent.cs b/src/Messaging/Events/ExportRequestEvent.cs index 602c036..f6bfef9 100755 --- a/src/Messaging/Events/ExportRequestEvent.cs +++ b/src/Messaging/Events/ExportRequestEvent.cs @@ -15,7 +15,6 @@ */ using System.ComponentModel.DataAnnotations; -using Monai.Deploy.Messaging.Common; using Newtonsoft.Json; namespace Monai.Deploy.Messaging.Events @@ -77,13 +76,12 @@ public class ExportRequestEvent : EventBase public List ErrorMessages { get; private set; } /// - /// Gets or set the ExportRequest type. - /// For standard exports this will be ExportRequestType.None - /// but for exports to external apps this will be ExportRequestType.ExternalProcessing + /// A list of data output plug-in type names to be executed by the export services. + /// Each string must be a fully-qualified type name. + /// E.g. MyCompnay.MyProject.MyNamepsace.MyPlugin, MyCompnay.MyProject.MyNamepsace where + /// MyCompnay.MyProject.MyNamepsace is the name of the assembly (DLL). /// - [JsonProperty(PropertyName = "export_request")] - [Required] - public ExportRequestType ExportRequest { get; set; } = default!; + public List PluginAssemblies { get; private set; } public ExportRequestEvent() {