OPENSOURCE

ALFRESCO TRANFORMATION ENGINE


Spring Datafication 2023. 4. 13. 09:51

ALFRESCO T-ENGINE INTEGRATION 7.3.X

Alfresco T-Engine has been separated from the legacy Alfresco and now a Standalone application. It uses the features of activeMQ to communicate with Alfresco.

DOCKER ALL IN ONE TRANSFORMATION CORE ENGINE

As alfresco 7.3.X is using docker, the default provide transformation core engine is:

  transform-core-aio:
    image: alfresco/alfresco-transform-core-aio:3.0.0    mem_limit: 1536m
    environment:
      JAVA_OPTS: " -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80"    ports:
      - "8090:8090"

DOCKER ERROR

This image has few errors when it comes to local transformation using the transform-core-aio(3.0.0) PROVIDED.The MAIN ERROR is that it does not have the correct version of libreoffice installed.

FROM Personal trial-and-error I realized the alfresco/alfresco-content-repository-community:7.3.0
provided core transform engine works best with old images specifically alfresco/alfresco-transform-core-aio:2.3.6

  transform-core-aio:
    image: alfresco/alfresco-transform-core-aio:2.3.6    mem_limit: 1536m
    environment:
      JAVA_OPTS: " -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80"    ports:
      - "8090:8090"

This transformation engine is the one that works best with the alfresco/alfresco-content-repository-community:7.3.0 image.. Notice OTHER VERSIONS OF the transform engine was not TESTED IN THIS PROOF OF CONCEPT

NOTICED CHALLENGES

As the transform-core-aio:2.3.6 is not the latest version of the transformation engine, it has some challenges.

  1. The transform-core-aio:2.3.6 does not have the transform-router image RESERVED FOR ENTERPRISE VERSION ONLY.
  2. TIKA: LEGACY RECOGNIZED file extensions might be hard to modify.

SOLUTIONS

The Alfresco GITHUB Community provides a solution for implementing Custom local transformations and remote transformationCustom extension for types like hwp can be referenced from the Alfresco GITHUB Community

REFERENCE

https://github.com/aborroy/alf-tengine-ocr

Alfresco Docs - Create custom T-Engine

Create a transformer on share ZIP to PDF

Alfresco Docs - Content Transformers and Renditions Extension Point

Alfresco Docs - Manage transformations

https://www.youtube.com/watch?v=XV8UzYFFYTI&t=488s&ab_channel=AngelBorroy

반응형

'OPENSOURCE' 카테고리의 다른 글

ALFRESCO CUSTOM MIMETYPES EXTENSION  (0) 2023.04.19