mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-08-14 17:58:27 +00:00
Save point: [skip ci]
* Testing the controller
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
package org.alfresco.transform.coreaio;
|
||||
|
||||
import org.alfresco.transform.base.TransformEngine;
|
||||
import org.alfresco.transform.base.probes.ProbeTestTransform;
|
||||
import org.alfresco.transform.base.probes.ProbeTransform;
|
||||
import org.alfresco.transform.config.TransformConfig;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
@@ -76,9 +76,9 @@ public class AIOTransformEngine implements TransformEngine
|
||||
}
|
||||
|
||||
@Override
|
||||
public ProbeTestTransform getLivenessAndReadinessProbeTestTransform()
|
||||
public ProbeTransform getProbeTransform()
|
||||
{
|
||||
return new ProbeTestTransform("quick.pdf", "quick.txt",
|
||||
return new ProbeTransform("quick.pdf", "quick.txt",
|
||||
MIMETYPE_PDF, MIMETYPE_TEXT_PLAIN, Collections.emptyMap(),
|
||||
60, 16, 400, 10240, 60 * 30 + 1, 60 * 15 + 20);
|
||||
}
|
||||
|
@@ -46,7 +46,7 @@ import static org.junit.jupiter.api.Assertions.assertNull;
|
||||
*/
|
||||
public class AIOTest extends AbstractBaseTest
|
||||
{
|
||||
@Value("${transform.core.version}")
|
||||
@Autowired
|
||||
private String coreVersion;
|
||||
|
||||
//@Override
|
||||
|
Reference in New Issue
Block a user