Extension point configuration
In component org.nuxeo.runtime.migration.MigrationService
Documentation
Defines migrations:
<migration id="my_migration">
<description label="my_migration">My Migration</description>
<state id="v1">
<description label="my_migration.state.v1">Initial state</description>
</state>
... other states ...
<step
fromState="v1" id="first" toState="v2">
<description label="my_migration.step.first">First step of the migration, from v1 to v2</description>
<class>my.class.Migratorv1v2</class>
</step>
... other steps ...
</migration>
The migrator class for each step must implement Runnable.
Contribution Descriptors
Existing Contributions
Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.
-
<extension point="configuration" target="org.nuxeo.runtime.migration.MigrationService"> <migration id="tag-storage"> <description label="migration.tag-storage">Migration of the tags storage model</description> <statusChangeNotifier>org.nuxeo.ecm.platform.tag.TagServiceImpl$TagServiceStatusChangeNotifier </statusChangeNotifier> <defaultState>facets</defaultState> <state id="relations"> <description label="migration.tag-storage.relations">Tags stored as relations</description> </state> <state id="facets"> <description label="migration.tag-storage.facets">Tags stored as faceted metadata</description> </state> <step fromState="relations" id="relations-to-facets" toState="facets"> <description label="migration.tag-storage.relations-to-facets">Migrate tags from relations to facets</description> <class>org.nuxeo.ecm.platform.tag.TagsRelationsToFacetsMigrator</class> </step> </migration> </extension>