|
53 | 53 | 'id' => '[0-9]+',
|
54 | 54 | ],
|
55 | 55 | 'defaults' => [
|
56 |
| - 'controller' => PipeSpec::class, |
57 |
| - 'middleware' => new PipeSpec(Controller\ApiAdminUsersRolesController::class), |
| 56 | + 'controller' => Controller\ApiAdminUsersRolesController::class, |
58 | 57 | ],
|
59 | 58 | ],
|
60 | 59 | ],
|
|
67 | 66 | 'id' => '[0-9]+',
|
68 | 67 | ],
|
69 | 68 | 'defaults' => [
|
70 |
| - 'controller' => PipeSpec::class, |
71 |
| - 'middleware' => new PipeSpec(Controller\ApiAdminUsersController::class), |
| 69 | + 'controller' => Controller\ApiAdminUsersController::class, |
72 | 70 | ],
|
73 | 71 | ],
|
74 | 72 | ],
|
|
81 | 79 | 'id' => '[0-9]+',
|
82 | 80 | ],
|
83 | 81 | 'defaults' => [
|
84 |
| - 'controller' => PipeSpec::class, |
85 |
| - 'middleware' => new PipeSpec(Controller\ApiAdminUsersController::class), |
| 82 | + 'controller' => Controller\ApiAdminUsersController::class, |
86 | 83 | 'action' => 'resetPassword',
|
87 | 84 | ],
|
88 | 85 | ],
|
|
109 | 106 | 'id' => '[0-9]+',
|
110 | 107 | ],
|
111 | 108 | 'defaults' => [
|
112 |
| - 'controller' => PipeSpec::class, |
113 |
| - 'middleware' => new PipeSpec(Controller\ApiModelsController::class), |
| 109 | + 'controller' => Controller\ApiModelsController::class, |
114 | 110 | ],
|
115 | 111 | ],
|
116 | 112 | ],
|
|
120 | 116 | 'options' => [
|
121 | 117 | 'route' => '/api/referentials',
|
122 | 118 | 'defaults' => [
|
123 |
| - 'controller' => Controller\ApiReferentialsController::class, |
| 119 | + 'controller' => Controller\ApiCoreReferentialsController::class, |
124 | 120 | ],
|
125 | 121 | ],
|
126 | 122 | ],
|
|
165 | 161 | 'route' => '/api/admin/passwords',
|
166 | 162 | 'constraints' => [],
|
167 | 163 | 'defaults' => [
|
168 |
| - 'controller' => PipeSpec::class, |
169 |
| - 'middleware' => new PipeSpec(Controller\ApiAdminPasswordsController::class), |
| 164 | + 'controller' => Controller\ApiAdminPasswordsController::class, |
170 | 165 | ],
|
171 | 166 | ],
|
172 | 167 | ],
|
|
1382 | 1377 | Controller\ApiAnrController::class => AutowireFactory::class,
|
1383 | 1378 | Controller\ApiConfigController::class => AutowireFactory::class,
|
1384 | 1379 | Controller\ApiClientsController::class => AutowireFactory::class,
|
1385 |
| - Controller\ApiReferentialsController::class => AutowireFactory::class, |
| 1380 | + Controller\ApiCoreReferentialsController::class => AutowireFactory::class, |
1386 | 1381 | Controller\ApiUserPasswordController::class => AutowireFactory::class,
|
1387 | 1382 | Controller\ApiUserTwoFAController::class => AutowireFactory::class,
|
1388 | 1383 | Controller\ApiUserRecoveryCodesController::class => AutowireFactory::class,
|
|
1457 | 1452 | DbCli::class => Service\Model\DbCliFactory::class,
|
1458 | 1453 |
|
1459 | 1454 | DeprecatedTable\InterviewTable::class => AutowireFactory::class,
|
1460 |
| - DeprecatedTable\MeasureTable::class => AutowireFactory::class, |
1461 |
| - DeprecatedTable\MeasureMeasureTable::class => AutowireFactory::class, |
1462 |
| - DeprecatedTable\RolfRiskTable::class => AutowireFactory::class, |
1463 |
| - DeprecatedTable\RolfTagTable::class => AutowireFactory::class, |
1464 | 1455 | DeprecatedTable\RecordActorTable::class => AutowireFactory::class,
|
1465 | 1456 | DeprecatedTable\RecordDataCategoryTable::class => AutowireFactory::class,
|
1466 | 1457 | DeprecatedTable\RecordInternationalTransferTable::class => AutowireFactory::class,
|
1467 | 1458 | DeprecatedTable\RecordPersonalDataTable::class => AutowireFactory::class,
|
1468 | 1459 | DeprecatedTable\RecordProcessorTable::class => AutowireFactory::class,
|
1469 | 1460 | DeprecatedTable\RecordRecipientTable::class => AutowireFactory::class,
|
1470 | 1461 | DeprecatedTable\RecordTable::class => AutowireFactory::class,
|
1471 |
| - DeprecatedTable\ReferentialTable::class => AutowireFactory::class, |
1472 | 1462 | DeprecatedTable\SoaTable::class => AutowireFactory::class,
|
1473 |
| - DeprecatedTable\SoaCategoryTable::class => AutowireFactory::class, |
1474 | 1463 | DeprecatedTable\QuestionTable::class => AutowireFactory::class,
|
1475 | 1464 | DeprecatedTable\QuestionChoiceTable::class => AutowireFactory::class,
|
1476 | 1465 | Table\AnrTable::class => ClientEntityManagerFactory::class,
|
|
1489 | 1478 | Table\ScaleImpactTypeTable::class => ClientEntityManagerFactory::class,
|
1490 | 1479 | Table\ClientTable::class => ClientEntityManagerFactory::class,
|
1491 | 1480 | Table\MonarcObjectTable::class => ClientEntityManagerFactory::class,
|
| 1481 | + Table\MeasureTable::class => ClientEntityManagerFactory::class, |
| 1482 | + Table\MeasureMeasureTable::class => ClientEntityManagerFactory::class, |
1492 | 1483 | Table\ObjectCategoryTable::class => ClientEntityManagerFactory::class,
|
1493 | 1484 | Table\ObjectObjectTable::class => ClientEntityManagerFactory::class,
|
1494 | 1485 | Table\OperationalRiskScaleTable::class => ClientEntityManagerFactory::class,
|
|
1499 | 1490 | Table\RecommendationHistoryTable::class => ClientEntityManagerFactory::class,
|
1500 | 1491 | Table\RecommendationRiskTable::class => ClientEntityManagerFactory::class,
|
1501 | 1492 | Table\RecommendationSetTable::class => ClientEntityManagerFactory::class,
|
| 1493 | + Table\RolfRiskTable::class => ClientEntityManagerFactory::class, |
| 1494 | + Table\RolfTagTable::class => ClientEntityManagerFactory::class, |
| 1495 | + Table\ReferentialTable::class => ClientEntityManagerFactory::class, |
| 1496 | + Table\SoaCategoryTable::class => ClientEntityManagerFactory::class, |
1502 | 1497 | Table\SnapshotTable::class => ClientEntityManagerFactory::class,
|
1503 | 1498 | Table\SoaScaleCommentTable::class => ClientEntityManagerFactory::class,
|
1504 | 1499 | Table\ThemeTable::class => ClientEntityManagerFactory::class,
|
|
1519 | 1514 | Entity\RecordProcessor::class => ModelFactory\RecordProcessorServiceModelEntity::class,
|
1520 | 1515 | Entity\RecordRecipient::class => ModelFactory\RecordRecipientServiceModelEntity::class,
|
1521 | 1516 | Entity\Record::class => ModelFactory\RecordServiceModelEntity::class,
|
1522 |
| - Entity\Referential::class => ModelFactory\ReferentialServiceModelEntity::class, |
1523 |
| - Entity\Measure::class => ModelFactory\MeasureServiceModelEntity::class, |
1524 |
| - Entity\MeasureMeasure::class => ModelFactory\MeasureMeasureServiceModelEntity::class, |
1525 |
| - Entity\RolfRisk::class => ModelFactory\RolfRiskServiceModelEntity::class, |
1526 |
| - Entity\RolfTag::class => ModelFactory\RolfTagServiceModelEntity::class, |
1527 | 1517 | Entity\Soa::class => ModelFactory\SoaServiceModelEntity::class,
|
1528 |
| - Entity\SoaCategory::class => ModelFactory\SoaCategoryServiceModelEntity::class, |
1529 | 1518 | Entity\Question::class => ModelFactory\QuestionServiceModelEntity::class,
|
1530 | 1519 | Entity\QuestionChoice::class => ModelFactory\QuestionChoiceServiceModelEntity::class,
|
1531 | 1520 |
|
1532 | 1521 | // TODO: replace to autowiring.
|
1533 | 1522 | Service\AnrInterviewService::class => Service\AnrInterviewServiceFactory::class,
|
1534 |
| - Service\AnrMeasureService::class => Service\AnrMeasureServiceFactory::class, |
1535 |
| - Service\AnrMeasureMeasureService::class => Service\AnrMeasureMeasureServiceFactory::class, |
1536 | 1523 | Service\AnrRecordActorService::class => Service\AnrRecordActorServiceFactory::class,
|
1537 | 1524 | Service\AnrRecordDataCategoryService::class => Service\AnrRecordDataCategoryServiceFactory::class,
|
1538 | 1525 | Service\AnrRecordInternationalTransferService::class
|
|
1541 | 1528 | Service\AnrRecordProcessorService::class => Service\AnrRecordProcessorServiceFactory::class,
|
1542 | 1529 | Service\AnrRecordRecipientService::class => Service\AnrRecordRecipientServiceFactory::class,
|
1543 | 1530 | Service\AnrRecordService::class => Service\AnrRecordServiceFactory::class,
|
1544 |
| - Service\AnrReferentialService::class => Service\AnrReferentialServiceFactory::class, |
1545 | 1531 | Service\SoaService::class => Service\SoaServiceFactory::class,
|
1546 |
| - Service\SoaCategoryService::class => Service\SoaCategoryServiceFactory::class, |
1547 | 1532 | Service\AnrQuestionService::class => Service\AnrQuestionServiceFactory::class,
|
1548 | 1533 | Service\AnrQuestionChoiceService::class => Service\AnrQuestionChoiceServiceFactory::class,
|
1549 |
| - Service\AnrRolfTagService::class => Service\AnrRolfTagServiceFactory::class, |
1550 |
| - Service\AnrRolfRiskService::class => Service\AnrRolfRiskServiceFactory::class, |
| 1534 | + Service\AnrMeasureService::class => AutowireFactory::class, |
| 1535 | + Service\AnrMeasureMeasureService::class => AutowireFactory::class, |
| 1536 | + Service\AnrReferentialService::class => AutowireFactory::class, |
| 1537 | + Service\SoaCategoryService::class => AutowireFactory::class, |
| 1538 | + Service\AnrRolfTagService::class => AutowireFactory::class, |
| 1539 | + Service\AnrRolfRiskService::class => AutowireFactory::class, |
1551 | 1540 | Service\AnrRecommendationService::class => AutowireFactory::class,
|
1552 | 1541 | Service\AnrRecommendationHistoryService::class => AutowireFactory::class,
|
1553 | 1542 | Service\AnrRecommendationRiskService::class => AutowireFactory::class,
|
|
0 commit comments