Skip to main content

Function: createMigrationOrchestrator()

createMigrationOrchestrator(): MigrationOrchestrator

Defined in: electron/services/monitoring/MigrationSystem.ts:819

Factory for creating migration orchestrator instances.

Returns

MigrationOrchestrator

A new MigrationOrchestrator instance configured with the global registry and version manager

Remarks

Creates a new MigrationOrchestrator instance using the shared migrationRegistry and versionManager singletons. Useful for isolated migration workflows, testing scenarios, or when you need multiple orchestrator instances with the same registry and version state.

Example

const orchestrator = createMigrationOrchestrator();
const result = await orchestrator.migrateMonitorData(
"http",
monitorData,
"1.0.0",
"1.1.0"
);