-
Notifications
You must be signed in to change notification settings - Fork 36
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
way to access credentials from environment for mongo-db node #35
Comments
Could you provide some more details on your setup? I assume you are using a custom storage plugin to save your flows in mongo, rather then the cloudant plugin we provide? And that plugin is being provided its credentials via your settings file? |
I've only mongo db in my setup. I am saving flows and application data both in the same mongodb. For that aspect I've used, mongostorage.js instead of couchstorage.js.
Issue I am facing is when I restart my app, my db-credentials are lost and my API's stop working. |
Ok, so this sounds like a bug in |
In the database credentials are not stored. So its a saving issue and not a loading issue. |
Can you try to save some credentials in another node type - for example, the HTTP Request node lets you provide a username/password. |
Ok http-request node is not letting me deploy with credentials. Getting following error.
|
Great - that's the bug then. The mongostorage plugin is quite old and unloved - really should move it out to its own repo so it can be maintained properly |
Is there a solution for this problem? |
@purval you'll need to patch mongostorage.js so it doesn't try to use keys with |
Mongo-db node is not persisting db credentials in database, each time i restart the credentials of mongodb gets lost. (I am using mongo by compose on bluemix to save flows)
The text was updated successfully, but these errors were encountered: