refactor(core): Rename ActiveWorkflowRunner to ActiveWorkflowManager (no-changelog) (#9280)

This commit is contained in:
Iván Ovejero
2024-05-06 17:54:05 +02:00
committed by GitHub
parent 552cf8f3db
commit 7b925ab871
25 changed files with 129 additions and 126 deletions

View File

@@ -29,7 +29,7 @@ export { setupTestServer } from './testServer';
/**
* Initialize node types.
*/
export async function initActiveWorkflowRunner() {
export async function initActiveWorkflowManager() {
mockInstance(OrchestrationService, {
isMultiMainSetupEnabled: false,
shouldAddWebhooks: jest.fn().mockReturnValue(true),
@@ -37,10 +37,10 @@ export async function initActiveWorkflowRunner() {
mockInstance(Push);
mockInstance(ExecutionService);
const { ActiveWorkflowRunner } = await import('@/ActiveWorkflowRunner');
const workflowRunner = Container.get(ActiveWorkflowRunner);
await workflowRunner.init();
return workflowRunner;
const { ActiveWorkflowManager } = await import('@/ActiveWorkflowManager');
const activeWorkflowManager = Container.get(ActiveWorkflowManager);
await activeWorkflowManager.init();
return activeWorkflowManager;
}
/**