Add CSV processing support and enhance functionality (#7010)

Introduced a new CSV module with "ReadCsv" activity for processing CSV files and updated dependencies to include CsvHelper. Integrated the module into the server, added a "Product" model, a default warning log level, and a new "File" output to HttpEndpoint activity.
This commit is contained in:
Sipke Schoorstra 2025-10-25 11:58:34 +02:00 committed by GitHub
parent 762f23dbc3
commit 03c8f36f1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -133,6 +133,12 @@ public class HttpEndpoint : Trigger<HttpRequest>
[Output(Description = "The uploaded files, if any.", IsSerializable = false)]
public Output<IFormFile[]> Files { get; set; } = null!;
/// <summary>
/// The first uploaded file, if any.
/// </summary>
[Output(Description = "The first uploaded file, if any.", IsSerializable = false)]
public Output<IFormFile?> File { get; set; } = null!;
/// <summary>
/// The parsed route data, if any.
/// </summary>
@ -246,6 +252,7 @@ public class HttpEndpoint : Trigger<HttpRequest>
}
Files.Set(context, files.ToArray());
File.Set(context, files.FirstOrDefault());
}
}
else
@ -497,4 +504,4 @@ public class HttpEndpoint : Trigger<HttpRequest>
return routeData;
}
}
}