<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:21:38 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>[SERVER-9851] Warn if http dependent options are specified (jsonp/rest)</title>
                <link>https://jira.mongodb.org/browse/SERVER-9851</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;If someone tries to start with &quot;rest&quot; or &quot;jsonp&quot; and there is no http support this should be an error and the system should fail to start with an appropriate error message. Currently these options are silently &quot;ignored&quot; (from the users perspective).&lt;/p&gt;

&lt;p&gt;The other option would be to turn on the http interface if dependent options are specified, like is done with auth/authKey.&lt;/p&gt;

&lt;p&gt;EDITED TO ADD: Also produce warning is -&lt;del&gt;rest/&lt;/del&gt;-jsonp is overriden by --nohttpinterface&lt;/p&gt;</description>
                <environment></environment>
        <key id="77636">SERVER-9851</key>
            <summary>Warn if http dependent options are specified (jsonp/rest)</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="9">Done</resolution>
                                        <assignee username="greg.mckeon@mongodb.com">Gregory McKeon</assignee>
                                    <reporter username="scotthernandez">Scott Hernandez</reporter>
                        <labels>
                    </labels>
                <created>Mon, 3 Jun 2013 11:59:49 +0000</created>
                <updated>Thu, 2 Aug 2018 21:25:14 +0000</updated>
                            <resolved>Thu, 27 Jun 2013 14:04:08 +0000</resolved>
                                                    <fixVersion>2.5.1</fixVersion>
                                    <component>HTTP Console</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="369003" author="andreas.nilsson@10gen.com" created="Thu, 27 Jun 2013 14:04:08 +0000"  >&lt;p&gt;The following command line combinations will generate warnings for now and errors in the future. Not sure if we want to document it or not.&lt;/p&gt;

&lt;p&gt;mongod &amp;#45;&amp;#45;nohttpinterface (&amp;#45;&amp;#45;rest|&amp;#45;&amp;#45;jsonp)&lt;br/&gt;
mongod (&amp;#45;&amp;#45;rest|&amp;#45;&amp;#45;jsonp)&lt;/p&gt;</comment>
                            <comment id="368998" author="auto" created="Thu, 27 Jun 2013 14:00:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;agralius&apos;, u&apos;name&apos;: u&apos;Andreas Nilsson&apos;, u&apos;email&apos;: u&apos;andreas.nilsson@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9851&quot; title=&quot;Warn if http dependent options are specified (jsonp/rest)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9851&quot;&gt;&lt;del&gt;SERVER-9851&lt;/del&gt;&lt;/a&gt; Warn if http options are specified without --httpinterface&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/9ae211bbd106570522e99d905b07a06a121186e2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/9ae211bbd106570522e99d905b07a06a121186e2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="367285" author="scotthernandez" created="Tue, 25 Jun 2013 14:32:29 +0000"  >&lt;p&gt;Tad, the goal is to both do unsurprising things but also to turn off the http system when possible for security reasons. Making it harder to turn on the http system, without being explicit at all levels, is part of that plan. &lt;/p&gt;

&lt;p&gt;Also, our rest isn&apos;t really rest. At some point me may deliver a feature more useful, secure and useful but this isn&apos;t it, and it may come in an external or optional module &amp;#8211; best to address when we get there.&lt;/p&gt;</comment>
                            <comment id="367278" author="tad" created="Tue, 25 Jun 2013 14:24:06 +0000"  >&lt;p&gt;It seems a little user-unfriendly to require &quot;&amp;#45;&amp;#45;httpinterface &amp;#45;&amp;#45;rest&quot; to turn on &quot;&amp;#45;&amp;#45;rest&quot; and &quot;&amp;#45;&amp;#45;httpinterface &amp;#45;&amp;#45;jsonp&quot; to turn on &quot;&amp;#45;&amp;#45;jsonp&quot;.&lt;/p&gt;

&lt;p&gt;It is definitely user-unfriendly to silently ignore &quot;&amp;#45;&amp;#45;rest&quot; and &quot;&amp;#45;&amp;#45;jsonp&quot; when &quot;&amp;#45;&amp;#45;httpinterface&quot; has not also been specified.&lt;/p&gt;

&lt;p&gt;I think that the &quot;principle of least astonishment&quot; would tell you to enable &amp;#45;&amp;#45;httpinterface when a &quot;superset&quot; of that feature is enabled.  If the documentation unambiguously describes &amp;#45;&amp;#45;rest as enabling &quot;HTTP with REST&quot;, for example, this should not cause confusion.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 12 Jun 2013 13:42:06 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 33 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>greg.mckeon@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 33 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andreas.nilsson</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>greg.mckeon@mongodb.com</customfieldvalue>
            <customfieldvalue>scotthernandez</customfieldvalue>
            <customfieldvalue>tad</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmr53:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrqxjj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>70952</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht0plz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>