transporter icon indicating copy to clipboard operation
transporter copied to clipboard

Automate SSL setting

Open codepope opened this issue 8 years ago • 2 comments

Version: 0.3.0

Feature Request

When "?ssl=true" is present in the connection string for MongoDB, automatically remove the "?ssl=true" from the string and set the ssl:true property to true.

This would allow simple cut and pasting of URLs without modification into env vars and pipeline.js

codepope avatar Mar 22 '17 11:03 codepope

Requesting permission to jump onboard and tackle this, captain!

keremgocen avatar Sep 27 '17 23:09 keremgocen

nice! I vaguely remember thinking it could be accomplished in https://github.com/compose/transporter/blob/f6b0a34da6dc6c1d08b6ec53a268c131e9332898/adaptor/mongodb/client.go#L112-L121 with a call to WithSSL(true)(c)

jipperinbham avatar Sep 27 '17 23:09 jipperinbham