mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-08-14 17:58:27 +00:00
[release] 3.0.0-HXP-A4
* Fix t-router build
This commit is contained in:
@@ -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:
|
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)
|
* [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-imagemagick](https://hub.docker.com/r/alfresco/alfresco-imagemagick)
|
||||||
* [alfresco/alfresco-pdf-renderer](https://hub.docker.com/r/alfresco/alfresco-pdf-renderer)
|
* [alfresco/alfresco-pdf-renderer](https://hub.docker.com/r/alfresco/alfresco-pdf-renderer)
|
||||||
* [alfresco/alfresco-libreoffice](https://hub.docker.com/r/alfresco/alfresco-libreoffice)
|
* [alfresco/alfresco-libreoffice](https://hub.docker.com/r/alfresco/alfresco-libreoffice)
|
||||||
|
@@ -116,7 +116,7 @@ The config can be found under `alfresco-transform-core/engines/<t-engine-name>/s
|
|||||||
priority** is.
|
priority** is.
|
||||||
|
|
||||||
## Transformer selection strategy
|
## 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
|
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
|
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.
|
(parameters) that have been supplied in a transform request or a Rendition Definition used in a rendition request.
|
||||||
|
@@ -298,7 +298,6 @@ public class TransformRegistry extends AbstractTransformRegistry
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
return s.get();
|
return s.get();
|
||||||
|
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -336,7 +335,8 @@ public class TransformRegistry extends AbstractTransformRegistry
|
|||||||
|
|
||||||
private Transformer getTransformer(Data data, String transformerName)
|
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)
|
public boolean checkSourceSize(String transformerName, String sourceMediaType, Long sourceSize, String targetMediaType)
|
||||||
|
Reference in New Issue
Block a user