660 Commits

Author SHA1 Message Date
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
eknizat
4a46948648
There is an NPE in libreoffice when the external files are not present and debug is enabled (#218)
ATS-714: Fix NPE in libreoffice executor when the external files are not present and debug is enabled
2020-04-15 13:37:33 +01:00
montgolfiere
6c7a2246e3
ATS-718: Tweak Veracode SAST to only upload & scan delivered artefacts (#216)
* ATS-718: Tweak Veracode SAST to only upload & scan delivered artefacts
- ie. only upload runnable jars (Spring Boot apps) x6 (= x1 AIO core T-Engine  + x5 individual core T-Engines)
- see also ATS-711 / ATS-696 / ATS-468

* ATS-718: Tweak Veracode SAST to only run scan on master for now
- also logged ATS-721
2020-04-15 11:49:37 +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
evasques
8acff769b3
REPO-4919 - LibreOffice 6.3.5 (#201)
* REPO-4919 - LibreOffice 6.3.5
* REPO-4919 - updated LO version in alfresco-transform-core-aio-boot Dockerfile to 6.3.5
2020-04-14 15:55:37 +01:00
eknizat
612e378082
ATS-711: Update JavaDoc and format code (#217)
* Update JavaDoc and format code
* Add more tests
2020-04-14 14:08:21 +01:00
Jan Vonka
2702ec7a2d Dummy README commit (to trigger master build) 2020-04-14 13:03:51 +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 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 2.2.0-A1 2020-04-09 12:38:28 +00:00
Jan Vonka
1f96a74391 ATS-676 - release alpha1 version of T-Core (T-Engines) 2.2.0-A1 [trigger release]
- empty commit
2020-04-09 12:54:04 +01: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
montgolfiere
660c1c49c7
ATS-693: Update AIO java base image (#212)
- fallout from ATS-693 (see also DEPLOY-924 / ATS-655 / ATS-711)
2020-04-09 08:22:40 +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 Dimitrov
5c6782a3aa
ATS-691: Make path to test files OS agnostic (#197)
* ATS-691: Make path to test files OS agnostic

* ATS-691: Decode URL object in the method's return
2020-04-01 16:13:56 +01:00
montgolfiere
111fcfcc0e
Merge pull request #187 from Alfresco/dependabot/maven/dependency.jackson.version-2.10.3
Bump dependency.jackson.version from 2.10.2 to 2.10.3
2020-03-31 10:54:44 +01:00
montgolfiere
e877a3523c
Merge pull request #194 from Alfresco/dependabot/maven/org.springframework.boot-spring-boot-starter-parent-2.2.6.RELEASE
Bump spring-boot-starter-parent from 2.2.4.RELEASE to 2.2.6.RELEASE
2020-03-31 10:11:18 +01:00
montgolfiere
5d7c4aca39
Merge pull request #195 from Alfresco/fix/ATS-688_Imagemagick_T-Engine_does_not_maintain_the_aspect_ratio
WIP-ATS-688: Negate OptionsBuilder's maintainAspectRatio boolean
2020-03-30 12:47:17 +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
Jan Vonka
51c8a6c3a5 Revert "Bump fabric8-maven-plugin from 4.4.0 to 4.4.1"
This reverts commit 7b81736954249a0ffcffd86df8934cb60ddb861a.
2020-03-30 10:15:34 +01:00
kristian
b072c89694 ATS-688: Negate OptionsBuilder's maintainAspectRatio boolean 2020-03-30 09:33:38 +01:00
montgolfiere
6a0c747d95
Merge pull request #189 from Alfresco/dependabot/maven/org.apache.maven.plugins-maven-javadoc-plugin-3.2.0
Bump maven-javadoc-plugin from 3.1.1 to 3.2.0
2020-03-30 09:24:12 +01:00
montgolfiere
42569cd3b7
Merge pull request #190 from Alfresco/dependabot/maven/io.fabric8-fabric8-maven-plugin-4.4.1
Bump fabric8-maven-plugin from 4.4.0 to 4.4.1
2020-03-30 09:23:47 +01:00