|
2 | 2 | = Getting started
|
3 | 3 |
|
4 | 4 | We provide a Spring Boot starter for SDN.
|
5 |
| -Please include the starter module via your dependency management and configure the bolt URL to use, for example `org.neo4j.driver.uri=bolt://localhost:7687`. |
| 5 | +Please include the starter module via your dependency management and configure the bolt URL to use, for example `spring.neo4j.uri=bolt://localhost:7687`. |
6 | 6 | The starter assumes that the server has disabled authentication.
|
7 | 7 | As the SDN starter depends on the starter for the Java Driver, all things regarding configuration said there, apply here as well.
|
8 |
| -For a reference of the available properties, use your IDEs autocompletion in the `org.neo4j.driver` namespace or look at the link:{java-driver-starter-href}/blob/master/docs/manual/index.adoc[dedicated manual]. |
| 8 | +For a reference of the available properties, use your IDEs autocompletion in the `spring.neo4j` namespace. |
9 | 9 |
|
10 | 10 | SDN supports
|
11 | 11 |
|
12 | 12 | * The well known and understood imperative programming model (much like Spring Data JDBC or JPA)
|
13 | 13 | * Reactive programming based on https://www.reactive-streams.org[Reactive Streams], including full support for https://spring.io/blog/2019/05/16/reactive-transactions-with-spring[reactive transactions].
|
14 | 14 |
|
15 | 15 | Those are all included in the same binary.
|
16 |
| -The reactive programming model requires a 4.0 Neo4j server on the database side and reactive Spring on the other hand. |
| 16 | +The reactive programming model requires a 4+ Neo4j server on the database side and reactive Spring on the other hand. |
17 | 17 |
|
18 | 18 | [[prepare-the-database]]
|
19 | 19 | == Prepare the database
|
@@ -53,7 +53,7 @@ You can issue a _curl_ request against the Spring Initializer to create a basic
|
53 | 53 | .Create a basic Maven project with the Spring Initializr
|
54 | 54 | ----
|
55 | 55 | curl https://start.spring.io/starter.tgz \
|
56 |
| - -d dependencies=webflux,actuator,data-neo4j \ |
| 56 | + -d dependencies=webflux,data-neo4j \ |
57 | 57 | -d bootVersion={spring-boot-version} \
|
58 | 58 | -d baseDir=Neo4jSpringBootExample \
|
59 | 59 | -d name=Neo4j%20SpringBoot%20Example | tar -xzvf -
|
@@ -84,7 +84,7 @@ The idea is the same, just generate a Gradle project:
|
84 | 84 | .Create a basic Gradle project with the Spring Initializr
|
85 | 85 | ----
|
86 | 86 | curl https://start.spring.io/starter.tgz \
|
87 |
| - -d dependencies=webflux,actuator,data-neo4j \ |
| 87 | + -d dependencies=webflux,data-neo4j \ |
88 | 88 | -d type=gradle-project \
|
89 | 89 | -d bootVersion={spring-boot-version} \
|
90 | 90 | -d baseDir=Neo4jSpringBootExampleGradle \
|
|
0 commit comments