[EXCONTRANS-148] Workflow - Submission - Scheduled job Created: 30/Jan/18  Updated: 20/Jul/18  Resolved: 08/Mar/18

Status: Closed
Project: Content Translation Extended (CTX)
Component/s: None
Affects Version/s: 2.0
Fix Version/s: 2.0

Type: Task Priority: Neutral
Reporter: Le Hai Thanh Assignee: Le Hai Thanh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 6d 1.5h
Original Estimate: 2d

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: Background processes
Sprint: 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


Generated at Mon Feb 12 00:28:25 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.