public interface MigrationService
| Modifier and Type | Method and Description |
|---|---|
void |
abortModelUpdate(long modelInstanceId)
Aborts model update process for given model instance.
|
List<MigrationIncompatibility> |
checkModelInstanceCompatibility(long modelInstanceId,
long migrationId)
Returns a set of data holding information about incompatibilities in a model instance with respect to a new model.
|
void |
continuePostUpdate(long modelInstanceId)
Continues model update of the specified model instance by the post processing phase.
|
void |
continueTransform(long modelInstanceId)
Continues model update of the specified model instance by the transformation phase.
|
Migration |
createMigration(String migrationName,
ByteData migrationConfig,
ByteData externalDataMappings)
Uploads migration configuration to the server.
|
ByteData |
getExternalDataMappings(long migrationId)
Returns the migration external data mapping by the migration id.
|
Migration |
getMigration(long migrationId)
Returns a migration by its id.
|
ByteData |
getMigrationConfig(long migrationId)
Returns the migration configuration by the migration id.
|
List<ModelUpdate> |
getMigrationItems(long migrationId)
Returns a list of all model instance migrations that belong to the specified migration.
|
List<Migration> |
getMigrations()
Returns a list of all migrations.
|
String |
getModelInstanceMigrationLog(long modelInstanceMigrationId)
Returns a model instance log for the given model instance migration id.
|
List<ModelUpdate> |
getModelInstanceMigrations(long modelInstanceId)
Returns a list of model instance migrations ordered by the migration date.
|
void |
updateModel(long modelInstanceId,
long migrationId)
Changes the model for a running model instance.
|
Migration createMigration(String migrationName, ByteData migrationConfig, ByteData externalDataMappings)
migrationName - migrationConfig - externalDataMappings - void updateModel(long modelInstanceId,
long migrationId)
throws ModelInstanceNotFoundException,
InvalidModelInstanceStateException,
MigrationNotFoundException,
ErrorException
modelInstanceId - migrationId - ModelInstanceNotFoundExceptionInvalidModelInstanceStateExceptionMigrationNotFoundExceptionErrorExceptionvoid continueTransform(long modelInstanceId)
throws ModelInstanceNotFoundException,
InvalidModelInstanceStateException,
ErrorException
modelInstanceId - ModelInstanceNotFoundExceptionInvalidModelInstanceStateExceptionErrorExceptionvoid continuePostUpdate(long modelInstanceId)
throws ModelInstanceNotFoundException,
InvalidModelInstanceStateException,
ErrorException
modelInstanceId - ModelInstanceNotFoundExceptionInvalidModelInstanceStateExceptionErrorExceptionvoid abortModelUpdate(long modelInstanceId)
throws ModelInstanceNotFoundException,
InvalidModelInstanceStateException,
ErrorException
modelInstanceId - ModelInstanceNotFoundExceptionInvalidModelInstanceStateExceptionErrorExceptionMigration getMigration(long migrationId)
migrationId - List<Migration> getMigrations()
List<ModelUpdate> getMigrationItems(long migrationId) throws MigrationNotFoundException
migrationId - MigrationNotFoundExceptionList<ModelUpdate> getModelInstanceMigrations(long modelInstanceId) throws ModelInstanceNotFoundException
modelInstanceId - ModelInstanceNotFoundExceptionString getModelInstanceMigrationLog(long modelInstanceMigrationId) throws ModelInstanceMigrationNotFoundException
modelInstanceMigrationId - ModelInstanceMigrationNotFoundExceptionByteData getMigrationConfig(long migrationId) throws MigrationNotFoundException
migrationId - MigrationNotFoundExceptionByteData getExternalDataMappings(long migrationId) throws MigrationNotFoundException
migrationId - MigrationNotFoundExceptionList<MigrationIncompatibility> checkModelInstanceCompatibility(long modelInstanceId, long migrationId) throws ModelInstanceNotFoundException, MigrationNotFoundException
modelInstanceId - migrationId - ModelInstanceNotFoundExceptionMigrationNotFoundExceptionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.