diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/database/neo4j/domain/Neo4jModuleFactory.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/database/neo4j/domain/Neo4jModuleFactory.java index 43a82b53c73..5d54094a1ef 100644 --- a/src/main/java/tech/jhipster/lite/generator/server/springboot/database/neo4j/domain/Neo4jModuleFactory.java +++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/database/neo4j/domain/Neo4jModuleFactory.java @@ -32,7 +32,7 @@ public JHipsterModule buildModule(JHipsterModuleProperties properties) { .startupCommand(DOCKER_COMPOSE_COMMAND) .context() .put("neo4jDockerImage", dockerImages.get("neo4j").fullName()) - .and() + .and() .javaDependencies() .addDependency(groupId("org.springframework.boot"), artifactId("spring-boot-starter-data-neo4j")) .addDependency(testContainerDependency()) @@ -45,12 +45,12 @@ public JHipsterModule buildModule(JHipsterModuleProperties properties) { .add(SOURCE.template("spring.factories"), to("src/test/resources/META-INF/spring.factories")) .and() .springMainProperties() - .set(propertyKey("spring.neo4j.uri"), propertyValue("bolt://localhost:7687")) - .set(propertyKey("spring.neo4j.pool.metrics-enabled"), propertyValue("true")) - .and() + .set(propertyKey("spring.neo4j.uri"), propertyValue("bolt://localhost:7687")) + .set(propertyKey("spring.neo4j.pool.metrics-enabled"), propertyValue("true")) + .and() .springTestProperties() - .set(propertyKey("spring.neo4j.uri"), propertyValue("${TEST_NEO4J_URI}")) - .and() + .set(propertyKey("spring.neo4j.uri"), propertyValue("${TEST_NEO4J_URI}")) + .and() .springMainLogger("org.neo4j.driver", LogLevel.WARN) .springTestLogger("org.neo4j.driver", LogLevel.WARN) .springTestLogger("com.github.dockerjava", LogLevel.WARN) diff --git a/tests-ci/start_docker_compose.sh b/tests-ci/start_docker_compose.sh index ca3681cbac9..a8f9e851d25 100755 --- a/tests-ci/start_docker_compose.sh +++ b/tests-ci/start_docker_compose.sh @@ -39,6 +39,9 @@ fi if [ -a src/main/docker/mariadb.yml ]; then docker compose -f src/main/docker/mariadb.yml up -d fi +if [ -a src/main/docker/neo4j.yml ]; then + docker compose -f src/main/docker/neo4j.yml up -d +fi if [ -a src/main/docker/mssql.yml ]; then docker compose -f src/main/docker/mssql.yml up -d echo "*** wait 40sec"