Uploaded image for project: 'mod-data-export-spring'
  1. mod-data-export-spring
  2. MODEXPS-70

Fix issue with EDIFACT Job hour scheduling after mod-data-export-spring restart or update

    XMLWordPrintable

Details

    • ACQ Sprint 134, ACQ Sprint 135, ACQ Sprint 136, ACQ Sprint 137
    • 2
    • Thunderjet
    • Lotus (R1 2022) Bug Fix
    • Implementation coding issue

    Description

      Purpose/Overview:
      EDIFACT Schedulers should work after restarting or updating mod-data-export-spring

      Requirements/Scope:

      1. Fix an issue with initial EDIFACT Job scheduling after restarting module

      Approach:
      Rework org.folio.des.scheduling.acquisition.EdifactScheduledJobInitializer#initAllScheduledJob

      After restarting module org.folio.des.scheduling.acquisition.AcqBaseExportTaskTrigger must be created with "lastActualExecutionTime" which comes from the last executed Job

      Use case:

      Given
      EDIFACT export Job is scheduled to run every hour and first start time is "08:45:00"
      Last time when Job run is finished 13:45:00
      When
      Restart mod-data-export-spring
      Then
      Actual result : Job is scheduled on the next day at "08:45:00"
      Expected result: Job is scheduled at 14:45:00

      Acceptance criteria:

      • Logic updated
      • Unit test created(if possible)

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Andrei_Makaranka Andrei Makaranka
                Andrei_Makaranka Andrei Makaranka
                Dennis Bridges Dennis Bridges
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases