[EXCONTRANS-153] Workflow - Get translations - Scheduled job Created: 30/Jan/18  Updated: 20/Jul/18  Resolved: 28/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: Not Specified
Original Estimate: 0d

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: Background processes

 Description   

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

Description
If the translation provider does not provide synchronous translation, then a specific scheduled job must be provided.
The set translation command MUST be called.

Scheduled job
Standard Quartz job using the scheduler module.

It must have one custom property:

  • "poolSize" to define the size of the ThreadPoolExecutor.

Process:

  • Retrieve the translation ready from the translation provider API
  • Start the ThreadPoolExecutor

ThreadPoolExecutor
Input:

  • The list of translations
  • The pool size

Process:

  • Each translation will be executed by an instance of the executor pool
  • Each executor will call the following command

Output: None


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