mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-05-12 17:04:48 +00:00
* ATS-695/ATS-675 Add aio boot project - Added the bare bones of a spring boot project to be used by aio. Currently based loosely on transform-misc. * ATS-674/ATS-695 Add forms for each transformer. * ATS-675/ATS-695 add empty test to pass build during dev * ATS-695 remove maven profile to fix build * ATS-675 Define interface and the aio transformer * Fix formatting and rename the module as per review comments * ATS-675/ATS-695 Add ProbeTestTransformation Currenly uses MiscController implementation. * ATS-675/ATS-695 Add logger method, This will be code repeated in the local transform method and the processTransform method * ATS-675/ATS-695 Implement local transform method Minimum implementation for transform method. * ATS-675/ATS-695 Implement processTransform * ATS-675/ATS-695 Rename project to alfresco-transform-core-aio-boot Add alfresco-transform-core-aio dependencies * ATS-675/ATS-695 Fix build Update project location Update imports and variable declarations in TODOs Add error handling. Formatting. * ATS-693: Update transform-misc Dockerfile with newly reserved uid * Revert "ATS-691: Combine the win/linux pathToFile logic" This reverts commit 61fe4820 * ATS-693: Update transform-misc Dockerfile with newly reserved uid * "ATS-693: Add Dockerfile to aio-boot module" * ATS-675/ATS-695 Add resource required for ProbeTestTrasform * ATS-675/ATS-695 Remove test resources, to be added in test implementation * ATS-693: Fix path to jar resources * ATS-675/ATS-703 Moved Options builder to non boot jar. * ATS-675/ATS-703 Rename OptionsBuilder to PdfRendererOptionsBuilder This is to avoid confilct with OptionsBuilders in other T-engines. * ATS-675/ATS-695 Added PdfRendererApadpter.java Added dependency to pom.xml Required transformation of String to Long, method added to Util.java * ATS-675/ ATS-704 Implemented LibreOfficeAdapter * ATS-675 Parity with base aio naming convention * ATS-675/ATS-705 Implemented ImageMagickAdapter Moved and renamed OptionsBuilder. Moved to alfresco-transform-imagemagick, renamed ImageMagickOptionsBuilder. Added dependencies to pom.xml * ATS-693: Implement maven docker build * Initial tests * Add initial tests for config aggregation * Update AbstractTransformerControllerTest to use the new engine config names * Fix up controller * Fix travis tests (#205) * Fix engine specific properties for engine config location * Temporarily add engine configs to test resources for the boot modules. Will need to fix this properly * Resolve some review comments * ATS-675 - Move static strings to util class * Refactor classes for simpler design (#210) * ATS-702 Fix error handling (cherry picked from commit e30cb5fda6ba2ae09c91ef61e69cba4689bcc8d9) * ATS-675 Rename test class (fixes typo) * ATS-675: Add aio transformer to static scan
Alfresco Transform Core
Contains the common transformer (T-Engine) code, plus a few actual implementations.
Sub-projects
alfresco-transformer-base
- library packaged as a jar file which contains code that is common to all the transformers; see the sub-project's READMEalfresco-docker-<name>
- multiple T-Engines; each one of them builds both a SpringBoot fat jar and a Docker image
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.
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-transformer-base</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:
- alfresco/alfresco-imagemagick
- alfresco/alfresco-pdf-renderer
- alfresco/alfresco-libreoffice
- alfresco/alfresco-tika
- alfresco/alfresco-transform-misc
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.
Languages
Java
80.5%
C
12.5%
Rich Text Format
5.4%
Dockerfile
0.7%
HTML
0.5%
Other
0.3%