36 Commits

Author SHA1 Message Date
Ayman Harake
9931bdc678
ATS-763: Update T-Core for Legacy: Add test files & tests for newly added transforms (in ATS-731) (#252)
* 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>
2020-06-09 16:57:23 +01:00
Travis CI User
dbf8568229 [maven-release-plugin][skip ci] prepare for next development iteration 2020-06-02 14:31:42 +00:00
Travis CI User
33a9e22181 [maven-release-plugin][skip ci] prepare release 2.2.2 2020-06-02 14:31:35 +00:00
Kristian Dimitrov
f6819cf8e0
ATS-731 Update T-Engines config with remaining legacy transformers
* 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>
2020-06-01 15:54:15 +01:00
Nebil Kisa
163d17e9d3
ATS-735: Update to ImageMagick 7.0.10-11 distro bins (#243)
* 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
2020-05-20 18:08:41 +01:00
Travis CI User
6b2725c77e [maven-release-plugin][skip ci] prepare for next development iteration 2020-05-01 14:59:23 +00:00
Travis CI User
65fc8d2912 [maven-release-plugin][skip ci] prepare release 2.2.1 2020-05-01 14:59:16 +00:00
montgolfiere
89c65cd4f2
ACS-99: Update to most current Java Base Image (for OpenJDK 11.0.7 / CentOS 7) (#238)
- align with ACS Repo 6.2.1-A4 and higher (note: post RC3)
2020-04-30 16:55:33 +01:00
Travis CI User
a8b9a42ce7 [maven-release-plugin][skip ci] prepare for next development iteration 2020-04-24 13:06:08 +00:00
Travis CI User
2b764c787d [maven-release-plugin][skip ci] prepare release 2.2.0 2020-04-24 13:06:01 +00:00
David Edwards
f503b863db ATS-708 Update pom versions to 2.2.0-SNAPSHOT 2020-04-24 12:30:28 +01:00
Travis CI User
81d691dfce [maven-release-plugin][skip ci] prepare for next development iteration 2020-04-23 17:16:58 +00:00
Travis CI User
1ddc63dc55 [maven-release-plugin][skip ci] prepare release 2.2.0-A5 2020-04-23 17:16:51 +00:00
David Edwards
410997689f
ATS-702: Add AIO tests from LibreOffice (#231)
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
2020-04-22 19:17:01 +01:00
Kristian Dimitrov
88116fc4af
ATS-728: Add optional Windows parameters for ImageMagickCommandExecutor (#229)
* ATS-728: Add optional Windows parameters for ImageMagickCommandExecutor

* ATS-728: Split logic

* ATS-728: Fix newly implemented AIOImageMagick tests
2020-04-22 11:32:23 +01:00
David Edwards
e2ba7676a6
ATS-702 Add AIOControllerTest for Imagemagick transforms (#208)
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>
2020-04-21 11:45:23 +01:00
Travis CI User
a233a47a87 [maven-release-plugin][skip ci] prepare for next development iteration 2020-04-20 13:36:14 +00:00
Travis CI User
03f050bfd2 [maven-release-plugin][skip ci] prepare release 2.2.0-A4 2020-04-20 13:36:07 +00:00
Travis CI User
205d1c76ec [maven-release-plugin][skip ci] prepare for next development iteration 2020-04-18 16:43:00 +00:00
Travis CI User
5c828be979 [maven-release-plugin][skip ci] prepare release 2.2.0-A3 2020-04-18 16:42:53 +00:00
Travis CI User
e62e919656 [maven-release-plugin][skip ci] prepare for next development iteration 2020-04-17 08:56:11 +00:00
Travis CI User
8d37fb4153 [maven-release-plugin][skip ci] prepare release 2.2.0-A2 2020-04-17 08:56:04 +00:00
Kristian Dimitrov
a1b6283a4c
ATS-669: Parameterize T-Engines transformer execution locations (#203)
* ATS-669: Implement cmd line arguments for ImageMagick, PdfRenderer and LibreOffice

* ATS-669: Remove unnecessary test ImageMagick line

* ATS-669: Implement Spring boot properties via application.yaml

* ATS-669: Implement Spring config binds and utilize new functionality in pdfRender

* ATS-669: Wire externalProps for ImageMagick

* ATS-669: Wire externalProps for LibreOffice

* ATS-669: Fix failing tests

* ATS-669: Implement parameterized execution for All-In-One transform module

* ATS-669: Use string values instead of GlobalProperties class

* ATS-669: Change pdfrenderer property format

* ATS-669: Add validation to executor constructors

* ATS-669: Fix failing LibreOffice tests

* ATS-669: Add missing license

* ATS-669: Update LibreOffice version

* ATS-669: Remove unnecessary annotation

* ATS-669: Standardise properties

* ATS-669: Change field variable names

* ATS-669: Change field variable values

* ATS-669: Add unit tests for passing system properties

* ATS-669: Standardise yaml properties

* ATS-669: Remove unnecessary super() calls

* ATS-669: Change CRLF to LF

* ATS-669: Change LF to CRLF

* ATS-669: Fix yaml indentation

* ATS-669: Update tika and misc yaml file with new sub-property

* ATS-669: Remove unused import

* ATS-669: Update TransformRegistryImpl property location
2020-04-16 16:32:01 +01:00
Jan Vonka
a0ebe96217 ATS-716: Bump pom's to 2.2.0-A2-SNAPSHOT (prep for 2.2.0-A2)
- mvn versions:set -DnewVersion=2.2.0-A2-SNAPSHOT
2020-04-16 13:46:10 +01:00
montgolfiere
7952c40ee5
ATS-706: Transform AIO - fix license log messages to be consistent on startup (#219)
- see also ATS-711
2020-04-14 19:25:14 +01:00
Travis CI User
afaa31a1db [maven-release-plugin][skip ci] prepare for next development iteration 2020-04-09 14:40:49 +00:00
Travis CI User
684d85cf53 [maven-release-plugin][skip ci] prepare release 2.2.0-TEST1 2020-04-09 14:40:41 +00:00
montgolfiere
24362d0590
ATS-676 - test release of T-Core (T-Engines) 2.2.0-TEST1 [trigger release] (#214)
* ATS-676 - test release of T-Core (T-Engines) 2.2.0-TEST1 [trigger release]

- bump pom.xml to 2.2.0-TEST1-SNAPSHOT
- as suggested increase time_wait from 30 to 55 mins (since 2.2.0-A1 may have timed-out)
2020-04-09 14:56:20 +01:00
Travis CI User
ebb4c2dcbb [maven-release-plugin][skip ci] prepare for next development iteration 2020-04-09 12:38:35 +00:00
Travis CI User
ee12dfe853 [maven-release-plugin][skip ci] prepare release 2.2.0-A1 2020-04-09 12:38:28 +00:00
montgolfiere
7ffafb4ece
ATS-676 - release alpha1 version of T-Core (T-Engines) 2.2.0-A1 [trigger release] (#213)
* ATS-676 - release alpha1 version of T-Core (T-Engines) 2.2.0-A1 [trigger release]

* ATS-676 Update License for net.jcip--jcip-annotations--1.0

* ATS-676 empty commit to [trigger release]

Co-authored-by: David Edwards <david.edwards@alfresco.com>
2020-04-09 12:01:58 +01:00
eknizat
af77d429e7
ATS-675:Add All-In-One transformer (#200)
* 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
2020-04-08 17:40:34 +01:00
kristian
7476bfebbf ATS-688: Fix ImageMagickControllerTest.optionsTest unit test 2020-03-30 12:26:10 +01:00
kristian
20f81b429b ATS-688: Fix ImageMagickControllerTest.optionsNegateBooleansTest unit test 2020-03-30 12:06:33 +01:00
kristian
b072c89694 ATS-688: Negate OptionsBuilder's maintainAspectRatio boolean 2020-03-30 09:33:38 +01:00
eknizat
3bed6930bf
ATS-671: Split engines into fat & skinny modules (ATS-674) (#192)
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>
2020-03-27 13:45:15 +00:00