This blog post describes the different Transform Service architectures available from ACS 5.2 to ACS 7.2 and provides a sample implementation and deployment for a Custom Transform Service.
Alfresco Transformers
Legacy Transformer
Local Transformer
Transformer (only Enterprise)
Deploy Custom Alfresco Transformer
Alfresco Transformer from PDF to OCRd PDF has been taken as sample to provide deployment instructions for Local Transformer and Async Transformer.
https://github.com/aborroy/alf-tengine-ocr
Deploy to Local Transformer (Community)
Add following lines to your docker-compose.yml file
services: alfresco: environment: JAVA_OPTS : " -DlocalTransform.core-aio.url=http://transform-core-aio:8090/ -DlocalTransform.ocr.url=http://transform-ocr:8090/ " transform-core-aio: image: alfresco/alfresco-transform-core-aio:2.3.10 transform-ocr: image: alfresco/tengine-ocr:latest
If you want to use an Enhanced Transform Service instead of the one provided by default by Alfresco, check out this Community project:
https://github.com/Acosix/alfresco-transform
Deploy to Async Transformer (Enterprise)
Add following lines to your docker-compose.yml file
services: alfresco: environment: JAVA_OPTS : " -Dlocal.transform.service.enabled=false -Dtransform.service.enabled=true -Dtransform.service.url=http://transform-router:8095 -Dsfs.url=http://shared-file-store:8099/ " transform-router: image: quay.io/alfresco/alfresco-transform-router:1.5.0 environment: ACTIVEMQ_URL: "nio://activemq:61616" CORE_AIO_URL: "http://transform-core-aio:8090" TRANSFORMER_URL_OCR: "http://transform-ocr:8090" TRANSFORMER_QUEUE_OCR: "ocr-engine-queue" FILE_STORE_URL: "http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file" transform-ocr: image: alfresco/tengine-ocr:latest environment: ACTIVEMQ_URL: "nio://activemq:61616" FILE_STORE_URL: "http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file"
Additional details are available on the following video recording.
https://www.youtube.com/watch?v=XV8UzYFFYTI
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.