Hi.
We use the part “sme-backend” from the SME-application to automatically migrate models to a higher version (2022.06 to 2023.06).
In 10.3.1 the API changed. It seems, that the general API “/api/migration/migrate” was removed. Instead, now there are migration operations for Document-Models and Relationship-Models below “/api/migrate” as separate Handlers.
Questions:
- Why was this change?
- What about Form-Models, Application-Models, etc.
Because of our projects automated approach on models, we have a heavy need for a generic API to migrate all kind of models. Like it was in 10.2.1.
Thanks.
Hi @stefan-grey-canyon,
The SME backend is not regarded as public artifact and, thus, its API is also not public. This means API changes are possible even in minor or patch versions of the SME.
Unfortunately, the API for migrating models of any kind was only intended to be temporary and has been removed with the actual SME release.
With A12 version 2023.06-ext3, all migration tools follow a common interfaces (one for Typescript and one for Java). This allows to involke the migration tools programmatically and in a systematic way. The recent version of the SME uses the new interface. A similar approach could be an option for you as well.
Best regards,
Timo