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

Create InputDataManager

    XMLWordPrintable

Details

    • Concorde - Sprint 83, Concorde - Sprint 84
    • 5
    • Concorde

    Description

      Purpose
      To have the ability to import/load a chunk of UUIDs from file and send them to the ExportManager for the further processing

      Implementation details

      1. Create the ImportManager, register it to listen to the event bus the same way as the ExportManager (see InitApi)
      2. Implement SourceStreamReader#getSourceStream, reuse this PoC https://github.com/folio-org/mod-data-export/pull/2
      3. Use SourceStreamReader to read UUIDs and send them to the ExportManager
      4. Call ImportManager from data-export/export endpoint (DataExportImpl) to start export process
      5. After the export for a given bunch is done, the ExportManager calls ImportManager back to request next UUIDs
      6. Cover with tests

      Acceptance Criteria

      1. If the endpoint /export is triggered, then the ImportManager calls ExportManager sending UUIDs, the ExportManager calls back ImportManager to request next UUIDs
      2. API tests are written

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                illia.borysenko Illia Borysenko
                Igor_Gorchakov Igor Gorchakov
                Magda Zacharska Magda Zacharska
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases