Bumps the github-actions group with 6 updates in the / directory: | Package | From | To | | --- | --- | --- | | [Alfresco/alfresco-build-tools](https://github.com/alfresco/alfresco-build-tools) | `8.26.0` | `18.21.0` | | [actions/checkout](https://github.com/actions/checkout) | `4` | `7` | | [Alfresco/ya-pmd-scan](https://github.com/alfresco/ya-pmd-scan) | `4.1.0` | `4.4.1` | | [docker/login-action](https://github.com/docker/login-action) | `3` | `4` | | [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) | `3` | `4` | | [actions/setup-python](https://github.com/actions/setup-python) | `5.4.0` | `7.0.0` | Updates `Alfresco/alfresco-build-tools` from 8.26.0 to 18.21.0 - [Release notes](https://github.com/alfresco/alfresco-build-tools/releases) - [Commits](https://github.com/alfresco/alfresco-build-tools/compare/v8.26.0...v18.21.0) Updates `actions/checkout` from 4 to 7 - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v4...v7) Updates `Alfresco/ya-pmd-scan` from 4.1.0 to 4.4.1 - [Release notes](https://github.com/alfresco/ya-pmd-scan/releases) - [Commits](https://github.com/alfresco/ya-pmd-scan/compare/v4.1.0...v4.4.1) Updates `docker/login-action` from 3 to 4 - [Release notes](https://github.com/docker/login-action/releases) - [Commits](https://github.com/docker/login-action/compare/v3...v4) Updates `docker/setup-qemu-action` from 3 to 4 - [Release notes](https://github.com/docker/setup-qemu-action/releases) - [Commits](https://github.com/docker/setup-qemu-action/compare/v3...v4) Updates `actions/setup-python` from 5.4.0 to 7.0.0 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/42375524e23c412d93fb67b49958b491fce71c38...5fda3b95a4ea91299a34e894583c3862153e4b97) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/setup-python dependency-version: 6.2.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: Alfresco/alfresco-build-tools dependency-version: 18.7.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: Alfresco/ya-pmd-scan dependency-version: 4.4.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: docker/login-action dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: docker/setup-qemu-action dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
Alfresco Transform Core
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. READMEengines/<name>- multiple T-Engines, which extend theengines/base; each one builds a SpringBoot jar and a Docker imagedeprecated/alfresco-base-t-engine- The original t-engine base, which may still be used, but has been replaced by the simplerengines/base.
Documentation
docs- provides additional documentation.- ACS Packaging docs folder
- If you're interested in the Alfresco Transform Service (ATS) see https://docs.alfresco.com/transform/concepts/transformservice-overview.html
Building and testing
The project can be built by running the Maven command:
mvn clean install -Plocal,docker-it-setup
The
localMaven 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:runjava -jar target/helloworld-t-engine-{version}.jarin the project directory.- Run or debug the application
org.alfresco.transform.base.Applicationfrom 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:
- alfresco/alfresco-imagemagick
- alfresco/alfresco-pdf-renderer
- alfresco/alfresco-libreoffice
- alfresco/alfresco-tika
- alfresco/alfresco-transform-misc
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.