535 Commits

Author SHA1 Message Date
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
montgolfiere
1cc1f03919
Merge branch 'master' into ATS-648 2020-02-07 15:23:35 +00:00
Cezar.Leahu
cd097f1988 ATS-656: Execute Maven commands in non-interactive mode 2020-02-07 16:28:38 +02:00
CezarLeahu
2cb1f1e0dc
Merge branch 'master' into ATS-648 2020-02-07 14:13:54 +02:00
montgolfiere
dd932644bb
Merge pull request #176 from Alfresco/ATS-655
ATS-655: Security: DEPLOY-924 - Update Dockerfiles to new Java Base Image
2020-02-07 09:45:17 +00: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
Lucian Tuca
063aa7809f
Merge pull request #175 from Alfresco/ATS-654
ATS-654 : ATS-649: Release Transform Model 1.0.2.8 component library
2020-01-29 11:41:41 +02:00
tzclucian
3da6beb66f ATS-654 : ATS-649: Release Transform Model 1.0.2.8 component library
- new release
2020-01-28 17:05:34 +02:00
montgolfiere
2b706ea473
Merge pull request #174 from Alfresco/dependabot/maven/io.fabric8-docker-maven-plugin-0.33.0
Bump docker-maven-plugin from 0.32.0 to 0.33.0
2020-01-23 11:27:03 +00:00
CezarLeahu
6c0710787c
Merge branch 'master' into dependabot/maven/io.fabric8-docker-maven-plugin-0.33.0 2020-01-22 17:32:01 +02:00
dependabot-preview[bot]
bb5d021712 Bump spring-boot-starter-parent from 2.2.3.RELEASE to 2.2.4.RELEASE
Bumps spring-boot-starter-parent from 2.2.3.RELEASE to 2.2.4.RELEASE.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-22 17:31:50 +02:00
dependabot-preview[bot]
5b64e14951
Bump docker-maven-plugin from 0.32.0 to 0.33.0
Bumps [docker-maven-plugin](https://github.com/fabric8io/docker-maven-plugin) from 0.32.0 to 0.33.0.
- [Release notes](https://github.com/fabric8io/docker-maven-plugin/releases)
- [Changelog](https://github.com/fabric8io/docker-maven-plugin/blob/master/doc/changelog.md)
- [Commits](https://github.com/fabric8io/docker-maven-plugin/compare/v0.32.0...v0.33.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-21 22:16:24 +00:00