[CXX-162] Translate server_options.h and ssl_options.h into client initialization options structure Created: 28/Mar/14  Updated: 03/Jul/14  Resolved: 22/May/14

Status: Closed
Project: C++ Driver
Component/s: Implementation
Affects Version/s: None
Fix Version/s: legacy-0.9.0

Type: Improvement Priority: Critical - P2
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

This file is used only to obtain two simple constants, the default mongodb port being the most obvious, but declares a bunch of other stuff that isn't relevant to the driver.

We should drop this file and move the defaults to something less cluttered.



 Comments   
Comment by Githook User [ 22/May/14 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: CXX-162 Configure client at initialization time via Options class
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/5de82e979e37bff9f1517ac7db8ad2f97fe7e7f7

Comment by Andrew Morrow (Inactive) [ 21/May/14 ]

https://github.com/mongodb/mongo-cxx-driver/pull/81

Comment by Andrew Morrow (Inactive) [ 02/May/14 ]

Making critical because while the current driver can be configured by directly writing to the global server and ssl options, that approach is pretty terrible UX. We will definitely want to have a better story here.

Comment by Andrew Morrow (Inactive) [ 18/Apr/14 ]

Bumping out to legacy-0.9. We use this a bit more than it first appears, and we need a more general mechanism to configure the driver at initialization time.

Generated at Wed Feb 07 21:58:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.