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

FileUploadService: Create REST API to upload file

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Template:
    • Sprint:
      Concorde - Sprint 81, Concorde - Sprint 82
    • Story Points:
      3
    • Development Team:
      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

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases