<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:54:49 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[JAVA-1518] Apply client settings from Map</title>
                <link>https://jira.mongodb.org/browse/JAVA-1518</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;It would be nice to allow someone to configure a MongoClient from a Map. This would allow any system/application (however it is configured) to easily create a MongoClient from it&apos;s own configuration.&lt;/p&gt;</description>
                <environment></environment>
        <key id="165626">JAVA-1518</key>
            <summary>Apply client settings from Map</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="nscavell">Nick Scavelli</reporter>
                        <labels>
                    </labels>
                <created>Mon, 27 Oct 2014 15:23:03 +0000</created>
                <updated>Fri, 8 Dec 2017 21:21:38 +0000</updated>
                            <resolved>Fri, 8 Dec 2017 21:21:38 +0000</resolved>
                                                                    <component>Configuration</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1747400" author="jeff.yemin" created="Fri, 8 Dec 2017 21:21:38 +0000"  >&lt;p&gt;There doesn&apos;t seem to be much interest in pursuing this one.  Closing as Won&apos;t Fix for now.&lt;/p&gt;</comment>
                            <comment id="755863" author="nscavell" created="Tue, 4 Nov 2014 18:30:28 +0000"  >&lt;p&gt;In hindsight, maybe this isn&apos;t a great idea. I was thinking we&apos;d go off the config objects. So ClusterSettings would be something like Map&amp;lt;String, Object&amp;gt; cluster = map.get(&quot;clusterSettings&quot;); Then List&amp;lt;Map&amp;lt;String, Object&amp;gt;&amp;gt; hosts = cluster.get(&quot;hosts&quot;); etc, etc but this is ugly.&lt;/p&gt;

&lt;p&gt;If anything it would probably makes sense to map directly from &lt;a href=&quot;http://docs.mongodb.org/manual/reference/connection-string/#connections-standard-connection-string-format&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/reference/connection-string/#connections-standard-connection-string-format&lt;/a&gt;. So map.get(&quot;replicaSet&quot;), map.get(&quot;maxPoolSize&quot;), etc. And just represent hosts as a List of Strings &quot;&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;&quot;.&lt;/p&gt;</comment>
                            <comment id="749316" author="nscavell" created="Mon, 27 Oct 2014 15:57:41 +0000"  >&lt;p&gt;And really the schema is dictated by Config object really. Whatever the the public getter method is called would map to the key.&lt;/p&gt;</comment>
                            <comment id="749295" author="nscavell" created="Mon, 27 Oct 2014 15:44:56 +0000"  >&lt;p&gt;Correct, but very &apos;json&apos; like if you will. Map -&amp;gt; object, List -&amp;gt; array, etc. I&apos;m assuming config could be represented in json ?&lt;/p&gt;</comment>
                            <comment id="749278" author="jeff.yemin" created="Mon, 27 Oct 2014 15:28:00 +0000"  >&lt;p&gt;I presume we would have to define a schema for the Map.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hs3e7r:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>144645</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>