Changed SSl_ENABLED default false
parent
7e410e234c
commit
1e45534942
|
@ -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.
|
||||||
|
|
2
env.json
2
env.json
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue