Skip to content

Commit 6b8eba4

Browse files
committed
Create spring-boot-neo4j module
1 parent 7d72b35 commit 6b8eba4

File tree

36 files changed

+94
-52
lines changed

36 files changed

+94
-52
lines changed

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ include "spring-boot-project:spring-boot-jpa"
7272
include "spring-boot-project:spring-boot-jsonb"
7373
include "spring-boot-project:spring-boot-kafka"
7474
include "spring-boot-project:spring-boot-liquibase"
75+
include "spring-boot-project:spring-boot-neo4j"
7576
include "spring-boot-project:spring-boot-mail"
7677
include "spring-boot-project:spring-boot-mustache"
7778
include "spring-boot-project:spring-boot-parent"

spring-boot-project/spring-boot-actuator-autoconfigure/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ dependencies {
3434
optional(project(":spring-boot-project:spring-boot-kafka"))
3535
optional(project(":spring-boot-project:spring-boot-liquibase"))
3636
optional(project(":spring-boot-project:spring-boot-mail"))
37+
optional(project(":spring-boot-project:spring-boot-neo4j"))
3738
optional(project(":spring-boot-project:spring-boot-r2dbc"))
3839
optional(project(":spring-boot-project:spring-boot-reactor-netty"))
3940
optional(project(":spring-boot-project:spring-boot-tomcat"))

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/neo4j/Neo4jHealthContributorAutoConfiguration.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -27,7 +27,6 @@
2727
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
2828
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
2929
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
30-
import org.springframework.boot.autoconfigure.neo4j.Neo4jAutoConfiguration;
3130
import org.springframework.context.annotation.Import;
3231

3332
/**
@@ -39,7 +38,7 @@
3938
* @author Michael J. Simons
4039
* @since 2.0.0
4140
*/
42-
@AutoConfiguration(after = Neo4jAutoConfiguration.class)
41+
@AutoConfiguration(afterName = "org.springframework.boot.neo4j.autoconfigure.Neo4jAutoConfiguration")
4342
@ConditionalOnClass(Driver.class)
4443
@ConditionalOnBean(Driver.class)
4544
@ConditionalOnEnabledHealthIndicator("neo4j")

spring-boot-project/spring-boot-actuator/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ dependencies {
1212
api(project(":spring-boot-project:spring-boot-all"))
1313

1414
dockerTestImplementation(project(":spring-boot-project:spring-boot-autoconfigure-all"))
15+
dockerTestImplementation(project(":spring-boot-project:spring-boot-neo4j"))
1516
dockerTestImplementation(project(":spring-boot-project:spring-boot-test"))
1617
dockerTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support-docker"))
1718
dockerTestImplementation("com.redis:testcontainers-redis")

spring-boot-project/spring-boot-actuator/src/dockerTest/java/org/springframework/boot/actuate/neo4j/Neo4jReactiveHealthIndicatorIntegrationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2024 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@
2727
import org.springframework.boot.actuate.health.Health;
2828
import org.springframework.boot.actuate.health.Status;
2929
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
30-
import org.springframework.boot.autoconfigure.neo4j.Neo4jAutoConfiguration;
30+
import org.springframework.boot.neo4j.autoconfigure.Neo4jAutoConfiguration;
3131
import org.springframework.boot.test.context.SpringBootTest;
3232
import org.springframework.boot.testsupport.container.TestImage;
3333
import org.springframework.context.annotation.Configuration;

spring-boot-project/spring-boot-autoconfigure-all/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ dependencies {
5353
optional(project(":spring-boot-project:spring-boot-jdbc"))
5454
optional(project(":spring-boot-project:spring-boot-jsonb"))
5555
optional(project(":spring-boot-project:spring-boot-liquibase"))
56+
optional(project(":spring-boot-project:spring-boot-neo4j"))
5657
optional(project(":spring-boot-project:spring-boot-r2dbc"))
5758
optional(project(":spring-boot-project:spring-boot-reactor-netty"))
5859
optional(project(":spring-boot-project:spring-boot-rsocket"))

spring-boot-project/spring-boot-autoconfigure-all/src/dockerTest/java/org/springframework/boot/autoconfigure/data/neo4j/Neo4jRepositoriesAutoConfigurationIntegrationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2024 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -24,7 +24,7 @@
2424
import org.springframework.beans.factory.annotation.Autowired;
2525
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
2626
import org.springframework.boot.autoconfigure.data.neo4j.country.CountryRepository;
27-
import org.springframework.boot.autoconfigure.neo4j.Neo4jAutoConfiguration;
27+
import org.springframework.boot.neo4j.autoconfigure.Neo4jAutoConfiguration;
2828
import org.springframework.boot.test.context.SpringBootTest;
2929
import org.springframework.boot.testsupport.container.TestImage;
3030
import org.springframework.context.annotation.Configuration;

spring-boot-project/spring-boot-autoconfigure-all/src/main/java/org/springframework/boot/autoconfigure/data/neo4j/Neo4jDataAutoConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2024 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -27,8 +27,8 @@
2727
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
2828
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
2929
import org.springframework.boot.autoconfigure.domain.EntityScanner;
30-
import org.springframework.boot.autoconfigure.neo4j.Neo4jAutoConfiguration;
3130
import org.springframework.boot.context.properties.EnableConfigurationProperties;
31+
import org.springframework.boot.neo4j.autoconfigure.Neo4jAutoConfiguration;
3232
import org.springframework.boot.transaction.autoconfigure.TransactionAutoConfiguration;
3333
import org.springframework.boot.transaction.autoconfigure.TransactionManagerCustomizationAutoConfiguration;
3434
import org.springframework.boot.transaction.autoconfigure.TransactionManagerCustomizers;

spring-boot-project/spring-boot-autoconfigure-all/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -846,10 +846,6 @@
846846
"level": "error"
847847
}
848848
},
849-
{
850-
"name": "spring.neo4j.uri",
851-
"defaultValue": "bolt://localhost:7687"
852-
},
853849
{
854850
"name": "spring.quartz.jdbc.comment-prefix",
855851
"defaultValue": [

spring-boot-project/spring-boot-autoconfigure-all/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ org.springframework.boot.autoconfigure.ldap.embedded.EmbeddedLdapAutoConfigurati
5151
org.springframework.boot.autoconfigure.ldap.LdapAutoConfiguration
5252
org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration
5353
org.springframework.boot.autoconfigure.mongo.MongoReactiveAutoConfiguration
54-
org.springframework.boot.autoconfigure.neo4j.Neo4jAutoConfiguration
5554
org.springframework.boot.autoconfigure.netty.NettyAutoConfiguration
5655
org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration
5756
org.springframework.boot.autoconfigure.reactor.ReactorAutoConfiguration

spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/data/neo4j/Neo4jDataAutoConfigurationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -25,7 +25,7 @@
2525
import org.springframework.boot.autoconfigure.data.neo4j.scan.TestNonAnnotated;
2626
import org.springframework.boot.autoconfigure.data.neo4j.scan.TestPersistent;
2727
import org.springframework.boot.autoconfigure.data.neo4j.scan.TestRelationshipProperties;
28-
import org.springframework.boot.autoconfigure.neo4j.Neo4jAutoConfiguration;
28+
import org.springframework.boot.neo4j.autoconfigure.Neo4jAutoConfiguration;
2929
import org.springframework.boot.test.context.runner.ApplicationContextRunner;
3030
import org.springframework.context.annotation.Bean;
3131
import org.springframework.context.annotation.Configuration;

spring-boot-project/spring-boot-autoconfigure-all/src/test/java/org/springframework/boot/autoconfigure/data/neo4j/Neo4jReactiveDataAutoConfigurationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@
2727
import org.springframework.boot.autoconfigure.data.neo4j.scan.TestNonAnnotated;
2828
import org.springframework.boot.autoconfigure.data.neo4j.scan.TestPersistent;
2929
import org.springframework.boot.autoconfigure.data.neo4j.scan.TestRelationshipProperties;
30-
import org.springframework.boot.autoconfigure.neo4j.Neo4jAutoConfiguration;
30+
import org.springframework.boot.neo4j.autoconfigure.Neo4jAutoConfiguration;
3131
import org.springframework.boot.test.context.runner.ApplicationContextRunner;
3232
import org.springframework.context.annotation.Bean;
3333
import org.springframework.context.annotation.Configuration;

spring-boot-project/spring-boot-dependencies/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2055,6 +2055,7 @@ bom {
20552055
"spring-boot-loader-tools",
20562056
"spring-boot-mail",
20572057
"spring-boot-mustache",
2058+
"spring-boot-neo4j",
20582059
"spring-boot-properties-migrator",
20592060
"spring-boot-pulsar",
20602061
"spring-boot-r2dbc",

spring-boot-project/spring-boot-docker-compose/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ dependencies {
4545
optional(project(":spring-boot-project:spring-boot-hazelcast"))
4646
optional(project(":spring-boot-project:spring-boot-jdbc"))
4747
optional(project(":spring-boot-project:spring-boot-liquibase"))
48+
optional(project(":spring-boot-project:spring-boot-neo4j"))
4849
optional(project(":spring-boot-project:spring-boot-pulsar"))
4950
optional(project(":spring-boot-project:spring-boot-r2dbc"))
5051
optional("com.hazelcast:hazelcast")

spring-boot-project/spring-boot-docker-compose/src/dockerTest/java/org/springframework/boot/docker/compose/service/connection/neo4j/Neo4jDockerComposeConnectionDetailsFactoryIntegrationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2024 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -20,8 +20,8 @@
2020
import org.neo4j.driver.Driver;
2121
import org.neo4j.driver.GraphDatabase;
2222

23-
import org.springframework.boot.autoconfigure.neo4j.Neo4jConnectionDetails;
2423
import org.springframework.boot.docker.compose.service.connection.test.DockerComposeTest;
24+
import org.springframework.boot.neo4j.autoconfigure.Neo4jConnectionDetails;
2525
import org.springframework.boot.testsupport.container.TestImage;
2626

2727
import static org.assertj.core.api.Assertions.assertThat;

spring-boot-project/spring-boot-docker-compose/src/main/java/org/springframework/boot/docker/compose/service/connection/neo4j/Neo4jDockerComposeConnectionDetailsFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2024 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -20,10 +20,10 @@
2020

2121
import org.neo4j.driver.AuthToken;
2222

23-
import org.springframework.boot.autoconfigure.neo4j.Neo4jConnectionDetails;
2423
import org.springframework.boot.docker.compose.core.RunningService;
2524
import org.springframework.boot.docker.compose.service.connection.DockerComposeConnectionDetailsFactory;
2625
import org.springframework.boot.docker.compose.service.connection.DockerComposeConnectionSource;
26+
import org.springframework.boot.neo4j.autoconfigure.Neo4jConnectionDetails;
2727

2828
/**
2929
* {@link DockerComposeConnectionDetailsFactory} to create {@link Neo4jConnectionDetails}

spring-boot-project/spring-boot-docs/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ dependencies {
7777
autoConfiguration(project(path: ":spring-boot-project:spring-boot-liquibase", configuration: "autoConfigurationMetadata"))
7878
autoConfiguration(project(path: ":spring-boot-project:spring-boot-mail", configuration: "autoConfigurationMetadata"))
7979
autoConfiguration(project(path: ":spring-boot-project:spring-boot-mustache", configuration: "autoConfigurationMetadata"))
80+
autoConfiguration(project(path: ":spring-boot-project:spring-boot-neo4j", configuration: "autoConfigurationMetadata"))
8081
autoConfiguration(project(path: ":spring-boot-project:spring-boot-pulsar", configuration: "autoConfigurationMetadata"))
8182
autoConfiguration(project(path: ":spring-boot-project:spring-boot-r2dbc", configuration: "autoConfigurationMetadata"))
8283
autoConfiguration(project(path: ":spring-boot-project:spring-boot-reactor-netty", configuration: "autoConfigurationMetadata"))
@@ -116,6 +117,7 @@ dependencies {
116117
configurationProperties(project(path: ":spring-boot-project:spring-boot-liquibase", configuration: "configurationPropertiesMetadata"))
117118
configurationProperties(project(path: ":spring-boot-project:spring-boot-mail", configuration: "configurationPropertiesMetadata"))
118119
configurationProperties(project(path: ":spring-boot-project:spring-boot-mustache", configuration: "configurationPropertiesMetadata"))
120+
configurationProperties(project(path: ":spring-boot-project:spring-boot-neo4j", configuration: "configurationPropertiesMetadata"))
119121
configurationProperties(project(path: ":spring-boot-project:spring-boot-pulsar", configuration: "configurationPropertiesMetadata"))
120122
configurationProperties(project(path: ":spring-boot-project:spring-boot-r2dbc", configuration: "configurationPropertiesMetadata"))
121123
configurationProperties(project(path: ":spring-boot-project:spring-boot-reactor-netty", configuration: "configurationPropertiesMetadata"))

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/data/nosql.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ spring:
261261
----
262262

263263
The auto-configured javadoc:org.neo4j.driver.Driver[] is created using `org.neo4j.driver.Config$ConfigBuilder`.
264-
To fine-tune its configuration, declare one or more javadoc:org.springframework.boot.autoconfigure.neo4j.ConfigBuilderCustomizer[] beans.
264+
To fine-tune its configuration, declare one or more javadoc:org.springframework.boot.neo4j.autoconfigure.ConfigBuilderCustomizer[] beans.
265265
Each will be called in order with the `org.neo4j.driver.Config$ConfigBuilder` that is used to build the javadoc:org.neo4j.driver.Driver[].
266266

267267

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/features/dev-services.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ The following service connections are currently supported:
107107
| javadoc:org.springframework.boot.autoconfigure.mongo.MongoConnectionDetails[]
108108
| Containers named "mongo" or "bitnami/mongodb"
109109

110-
| javadoc:org.springframework.boot.autoconfigure.neo4j.Neo4jConnectionDetails[]
110+
| javadoc:org.springframework.boot.neo4j.autoconfigure.Neo4jConnectionDetails[]
111111
| Containers named "neo4j" or "bitnami/neo4j"
112112

113113
| javadoc:org.springframework.boot.actuate.autoconfigure.logging.otlp.OtlpLoggingConnectionDetails[]

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/testing/testcontainers.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ When using Testcontainers, connection details can be automatically created for a
2626
include-code::MyIntegrationTests[]
2727

2828
Thanks to javadoc:org.springframework.boot.testcontainers.service.connection.ServiceConnection[format=annotation], the above configuration allows Neo4j-related beans in the application to communicate with Neo4j running inside the Testcontainers-managed Docker container.
29-
This is done by automatically defining a javadoc:org.springframework.boot.autoconfigure.neo4j.Neo4jConnectionDetails[] bean which is then used by the Neo4j auto-configuration, overriding any connection-related configuration properties.
29+
This is done by automatically defining a javadoc:org.springframework.boot.neo4j.autoconfigure.Neo4jConnectionDetails[] bean which is then used by the Neo4j auto-configuration, overriding any connection-related configuration properties.
3030

3131
NOTE: You'll need to add the `spring-boot-testcontainers` module as a test dependency in order to use service connections with Testcontainers.
3232

@@ -71,7 +71,7 @@ The following service connection factories are provided in the `spring-boot-test
7171
| javadoc:org.springframework.boot.autoconfigure.mongo.MongoConnectionDetails[]
7272
| Containers of type javadoc:{url-testcontainers-mongodb-javadoc}/org.testcontainers.containers.MongoDBContainer[]
7373

74-
| javadoc:org.springframework.boot.autoconfigure.neo4j.Neo4jConnectionDetails[]
74+
| javadoc:org.springframework.boot.neo4j.autoconfigure.Neo4jConnectionDetails[]
7575
| Containers of type javadoc:{url-testcontainers-neo4j-javadoc}/org.testcontainers.containers.Neo4jContainer[]
7676

7777
| javadoc:org.springframework.boot.actuate.autoconfigure.logging.otlp.OtlpLoggingConnectionDetails[]
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
plugins {
2+
id "java-library"
3+
id "org.springframework.boot.auto-configuration"
4+
id "org.springframework.boot.configuration-properties"
5+
id "org.springframework.boot.deployed"
6+
id "org.springframework.boot.docker-test"
7+
id "org.springframework.boot.optional-dependencies"
8+
}
9+
10+
description = "Spring Boot Neo4j"
11+
12+
dependencies {
13+
api(project(":spring-boot-project:spring-boot"))
14+
api("org.neo4j.driver:neo4j-java-driver")
15+
16+
dockerTestImplementation(project(":spring-boot-project:spring-boot-test"))
17+
dockerTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support-docker"))
18+
dockerTestImplementation("org.junit.jupiter:junit-jupiter")
19+
dockerTestImplementation("org.testcontainers:junit-jupiter")
20+
dockerTestImplementation("org.testcontainers:neo4j")
21+
22+
optional(project(":spring-boot-project:spring-boot-autoconfigure"))
23+
24+
testImplementation(project(":spring-boot-project:spring-boot-test"))
25+
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
26+
27+
testRuntimeOnly("ch.qos.logback:logback-classic")
28+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2024 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.autoconfigure.neo4j;
17+
package org.springframework.boot.neo4j.autoconfigure;
1818

1919
import java.net.URI;
2020

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.autoconfigure.neo4j;
17+
package org.springframework.boot.neo4j.autoconfigure;
1818

1919
import org.neo4j.driver.Config;
2020
import org.neo4j.driver.Config.ConfigBuilder;
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.autoconfigure.neo4j;
17+
package org.springframework.boot.neo4j.autoconfigure;
1818

1919
import java.io.File;
2020
import java.net.URI;
@@ -37,11 +37,11 @@
3737
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
3838
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
3939
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
40-
import org.springframework.boot.autoconfigure.neo4j.Neo4jProperties.Authentication;
41-
import org.springframework.boot.autoconfigure.neo4j.Neo4jProperties.Pool;
42-
import org.springframework.boot.autoconfigure.neo4j.Neo4jProperties.Security;
4340
import org.springframework.boot.context.properties.EnableConfigurationProperties;
4441
import org.springframework.boot.context.properties.source.InvalidConfigurationPropertyValueException;
42+
import org.springframework.boot.neo4j.autoconfigure.Neo4jProperties.Authentication;
43+
import org.springframework.boot.neo4j.autoconfigure.Neo4jProperties.Pool;
44+
import org.springframework.boot.neo4j.autoconfigure.Neo4jProperties.Security;
4545
import org.springframework.context.annotation.Bean;
4646
import org.springframework.core.env.Environment;
4747
import org.springframework.util.Assert;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.autoconfigure.neo4j;
17+
package org.springframework.boot.neo4j.autoconfigure;
1818

1919
import java.net.URI;
2020

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.autoconfigure.neo4j;
17+
package org.springframework.boot.neo4j.autoconfigure;
1818

1919
import java.io.File;
2020
import java.net.URI;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2021 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package org.springframework.boot.autoconfigure.neo4j;
17+
package org.springframework.boot.neo4j.autoconfigure;
1818

1919
import org.apache.commons.logging.Log;
2020
import org.apache.commons.logging.LogFactory;

0 commit comments

Comments
 (0)