mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
REPO-5203 Remove legacy transformers (#181)
Now that the T-Engines provide parity with in process legacy transforms and metadata extract, the legacy transform code is now being removed. This will allow the documentation to be greatly simplified and a number of libraries to be removed. Custom legacy transforms need to be moved to T-Engines. ACS 6 still provides a version where both may be run in parallel. New versions of the document transform engine (DTE) and media management (MM) are planned for ACS 7.
This commit is contained in:
@@ -662,7 +662,6 @@ public class MimetypeMap implements MimetypeService
|
||||
boolean successReadingConfig = true;
|
||||
if (jsonConfigFileFinder != null)
|
||||
{
|
||||
// This should not be "alfresco/mimetype" which is used for the in JVM jodconverter
|
||||
successReadingConfig &= jsonConfigFileFinder.readFiles("alfresco/mimetypes", logger);
|
||||
if (mimetypeJsonConfigDir != null && !mimetypeJsonConfigDir.isBlank())
|
||||
{
|
||||
@@ -877,11 +876,6 @@ public class MimetypeMap implements MimetypeService
|
||||
*/
|
||||
private MediaType detectType(String filename, ContentReader reader)
|
||||
{
|
||||
// Metadata metadata = new Metadata();
|
||||
// if (filename != null)
|
||||
// {
|
||||
// metadata.add(Metadata.RESOURCE_NAME_KEY, filename);
|
||||
// }
|
||||
TikaInputStream inp = null;
|
||||
try
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
* #%L
|
||||
* Alfresco Data model classes
|
||||
* %%
|
||||
* Copyright (C) 2005 - 2016 Alfresco Software Limited
|
||||
* Copyright (C) 2005 - 2020 Alfresco Software Limited
|
||||
* %%
|
||||
* This file is part of the Alfresco software.
|
||||
* If the software was purchased under a paid Alfresco license, the terms of
|
||||
@@ -33,8 +33,7 @@ import org.alfresco.api.AlfrescoPublicApi;
|
||||
* same action might succeed, all other things not having changed.
|
||||
* <p/>
|
||||
* An example of this would be the case where a request to create a thumbnail
|
||||
* has failed because the necessary thumbnailing software is not available e.g. because the OpenOffice.org process
|
||||
* is not currently running.
|
||||
* has failed because the necessary thumbnailing software is not available.
|
||||
*
|
||||
* @author Neil Mc Erlean
|
||||
* @since 4.0.1
|
||||
|
Reference in New Issue
Block a user