refactor(core): Create controller for binary data (no-changelog) (#7363)

This PR adds a controller for binary data + integration tests.
This commit is contained in:
Iván Ovejero
2023-10-06 16:21:13 +02:00
committed by GitHub
parent 63e11e4be9
commit 34bda535e6
9 changed files with 217 additions and 53 deletions

View File

@@ -66,6 +66,7 @@ import { RoleService } from '@/services/role.service';
import { UserService } from '@/services/user.service';
import { executionsController } from '@/executions/executions.controller';
import { WorkflowHistoryController } from '@/workflows/workflowHistory/workflowHistory.controller.ee';
import { BinaryDataController } from '@/controllers/binaryData.controller';
/**
* Plugin to prefix a path segment into a request URL pathname.
@@ -316,6 +317,9 @@ export const setupTestServer = ({
case 'workflowHistory':
registerController(app, config, Container.get(WorkflowHistoryController));
break;
case 'binaryData':
registerController(app, config, Container.get(BinaryDataController));
break;
}
}
}