Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29098

Migration Service Improvements

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF30, 11.2
    • Component/s: Migration Service

      Description

      New MigrationService methods

      Migration getMigration(String id)
      

      Returns a Migration object (see bewlow) given its id.

      List<Migration> getMigrations()
      

      Returns the list of all {{Migration}}s.

      void run(String migrationId)
      

      Runs a given migration: the migration is probed if needed, then is run if there is only a step matching the migration state.
      If there is no step or more than one step matching the migration step, throws Exception.

      Migration Object

      Introduce a new Migration object to store:

      • the migration id
      • the migration description
      • the migration description label
      • the migration status (MigrationStatus object)
      • the available steps

      As those objects will be used in the REST API. that means creating new writers MigrationJsonWriter and MigrationListJsonWriter.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 4 days, 1 hour
                  1w 4d 1h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.