From 6004cdde99cbde96b47893ec1a5566f8e2b49eef Mon Sep 17 00:00:00 2001 From: Marcelo Boveto Shima Date: Mon, 22 Jul 2024 17:23:38 -0300 Subject: [PATCH] downgrade elasticsearch --- generators/spring-boot/generator.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/generators/spring-boot/generator.js b/generators/spring-boot/generator.js index 6ece1854d..a5c9e1aa2 100644 --- a/generators/spring-boot/generator.js +++ b/generators/spring-boot/generator.js @@ -160,6 +160,11 @@ export default class extends BaseApplicationGenerator { }); }, async migration({ application, applicationDefaults }) { + // Downgrade elasticsearch to 7.17.4 + Object.assign(application.dockerContainers, { + elasticsearchTag: '7.17.4', + elasticsearch: `${DOCKER_ELASTICSEARCH_CONTAINER}:7.17.4`, + }); const dockerContainersVersions = Object.fromEntries( Object.entries({ ...application.dockerContainers, ...jhipster7DockerContainers }).map(([containerName, container]) => [ `DOCKER_${this._.snakeCase(containerName).toUpperCase().replace('_4_', '4')}`,