18 questions
1
vote
1
answer
2k
views
How to test change unit in mongock with its multiple attributes/lifecycle methods?
We recently migrated from MongoBee to Mongock, and with Mongock 5 version the @ChangeLog and @ChangeSet are depricated. Writing the @ChangeUnit is easy enough and rollback methods are very helpful.
...
1
vote
0
answers
364
views
Mongobee stuck several minutes before to quit
I'm currently using mongobee to update a mongoDB database.
An update can take up to a few minutes however it seems that the real behaviour of mongobee itself only lasts for a few seconds and after ...
2
votes
0
answers
3k
views
Mongobee error: An attempt was made to call a method that does not exist
I am using Mongobee for migration, getting exception on mongoTemplate.insertAll(airports);
@ChangeLog(order = "001")
public class DbChangeLog001 {
@ChangeSet(order = "001", id =...
3
votes
1
answer
32k
views
Error creating bean with name 'mongoTemplate' defined in class path resource Mongobee
Using the Mongobee for Data Migration creating and error as Error creating bean with name 'mongoTemplate' defined in class path resource
Migration configuration
@Configuration
public class ...
2
votes
2
answers
4k
views
What Version Control tools are available for MongoDB [closed]
I'm planning to integrate mongodb based migration tool in my spring boot application which is having spring-data dependency in project. I found main two libraries 1) Mongobee 2) Mongock.
I need some ...
3
votes
3
answers
3k
views
Getting not authorized for query on testdb.system.indexes src/mongo/db/commands/find_cmd.cpp 170 in mongo 4.2
I have recently upgraded to mongo 4.2.0 from 4.0.2. On previous version user was able to access system.indexes but after upgrade, user is not able to access system.indexes collection. User already has ...
9
votes
1
answer
3k
views
MongoDB update validator
I have a collection that looks like this:
{
"_id": "5c90e8736441c96cc8e5c703",
"meta": {
"schemaVersion": 1,
"locHint": {
"region": "150",
"country": "GBR"
}
},
"name":...
1
vote
0
answers
1k
views
Mongobee MongoQueryException: there are no users authenticated
a spring boot application uses mongobee and mongodb, the spring data config is as below:
spring:
data:
mongodb:
uri: mongodb://james:xxxxxxx@localhost:27017/?authSource=admin
...
0
votes
1
answer
2k
views
Error creating mongobee bean on springboot app (on run of tests)
I use all lasts versions (fix others problems)
mongobee 0.13
fongo 2.2.0-RC3-SNAPSHOT
mongodb-driver 3.8.2
When I run my app, I have this error:
org.springframework.beans.factory....