Save point: [skip ci]

* pick up alfresco-t-engine-base in 5 base t-engines
* Switch over to using new base
* Moved files in 5 base t-engines so we can remove the -boot package in the next round of changes
This commit is contained in:
alandavis
2022-07-01 17:14:01 +01:00
parent 2e05eb71fb
commit c44ff5016a
373 changed files with 967 additions and 2119 deletions

View File

@@ -28,6 +28,13 @@ import org.alfresco.transform.config.CoreVersionDecorator;
*/
public interface RequestParamMap
{
// html parameter names
String FILE = "file";
String SOURCE_EXTENSION = "sourceExtension";
String TARGET_EXTENSION = "targetExtension";
String SOURCE_MIMETYPE = "sourceMimetype";
String TARGET_MIMETYPE = "targetMimetype";
// Transform options used in the core transformers.
String SOURCE_ENCODING = "sourceEncoding";
String TARGET_ENCODING = "targetEncoding";

View File

@@ -40,6 +40,12 @@ import java.io.Reader;
import static java.nio.charset.StandardCharsets.UTF_8;
import static org.springframework.http.HttpStatus.INTERNAL_SERVER_ERROR;
/**
* Reads {@link TransformConfig} from a {@json} file. Typically used by {@code TransformEngine.getTransformConfig()}.
* <pre>
* transformConfigResourceReader.read("classpath:pdfrenderer_engine_config.json");
* </pre>
*/
@Component
public class TransformConfigResourceReader
{