Compare commits

...

3 Commits

Author SHA1 Message Date
Manuel Aranda Rosales d33c6ea48e Changed SSl_ENABLED default false
testing/ogcore-api/pipeline/head There was a failure building this commit Details
2025-05-23 09:32:00 +02:00
Manuel Aranda Rosales 1e45534942 Changed SSl_ENABLED default false
testing/ogcore-api/pipeline/head There was a failure building this commit Details
ogcore-debian-package/pipeline/tag There was a failure building this commit Details
ogcore-debian-package/pipeline/head There was a failure building this commit Details
2025-05-23 09:30:44 +02:00
Manuel Aranda Rosales 7e410e234c Merge pull request 'develop' (#33) from develop into main
ogcore-debian-package/pipeline/head This commit looks good Details
testing/ogcore-api/pipeline/head This commit looks good Details
ogcore-debian-package/pipeline/tag This commit looks good Details
Reviewed-on: #33
2025-05-19 16:50:46 +02:00
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,9 @@
# Changelog
## [0.13.1] - 2025-05-23
### Fixed
- Variable de entorno "SSl_ENABLED" desactivada por defecto.
---
## [0.13.0] - 2025-05-20
### Added
- Se ha creado la base para la comunicacion TLS con el agente.

View File

@ -87,7 +87,7 @@ class StatusAction extends AbstractOgAgentController
$client->setStatus(ClientStatus::OFF);
$this->entityManager->persist($client);
$this->entityManager->flush();
throw new ValidatorException('Error deploying image');
throw new ValidatorException('Error checking client status: ' . $data['error']);
}
if (isset($data['cfg'])) {
@ -95,6 +95,7 @@ class StatusAction extends AbstractOgAgentController
$this->createPartitionService->__invoke($data, $client);
}
$client->setStatus(ClientStatus::OG_LIVE);
$this->entityManager->persist($client);
$this->entityManager->flush();