555 Commits

Author SHA1 Message Date
Travis CI User
8cdbc00424 [maven-release-plugin][skip ci] prepare for next development iteration 2020-06-24 17:07:23 +00:00
Travis CI User
b92f6794ac [maven-release-plugin][skip ci] prepare release 2.3.1 2.3.1 2020-06-24 17:07:15 +00:00
Nebil Kisa
20be8ccec6 ATS-791: Release T-Core (T-Engines) 2.3.1 [trigger release] 2020-06-24 17:21:00 +01:00
Nebil Kisa
f594c5ead1
ATS-791: Release T-Core (T-Engines) 2.3.1 [trigger release] (#265) 2020-06-24 13:01:15 +01:00
eknizat
522c793970
ACS-373: Fix tika proble UnsupportedOperationException (#264) 2020-06-23 16:52:49 +01:00
David Edwards
d3defc8071
ATS-790 Update Java base image: 11.0.7-openjdk-centos-7-9448dd21de19 (#263)
alfresco/alfresco-base-java:11.0.7-openjdk-centos-7-9448dd21de19
2020-06-23 13:55:21 +01:00
Ayman Harake
14e70b9785
ATS-762: T-Core Legacy Part 2 - Legacy Pipeline additions (was: review failing legacy transforms) (#262)
* ATS-762: Add Tika unit test for pdf to csv

* ATS-762: Fix indentation

* ATS-762: Added 3 tests for simple pipepline. msg > txt, txt > doc, txt > odt, txt > rtf

* ATS-762: Added tests for libreofficeToPdf pipeline

* ATS-762: Addressed Jan's comment about not using asterisk when importing modules

* ATS-762: Changed comment to pdf-->csv to address Jan's comment on the PR

* task/ATS-762_T: noticed the txt mime type was wrong so fixed it

Co-authored-by: kristian <kristian.dimitrov@alfresco.com>
2020-06-19 18:03:56 +01:00
Alan Davis
38f7a8cc9c
REPO-5201 Update README on how to create a T-Engine (#261)
Reflects changes to AbstractTransformerController that simplify the number of methods that need to be implemented.
2020-06-17 13:00:33 +01:00
Travis CI User
76457cb6e8 [maven-release-plugin][skip ci] prepare for next development iteration 2020-06-16 17:34:27 +00:00
Travis CI User
5da2a54ff1 [maven-release-plugin][skip ci] prepare release 2.3.0 2.3.0 2020-06-16 17:34:17 +00:00
Nebil Kisa
e6ee49db8b
ATS-779: Release T-Core (T-Engines) 2.3.0 [trigger release] (#260)
Update T-Engines from 2.2.3 to 2.3.0.
2020-06-16 17:54:50 +01:00
Jan Vonka
bb939596ad ATS-779: Bump to 2.3.0-SNAPSHOT
- as per new T-Base "transformImpl" (see ATS-777 / REPO-4334)
2020-06-16 14:50:22 +01:00
Alan Davis
d495459b9b
ATS-777 / REPO-4334: Move metadata extraction into T-Engines (#256)
* REPO-4334 Move metadata extraction into T-Engines
- new "transformImpl" required (processTransform deprecated)
- JavaDoc

Co-authored-by: Jan Vonka <jan.vonka@alfresco.com>
2020-06-16 14:41:49 +01:00
Travis CI User
401fcaf2ca [maven-release-plugin][skip ci] prepare for next development iteration 2020-06-15 17:20:58 +00:00
Travis CI User
f5025483f2 [maven-release-plugin][skip ci] prepare release 2.2.3 2.2.3 2020-06-15 17:20:51 +00:00
Nebil Kisa
ddad9cb716
ATS-767: Release T-Core (T-Engines) 2.2.3 [trigger release] (#259)
Release T-Core (T-Engines) 2.2.3 [trigger release]
2020-06-15 17:46:31 +01:00
Abdul Mohammed
66917c3744
Merge pull request #255 from Alfresco/fix/MNT-21487-use-full-ooxml-jar
MNT-21487: Switch from smaller schemas jar (poi-ooxml-schemas) to the full jar (ooxml-schemas)
2020-06-12 11:54:06 +01:00
Alan Davis
06109dee75
REPO-4334 Move metadata extraction into T-Engines (#247)
* 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.
2020-06-11 20:20:22 +01:00
Abdul Mohammed
ca768c7964 Replace poi-ooxml-schemas with ooxml-schemas 2020-06-11 15:13:18 +01:00
montgolfiere
ca394440bb
ATS-770: Tech Debt: Transforms - Tiff (via ImageMagick) - add unit tests for supported transforms (#254)
* 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)
2020-06-11 13:47:56 +01:00
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