Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2.0 Backlog
    • Fix Version/s: None
    • Component/s: Core
    • Labels:

      Description

      Allow a job to be preconfigured (xml) to PAUSE at a given position in an execution and RESUMED later.

      This can be achieved by modifying the FlowExecutor to have a function of pauseJob() and a FlowState of PAUSED. Once the state is triggered, the BatchStatus and ExitStatus are set to PAUSED/PAUSING and persisted. To RESUME the job, a the PausedJobManager.resumeJob(Long jobExecutionId) is called which resumes the same job execution in the task executor, skipping already completed steps and starting at the next in the flow.

      Key changes to support this are in the new JobManager that would allow for the resetting of the JobExecution state (from PAUSED to STARTING).

      NamespaceHandler changes would need to support a "step-level" <batch:pause id="someJob.pause"/> element that is referenced by a "next-step".

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              willschipp Will Schipp
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: