Uploaded image for project: 'mod-data-export'
  1. mod-data-export
  2. MDEXP-45

FileUploadService: Create REST API to upload file

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • None
    • None
    • Concorde - Sprint 81, Concorde - Sprint 82
    • 3
    • Concorde

    Description

      Purpose
      To have the ability to upload a file from UI in small chunks of binary data using RMB streaming capabilities.
      See the same approach DataImportImpl.java

      Development steps

      1. Define RAML endpoint
      2. Receive a chunk and save it using FileStorageService. Create an abstraction - FileUploadService to hide all the details for choosing a proper implementation of the FileStorageService - fileSystem/networkDrive.

      Acceptance Criteria

      • REST API is created:
        POST /data-export/fileDefinitions
        GET /data-export/fileDefinitions/[id]
        POST /data-export/fileDefinitions/[id]/upload
      • tests are created

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Igor_Gorchakov Igor Gorchakov
                Igor_Gorchakov Igor Gorchakov
                Magda Zacharska Magda Zacharska
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases