535 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
dependabot-preview[bot]
950f0cfe50
Bump dom4j from 2.1.1 to 2.1.3 (#215)
ATS-751: Bumps [dom4j](https://github.com/dom4j/dom4j) from 2.1.1 to 2.1.3.
- [Release notes](https://github.com/dom4j/dom4j/releases)
- [Commits](https://github.com/dom4j/dom4j/compare/version-2.1.1...version-2.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-02 19:44:20 +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 2.2.2 2020-06-02 14:31:35 +00:00
Nebil Kisa
54530e2ff9
ATS-753: Release T-Core (T-Engines) 2.2.2 [trigger release] (#251)
Includes:
- ATS-731: An update to T-Core for Legacy: Add missing config for any remaining "legacy transformers" (that still bypass config)
- ATS-735: Update ImageMagick to 7.0.10 (from 7.0.7) - note: will be part of ATS 1.3.0
2020-06-02 14:38:59 +01:00
montgolfiere
2e82eb1b7c
ATS-764: Tweak Veracode SAST to see if we can get it to succeed (#250)
- only run for Core AIO (which combines the other x5)
- TODO see if we can tweak further and not upload -tests.jar

- see also ATS-468, ATS-718
2020-06-02 09:12:19 +01: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
Alan Davis
b538b809d7
REPO-5188 SourceEncoding should not be used to select transforms as i… (#249)
* REPO-5188 SourceEncoding should not be used to select transforms as it is always provided to T-Engines

* Fix test. Now that SourceEncoding is in the options but is not used to select the transformer, we need to add another
option to force the use of the textToPdf transform rather than libreoffice.
2020-06-01 14:30:10 +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 2.2.1 2020-05-01 14:59:16 +00:00
David Edwards
3b55fe4ca7
ATS-743 [trigger release] T-Engines-2.2.1 (#240) 2020-05-01 15:10:13 +01: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
montgolfiere
30019d78a6
ACS-113: Increase Office->PDF default size limits (via LibreOffice) (#239)
* ACS-113: Increase Office->PDF default size limits (via LibreOffice)

- increase OOXML formats (to be equivalent to current classic formats plus a bit)
  - make docx/xlsx 15 MiB
  - make pptx 40 MiB
- also increase classic format by additional 20% over OOXML formats
  - make docx/xlsx 18 MiB
  - make pptx 48 MiB

* ACS-113: Increase Office->PDF default size limits (via LibreOffice)

- follow-up based on PR reviews (thanks Erik - nice catch !)
2020-04-30 14:17:07 +01:00
eknizat
1e7cae8707
AT-711: Tidy up logging (#237)
* Tidy up logging
* Move AIOTransformRegistryTest to the same package as AIOTransformRegistry
2020-04-29 09:44:05 +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 2.2.0 2020-04-24 13:06:01 +00:00
David Edwards
9359834d4a ATS-708: Release T-Core (T-Engines) 2.2.0 [trigger release] 2020-04-24 12:32:37 +01: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 2.2.0-A5 2020-04-23 17:16:51 +00:00
Erik Knizat
b97948bba8 ATS-730: Bump T-Model (1.0.2.8 -> 1.0.2.10) [trigger release] 2020-04-23 17:35:01 +01:00
David Edwards
0eda874c82
ATS-702 Add AIO tests from Misc Transformers (#234) 2020-04-23 12:35:27 +01:00
David Edwards
bcb6626965 Revert "ATS-702 Add AIO tests from Misc Transformers (#230)"
This reverts commit b69a17a2a3d7c76ef3344c2fee0bf6c624fae9fb.
2020-04-23 11:23:31 +01:00
David Edwards
b69a17a2a3
ATS-702 Add AIO tests from Misc Transformers (#230)
Add Misc transforms AIO tests
Add Misc IT through AIO
Remove accidental commit.

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-23 11:05:40 +01: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
David Edwards
6320e04b64
ATS-702 Add AIO tests from Pdf Renderer (#233)
* ATS-702 implement AIOControllerTikaTest

* ATS-702 Implement PDFIT in AIO
2020-04-22 16:55:30 +01:00
David Edwards
cd16637143
ATS-702 Add AIO tests from Tika (#232)
* ATS-702 - Implement Tika controller tests on AIO

* ATS-702 - Add Tika IT through AIOController
2020-04-22 15:50:20 +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
Jan Vonka
110ac1414c ATS-665: Tweak standard lic message (space / newline) 2020-04-21 11:23:48 +01:00
montgolfiere
12a6b35dcd
Minor updates to README.md 2020-04-20 21:20:24 +01:00
David Edwards
352388832d
ATS-724 Parallel Travis builds (#223)
* Split Build and test into separate jobs.
2020-04-20 16:10:32 +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 2.2.0-A4 2020-04-20 13:36:07 +00:00
eknizat
23e837609b
ATS-707: add transformName override (#228) [trigger release]
* Provide a way for Legacy ACS transformers to specify the transform to perform
2020-04-20 13:47:22 +01: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 2.2.0-A3 2020-04-18 16:42:53 +00:00
eknizat
57e4ea4381
ATS-707: Update engine config (#227) [trigger release]
* add commandOptions for backwards compatibility
* add missing html to pdf support for libreoffice
2020-04-18 16:51:52 +01: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 2.2.0-A2 2020-04-17 08:56:04 +00:00
montgolfiere
4a0faecdd2
ATS-716: Release T-Core (T-Engines) 2.2.0-A2 [trigger release] (#226) 2020-04-17 09:06:45 +01:00
Kristian Dimitrov
a8c60f4f9c
ATS-720: Fix HTML Test Form (#225)
* ATS-720: Fix HTML Test Form

* ATS-720: Fix HTML form indentation and ordering

* ATS-720: Fix logs location and title

* ATS-720: Remove logs entries css
2020-04-16 22:32:48 +01: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
David Edwards
c66f691a10
ATS-725(REPO-4919) Update LibreOffice to 6.3.5 in cache_artifacts.sh (#224) 2020-04-16 12:11:41 +01:00
eknizat
4af5fdd538
ATS-711: Fix typos in controller
Some regression typos in the controller
2020-04-15 20:08:28 +01:00
montgolfiere
0bd6624d00
ATS-665: Update standard license log message on startup for all T-Engines (#221)
- also minor fix for Misc to be consistent with other T-Engines
- see also ATS-711
2020-04-15 19:27:02 +01:00
Jan Vonka
b96b574226 ATS-718: Tweak Veracode SAST to only run scan on master for now
- try again master and not PR (note: pushed to master since this should only run on master)
- see also future ATS-721
2020-04-15 19:24:40 +01:00
Jan Vonka
0137aa9fba ATS-718: Tweak Veracode SAST to only run scan on master for now
- fix blatant typo (on master since this should only run on master)
- see also future ATS-721
2020-04-15 14:21:41 +01:00