solve conflicts
testing/ogcore-api/pipeline/head There was a failure building this commit Details

develop
Manuel Aranda Rosales 2025-08-04 12:34:55 +02:00
parent 865d356b06
commit 6adbec0fe9
3 changed files with 9 additions and 5 deletions

View File

@ -1 +1,3 @@
*/5 * * * * opengnsys php -d memory_limit=512M /opt/opengnsys/ogcore/api/bin/console opengnsys:check-client-availability >> /opt/opengnsys/ogcore/api/var/log/cron.log 2>&1
*/2 * * * * opengnsys php -d memory_limit=512M /opt/opengnsys/ogcore/api/bin/console opengnsys:check-client-availability>> /opt/opengnsys/ogcore/api/var/log/cron.log 2>&1
*/1 * * * * opengnsys php -d memory_limit=512M /opt/opengnsys/ogcore/api/bin/console opengnsys:run-scheduled-command-tasks>> /opt/opengnsys/ogcore/api/var/log/cron.log 2>&1
*/1 * * * * opengnsys php -d memory_limit=512M /opt/opengnsys/ogcore/api/bin/console opengnsys:execute-pending-traces>> /opt/opengnsys/ogcore/api/var/log/cron.log 2>&1

View File

@ -89,8 +89,9 @@ readonly class ImageProcessor implements ProcessorInterface
}
if ($response instanceof JsonResponse && $response->getStatusCode() === 200) {
$jobContent = json_decode($response->getContent(), true);
return new JsonResponse(data: $jobContent, status: Response::HTTP_OK);
$jobContent = json_decode($response->getContent(), true, 512, JSON_UNESCAPED_SLASHES);
$jsonString = json_encode($jobContent, JSON_UNESCAPED_SLASHES);
return new JsonResponse($jsonString, Response::HTTP_OK, [], true);
}
return new JsonResponse(data: ['/clients/' . $image->getClient()->getUuid() => ['headers' => []]], status: Response::HTTP_OK);

View File

@ -78,8 +78,9 @@ readonly class PartitionProcessor implements ProcessorInterface
// Si hay una respuesta exitosa, devolvemos el contenido del job ID
if ($response instanceof JsonResponse && $response->getStatusCode() === 200) {
$jobContent = json_decode($response->getContent(), true);
return new JsonResponse(data: $jobContent, status: Response::HTTP_OK);
$jobContent = json_decode($response->getContent(), true, 512, JSON_UNESCAPED_SLASHES);
$jsonString = json_encode($jobContent, JSON_UNESCAPED_SLASHES);
return new JsonResponse($jsonString, Response::HTTP_OK, [], true);
}
return new JsonResponse('OK', Response::HTTP_NO_CONTENT);