-
Type: New Feature
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 10.10-HF30, 11.2, 2021.0
-
Component/s: Migration Service
-
Epic Link:
-
Tags:
-
Team:PLATFORM
-
Sprint:nxplatform 11.1.35, nxplatform 11.1.36, nxplatform 11.1.37, nxplatform #11, nxplatform #12
-
Story Points:1
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.
- causes
-
JAVACLIENT-205 Fix ITWorkflowAndTask.itCanCancelWorkflow test
- Resolved
- is related to
-
NXP-29835 Fix Management REST API 10.10 build and release package
- Resolved
- is required by
-
NXP-28441 Implement the migration endpoint
- Resolved
- Is referenced in