Commit Graph

36 Commits

Author SHA1 Message Date
Grzegorz Oleksy
85c838d475 ACS-6151 - added requested changes 2023-11-29 13:10:26 +01:00
Grzegorz Oleksy
9519a7fd93 ACS-6151 - replaced test image 2023-11-28 13:13:32 +01:00
Grzegorz Oleksy
86317731bb ACS-6151 - removed unnecessary property 2023-11-28 13:05:40 +01:00
Grzegorz Oleksy
f5ce966dc2 ACS-6151 - divided tests for each image 2023-11-28 09:39:37 +01:00
Grzegorz Oleksy
99d31ee8f2 ACS-6151 - fixed test for all containers 2023-11-28 08:43:34 +01:00
Grzegorz Oleksy
d833b8e433 ACS-6151 - added initial test for Libreoffice 2023-11-27 14:04:47 +01:00
mstrankowski
9104066d25 Reuse change from deprecated code instead of a loop, should suffice 2023-10-26 13:51:52 +02:00
mstrankowski
52147b7e51 Revert "ACS-6168: Add 5 retries when retrieving the temp directory to deal with clashes when high load is applied immediatelly at startup"
This reverts commit ab7058870d.
2023-10-26 13:51:17 +02:00
mstrankowski
ab7058870d ACS-6168: Add 5 retries when retrieving the temp directory to deal with clashes when high load is applied immediatelly at startup 2023-10-26 13:32:56 +02:00
Piotr Żurek
137ef8bcf9 MNT-23889 Fix liveness/readiness probes (#874)
Co-authored-by: Grzegorz Oleksy <grzegorz.oleksy@hyland.com>
2023-10-19 08:05:01 +02:00
mstrankowski
82e83a27a1 Change to Poolable connection manager, due to RestTemplate provided for mTLS being a singleton - possible reuse of connections or multithreaded usage 2023-09-22 14:54:39 +02:00
mstrankowski
974f7a3482 [skip tests] Updating copyright notices 2023-09-19 15:21:50 +02:00
mstrankowski
e718d57db4 SpEL can get confused, changed to method calls 2023-09-19 11:59:31 +02:00
mstrankowski
1a821500b1 Migrated to Spring Boot 3, build completes, was forced to update to httpclient5 from apache. Need to verify no impact on ssl mechanism after changes 2023-09-19 09:24:26 +02:00
kcichonczyk
b341e3e6be [ACS-4460] hostname verification fix (#780) 2023-04-12 14:37:34 +02:00
kcichonczyk
0e28ae3c86 [ACS-4460] add hostname verification flag to test utils (#779) 2023-04-12 12:21:04 +02:00
kcichonczyk
35c3bb709f [ACS-4460] change EndpointIdentificationAlgorithm from null to empty string (null does not work - is overwritten by "HTTPS" by default) (#778) 2023-04-11 16:32:18 +02:00
kcichonczyk
23cd052cd9 [ACS-4460] add no hostname verification remove com.google.collections dependencies (#770) 2023-03-29 13:45:01 +02:00
kcichonczyk
c7df2c5bb3 [ACS-4839] Add mtls config in the deprecated module (#758) 2023-03-23 14:53:37 +01:00
kcichonczyk
47dbf77ad5 Feature/acs 4460 mtls support (#752)
* ACS-4460: Release T-Core (T-Engines) 3.0.1-A3 [release], Truststore  type fix.
2023-03-17 09:14:36 +01:00
kcichonczyk
5e592336c3 Merge pull request #734 from Alfresco/feature/acs-4460_mtls_support
Feature/acs 4460 mtls support
2023-03-15 12:31:37 +01:00
kcichonczyk
5a2665dc2f [ACS-4460] simplify WebClient.Builder creation 2023-03-15 12:17:28 +01:00
kcichonczyk
3b2d1c5639 [ACS-4460] remove '()' 2023-03-14 14:19:58 +01:00
kcichonczyk
0abe3c1f89 [ACS-4460] MTLSConfig refactor, add ssl context beans 2023-03-14 14:17:22 +01:00
kcichonczyk
ad0d4c68f0 [ACS-4460] MtlsTestUtils simplify methods 2023-03-13 20:56:44 +01:00
kcichonczyk
3706bef72b [ACS-4460] MtlsTestUtils simplified 2023-03-13 20:21:35 +01:00
kcichonczyk
807699beda [ACS-4460] integration tests fix 2023-03-07 12:28:16 +01:00
Domenico Sibilio
e3ac0dcb3b ACS-4739 Fix intermittent tests failures due to CustomTransformers (#747) 2023-03-02 12:22:33 +01:00
kcichonczyk
4c77021796 [ACS-4460] configure beans for WebClient.Builder and RestTemplate 2023-02-23 17:37:13 +01:00
kcichonczyk
149f3a500c [ACS-4460] simplify required bean definitions 2023-02-20 16:53:07 +01:00
kcichonczyk
0af53e93f3 [ACS-4460] introduce mTLS, config fix 2023-02-14 16:26:00 +01:00
kcichonczyk
139a18f8ac [ACS-4460] introduce mTLS when communicating with SFS (T-Engines communicating with SFS), added WebClient Builder as a bean 2023-02-13 19:27:18 +01:00
kcichonczyk
e3737c977f [ACS-4460] introduce mTLS when communicating with SFS (T-Engines communicating with SFS) 2023-02-12 21:45:09 +01:00
mstrankowski
dfa9f15f72 ACS-3476: Re-adding a getAdditional method
It was needed for proper processing of ConfigurationProperties annotation and allowing for TRANSFORMER_ROUTES_ADDITIONAL_<engineName> for backwards compatibility.
Spring mechanism takes the "transform.routes" gets the "additional" as a setting and adds to map ("ai", configFile).
Without this get, the spring mechanism can't add this property due to no access to additional variable
2022-09-23 18:22:04 +02:00
alandavis
4805ccee31 Add the size to the "No transforms" message as it is used in selecting them.
Example: No transforms for: text/plain (5.4 KB) -> application/pdf language=French
2022-09-16 15:02:09 +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