/arangodb-jackson-dataformat-velocypack-issue

Demonstration of the problem

Primary LanguageKotlinApache License 2.0Apache-2.0

About

A showcase of VelocyJack failing ArangoDB Java asynchronous driver authentication.

Goal

Achieve native Kotlin data classes support

Problem

Once VelocyJack is set using deprecated method setSerializer driver fails to connect to the database.

Prerequisites

A basic ArangoDB installation with one sample document

Example:

{
  "_key": "record",
  "_id": "test/record",
  "_rev": "_ZBJJ9SG--_",
  "title": "The ultimate answer is",
  "answer": 42
}

Example data:

data

Acknowledgments

  • A StackOverflow answer that suggested a solution to a previous related problem
  • Jackson VelocyPack format support repo
  • Jackson module for Kotlin repo
  • Kotlin JDK 8 coroutines integration repo