<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:25:31 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>[DRIVERS-2414] CSFLE spec tests should not specify options under an &quot;opts&quot; operation argument</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-2414</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;div class=&quot;panel&quot; style=&quot;background-color: #fafbfc;border-color: #21313c;border-style: solid;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelContent&quot; style=&quot;background-color: #fafbfc;&quot;&gt;
&lt;h3&gt;&lt;a name=&quot;Summary&quot;&gt;&lt;/a&gt;&lt;b&gt;Summary&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;Quoting &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/unified-test-format/unified-test-format.rst#expressing-required-and-optional-parameters&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Expressing Required and Optional Parameters&lt;/a&gt; in the unified test format spec:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Some specifications group optional parameters for API methods under an options parameter (e.g. options: &lt;tt&gt;Optional&amp;lt;UpdateOptions&amp;gt;&lt;/tt&gt; in the CRUD spec); however, driver APIs vary in how they accept options (e.g. Python&apos;s keyword/named arguments, session as either an option or required parameter depending on whether a language supports method overloading). Therefore, test files SHALL declare all required and optional parameters for an API method directly within operation.arguments (e.g. upsert for updateOne is not nested under an options key).&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;The CSFLE spec tests do not follow this. For example, &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/tests/unified/createDataKey.yml&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;createDataKey.yml&lt;/tt&gt;&lt;/a&gt; includes an &lt;tt&gt;opts&lt;/tt&gt; key within the operation&apos;s &lt;tt&gt;arguments&lt;/tt&gt; object.&lt;/p&gt;

&lt;p&gt;This was likely an oversight in &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2017&quot; title=&quot;Add ClientEncryption entity and Key Management API operations to Unified Test Format&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2017&quot;&gt;&lt;del&gt;DRIVERS-2017&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;Motivation&quot;&gt;&lt;/a&gt;&lt;b&gt;Motivation&lt;/b&gt;&lt;/h3&gt;
&lt;h4&gt;&lt;a name=&quot;Isthisissueurgent%3F&quot;&gt;&lt;/a&gt;Is this issue urgent?&lt;/h4&gt;
&lt;p&gt;No.&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Isthisticketrequiredbyadownstreamteam%3F&quot;&gt;&lt;/a&gt;Is this ticket required by a downstream team?&lt;/h4&gt;
&lt;p&gt;No.&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Isthisticketonlyfortests%3F&quot;&gt;&lt;/a&gt;Is this ticket only for tests?&lt;/h4&gt;
&lt;p&gt;Yes.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="2114484">DRIVERS-2414</key>
            <summary>CSFLE spec tests should not specify options under an &quot;opts&quot; operation argument</summary>
                <type id="14901" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14700&amp;avatarType=issuetype">Spec Change</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</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="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                    </labels>
                <created>Mon, 15 Aug 2022 19:52:47 +0000</created>
                <updated>Thu, 18 Aug 2022 13:09:10 +0000</updated>
                            <resolved>Thu, 18 Aug 2022 13:09:10 +0000</resolved>
                                                        <component>Client Side Encryption</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4760045" author="kevin.albertson" created="Thu, 18 Aug 2022 13:09:04 +0000"  >&lt;p&gt;Good point. I missed that during review too.&lt;/p&gt;

&lt;p&gt;Closing as &quot;Won&apos;t Fix&quot; since it does not interfere with driver testing, and would require some effort to update the tests and test runners.&lt;/p&gt;</comment>
                            <comment id="4751496" author="jmikola@gmail.com" created="Mon, 15 Aug 2022 19:53:27 +0000"  >&lt;p&gt;Feel free to resolve/close if there is no intention to address this, but I felt compelled to point it out when I encountered this. It was definitely missed during the original review for &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2017&quot; title=&quot;Add ClientEncryption entity and Key Management API operations to Unified Test Format&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2017&quot;&gt;&lt;del&gt;DRIVERS-2017&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1958125">DRIVERS-2017</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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_10951" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Driver Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10748"><![CDATA[Needed]]></customfieldvalue>

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

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