Package io.camunda.migrator
Class RuntimeMigrator
java.lang.Object
io.camunda.migrator.RuntimeMigrator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected C7Clientprotected C8Clientprotected DbClientprotected MigratorPropertiesprotected MigratorModeprotected RuntimeValidatorprotected VariableService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidfetchProcessInstancesToMigrate(Consumer<IdKeyDbModel> storeMappingConsumer) protected StringgetSkipReason(String c7ProcessInstanceId) protected voidhandleVariableInterceptorException(VariableInterceptorException e, String c7ProcessInstanceId, Date createTime) protected booleanprotected voidmigrate()protected voidsaveRecord(String c7ProcessInstanceId, Date createTime, Long processInstanceKey) voidsetMode(MigratorMode mode) protected booleanshouldStartProcessInstance(String c7ProcessInstanceId) voidstart()protected LongstartNewProcessInstance(String c7ProcessInstanceId) protected voidstartProcessInstance(String c7ProcessInstanceId, Date createTime)
-
Field Details
-
c7Client
-
c8Client
-
dbClient
-
variableService
-
runtimeValidator
-
migratorProperties
-
mode
-
-
Constructor Details
-
RuntimeMigrator
public RuntimeMigrator()
-
-
Method Details
-
start
public void start() -
migrate
protected void migrate() -
getSkipReason
-
shouldStartProcessInstance
-
isUnknown
-
startProcessInstance
-
handleVariableInterceptorException
protected void handleVariableInterceptorException(VariableInterceptorException e, String c7ProcessInstanceId, Date createTime) -
saveRecord
-
fetchProcessInstancesToMigrate
-
startNewProcessInstance
protected Long startNewProcessInstance(String c7ProcessInstanceId) throws VariableInterceptorException - Throws:
VariableInterceptorException
-
activateMigratorJobs
protected void activateMigratorJobs() -
setMode
-