Set the size of a transform result in the Reply to the t-router.
Tidy up code: Avoid having to add the transformName to the transformOptions in the Controller class and then remove it in Transformer interface.
The bulk of the changes in this PR are to do with adding a coreVersion element to the transform element in the T-Engine config. For more detail see the class header of CoreVersionDecorator.
* Support the use of coreVersion so that it is possible to upgrade pods in any order
* Moved the majority of the RequestParamMap static finals to alfresco-transform-model and added a new one: "includeCoreVersion" parameter.
[trigger release] 2.5.5-A1
By default T-Engines now provide the more readable TransformerDebug DEBUG messages, rather than the original detailed request and reply messages, which are still available as TRACE.
* Metadata extract code added to T-Engines
* Required a refactor of duplicate code to avoid 3x more duplication:
- try catches used to return return exit codes
- calls to java libraries or commands to external processes
- building of transform options in controllers, adaptors
* integration tests based on current extracts performed in the repo
* included extract code for libreoffice, and embed code even though not used out of the box any more. There may well be custom extracts using them that move to T-Engines
* removal of unused imports
* minor autoOrient / allowEnlargement bug fixes that were not included in Paddington on the T-Engine side.
* ATS-770: Tech Debt: Transforms - Tiff (via ImageMagick) - add unit tests for supported transforms
- add unit test for image/tiff -> image/*
- increases ImageMagickTransformationIT by x32 test transforms (to x440)
- add transform option for single page for specific case of source "tiff" (to specific targets)
* ATS-763: Added missing tests in Ticka
* ATS-763: Added the missing transform tests for Libre Office and replaced quick files in Ticka
* ATS-763: Replaced newly added quick.xml and quick.msg with preexisting files.
* ATS-763: Added targets to tests in Libre Office -see Jan's comment in PR
* ATS-763: Added test files to Image Magick, and uncommented the PSD source file
* ATS-763: put back a comment in Image Magick how it was before my previous commit
* ATS-763: Resolved Jan's comment about seperating out mimetypes into their correct section such as SPREADSHEET or PRESENTATION
* ATS-763: Fixed failing test (ppsm and ppsx)
* ATS-763: Removed unnecessary source files in Image Magick
* ATS-763: Fix failing LibreOffice unit tests
* ATS-763: Fix indentation in LibreOfficeTransformationIT
* ATS-763: fixed failing image magick tests and removed failing transform from config
* ATS-763: Added missing priority for pages -> txt
Co-authored-by: kristian <kristian.dimitrov@alfresco.com>
* ATS-731: Add half of the missing simple legacy transforms
* task/ATS-731_Update_T-Engines_config_with_remaining_legacy_transformers: Updated transforms list to include missing legacy transforms
* task/ATS-731_Update_T-Engines_config_with_remaining_legacy_transformers: Added missing Transforms
* task/ATS-731_Update_T-Engines_config_with_remaining_legacy_transformers: Added xml xltm, xlam, ppsx, ppsm, msg, and dita to pdf
* ATS-731: Remove depreciated workaround
* task/ATS-731_Update_T-Engines_config_with_remaining_legacy_transformers: Added more missing transforms. Only 6 left to do
* task/ATS-731_Update_T-Engines_config_with_remaining_legacy_transformers: Merged with Kristian's changes
* task/ATS-731_Update_T-Engines_config_with_remaining_legacy_transformers: Added Kristians' last commit back
* task/ATS-731_Update_T-Engines_config_with_remaining_legacy_transformers: Added final 6 missing transforms
* ATS-731: Remove unnecessary test configs (Tests now pull configs from jars)
* task/ATS-731_Update_T-Engines_config_with_remaining_legacy_transformers: Reverted libra office file back to how it was at Kristian's last commit
* task/ATS-731_Update_T: Took back out the outlook transforms so that they can be done by a pipeline inestead
* ATS-731: Read default engine configs from jars in tests
* ATS-731: Removed failing transforms from Image magick
* ATS-731: The branch now only contains the transforms that work and have been tested. Just one more needs to be added in libre office
* Added the last of the working transfroms
* ATS-731: Added one more transform
* Revert "ATS-731: Remove depreciated workaround"
This reverts commit 82de937e
* ATS-731: Enable info log level for the depreciated workaround
Co-authored-by: aharake <ayman.harake@alfresco.com>
* ATS-735: Update to ImageMagick 7.0.10-11 distro bins
* ATS-735: Revert back to previous ImageMagick version 7.0.7-27 to verify whether the latest release is not compatible with ATS
* ATS-735: Found two more references for ImageMagick 7.0.7 in the application-default.yaml for ImageMagick and AIO Transformer
* Changed systemPropertyVaraibles to point to latest ImageMagick bins
* Added new RPM repo for CentOS 7.5.x in order to server new dependencies for ImageMagick 7.0.10-11
Created test-jar for libreoffice-boot
Updated LibreOfficeControllerTest.java so it can provide inheritance
Updated LibreOfficeControllerTest#testPojoTransform to uses a viable targetMimetype
Fixed inconsitent naming for @Value annotation
Moved surefire config to super pom
Implement LibreOfficeIT on AIO Controller
Runs the tests inherited from the imagemagick-boot-test-jar through the All in One Transformer
Co-authored-by: Erik Knizat <erik.knizat@alfresco.com>
Co-authored-by: kristian <kristian.dimitrov@alfresco.com>
Co-authored-by: eknizat <26163420+eknizat@users.noreply.github.com>
* 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
Each transform engine project has been separated into 2 modules so that an executable and non-executable jar can be created.
Modules have been renamed such that *docker* has been removed from the artifactIds and project names.
Co-authored-by: Erik Knizat <erik.knizat@alfresco.com>
Co-authored-by: David Edwards <david.edwards@alfresco.com>