-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Make it possible to run with auth, as a replica set, and with additional args. #79
Conversation
Related comment #74 (comment) @jloveridge Thanks for PR I ready to merge it! But if you able to write a new class for ReplicaSet - MongoReplicaSet.js and put it near Let me know to merge PR or wait for MongoReplicaSet class from you. |
@nodkz I don't necessarily have an issue with creating another class. I do question whether or not it is necessary. The functionality I added is specific to passing command line arguments to the spawned
So, while I do believe the above additions would be nice I feel they are outside the scope of just being able to pass additional command line arguments when starting an instance of |
I should have mentioned that I would be happy to tackle the creation of the new |
@jloveridge Agreed! Let move new class to another PR. Tnx. |
And typescript definitions ;) |
I'm already past midnight. But about 20 minutes will be online. And eeady to merge changes from mobile. PS. Your overview is brilliant! |
Yep, going to add type definitions now since you have merged my other PR. Just need a few minutes. |
…additional args. feat(MongoInstance): add new option `instance.auth` to allow running with auth enabled. feat(MongoInstance): add new option `instance.replSet` to specify replica set name.
e7c0b01
to
d546d80
Compare
Types have been added. Build passed for me locally. I expect Travis CI will pass very soon. |
It merged with master and after CI run it will publish a new version. Thanks a lot for great PRs!! 👍 Now I can go sleep 😉 |
🎉 This PR is included in version 2.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Thank you very much. Now I can use the official package instead of a fork. Sleep well. |
I noticed this doesn't actually pass the '--auth' option to the command line. Is this intentional? I use it sometimes and I'm working on a PR to do just that, if anyone else is interested. |
feat(MongoInstance): add new option
instance.args
to allow passing additional args.feat(MongoInstance): add new option
instance.auth
to allow running with auth enabled.feat(MongoInstance): add new option
instance.replSet
to specify replica set name.