51 Commits

Author SHA1 Message Date
montgolfiere
a8366eadab
Merge pull request #182 from Alfresco/dependabot/maven/dependency.pdfbox.version-2.0.19
Bump dependency.pdfbox.version from 2.0.18 to 2.0.19
2020-03-03 13:15:35 +00:00
Travis CI User
a494e724bf [maven-release-plugin][skip ci] prepare for next development iteration 2020-02-25 13:28:58 +00:00
Travis CI User
228a802513 [maven-release-plugin][skip ci] prepare release 2.1.1 2020-02-25 13:28:52 +00:00
dependabot-preview[bot]
96dd86a72e
Bump dependency.pdfbox.version from 2.0.18 to 2.0.19
Bumps `dependency.pdfbox.version` from 2.0.18 to 2.0.19.

Updates `pdfbox` from 2.0.18 to 2.0.19

Updates `pdfbox-tools` from 2.0.18 to 2.0.19

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 22:13:17 +00:00
CezarLeahu
2cb1f1e0dc
Merge branch 'master' into ATS-648 2020-02-07 14:13:54 +02:00
Jan Vonka
c38cb2b729 ATS-648: Update ActiveMQ tests
- ActiveMQ 5.15.8 (from 5.15.6)
2020-02-06 11:41:21 +00:00
Jan Vonka
dd7c004c47 ATS-655: Security: DEPLOY-924 - Update Dockerfiles to new Java Base Image (11.0.1-openjdk-centos-7-72b88c6f1f4c) 2020-02-06 11:17:35 +00:00
dependabot-preview[bot]
1fb030563d Bump dependency.pdfbox.version from 2.0.17 to 2.0.18 (#163)
Bumps `dependency.pdfbox.version` from 2.0.17 to 2.0.18.

Updates `pdfbox` from 2.0.17 to 2.0.18

Updates `pdfbox-tools` from 2.0.17 to 2.0.18

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

Co-authored-by: CezarLeahu <35226487+CezarLeahu@users.noreply.github.com>
2020-01-20 12:17:38 +02:00
DenisGabriela
a718a39724 ATS-636 : Security: DEPLOY-904 - Update Dockerfiles (ATS & AI-CE) to new Java Base Image (Open JDK 11.0.1) 2019-12-19 16:21:55 +02:00
DenisGabriela
addcba9652
ATS-627 : Security: DEPLOY-886 - Update Dockerfiles (ATS & AI-CE) to new Java Base Image (Open JDK 11.0.1) (#158) 2019-12-06 12:10:06 +02:00
Travis CI User
88733eaca4 [maven-release-plugin][skip ci] prepare for next development iteration 2019-10-28 10:33:41 +00:00
Travis CI User
f69e4f6179 [maven-release-plugin][skip ci] prepare release 2.1.0 2019-10-28 10:33:35 +00:00
Lucian Tuca
fbe87a6460
ATS-440 (#149)
ATS-440: ATS: T-Engines - release 2.1.0
   - preparing next release
2019-10-28 11:20:52 +02:00
Travis CI User
e318894cd0 [maven-release-plugin][skip ci] prepare for next development iteration 2019-10-25 16:05:42 +00:00
Travis CI User
12620cd0bf [maven-release-plugin][skip ci] prepare release 2.1.0-RC4 2019-10-25 16:05:36 +00:00
Travis CI User
1f48525b56 [maven-release-plugin][skip ci] prepare for next development iteration 2019-10-08 09:03:34 +00:00
Travis CI User
bd878d1439 [maven-release-plugin][skip ci] prepare release 2.1.0-RC3 2019-10-08 09:03:28 +00:00
dependabot-preview[bot]
72d4e27276 Bump dependency.pdfbox.version from 2.0.16 to 2.0.17
Bumps `dependency.pdfbox.version` from 2.0.16 to 2.0.17.

Updates `pdfbox` from 2.0.16 to 2.0.17

Updates `pdfbox-tools` from 2.0.16 to 2.0.17

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-24 11:14:57 +03:00
Travis CI User
694cd5dddd [maven-release-plugin][skip ci] prepare for next development iteration 2019-09-20 09:50:33 +00:00
Travis CI User
f9a2ec59ec [maven-release-plugin][skip ci] prepare release 2.1.0-RC2 2019-09-20 09:50:27 +00:00
dependabot-preview[bot]
b24b9e5dba Bump dependency.poi.version from 3.17 to 4.1.0 (#33)
* Bump dependency.poi.version from 3.17 to 4.1.0

Bumps `dependency.poi.version` from 3.17 to 4.1.0.

Updates `poi` from 3.17 to 4.1.0

Updates `poi-ooxml` from 3.17 to 4.1.0

Updates `poi-scratchpad` from 3.17 to 4.1.0

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

* Set version 4.0.1 for POI dependencies across all T-Engines
2019-09-16 15:08:06 +03:00
CezarLeahu
c650bf292c
ATS-545: Code formatting and small improvements (#113) 2019-09-12 16:46:48 +03:00
alandavis
d6777b58eb REPO-4639 Content conversion failed using Tika (#108)
* REPO-4639: Split tika engine_config.json into separate transformers.

* WIP: REPO-4639 Content conversion failed using Tika

The Tika T-Engine "transform" option does not exist when called via the Transform Service or Local transforms, which resulted in no transforms taking place. However this value is really not be needed as the T-Engine should be able to read its own engine_config.xml to work out which sub transform to use. Transforms only worked via Legacy transforms, which used a T-Engine.

This code is based on tried and tested ACS repository code. It has been further simplified.

TODO:
- replace the ConfigFileFinder class just added with something that uses Spring to read the JSON. i.e. simplify it.
- replace the CombinedConfig class just added with something that does not need the InLineTransformer. i.e. simplify it.
- create tests based on the repo tests
- remove the source and target mimetype checks in Tika as a check against engine_config.xml is cleaner.
- repeat the process for the Misc T-Engine as it has similar code checking source and target mimetypes.
- remove the transform option passed by the legacy transforms.

* Removed CombindConfig and ConfigFileFnder classes.

* Extracted AbstractTransformRegistry so that it may be used in the ACS repository too.

TODO AbstractTransformRegistry and AbstractTransformRegistry need to be moved to the alfresco-transform-model pakage

* tidy up only

* REPO-4639: Add priority to duplicate transforms.

* REPO-4639: Refactor TikaTransformationIT to use the new Tika /transform specifications
Changes AbstractTransformerControllerTest as the engine_config is now loaded in TransformRegistryImpl instead of AbstractTransformerController

* Rename to TransformServiceRegistry, so we don't have to change the repo code.

* Added the baseUrl parameter to the register method and fixed the missed rename in the last commit.

* Javadoc change only

* Moved common classes (with repo) AbbstractTransformRegistry and TransformServiceRegistry to alfresco-transform-model

* Replace (simplify) all the isTransformable calls with a check against the JSON.
- Tests now only pass targetEncoding to the 'string' transformer.

* Fix failing tests.

* Revert port change

* REPO-4639 : Add priorities to misc engine_config

* REPO-4639 : Add priorities to pdf-renderer and  imagemagick engine_config

* Remove test that is @Ignored

* Pick up alfresco-transformer-model 1.0.2.7-REPO-4639-1

* REPO-4639 : Add priorities to libreoffice engine_config

* REPO-4639 : Add priorities to tika engine_config

* REPO-4639 : Remove all priorities with value equal to 50 (default) from engine_config

* Switch over to using TransformServiceRegistry in org.alfresco.transform.client.registry
Reintroduce the noExtensionSourceFilenameTest having removed @Ignore.

* New whitesource issue on commons-compress 1.18. Upgrading to 1.19.

* Removed the text/javascript -> text/plain test as this is not supported

* Modifications as a result of changes to method names in alfresco-transform-model

* Pick up alfresco-transform-model 1.0.2.7-ATS545-2

* Remove unused imports
2019-09-12 15:34:42 +03:00
Cezar.Leahu
614bdbe52f Merge branch 'release' 2019-09-03 15:53:04 +03:00
Alexandru-Eusebiu Epure
bcd6fefe4d
REPO-4617 Add missing source types for T-engines (#95)
Update missing sourceMediaType -> targetMediaType for alfresco-pdf-renderer
   Update missing sourceMediaType -> targetMediaType for imagemagick
   Update missing sourceMediaType -> targetMediaType for tika libreoffice
   Update missing sourceMediaType -> targetMediaType for tika
   Update missing sourceMediaType -> targetMediaType for misc transformer
   Add T-engine Integration Tests
   Fix JavaDoc warnings
   Add sample files for tested mimetypes
2019-09-03 13:34:07 +03:00
eknizat
3806ef2f25
REPO-4616: Add EMLTransformer to the Misc T-Engine (#96)
* REPO-4616: Add EMLTransformer to the Misc T-Engine
2019-08-28 09:59:54 +01:00
Travis CI User
cf428fd7c0 [maven-release-plugin][skip ci] prepare for next development iteration 2019-08-27 12:25:42 +00:00
Travis CI User
ae0d133bfa [maven-release-plugin][skip ci] prepare release 2.1.0-RC1 2019-08-27 12:25:36 +00:00
Lucian Tuca
c2f475cd57
ATS-490 : ATS: T-Engines - release 2.1.0-RC1 (#101)
* ATS-490 : ATS: T-Engines - release 2.1.0-RC1
   - releasing

* ATS-490 : ATS: T-Engines - release 2.1.0-RC1
   - releasing
2019-08-27 14:17:38 +03:00
CezarLeahu
d9747f015d
ATS-466/ATS-538/ATS-539: Incorporate Misc T-Engine in ATS (#98)
- fix multiple Misc Transformer bugs related to file mimeTypes
- remove usage of 'source/targetMimetype' as transform options/parameters
- add 'source/targetMimetype' arguments to the 'processTransform' method
- remove unnecessary code (e.g. useless overridden methods)
- add quick* test resource files
- add integration test for 'Local Transformations' on the Misc engine
- set up Integration Tests POM configuration for all T-Engine modules
2019-08-26 13:59:38 +03:00
Cezar.Leahu
9c2661d13a ATS-466 : Incorporate Misc T-Engine 2019-08-23 17:58:48 +03:00
CezarLeahu
bb187dc00f
ATS-488 : Remove alfresco-core dependency (#90)
- remove *alfresco-core* dependency
- remove *alfresco-data-model* dependency
- replace _TempFileProvider_ with local implementation
- duplicate _RuntimeExec_ and _ExecParameterTokenizer_ from alfresco-core
- partially duplicate _MimetypeMap_ from alfresco-data-model
2019-08-20 10:05:39 +03:00
CezarLeahu
22de0ce5df
ATS-532 : Code improvements (#89)
- move startup message from controllers to the Application classes (SpringBoot configuration beans)
- added static imports for most static variables and static methods
- simplified a few nested *if*s
- replaced Arrays.asList() with explicit immutable collections
- fixed a few IntelliJ code inspection warnings
2019-08-18 18:45:14 +03:00
Cezar.Leahu
485347729b ATS-531 : Reformat code 2019-08-14 22:46:36 +03:00
Travis CI User
89af165a5f [maven-release-plugin][skip ci] prepare for next development iteration 2019-07-11 14:06:22 +00:00
Travis CI User
b68beb3105 [maven-release-plugin][skip ci] prepare release alfresco-transform-core-2.1.0-EA4 2019-07-11 14:06:16 +00:00
aftene
7353479ff1 ATS-473 - ATS: T-Engines 2.1.0-EA4 release
- revert update alfresco-transform-model dependency to the latest version in alfresco-transform-core
2019-07-11 16:07:14 +03:00
aftene
13e665ec4d ATS-473 - ATS: T-Engines 2.1.0-EA4 release
- update alfresco-transform-model dependency to the latest version in alfresco-transform-core
2019-07-11 14:26:49 +03:00
Jan Vonka
74fc0162b1 ATS-487: Security: DEPLOY-734 - Update Dockerfiles (x5 T-Engines) to new Java Base Image (Open JDK 11.0.1) 2019-07-10 17:12:50 +01:00
CezarLeahu
3e4f6af0e4
ATS-467 : JMS config startup message (#72) 2019-07-10 13:42:28 +03:00
Lucian Tuca
1ae2dd745a Merge branch 'master' into ATS-460 2019-07-09 12:11:05 +03:00
Jan Vonka
c7fd2acd85 ATS-481: Temp workaround attempt to update from dom4j 1.6.1 to 2.1.1 (pending REPO-4514)
- transitive dependency (alfresco-core <- spring-surf-core-configservice)
2019-07-08 17:11:39 +01:00
Lucian Tuca
f1edbb71e9 ATS-460 : ATS: T-Engines - Update license information to *not* refer to Enterprise edition
- updated controller line
2019-07-08 11:40:29 +03:00
CezarLeahu
be48c8e7a9
ATS-467 : T-Engine logs fill up with ActiveMQ errors when used in ACS Community edition
- instantiate JMS beans only when 'activemq.url' property is set
- fix integration tests
2019-07-05 11:39:39 +03:00
Jan Vonka
ae4143ccc6 ATS-465: Security: DEPLOY-714 - Update Dockerfiles (ATS) to new Java Base Image (Open JDK 11.0.1)
- core T-Engines
2019-07-03 16:01:11 +01:00
eknizat
28158ec48b
REPO-4331: Update target file size check (#66)
* REPO-4331: Transformers should not throw an exception when source and target files are empty
2019-07-02 10:13:33 +01:00
dependabot-preview[bot]
34221402b6 Bump dependency.pdfbox.version from 2.0.15 to 2.0.16
Bumps `dependency.pdfbox.version` from 2.0.15 to 2.0.16.

Updates `pdfbox` from 2.0.15 to 2.0.16

Updates `pdfbox-tools` from 2.0.15 to 2.0.16

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 14:40:21 +03:00
Travis CI User
97aab57432 [maven-release-plugin][skip ci] prepare for next development iteration 2019-06-25 08:42:58 +00:00
Travis CI User
ff10ca13ae [maven-release-plugin][skip ci] prepare release alfresco-transform-core-2.1.0-EA3 2019-06-25 08:42:52 +00:00
CezarLeahu
43b586a565
ATS-443 : Dependency updates (#59) 2019-06-24 17:41:51 +03:00