Save point: [skip ci]

* Rename AbstractQueueTransformServiceIT to AbstractQueueTest and change names of subclasses
  Cleaned up the logic and added a comment to say what it was doing (sends messages ok, but fails the transform)
* Clean up application-default.yaml values (duplicate values)
* Renamed probe test files to be probe.???
This commit is contained in:
alandavis
2022-07-21 16:54:51 +01:00
parent ef2305eb81
commit e837feb559
31 changed files with 45 additions and 68 deletions

View File

@@ -68,7 +68,7 @@ public class ImageMagickTransformEngine implements TransformEngine
@Override
public ProbeTransform getProbeTransform()
{
return new ProbeTransform("quick.jpg", MIMETYPE_IMAGE_JPEG, MIMETYPE_IMAGE_PNG, Collections.emptyMap(),
return new ProbeTransform("probe.jpg", MIMETYPE_IMAGE_JPEG, MIMETYPE_IMAGE_PNG, Collections.emptyMap(),
35593, 1024, 150, 1024, 60 * 15 + 1, 60 * 15);
}
}

View File

@@ -2,7 +2,6 @@ queue:
engineRequestQueue: ${TRANSFORM_ENGINE_REQUEST_QUEUE:org.alfresco.transform.engine.imagemagick.acs}
transform:
core:
version: @project.version@
imagemagick:
root: ${IMAGEMAGICK_ROOT:/usr/lib64/ImageMagick-7.0.10}
dyn: ${IMAGEMAGICK_DYN:/usr/lib64/ImageMagick-7.0.10/lib}

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

@@ -32,14 +32,13 @@ import static org.alfresco.transform.common.Mimetype.MIMETYPE_IMAGE_PNG;
import java.util.UUID;
import org.alfresco.transform.client.model.TransformRequest;
import org.alfresco.transform.base.AbstractQueueTransformServiceIT;
import org.springframework.boot.test.context.SpringBootTest;
import org.alfresco.transform.base.AbstractQueueTest;
/**
* @author Lucian Tuca
* created on 15/01/2019
*/
public class ImageMagickQueueTransformServiceIT extends AbstractQueueTransformServiceIT
public class ImageMagickQueueTest extends AbstractQueueTest
{
@Override
protected TransformRequest buildRequest()