Skip to content

Commit

Permalink
Neo4j: format module factory
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalgrimaud committed Oct 18, 2022
1 parent dfafab1 commit 855b450
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand All @@ -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)
Expand Down

0 comments on commit 855b450

Please sign in to comment.