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
- ModelInstanceNotFoundException
InvalidModelInstanceStateException
MigrationNotFoundException
ErrorException
void continueTransform(long modelInstanceId) throws ModelInstanceNotFoundException, InvalidModelInstanceStateException, ErrorException
modelInstanceId
- ModelInstanceNotFoundException
InvalidModelInstanceStateException
ErrorException
void continuePostUpdate(long modelInstanceId) throws ModelInstanceNotFoundException, InvalidModelInstanceStateException, ErrorException
modelInstanceId
- ModelInstanceNotFoundException
InvalidModelInstanceStateException
ErrorException
void abortModelUpdate(long modelInstanceId) throws ModelInstanceNotFoundException, InvalidModelInstanceStateException, ErrorException
modelInstanceId
- ModelInstanceNotFoundException
InvalidModelInstanceStateException
ErrorException
Migration getMigration(long migrationId)
migrationId
- List<Migration> getMigrations()
List<ModelUpdate> getMigrationItems(long migrationId) throws MigrationNotFoundException
migrationId
- MigrationNotFoundException
List<ModelUpdate> getModelInstanceMigrations(long modelInstanceId) throws ModelInstanceNotFoundException
modelInstanceId
- ModelInstanceNotFoundException
String getModelInstanceMigrationLog(long modelInstanceMigrationId) throws ModelInstanceMigrationNotFoundException
modelInstanceMigrationId
- ModelInstanceMigrationNotFoundException
ByteData getMigrationConfig(long migrationId) throws MigrationNotFoundException
migrationId
- MigrationNotFoundException
ByteData getExternalDataMappings(long migrationId) throws MigrationNotFoundException
migrationId
- MigrationNotFoundException
List<MigrationIncompatibility> checkModelInstanceCompatibility(long modelInstanceId, long migrationId) throws ModelInstanceNotFoundException, MigrationNotFoundException
modelInstanceId
- migrationId
- ModelInstanceNotFoundException
MigrationNotFoundException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.