Closed kumardeepak5 closed 2 months ago
This PR sounds goods to me, but not sure we can introduce this breaking change keeping old options (mongo_hosts, mongo_username, mongo_password, mongo_auth_source, mongo_replica_set) at the first time and removing then in a future.
This PR sounds goods to me, but not sure we can introduce this breaking change keeping old options (mongo_hosts, mongo_username, mongo_password, mongo_auth_source, mongo_replica_set) at the first time and removing then in a future.
I agree. Similar to what we do in Orion, deprecating mongo CLI options in release 3.12.0 (but still supported) and removing definitively in a next version 4.0.0.
In this sense:
mongo_uri
setting, the old mongo_
options are ignored.[cygnus-common][cygnus-ngsi] New setting mongo_uri (#2402)
[cygnus-common][cygnus-ngsi] Deprecate (mongo_hosts, mongo_username, mongo_password, mongo_auth_source, mongo_replica_set) (use mongo_uri instead)
@AlvaroVega, @fgalan Please Review PR.
@AlvaroVega , PR is ready to review.
Edit: issue #2402
Related issue https://github.com/telefonicaid/fiware-cygnus/issues/2387