88 Commits

Author SHA1 Message Date
David Edwards
804c745004
ATS-893 Add Exiftool to docker containers & add licences (#384)
* ATS-893 Add Exiftool to docker containers & add licences
2021-04-28 14:44:31 +01:00
dependabot-preview[bot]
42bacbb879
Bump alfresco/alfresco-base-java (#380)
Bumps alfresco/alfresco-base-java from `343c8f6` to `80b3611`.

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-27 15:08:52 +01:00
David Edwards
03d08d0c9e
MNT-22082 transformation of pdf to text hang (#367)
A new constructor has been added to the TikaController to provide
the new spring config.
The creation of the TikaExecutor has been moved to "singleton pattern" as
the injection of the @Value happens after the instantiation of the
TikaJavaExecutor and does not pass the value correctly. The
instantiation is now done once, on the first transform request.
Param has been added to the AIO beans.
2021-04-13 09:59:42 +01:00
Travis CI User
79a48ac385 [maven-release-plugin][skip ci] prepare for next development iteration 2021-03-08 19:06:03 +00:00
Travis CI User
156196dc95 [maven-release-plugin][skip ci] prepare release 2.3.10 2021-03-08 19:05:58 +00:00
Travis CI User
ed7e0c76df [maven-release-plugin][skip ci] prepare for next development iteration 2021-03-08 16:27:11 +00:00
Travis CI User
2e4a4639e1 [maven-release-plugin][skip ci] prepare release 2.3.9 2021-03-08 16:27:06 +00:00
dependabot-preview[bot]
9fac5392e6
Bump alfresco/alfresco-base-java (#354)
Bumps alfresco/alfresco-base-java from `e45f5e0` to `343c8f6`.

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-08 10:32:18 +00:00
dependabot-preview[bot]
fec52dfb8d
Bump alfresco/alfresco-base-java (#345)
Bumps alfresco/alfresco-base-java from `9fbcc4d` to `e45f5e0`.

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-04 10:00:20 +00:00
Travis CI User
adc7e291db [maven-release-plugin][skip ci] prepare for next development iteration 2021-02-18 16:07:41 +00:00
Travis CI User
310a20f049 [maven-release-plugin][skip ci] prepare release 2.3.8 2021-02-18 16:07:36 +00:00
David Edwards
b1ada4a982
ACS-1185 Update activemq image to 5.16.1 (#341) 2021-02-18 10:32:25 +00:00
dependabot-preview[bot]
6c310178f1
Bump alfresco/alfresco-base-java (#338)
Bumps alfresco/alfresco-base-java from `f498c31` to `9fbcc4d`.

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-17 10:53:36 +00:00
montgolfiere
b527d49f3b
ATS-863: Update to latest Java Base Image on CentOS 8 (& Open JDK 11.0.10) (#333)
* ATS-863: Update to latest Java Base Image on CentOS 8 (& Open JDK 11.0.10)

- to resolve 2 medium (at time of writing) in quay.io
- update to CentOS 7 to 8 (aligned with Repo decision)

* ATS-863: Update to latest Java Base Image on CentOS 8 (& Open JDK 11.0.10)

- to resolve 2 medium (at time of writing) in quay.io
- update to CentOS 7 to 8 (aligned with Repo decision)

- also update ImageMagick from 7.0.10-11 to 7.0.10-59 - see also ACS-1174
2021-02-15 15:49:04 +00:00
Alan Davis
2766c23431
MNT-20626 XML files having UTF-16LE and UTF-16BE can't be previewed (#331)
* Introduce more flexible reading of UTF-16 data, where there may be a BOM, but the
   spec says there should not be one, or the BOM is clearly wrong when looking at the
   following characters. The https://en.wikipedia.org/wiki/UTF-16 write up is nice and clear.
* Includes identical correction in data setup in AIOTransformRegistryTest and
   MicsControllerTest for a problem found in TextToPdfContentTransformerTest.
 * Includes upgrade to latest pdfbox: 2.0.22
2021-02-09 19:04:34 +00:00
Travis CI User
c5d7791cb5 [maven-release-plugin][skip ci] prepare for next development iteration 2021-02-02 06:40:35 +00:00
Travis CI User
969968a70e [maven-release-plugin][skip ci] prepare release 2.3.7 2021-02-02 06:40:28 +00:00
Nebil Kisa
537da0c8b6
ATS-851: Release ATS 1.3.2-A1 [trigger release] (#328) 2021-02-01 19:13:25 +00:00
David Edwards
ef21365e00
ACS-930 Security update to spring boot 2.4.1 (#321)
* ACS-930 Upgrade to Junit5
2021-01-15 10:31:25 +00:00
Alan Davis
2fd11d5aed
REPO-5191 Bug: T-Engine should provide mapping rather than the repo. (#316)
Bug found while reviewing documents on how to create a custom metadata extractor. The original refactor had left the repo doing the mapping. It should have been passing the fully qualified repo properties to the T-Engine to do the mapping.

Linked to:
    Alfresco/alfresco-community-repo#227
    Alfresco/acs-packaging#1826
2021-01-06 22:25:40 +00:00
David Edwards
6da39399db
ACS-930 security update to Spring Boot 2.4.1 (#318)
* ACS-930 Update Spring boot to 2.4.1

* ACS-930 Update missing dependencies
2021-01-06 09:23:48 +00:00
Travis CI User
f0fb98f238 [maven-release-plugin][skip ci] prepare for next development iteration 2020-11-19 20:13:18 +00:00
Travis CI User
d95120fdf4 [maven-release-plugin][skip ci] prepare release 2.3.6 2020-11-19 20:13:11 +00:00
Alan Davis
00fbb6405a
ATS-829 Release T-Engines 2.3.6 (#307)
ATS-829: Release T-Core (T-Engines) 2.3.6 [trigger release]

Linked to REPO-5219 Allow AGS AMP to specify metadata extract mapping

Added an extractMapping transform option to all metadata extractors to override the default one.

3rd party libraries to get a green build.
* Upgrade cxf-rt-transports-http and woodstox-core to avoid issues
* Upgrade to org.springframework.boot:spring-boot-starter-parent:2.3.5.RELEASE to avoid problem in org.springframework:spring-web
* Upgrade to activemq 5.15.13 to avoid problem in activemq-broker 5.15.12
2020-11-19 18:35:22 +00:00
Travis CI User
3ef6a7a788 [maven-release-plugin][skip ci] prepare for next development iteration 2020-09-25 08:53:59 +00:00
Travis CI User
37c4f682fa [maven-release-plugin][skip ci] prepare release 2.3.5 2020-09-25 08:53:53 +00:00
Alexandru-Eusebiu Epure
32e48b413b
MNT-21869 libreoffice timeout set too high (#295)
* MNT-21869 libreoffice timeout set too high
   Reduce default value of timeout for libreoffice from 2000min to 20min
   Add option to configure libreoffice timeout externally.
   Enable to configure externally the port on which the app starts.
  Add external-engine-configuration.md
2020-09-25 10:54:06 +03:00
Travis CI User
608fdc1ab4 [maven-release-plugin][skip ci] prepare for next development iteration 2020-08-06 15:09:04 +00:00
Travis CI User
b7c4ca02cc [maven-release-plugin][skip ci] prepare release 2.3.4 2020-08-06 15:08:57 +00:00
Travis CI User
33eff2d8d7 [maven-release-plugin][skip ci] prepare for next development iteration 2020-08-03 10:10:09 +00:00
Travis CI User
66ff8a950c [maven-release-plugin][skip ci] prepare release 2.3.3 2020-08-03 10:10:01 +00:00
David Edwards
7c10f3fbf4
ATS-817 update base image to 11.0.7-openjdk-centos-7-dcd8edf6cb70 (#282) 2020-07-31 09:20:06 +01:00
Travis CI User
4646e016d6 [maven-release-plugin][skip ci] prepare for next development iteration 2020-07-02 16:04:21 +00:00
Travis CI User
03f37d5004 [maven-release-plugin][skip ci] prepare release 2.3.2 2020-07-02 16:04:13 +00:00
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 2020-06-24 17:07:15 +00: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
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 2020-06-16 17:34:17 +00: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 2020-06-15 17:20:51 +00: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
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
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