[release] 3.0.0-HXP-A4

* Fix t-router build
This commit is contained in:
alandavis
2022-08-16 19:21:41 +01:00
parent 2525b14b61
commit b431013ca2
3 changed files with 4 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ The core T-Engine images are available on Docker Hub.
Either as a single Core AIO (All-In-One) T-Engine:
* [alfresco/alfresco-transform-core-aio](https://hub.docker.com/r/alfresco/alfresco-transform-core-aio)
Or as set of individual T-Engines:
Or as a set of individual T-Engines:
* [alfresco/alfresco-imagemagick](https://hub.docker.com/r/alfresco/alfresco-imagemagick)
* [alfresco/alfresco-pdf-renderer](https://hub.docker.com/r/alfresco/alfresco-pdf-renderer)
* [alfresco/alfresco-libreoffice](https://hub.docker.com/r/alfresco/alfresco-libreoffice)

View File

@@ -116,7 +116,7 @@ The config can be found under `alfresco-transform-core/engines/<t-engine-name>/s
priority** is.
## Transformer selection strategy
The ACS repository will use the T-Engine configuration to choose which T-Engine will perform a transform.
The T-Engine configuration is used to choose which T-Engine will perform a transform.
A transformer definition contains a supported list of source and target Media Types. This is used for the
most basic selection. This is further refined by checking that the definition also supports transform options
(parameters) that have been supplied in a transform request or a Rendition Definition used in a rendition request.

View File

@@ -298,7 +298,6 @@ public class TransformRegistry extends AbstractTransformRegistry
try
{
return s.get();
}
finally
{
@@ -336,7 +335,8 @@ public class TransformRegistry extends AbstractTransformRegistry
private Transformer getTransformer(Data data, String transformerName)
{
return data.getTransformerByNameMap().get(transformerName).get();
Origin<Transformer> transformerOrigin = data.getTransformerByNameMap().get(transformerName);
return transformerOrigin == null ? null : transformerOrigin.get();
}
public boolean checkSourceSize(String transformerName, String sourceMediaType, Long sourceSize, String targetMediaType)