Uploaded image for project: 'mod-source-record-manager'
  1. mod-source-record-manager
  2. MODSOURMAN-20

@Deprecated. Will be closed. ChangeManager: implement API for saving raw (source) data

    XMLWordPrintable

    Details

    • Template:
    • Story Points:
      8
    • Development Team:
      Folijet

      Description

      @Deprecated. Will be closed.
      Implementation algorithm:
      1) runs background task for data processing. Decide how to run it: use separate Vertx worker verticle or vertx#executeBlocking,
      2) updates status for Snapshot and JobExecution entities along the way,
      3) count and store number of received chunks in separate buckets in the Vertx Context, each bucket should be associated with ID of the JobExecution entity being processed,
      4) use scheduled Job to observe the amount of received chunks MODSOURMAN-22. The Job scans Vertx context and checks - if the number of received chunks the same as total value, then Job runs Handler described in MODSOURMAN-21, else goes to the next bucket.
      Job running period should be configurable.

      Acceptance Criteria

      • In the new implementation ChangeManager saves the chunks is a non-blocking process;
      • ChangeManager interacts with MetadataService for getting and updating JobExecution statuses;
      • ChangeManager interacts with mod-source-record-storage via REST for updating Snapshot statuses;
      • Bussines logic is covered by unit tests.

        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