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

main 0.13.1
Manuel Aranda Rosales 2025-05-23 09:30:44 +02:00
parent 7e410e234c
commit 1e45534942
3 changed files with 8 additions and 2 deletions

View File

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

View File

@ -8,6 +8,6 @@
"UDS_AUTH_USERNAME": "test", "UDS_AUTH_USERNAME": "test",
"UDS_AUTH_PASSWORD": "test", "UDS_AUTH_PASSWORD": "test",
"UDS_URL": "https:\/\/localhost:8087\/uds\/rest\/", "UDS_URL": "https:\/\/localhost:8087\/uds\/rest\/",
"SSL_ENABLED": "true" "SSL_ENABLED": "false"
} }
} }

View File

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