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() {