Open nitinsurana opened 9 years ago
Didn't you forgot the profile "resthub-jpa"
?
I'm using mongodb, isn't that supposed to be in resthub-mongodb
which I've already added to the test.
Reading briefly the resthubContext.xml
in mongodb, no datasource bean is defined. It is in the hikariCp
or boneCp
profiles. I've never used mongo so I don't really know how datasource are working with it :(
I believe this is related - http://stackoverflow.com/questions/25991395/mongodb-configuration-in-spring-boot-and-spring-data-rest
As per the documentation (http://resthub.org/docs/spring/testing/) the above code should work, but instead throws