ArangoDB v3.13 is under development and not released yet. This documentation is not final and potentially incomplete.
Spring Boot Starter ArangoDB
The Spring Boot Starter for ArangoDB is a set of convenient dependency descriptors that you can include in your application
Supported versions
Spring Boot Starter ArangoDB is compatible with all supported versions of ArangoDB. For more information, see the End-of-life announcements .
This integration has multiple versions released, and each one is compatible with the corresponding versions of Spring Boot, Spring Framework, Spring Data ArangoDB, and ArangoDB Java Driver:
Spring Boot Starter ArangoDB | Spring Boot | Spring Framework | Spring Data ArangoDB | ArangoDB Java Driver |
---|---|---|---|---|
3.3-x | 3.3 | 6.1 | 4.2 | 7.7 |
3.2-x | 3.2 | 6.1 | 4.2 | 7.7 |
Note that the adopted versioning scheme does not honor the semantic versioning rules, i.e. minor or patch releases may introduce new features or breaking changes. Please refer to releases for details.
Maven
Add arangodb-spring-boot-starter
to your project to auto-configure Spring
Data ArangoDB.
<dependency>
<groupId>com.arangodb</groupId>
<artifactId>arangodb-spring-boot-starter</artifactId>
<version>3.x-y</version>
</dependency>
Configuration
Configure the properties files of your application with the properties of ArangoProperties .
arangodb.spring.data.database=mydb
arangodb.spring.data.user=root
arangodb.spring.data.password=1234
Monitor
ArangoDB health monitoring can be applied to your application by adding
spring-boot-starter-actuator
to your project and calling the GET /actuator/health
endpoint against your application.
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>