ArangoDB v3.10 reached End of Life (EOL) and is no longer supported.

This documentation is outdated. Please see the most recent stable version.

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 ArangoDBSpring BootSpring FrameworkSpring Data ArangoDBArangoDB Java Driver
3.1-x3.16.04.07.1
3.0-x3.06.04.07.1
2.7-x2.75.33.106.25

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>