Uploaded image for project: 'Content Translation Extended (CTX)'
  1. Content Translation Extended (CTX)
  2. EXCONTRANS-148

Workflow - Submission - Scheduled job

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Neutral
    • 2.0
    • 2.0
    • None
    • None
    • Scrum Sprint 3

    Description

      https://wiki.magnolia-cms.com/display/VN/Submission+workflow

      Scheduled job
      Standard Quartz job using the scheduler module.

      It must have two custom properties:

      • "batchSize" to define how many tuples maximum we retrieve at each execution of the job
      • "poolSize" to define the size of the ThreadPoolExecutor.

      Process:

      • Retrieve the "batchSize" oldest records in the "translation-queue" workspace
      • Start the ThreadPoolExecutor

      ThreadPoolExecutor
      Input:

      • The list of tuples to execute
      • The pool size

      Process:

      • Each tuple will be executed by an instance of the executor pool
      • Each executor will call the following command successively and terminate by removing the tuplet from the JCR workspace

      Output: None

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              thanh.lehai Le Hai Thanh
              thanh.lehai Le Hai Thanh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoR

                  Time Tracking

                    Estimated:
                    Original Estimate - 2d Original Estimate - 2d
                    2d
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 6d 1.5h
                    6d 1.5h