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

Implement the FileExportService

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Template:
    • Development Team:
      Concorde

      Description

      Purpose
      To have the functionality to write a collection of MARCs to the file and save the file to the Destination.

      Need a Spike/PoC for this task.

      Implementation Details
      write method:
      The implementation creates .mrc file and appends all the incoming MARCs. Use fileId to identify to which file the MARC belongs.
      Use streaming abilities to write MARCs to the file.

      export method:
      Once all the MARCs have been written, the ExportManager calls export method to send the file to the Destination (Postgres)

      Acceptance Criteria

      1. A file is available in the destination(postgres DB) with marc records
      2. unit tests are created

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                Igor_Gorchakov Igor Gorchakov
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases