feat: Add race upload functionality and file transfer endpoints
- Implemented IRaceUploadCommunicationClient with methods for saving races, creating race points, indexing race points, retrieving race details, and uploading files to the receiver. - Added ReceiveFilePath option to CatalogCommunicationOptions for file transfer configuration. - Enhanced CatalogCommunicationServiceCollectionExtensions to validate ReceiveFilePath. - Developed RaceUploadCommunicationClient to handle race-related API interactions, including saving race data and uploading processed images. - Updated API documentation to reflect new race upload and file transfer endpoints. - Modified Avalonia UI to support race creation and processed image uploads, including new input fields and buttons. - Introduced RaceSaveRequest and ReceiveFileUploadRequest models for structured data handling.
This commit is contained in:
parent
4a0973b681
commit
15b1da4371
11 changed files with 675 additions and 97 deletions
|
|
@ -177,6 +177,7 @@ static class Program
|
|||
{
|
||||
options.BaseUri = new Uri("https://www.regalamiunsorriso.it/");
|
||||
options.AdminPageBasePath = "admin/pg_RUS";
|
||||
options.ReceiveFilePath = "ReceiveFile.abl";
|
||||
options.RequestTimeout = TimeSpan.FromSeconds(30);
|
||||
options.RetryCount = 2;
|
||||
options.RetryBaseDelay = TimeSpan.FromMilliseconds(250);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue