Go back to 3.0.0-HXP-A8-SNAPSHOT as the version must be > 2.6.0 for the tests to work.

Also add duplicate classes into the t-model
This commit is contained in:
alandavis
2022-09-12 19:56:24 +01:00
parent 7f2e76e33c
commit 6cf0287674
18 changed files with 103 additions and 27 deletions

View File

@@ -1,4 +1,52 @@
# alfresco-transform-model
Alfresco Transform Model - Contains the data model of json configuration files
and messages sent between clients, T-Engines and T-Router. Also contains code to
work out which transform should be used for a combination of configuration files.
and messages sent between clients, T-Engines and T-Router. It also contains code to
work out which transform should be used for a combination of configuration files.
## Upgrade to 3.0.0
When upgrading to 3.0.0, you will find that a number of classes in the alfresco-transform-model
have moved. Hopefully they are now located in more logical packages. Most classes will not have been
used in existing t-engines (based on the deprecated alfresco-transform-base), other than possibly for
testing. The following table identifies these moves:
| class | original package | new package |
|---------------------------------|--------------------------------------------|-----------------------------------|
| ExtensionService ± | org/alfresco/transform/router | org.alfresco.transform.common |
| Mimetype ± | org/alfresco/transform/client/model | org.alfresco.transform.common |
| RepositoryClientData | org/alfresco/transform/router | org.alfresco.transform.common |
| RequestParamMap ± | org/alfresco/transform/client/util | org.alfresco.transform.common |
| TransformerDebug | org/alfresco/transform/router | org.alfresco.transform.common |
| | | |
| AbstractTransformOption | org/alfresco/transform/client/model/config | org.alfresco.transform.config |
| AddSupported | org/alfresco/transform/client/model/config | org.alfresco.transform.config |
| CoreFunction | org/alfresco/transform/client/model/config | org.alfresco.transform.config |
| CoreVersionDecorator | org/alfresco/transform/client/model/config | org.alfresco.transform.config |
| OverrideSupported | org/alfresco/transform/client/model/config | org.alfresco.transform.config |
| RemoveSupported | org/alfresco/transform/client/model/config | org.alfresco.transform.config |
| SupportedDefaults | org/alfresco/transform/client/model/config | org.alfresco.transform.config |
| SupportedSourceAndTarget | org/alfresco/transform/client/model/config | org.alfresco.transform.config |
| TransformConfig | org/alfresco/transform/client/model/config | org.alfresco.transform.config |
| TransformOption | org/alfresco/transform/client/model/config | org.alfresco.transform.config |
| TransformOptionGroup | org/alfresco/transform/client/model/config | org.alfresco.transform.config |
| TransformOptionValue | org/alfresco/transform/client/model/config | org.alfresco.transform.config |
| TransformStep | org/alfresco/transform/client/model/config | org.alfresco.transform.config |
| Transformer | org/alfresco/transform/client/model/config | org.alfresco.transform.config |
| TransformerAndTypes | org/alfresco/transform/client/model/config | org.alfresco.transform.config |
| TransformerTypesSizeAndPriority | org/alfresco/transform/client/model/config | org.alfresco.transform.config |
| Types | org/alfresco/transform/client/model/config | org.alfresco.transform.config |
| | | |
| TransformRequestValidator | org/alfresco/transform/client/model | org.alfresco.transform.messages |
| TransformStack | org/alfresco/transform/router | org.alfresco.transform.messages |
| | | |
| AbstractTransformRegistry | org/alfresco/transform/client/registry | org.alfresco.transform.registry |
| CombinedTransformConfig | org/alfresco/transform/client/registry | org.alfresco.transform.registry |
| Defaults | org/alfresco/transform/client/registry | org.alfresco.transform.registry |
| Origin | org/alfresco/transform/client/registry | org.alfresco.transform.registry |
| SupportedTransform | org/alfresco/transform/client/registry | org.alfresco.transform.registry |
| TransformCache | org/alfresco/transform/client/registry | org.alfresco.transform.registry |
| TransformRegistryHelper | org/alfresco/transform/client/registry | org.alfresco.transform.registry |
| TransformServiceRegistry | org/alfresco/transform/client/registry | org.alfresco.transform.registry |
| TransformerAndSourceType | org/alfresco/transform/client/registry | org.alfresco.transform.registry |
± Classes also have a deprecated class with the same name in the original location as they are
more likely to have been used in existing transformers.

View File

@@ -8,7 +8,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-transform-core</artifactId>
<version>0.0.2-HXP-SNAPSHOT</version>
<version>3.0.0-HXP-A8-SNAPSHOT</version>
</parent>
<properties>

View File

@@ -0,0 +1,30 @@
/*
* #%L
* Alfresco Transform Model
* %%
* Copyright (C) 2005 - 2022 Alfresco Software Limited
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
*
* You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/lgpl-3.0.html>.
* #L%
*/
package org.alfresco.transform.client.model;
/**
* @deprecated will be removed in a future release when the deprecated alfresco-transform-model is removed.
*/
@Deprecated
public interface Mimetype extends org.alfresco.transform.common.Mimetype
{
}

View File

@@ -0,0 +1,30 @@
/*
* #%L
* Alfresco Transform Model
* %%
* Copyright (C) 2005 - 2022 Alfresco Software Limited
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
*
* You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/lgpl-3.0.html>.
* #L%
*/
package org.alfresco.transform.client.util;
/**
* @deprecated will be removed in a future release when the deprecated alfresco-transform-model is removed.
*/
@Deprecated
public interface RequestParamMap extends org.alfresco.transform.common.RequestParamMap
{
}

View File

@@ -0,0 +1,33 @@
/*
* #%L
* Alfresco Transform Model
* %%
* Copyright (C) 2005 - 2022 Alfresco Software Limited
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
*
* You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/lgpl-3.0.html>.
* #L%
*/
package org.alfresco.transform.router;
/**
* @deprecated will be removed in a future release when the deprecated alfresco-transform-model is removed.
*/
@Deprecated
public class ExtensionService extends org.alfresco.transform.common.ExtensionService
{
private ExtensionService()
{
}
}