-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't setup the config-persist-path to mongo #20
Comments
Seems like there was a bug when reading the persist path which I just fixed in the master branch. Can you please try again? |
@vtrifonov, sorry for late response. Seems like everything is works fine, thank you! |
One more question, how I should get the value of entity from collection? |
Hello! Thank you for this mock server.
I've successfully worked with mock server using file persistency. But, now I have some problems with a large size of files and I need to move my mock data to mongo.
But when I run server with 'config-persist-path' with mongo URL, finally in root directory i got folder named as 'mongo:'. When i start debugging, i see the following condition doesn't run
if strings.Index(persistPath, "mongodb://") < 0 {
.Here how I execute server:
http-api-mock -config-persist-path mongodb://localhost/test
is it correct?
Sorry for my english :)
The text was updated successfully, but these errors were encountered: