3Sixty Batch API for Alfresco
Installation
If you're planning on using Transparent Content Services, the batch API is included in that module.
Important: COMPATIBILITY
The batch API is only compatible with Alfresco v6.2 and higher.
-
Retrieve the latest batch API version from Support
-
Stop Alfresco
-
Inside the Tomcat folder which contains ACS (referred to as TOMCAT_HOME), add the following folder if it does not exist /modules/platform
-
Place the batch API jar in the folder
-
Start Alfresco
Configuration Options
These properties can be added to the alfresco-global.properties file
-
batchapi.behaviours.disableall: If this is false, reattempts to import data can cause an infinite loop.
-
batchapi.rules.disableall: If this is false, reattempts to import data can cause an infinite loop.
Important: RULES AND BEHAVIORS
Both of these values must be true to avoid conflicts with Alfresco's content store rules and behaviours
-
batchapi.jsonthreadcount: The amount of threads to delegate to the json batch integration queue. Default: 20
-
batchapi.batchthreadcount: The amount of threads to delegate to the batch integration queue. Default: 50
-
batchapi.userid: The Alfresco User to perform the Batch API actions as. Must be a valid Alfresco user. Default: admin
-
batchapi.licensekey: This property is Required and does NOT have a default. The license key of the 3Sixty instance you are connecting to. This does not have a default. Jobs will not write batches to Alfresco if this value is not set with a valid license key.
Versioning
Alfresco turns on the initial version and auto versioning by default. However, this can cause Alfresco to have an incorrect initial version, such as version 0.1, which will lead to incorrect numbering of your version series. In order to make versioning work with the Batch API, add the following mapping to your job
(source type) ----Aspect Mapping----> cm:versionable
Or, as an alternative, disable some of Alfresco versioning features with the following
version.store.initialVersion=false
version.store.enableAutoVersioning=false
Alfresco configuration for better ingestion speeds
Disable subsystems, precursor for bulk ingestion
notification.email.siteinvite=false
alfresco.jmx.connector.enabled=false
index.subsystem.name=noindex
ooo.enabled=false
jodconverter.enabled=false
notification.email.siteinvite=false
smart.folders.enabled=false
system.thumbnail.generate=false
extracter.RFC822.enabled=false
extracter.TikaAuto.enabled=false
Access and remote protocols
ftp.enabled=false
system.webdav.servlet.enabled=false
cifs.enabled=false
transferservice.receiver.enabled=false
syncService.mode=OFF
Workflow
system.workflow.engine.activiti.enabled=false
system.workflow.engine.jbpm.enabled=false
Indexing
index.recovery.mode=NONE
index.tracking.disableInTransactionIndexing=true
Auditing
audit.enabled=false
audit.alfresco-access.enabled=false
audit.filter.alfresco-access.default.enabled=false
Repo and file management
system.content.caching.cacheOnInbound=false
home.folder.creation.eager=false
system.enableTimestampPropagation=false
system.usages.enabled=false
activities.feed.notifier.enabled=false
alfresco.cluster.enabled=false
db.schema.update=true
system.acl.maxPermissionChecks=100000
system.readpermissions.bulkfetchsize=100000
Related Articles