* executor basics added to repo
This commit is contained in:
@@ -15,6 +15,7 @@ return [
|
||||
'invokables' => [
|
||||
// Fully\Qualified\InterfaceName::class => Fully\Qualified\ClassName::class,
|
||||
Helper\ServerUrlHelper::class => Helper\ServerUrlHelper::class,
|
||||
\App\Service\CiNodeService::class => \App\Service\CiNodeService::class,
|
||||
],
|
||||
// Use 'factories' for services provided by callbacks/factory classes.
|
||||
'factories' => [
|
||||
@@ -23,6 +24,7 @@ return [
|
||||
'doctrine.entity_manager.orm_default' => \ContainerInteropDoctrine\EntityManagerFactory::class,
|
||||
'doctrine.hydrator' => \App\Hydrator\DoctrineObjectFactory::class,
|
||||
\App\Service\CiConfigService::class => \App\Service\CiConfigServiceFactory::class,
|
||||
\App\Service\CiExecutorService::class => \App\Service\CiExecutorServiceFactory::class,
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
@@ -9,6 +9,9 @@ return [
|
||||
'factories' => [
|
||||
App\Action\CiConfigAction::class => App\Action\CiConfigFactory::class,
|
||||
App\Action\CiConfigItemAction::class => App\Action\CiConfigItemFactory::class,
|
||||
App\Action\CiExecutorAction::class => App\Action\CiExecutorFactory::class,
|
||||
App\Action\JcatPackageAction::class => App\Action\JcatPackageFactory::class,
|
||||
App\Action\CiStreamAction::class => App\Action\CiStreamFactory::class,
|
||||
App\Action\HomePageAction::class => App\Action\HomePageFactory::class,
|
||||
],
|
||||
],
|
||||
@@ -51,5 +54,23 @@ return [
|
||||
'allowed_methods' => ['DELETE'],
|
||||
// 'allowed_methods' => ['GET','DELETE'],
|
||||
],
|
||||
[
|
||||
'name' => 'api.ci-executor',
|
||||
'path' => '/api/ci-executor',
|
||||
'middleware' => App\Action\CiExecutorAction::class,
|
||||
'allowed_methods' => ['GET'],
|
||||
],
|
||||
[
|
||||
'name' => 'api.jcat-package',
|
||||
'path' => '/api/jcat-package',
|
||||
'middleware' => App\Action\JcatPackageAction::class,
|
||||
'allowed_methods' => ['GET'],
|
||||
],
|
||||
[
|
||||
'name' => 'api.ci-streams',
|
||||
'path' => '/api/ci-stream',
|
||||
'middleware' => App\Action\CiStreamAction::class,
|
||||
'allowed_methods' => ['GET'],
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user