4. THE PIM IS THE CRM OF THE PRODUCT
E-COMMERCE
MOBILE APPLICATION
PRINT CATALOG
POINTS OF SALE
ERP
MEDIA SERVER
SUPPLIERS
PURCHASING DPT
MARKETING DPT
CSV
FTP
XML
XLS
SUPPLIERS
PORTAL
CENTRALIZE &
STANDARDIZE
ENRICH
RESEARCH
TRANSLATE
ORGANIZE
COLLECT DATA FROM ANY SOURCE! SPREAD IT TO MULTIPLE CHANNELS1 ENRICH AND CONTROL THE Q UALITY OF
YOUR PRODUCT INFORMATION
32
5. WHAT IS A BATCH
• Treatment of the data in bulk
• Cancel issue with business code
• Performances
• Memory consumption
• Handle high volume of data
6. WHAT IS AKENEO/BATCH
• Component appeared in akeneo 1.6
• Inspired from Spring Batch
• At first, integrated into AkeneoBatchBundle since first
versions
• Now, completely bundle decoupled, totally autonomous
• Framework-agnostic
7. WHICH USE CASE ?
• Import / Export of data
• Mass Action
• Data cleanup
• Run internal command
• ...
12. PRINCIPLE
• Each job can be decomposed into "Step"
• 2 steps family:
• Trigger
• Treatment
• Job has a JobParameter object
13. ITEMTRIGGER
• Run an unique action, quick (immediat) on an
external component of the batch
• No status (success / failure)
• Example: download a file, clear cache, send an
email, run a command, etc
16. ITEMTREATMENT
• Treat a source line by line
• Data Input / Ouput can have different type of
storage
• Can accept or reject an item
• Provide a status (success or failure)
20. JOBREPOSITORY
• Instanciate the objects JobExecution and
StepExecution
• Allow to store the current state of a step
execution
• Allow to retake execution where the error
happens