Details

    • EPAM BatchLoader Sprint 11
    • Folijet

    Description

      • Create a service that would be called when received a POST request on /change-manager/jobExecutions/ {jobExecutionId}

        /records (replace stub implementation of the endpoint).

      • JobExecutionSourceChunk entity should be created with InProgress status and saved to the db. see MODSOURMAN-69
      • Check JobExecution status. If it is not IMPORT_IN_PROGRESS, lock the JobExecution and update its state, unlock JobExecution.
      • Initialize chunk processing by calling ChangeEngineService to parse records.
      • After parsing is finished update the JobExecutionSourceChunk status to COMPLETED.
      • Check all chunks, if last chunk exists and all are COMPLETED, check JobExecution status. If it is not IMPORT_FINISHED, lock the JobExecution and update its state, call stub method startMarcRecordsProcessing, unlock JobExecution.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Kateryna Senchenko Kateryna Senchenko
                Kateryna Senchenko Kateryna Senchenko
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases