647 Commits

Author SHA1 Message Date
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
eknizat
3bed6930bf
ATS-671: Split engines into fat & skinny modules (ATS-674) (#192)
Each transform engine project has been separated into 2 modules so that an executable and non-executable jar can be created. 
Modules have been renamed such that *docker* has been removed from the artifactIds and project names.

Co-authored-by: Erik Knizat <erik.knizat@alfresco.com>
Co-authored-by: David Edwards <david.edwards@alfresco.com>
2020-03-27 13:45:15 +00:00
dependabot-preview[bot]
d5c1aecb80
Bump spring-boot-starter-parent from 2.2.4.RELEASE to 2.2.6.RELEASE
Bumps spring-boot-starter-parent from 2.2.4.RELEASE to 2.2.6.RELEASE.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-26 22:14:34 +00:00
Denis Ungureanu
46b2e6df5b
ATS-468 : Add Veracode (SAST & SCA) scans to Transform Service Travis builds (#188)
- add SCA & SAST
   - use wildcards to reference jars' locations - a single static scan will be triggered
   - use sandbox based on git branch
   - use maven plugin for source clear scans
   - filter logs
2020-03-19 18:26:55 +02:00
dependabot-preview[bot]
7b81736954
Bump fabric8-maven-plugin from 4.4.0 to 4.4.1
Bumps [fabric8-maven-plugin](https://github.com/fabric8io/fabric8-maven-plugin) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/fabric8io/fabric8-maven-plugin/releases)
- [Changelog](https://github.com/fabric8io/fabric8-maven-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fabric8io/fabric8-maven-plugin/compare/v4.4.0...v4.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-18 22:19:06 +00:00
dependabot-preview[bot]
2e13888fc1
Bump maven-javadoc-plugin from 3.1.1 to 3.2.0
Bumps [maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
- [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.1.1...maven-javadoc-plugin-3.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-16 22:14:43 +00:00
dependabot-preview[bot]
78b83ba0d6
Bump dependency.jackson.version from 2.10.2 to 2.10.3
Bumps `dependency.jackson.version` from 2.10.2 to 2.10.3.

Updates `jackson-annotations` from 2.10.2 to 2.10.3
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Updates `jackson-databind` from 2.10.2 to 2.10.3
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Updates `jackson-core` from 2.10.2 to 2.10.3
- [Release notes](https://github.com/FasterXML/jackson-core/releases)
- [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.10.2...jackson-core-2.10.3)

Updates `jackson-datatype-jdk8` from 2.10.2 to 2.10.3

Updates `jackson-datatype-jsr310` from 2.10.2 to 2.10.3

Updates `jackson-module-parameter-names` from 2.10.2 to 2.10.3
- [Release notes](https://github.com/FasterXML/jackson-modules-java8/releases)
- [Commits](https://github.com/FasterXML/jackson-modules-java8/compare/jackson-modules-java8-2.10.2...jackson-modules-java8-2.10.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-03 22:14:21 +00:00
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 2.1.1 2020-02-25 13:28:52 +00:00
Lucian Tuca
da9c1192b8
ATS-649 : Release T-Engines (T-Core) 2.1.1 [trigger release] (#183)
- releasing
2020-02-25 14:59:57 +02: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
dependabot-preview[bot]
4962f5aa7d Bump fabric8-maven-plugin from 4.3.1 to 4.4.0
Bumps [fabric8-maven-plugin](https://github.com/fabric8io/fabric8-maven-plugin) from 4.3.1 to 4.4.0.
- [Release notes](https://github.com/fabric8io/fabric8-maven-plugin/releases)
- [Changelog](https://github.com/fabric8io/fabric8-maven-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fabric8io/fabric8-maven-plugin/compare/v4.3.1...v4.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-18 15:24:33 +02:00
montgolfiere
14488550d4
Merge pull request #177 from Alfresco/ATS-648
ATS-648: Update ActiveMQ tests
2020-02-07 15:48:11 +00:00