Skip to content
This repository was archived by the owner on Sep 1, 2023. It is now read-only.

Commit fd00aa1

Browse files
Use the same default protocol (bolt) everywhere.
1 parent 1abad57 commit fd00aa1

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ You'll probably need at least the following configuration
128128
[source,properties]
129129
.Minimum configuration
130130
----
131-
org.neo4j.driver.uri=neo4j://my-neo4j-instance:7687
131+
org.neo4j.driver.uri=bolt://my-neo4j-instance:7687
132132
org.neo4j.driver.authentication.username=theUser
133133
org.neo4j.driver.authentication.password=thePassword
134134
----
@@ -226,7 +226,7 @@ NOTE: It is not necessary to add any programmatically configuration of the drive
226226

227227
|`{config_prefix}.uri`
228228
|
229-
|+++The uri this driver should connect to. The driver supports bolt, bolt+routing or neo4j as schemes. Both uri and uris are empty, the driver tries to connect to 'neo4j://localhost:7687'.+++
229+
|+++The uri this driver should connect to. The driver supports bolt, bolt+routing or neo4j as schemes. Both uri and uris are empty, the driver tries to connect to 'bolt://localhost:7687'.+++
230230

231231
|`{config_prefix}.uris`
232232
|

examples/reactive-web/src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
1818
#
19-
org.neo4j.driver.uri=neo4j://localhost:7687
19+
org.neo4j.driver.uri=bolt://localhost:7687
2020
org.neo4j.driver.authentication.username=neo4j
2121
org.neo4j.driver.authentication.password=secret
2222

examples/web/src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
1818
#
19-
org.neo4j.driver.uri=neo4j://localhost:7687
19+
org.neo4j.driver.uri=bolt://localhost:7687
2020
org.neo4j.driver.authentication.username=neo4j
2121
org.neo4j.driver.authentication.password=secret
2222

neo4j-java-driver-spring-boot-autoconfigure/src/main/java/org/neo4j/driver/springframework/boot/autoconfigure/Neo4jDriverProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public class Neo4jDriverProperties {
5959

6060
/**
6161
* The uri this driver should connect to. The driver supports bolt, bolt+routing or neo4j as schemes. Both uri and uris
62-
* are empty, the driver tries to connect to 'neo4j://localhost:7687'.
62+
* are empty, the driver tries to connect to 'bolt://localhost:7687'.
6363
*/
6464
private URI uri;
6565

0 commit comments

Comments
 (0)