diff --git a/src/BL/Models/ViewModels/MQFetchFile.cs b/src/BL/Models/ViewModels/MQFetchFile.cs index 2fe7469a7..afa26b234 100644 --- a/src/BL/Models/ViewModels/MQFetchFile.cs +++ b/src/BL/Models/ViewModels/MQFetchFile.cs @@ -9,6 +9,8 @@ namespace BL.Models.ViewModels public class MQFetchFile { public string Url { get; set; } + + public string OriginalUrl { get; set; } public string BucketName { get; set; } public string? Key { get; set; } } diff --git a/src/DARE-API/Services/ConsumeInternalMessageService.cs b/src/DARE-API/Services/ConsumeInternalMessageService.cs index ea74323ab..426962163 100644 --- a/src/DARE-API/Services/ConsumeInternalMessageService.cs +++ b/src/DARE-API/Services/ConsumeInternalMessageService.cs @@ -76,6 +76,7 @@ private void Process(IMessage message, MessageReceivedInfo info) var messageMQ = new MQFetchFile(); + messageMQ.OriginalUrl = sub.DockerInputLocation; messageMQ.Url = sub.SourceCrate; messageMQ.BucketName = sub.Project.SubmissionBucket;