Vivek Kumar b6d522ee9b [ACS-10788]: Upgrade Spring Boot in core for ATS upgrade (#1165)
* upgrade spring boot in transform core for ATS

* some test fix

* some test fix

* test fixes

* test fixes attempt

* attempt to fix tests

* attempt to tests fix

* attempt to fix test

* attempt test fix

* attempt to fix test

* attempt to fix tests

* pre commit fix

* QueueTransformServiceTest fix attempt, change mock and added reset of
mock before calling

* TransformRegistryRefreshTest test fix, changed bean injection method and
added license year 2025

* added dependency in transform image magick moduel to fix test

* moved all new dependency in parent pom

* image magick tests fix attempt

* attempt test fix in Tika

* libre office test fix attempt

* LibreOffice tests: Attempt to fix the tests with changing the annotation

* mvn version modularization and license header update for the modified file

* attempt to fix E2E tests

* remove duplicate maven dependency

* attempt to fix unstable AIO tests

* pre commit fix

* remove redundant annotations and refactor dependencies

* fix for flaky AIO tests

* attempt to fix the AIO flaky tests

* remove duplicate maven dependency

* removed redundant maven dependencies

* update version for next alpha release

* incorporate PR comments

* add spring-boot-restclient to fix missing RestTemplateBuilder and add aspectJ new dependency

* remove lenient for sharedFileStoreClient in TikaTest file

* Incorporate PR comments
2026-02-03 15:23:02 +05:30
2025-11-14 15:37:33 +01:00
2019-05-20 14:06:25 +03:00
2018-03-07 14:39:07 +00:00

Alfresco Transform Core

Build Status

Contains the common transformer (T-Engine) code, plus a few implementations.

When upgrading to 3.0.0, you will find that a number of classes in the alfresco-transform-model have moved. See the alfresco-transform-model README

Sub-projects

  • model - library packaged as a jar file which contains the data model of json configuration files and messages sent between clients, T-Engines and T-Router. Also contains code to to combine and then work out which transform to use for a combination of source and target mimetypes and transform options.
  • engines/base - contains code common to t-engines, packaged as a jar. README
  • engines/<name> - multiple T-Engines, which extend the engines/base; each one builds a SpringBoot jar and a Docker image
  • deprecated/alfresco-base-t-engine - The original t-engine base, which may still be used, but has been replaced by the simpler engines/base.

Documentation

Building and testing

The project can be built by running the Maven command:

mvn clean install -Plocal,docker-it-setup

The local Maven profile builds local Docker images for each T-Engine.

Run in Docker

Execute the following commands to run a t-engine in detached mode on port 8090 and to show the logs:

docker run -d -p 8090:8090 --name <t-engine-project-name> <t-engine-project-name>:latest
docker logs -f <t-engine-project-name>

Run the Spring Boot Application

Since a T-Engine is a Spring Boot application, it might be helpful to run it as such during development by executing one of the following:

  • mvn spring-boot:run
  • java -jar target/helloworld-t-engine-{version}.jar in the project directory.
  • Run or debug the application org.alfresco.transform.base.Application from within an IDE.

Test page

The application will be accessible on port 8090 and the test page is: http://localhost:8090/. The config is available on http://localhost:8090/transform/config.

Artifacts

Maven

The artifacts can be obtained by:

  • downloading from Alfresco repository
  • getting as Maven dependency by adding the dependency to your pom file:
<dependency>
    <groupId>org.alfresco</groupId>
    <artifactId>alfresco-transform-model</artifactId>
    <version>version</version>
</dependency>

<dependency>
    <groupId>org.alfresco</groupId>
    <artifactId>alfresco-base-t-engine</artifactId>
    <version>version</version>
</dependency>

and Alfresco Maven repository:

<repository>
  <id>alfresco-maven-repo</id>
  <url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
</repository>

Docker

The core T-Engine images are available on Docker Hub.

Either as a single Core AIO (All-In-One) T-Engine:

Or as a set of individual T-Engines:

You can find examples of using Core AIO in the reference ACS Deployment for Docker Compose:

You can find examples of using the individual T-Engines in the reference ACS Deployment for Helm / Kubernetes:

Release Process

For a complete walk-through check out the build-and-release.MD under the docs folder.

Contributing guide

Please use this guide to make a contribution to the project.

S
Description
No description provided
Readme
522 MiB
Languages
Java 81.3%
C 12%
Rich Text Format 5.2%
Dockerfile 0.7%
HTML 0.4%
Other 0.3%