963 Commits

Author SHA1 Message Date
alandavis
7f4ab9e7c8 [release] 3.0.0-A1 2022-09-14 13:53:01 +01:00
Alan Davis
babe26b0ba
HXENG-64 refactor ATS (#657)
Refactor to clean up packages in the t-model and to introduce a simpler to implement t-engine base.

The new t-engines (tika, imagemagick, libreoffice, pdfrenderer, misc, aio, aspose) and t-router may be used in combination with older components as the API between the content Repo and between components has not changed. As far as possible the same artifacts are created (the -boot projects no longer exist). They may be used with older ACS repo versions.

The main changes to look for are:
* The introduction of TransformEngine and CustomTransformer interfaces to be implemented.
* The removal in t-engines and t-router of the Controller, Application, test template page, Controller tests and application config, as this is all now done by the t-engine base package.
* The t-router now extends the t-engine base, which also reduced the amount of duplicate code.
* The t-engine base provides the test page, which includes drop downs of known transform options. The t-router is able to use pipeline and failover transformers. This was not possible to do previously as the router had no test UI.
* Resources including licenses are automatically included in the all-in-one t-engine, from the individual t-engines. They just need to be added as dependencies in the pom. 
* The ugly code in the all-in-one t-engine and misc t-engine to pick transformers has gone, as they are now just selected by the transformRegistry.
* The way t-engines respond to http or message queue transform requests has been combined (eliminates the similar but different code that existed before).
* The t-engine base now uses InputStream and OutputStream rather than Files by default. As a result it will be simpler to avoid writing content to a temporary location.
* A number of the Tika and Misc CustomTransforms no longer use Files.
* The original t-engine base still exists so customers can continue to create custom t-engines the way they have done previously. the project has just been moved into a folder called deprecated.
* The folder structure has changed. The long "alfresco-transform-..." names have given way to shorter easier to read and type names.
* The t-engine project structure now has a single project rather than two. 
* The previous config values still exist, but there are now a new set for config values for in files with names that don't misleadingly imply they only contain pipeline of routing information. 
* The concept of 'routing' has much less emphasis in class names as the code just uses the transformRegistry. 
* TransformerConfig may now be read as json or yaml. The restrictions about what could be specified in yaml has gone.
* T-engines and t-router may use transform config from files. Previously it was just the t-router.
* The POC code to do with graphs of possible routes has been removed.
* All master branch changes have been merged in.
* The concept of a single transform request which results in multiple responses (e.g. images from a video) has been added to the core processing of requests in the t-engine base.
* Many SonarCloud linter fixes.
2022-09-14 13:40:19 +01:00
tiagosalvado10
ea83ef9ebc
Merge pull request #665 from Alfresco/MNT-22398_handle-utf-bom
[MNT-22398] Handle UTF-8 BOM
2022-09-12 11:49:50 +01:00
Vítor Moreira
9308cce484
Merge pull request #669 from Alfresco/feature/ACS-3492_bump_snakeyaml_to_1_31
ACS-3492: bump snakeyaml version to 1.31
2022-09-06 16:25:59 +01:00
Vitor Moreira
0ab9d185b9 ACS-3492: bump snakeyaml version to 1.31 2022-09-06 16:04:23 +01:00
Tiago Salvado
e605f4e060 [MNT-22398] Handle UTF-8 BOM 2022-09-01 12:18:56 +01:00
Travis CI User
e0e925b6bd [maven-release-plugin][skip ci] prepare for next development iteration 2022-08-25 14:18:51 +00:00
Travis CI User
cf08616096 [maven-release-plugin][skip ci] prepare release 2.7.0-A1 2.7.0-A1 2022-08-25 14:18:49 +00:00
Sara Aspery
d270fb5be1 [release] ACS-3461: Release T-Core (T-Engines) 2.7.0-A1 2022-08-25 14:55:18 +01:00
dependabot[bot]
5b231e6b15 Bump spring-boot-starter-parent from 2.7.2 to 2.7.3
Bumps [spring-boot-starter-parent](https://github.com/spring-projects/spring-boot) from 2.7.2 to 2.7.3.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.2...v2.7.3)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter-parent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-25 10:26:18 +00:00
dependabot[bot]
74cb8c2148 Bump jsoup from 1.15.2 to 1.15.3
Bumps [jsoup](https://github.com/jhy/jsoup) from 1.15.2 to 1.15.3.
- [Release notes](https://github.com/jhy/jsoup/releases)
- [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES)
- [Commits](https://github.com/jhy/jsoup/compare/jsoup-1.15.2...jsoup-1.15.3)

---
updated-dependencies:
- dependency-name: org.jsoup:jsoup
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-25 10:25:45 +00:00
dependabot[bot]
9a3fa13423 Bump joda-time from 2.10.14 to 2.11.0
Bumps [joda-time](https://github.com/JodaOrg/joda-time) from 2.10.14 to 2.11.0.
- [Release notes](https://github.com/JodaOrg/joda-time/releases)
- [Changelog](https://github.com/JodaOrg/joda-time/blob/master/RELEASE-NOTES.txt)
- [Commits](https://github.com/JodaOrg/joda-time/compare/v2.10.14...v2.11.0)

---
updated-dependencies:
- dependency-name: joda-time:joda-time
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-25 10:19:42 +00:00
Jared Ottley
53356cdd58
Merge pull request #658 from Alfresco/ACS-3434_libgs_removal
[ACS-3434] libgs Removal
2022-08-24 07:33:57 -06:00
Marcin Strankowski
9036e6af14
Merge pull request #660 from Alfresco/feature/OPSEXP-1605_update_imagemagick_rpm_usage
Modified imagemagick source, removed script for generating RPMs
2022-08-19 23:06:50 +02:00
mstrankowski
5b2a5399c1 Modified imagemagick source, removed script for generating RPMs
We're moving away from generating RPMs using previously existing script, please view https://github.com/Alfresco/imagemagick-build project for more info
2022-08-19 17:24:31 +02:00
Jared Ottley
f7bf7f2ec8 [ACS-3434] libgs Removal
- Update aio and imagemagick Dockerfile to remove libgs after install
- Remove imagemagick eps tests
- Remove eps mappings from imagemagick config
- Remove quick.eps
2022-08-17 12:48:57 -06:00
dependabot[bot]
af091135ac Bump junrar from 7.5.2 to 7.5.3
Bumps [junrar](https://github.com/junrar/junrar) from 7.5.2 to 7.5.3.
- [Release notes](https://github.com/junrar/junrar/releases)
- [Changelog](https://github.com/junrar/junrar/blob/master/CHANGELOG.md)
- [Commits](https://github.com/junrar/junrar/compare/v7.5.2...v7.5.3)

---
updated-dependencies:
- dependency-name: com.github.junrar:junrar
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 08:32:43 +00:00
mstrankowski
ef7826c960 Trigger master branch build after nexus fail 2022-08-08 17:23:56 +02:00
dependabot[bot]
bf945707c5
Merge pull request #653 from Alfresco/dependabot/maven/org.alfresco-alfresco-jodconverter-core-3.0.1.14 2022-08-08 14:29:12 +00:00
dependabot[bot]
3e1615a7fe
Merge pull request #616 from Alfresco/dependabot/maven/org.apache.activemq-activemq-client-5.17.1 2022-08-08 09:50:21 +00:00
dependabot[bot]
c89f9c0f71
Bump alfresco-jodconverter-core from 3.0.1.12 to 3.0.1.14
Bumps [alfresco-jodconverter-core](https://github.com/Alfresco/alfresco-jodconverter) from 3.0.1.12 to 3.0.1.14.
- [Release notes](https://github.com/Alfresco/alfresco-jodconverter/releases)
- [Commits](https://github.com/Alfresco/alfresco-jodconverter/compare/3.0.1.12...3.0.1.14)

---
updated-dependencies:
- dependency-name: org.alfresco:alfresco-jodconverter-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-04 21:08:38 +00:00
dependabot[bot]
387ddf00fe Bump docker-maven-plugin from 0.40.1 to 0.40.2
Bumps [docker-maven-plugin](https://github.com/fabric8io/docker-maven-plugin) from 0.40.1 to 0.40.2.
- [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.40.1...v0.40.2)

---
updated-dependencies:
- dependency-name: io.fabric8:docker-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-02 07:59:57 +00:00
Aleksandra Onych
dd27bcf520
Merge pull request #651 from Alfresco/feature/ACS-3350_upgrade-to-Java-17
ACS-3350 Upgrade to Java 17
2022-08-02 09:22:57 +02:00
Aleksandra Onych
cbda44d168
Merge remote-tracking branch 'origin/feature/ACS-3350_upgrade-to-Java-17' into feature/ACS-3350_upgrade-to-Java-17 2022-08-01 14:55:42 +02:00
Aleksandra Onych
abee6cd903
[ACS-3350] change Dockerfile jre version 2022-08-01 14:55:26 +02:00
Aleksandra Onych
a3f4a372b8
Merge branch 'master' into feature/ACS-3350_upgrade-to-Java-17 2022-08-01 14:45:30 +02:00
Aleksandra Onych
0442dab642
[ACS-3350] clean up travis file 2022-08-01 14:41:37 +02:00
Aleksandra Onych
73adcd8e77
[ACS-3350] change rockylinux8 to centos7 2022-08-01 14:12:59 +02:00
Marcin Strankowski
849ce8df3b
Merge pull request #650 from Alfresco/feature/ACS-3326-upgrade-base-image-for-image-magick-t-engine
Upgrade base images to Rocky Linux 8
2022-08-01 12:59:24 +02:00
Aleksandra Onych
064c88815d
[ACS-3350] add branch to Travis 2022-08-01 12:52:14 +02:00
Aleksandra Onych
8b6f74d5f5
[ACS-3350] Upgrade to Java 17 2022-08-01 12:50:28 +02:00
Aleksandra Onych
1ad9302249
[ACS-3350] Upgrade to Java 17 2022-08-01 12:50:01 +02:00
mstrankowski
ffd07b43a2 Comments cleanup, removing centos7 rpm generating directory 2022-08-01 12:20:50 +02:00
mstrankowski
0cc80315cc Removing leftover comment 2022-07-29 18:17:09 +02:00
mstrankowski
e78709631f Moving all images including AIO to rocky linux 8,
moving generated RPMs of ImageMagick to Nexus
There is an issue to resolve on rocky linux where removal of perl-ExtUtils-MakeMaker removes exiftool - causes Tika tests to fail. Leaving it for tests
2022-07-29 17:56:54 +02:00
dependabot[bot]
6e1cf8c637 Bump spring-boot-starter-parent from 2.7.1 to 2.7.2
Bumps [spring-boot-starter-parent](https://github.com/spring-projects/spring-boot) from 2.7.1 to 2.7.2.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.1...v2.7.2)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter-parent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-29 10:52:54 +00:00
mstrankowski
75b2fe58a1 Fixing AIO ImageMagick issues 2022-07-28 21:01:53 +02:00
mstrankowski
84c5594b15 Corrected AIO Dockerfile for test 2022-07-28 19:58:03 +02:00
mstrankowski
6e3fc2f689 Local RPM Rocky Linux 8 test 2022-07-28 17:17:19 +02:00
Damian Ujma
c631c70fea
Merge pull request #649 from Alfresco/feature/ACS-3307_Upgrade_activemq_to_5_17_x
ACS-3307 Upgrade ActiveMQ to 5.17.1
2022-07-28 10:54:37 +02:00
Damian.Ujma@hyland.com
df4057ad59 ACS-3307 Upgrade activemq to 5.17.1 2022-07-27 13:53:09 +02:00
Damian.Ujma@hyland.com
e21e709964 ACS-3307 Upgrade activemq to 5.17.1 2022-07-25 15:37:07 +02:00
dependabot[bot]
bc808e01a7
Bump alfresco/alfresco-base-java (#644)
Bumps alfresco/alfresco-base-java from jre11-centos7-202205121725 to jre11-centos7-202207110835.

---
updated-dependencies:
- dependency-name: alfresco/alfresco-base-java
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-12 16:52:12 +01:00
dependabot[bot]
c22dbd7359
Bump alfresco/alfresco-base-java (#643)
Bumps alfresco/alfresco-base-java from jre11-centos7-202205121725 to jre11-centos7-202207110835.

---
updated-dependencies:
- dependency-name: alfresco/alfresco-base-java
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-12 16:51:49 +01:00
dependabot[bot]
3ac82b4e7a
Bump alfresco/alfresco-base-java (#642)
Bumps alfresco/alfresco-base-java from jre11-centos7-202205121725 to jre11-centos7-202207110835.

---
updated-dependencies:
- dependency-name: alfresco/alfresco-base-java
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-12 15:22:06 +01:00
dependabot[bot]
dbd494ffba
Bump jsoup from 1.15.1 to 1.15.2 (#641)
Bumps [jsoup](https://github.com/jhy/jsoup) from 1.15.1 to 1.15.2.
- [Release notes](https://github.com/jhy/jsoup/releases)
- [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES)
- [Commits](https://github.com/jhy/jsoup/compare/jsoup-1.15.1...jsoup-1.15.2)

---
updated-dependencies:
- dependency-name: org.jsoup:jsoup
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-12 15:45:20 +02:00
Domenico Sibilio
7f292b92ec
Merge pull request #638 from Alfresco/dependabot/maven/org.springframework.boot-spring-boot-starter-parent-2.7.1
Bump spring-boot-starter-parent from 2.7.0 to 2.7.1
2022-07-01 12:20:10 +02:00
dependabot[bot]
c73148084a
Bump dependency.cxf.version from 3.5.2 to 3.5.3 (#639)
Bumps `dependency.cxf.version` from 3.5.2 to 3.5.3.

Updates `cxf-core` from 3.5.2 to 3.5.3

Updates `cxf-rt-rs-client` from 3.5.2 to 3.5.3

Updates `cxf-rt-frontend-jaxws` from 3.5.2 to 3.5.3

Updates `cxf-rt-transports-http` from 3.5.2 to 3.5.3

Updates `cxf-rt-ws-policy` from 3.5.2 to 3.5.3

---
updated-dependencies:
- dependency-name: org.apache.cxf:cxf-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.cxf:cxf-rt-rs-client
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.cxf:cxf-rt-frontend-jaxws
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.cxf:cxf-rt-transports-http
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.cxf:cxf-rt-ws-policy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-01 11:17:30 +01:00
mikolajbrzezinski
95a4027ed0
ACS-2556 Bump Apache POI, Apache Tika, and PDFBox (#640)
Bump Apache POI to 5.2.2, Apache Tika to 2.4.1 and PDFBox to 2.0.26
2022-06-30 13:12:32 +02:00
dependabot[bot]
a22ce2abfa
Bump spring-boot-starter-parent from 2.7.0 to 2.7.1
Bumps [spring-boot-starter-parent](https://github.com/spring-projects/spring-boot) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.7.0...v2.7.1)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter-parent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-23 21:10:30 +00:00