Cambio en queue para que no quede pegado esperando respuesta en cli.

Chequeo de servicios externos para agregar elementos pendientes.
This commit is contained in:
Juan Pablo Vial
2025-05-15 19:32:25 -04:00
parent 8d32aecd09
commit 8965354528
21 changed files with 687 additions and 65 deletions

View File

@ -1,4 +1,6 @@
<?php
use Incoviba\Controller\API\External;
$app->group('/external', function($app) {
$files = new FilesystemIterator(implode(DIRECTORY_SEPARATOR, [__DIR__, 'external']));
foreach ($files as $file) {
@ -7,4 +9,7 @@ $app->group('/external', function($app) {
}
include_once $file->getRealPath();
}
$app->group('/services', function($app) {
$app->get('/check[/]', [External::class, 'check']);
});
});