Closed AlvaroVega closed 2 weeks ago
Instead of adding individual fields to configure MongoDB, a more scalable soluction would be to removing them all and replace for a mongo_uri parameter.
Similar to what has been done recently in Orion Context Broker
This version removes
-dbhost
,-rplSet
,-dbTimeout
,-dbuser
,-dbAuthMech
,-dbAuthDb
,-dbSSL
and-dbDisableRetryWrites
CLI parameters along with associated env vars (deprecated in 3.12.0 version), so you have to use-dbURI
(env varORION_MONGO_URI
) instead. Have a look to this documentation section if you need help to migrate the configuration.
Instead of adding individual fields to configure MongoDB, a more scalable soluction would be to removing them all and replace for a mongo_uri parameter.
Similar to what has been done recently in Orion Context Broker
This version removes
-dbhost
,-rplSet
,-dbTimeout
,-dbuser
,-dbAuthMech
,-dbAuthDb
,-dbSSL
and-dbDisableRetryWrites
CLI parameters along with associated env vars (deprecated in 3.12.0 version), so you have to use-dbURI
(env varORION_MONGO_URI
) instead. Have a look to this documentation section if you need help to migrate the configuration.
Yeah! It would be nice a great feature, replace MongoClientOptions to MongoClientUri
https://mongodb.github.io/mongo-java-driver/3.6/driver/tutorials/ssl/
overcomes https://github.com/telefonicaid/fiware-cygnus/pull/2385