File tree Expand file tree Collapse file tree 4 files changed +18
-10
lines changed
src/test/java/com/arangodb/springframework Expand file tree Collapse file tree 4 files changed +18
-10
lines changed Original file line number Diff line number Diff line change 254254 <artifactId >hamcrest-core</artifactId >
255255 <scope >test</scope >
256256 </dependency >
257+ <dependency >
258+ <groupId >com.arangodb</groupId >
259+ <artifactId >jackson-dataformat-velocypack</artifactId >
260+ <version >0.3.0</version >
261+ <scope >test</scope >
262+ </dependency >
257263 </dependencies >
258264
259265 <dependencyManagement >
Original file line number Diff line number Diff line change 2020
2121package com .arangodb .springframework ;
2222
23- import java .util .ArrayList ;
24- import java .util .Collection ;
25-
26- import org .springframework .context .annotation .ComponentScan ;
27- import org .springframework .context .annotation .Configuration ;
28- import org .springframework .core .convert .converter .Converter ;
29-
3023import com .arangodb .ArangoDB ;
24+ import com .arangodb .jackson .dataformat .velocypack .VelocyJack ;
3125import com .arangodb .springframework .annotation .EnableArangoRepositories ;
3226import com .arangodb .springframework .config .ArangoConfiguration ;
3327import com .arangodb .springframework .core .mapping .CustomMappingTest ;
28+ import org .springframework .context .annotation .ComponentScan ;
29+ import org .springframework .context .annotation .Configuration ;
30+ import org .springframework .core .convert .converter .Converter ;
31+
32+ import java .util .ArrayList ;
33+ import java .util .Collection ;
3434
3535/**
3636 *
@@ -49,7 +49,7 @@ public class ArangoMultiTenancyRepositoryTestConfiguration implements ArangoConf
4949
5050 @ Override
5151 public ArangoDB .Builder arango () {
52- return new ArangoDB .Builder ();
52+ return new ArangoDB .Builder (). serializer ( new VelocyJack ()) ;
5353 }
5454
5555 @ Override
Original file line number Diff line number Diff line change 2323import java .util .ArrayList ;
2424import java .util .Collection ;
2525
26+ import com .arangodb .jackson .dataformat .velocypack .VelocyJack ;
2627import org .springframework .context .annotation .ComponentScan ;
2728import org .springframework .context .annotation .Configuration ;
2829import org .springframework .core .convert .converter .Converter ;
@@ -44,7 +45,7 @@ public class ArangoMultiTenancyTestConfiguration implements ArangoConfiguration
4445
4546 @ Override
4647 public ArangoDB .Builder arango () {
47- return new ArangoDB .Builder ();
48+ return new ArangoDB .Builder (). serializer ( new VelocyJack ()) ;
4849 }
4950
5051 @ Override
Original file line number Diff line number Diff line change 2323import java .util .ArrayList ;
2424import java .util .Collection ;
2525
26+ import com .arangodb .jackson .dataformat .velocypack .VelocyJack ;
2627import org .springframework .context .annotation .Bean ;
2728import org .springframework .context .annotation .ComponentScan ;
2829import org .springframework .context .annotation .Configuration ;
@@ -55,7 +56,7 @@ public class ArangoTestConfiguration implements ArangoConfiguration {
5556
5657 @ Override
5758 public ArangoDB .Builder arango () {
58- return new ArangoDB .Builder ();
59+ return new ArangoDB .Builder (). serializer ( new VelocyJack ()) ;
5960 }
6061
6162 @ Override
You can’t perform that action at this time.
0 commit comments