<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:03:05 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-4836] AWS dependency should be set as optional in Import-Package</title>
                <link>https://jira.mongodb.org/browse/JAVA-4836</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;OSGi mafinest does not have optional configuration for package com.amazonaws.auth.&lt;/p&gt;

&lt;p&gt;In &lt;b&gt;/driver-core/build.gradle&lt;/b&gt;, &lt;em&gt;afterEvaluate&lt;/em&gt; should have line&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;com.amazonaws.*;resolution:=optional&apos;,&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</description>
                <environment></environment>
        <key id="2227337">JAVA-4836</key>
            <summary>AWS dependency should be set as optional in Import-Package</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="13201">Fixed</resolution>
                                        <assignee username="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="mongodb@tomastokamrazek.cz">Tom&#225;&#353; Toka Mr&#225;zek</reporter>
                        <labels>
                    </labels>
                <created>Sun, 8 Jan 2023 23:56:01 +0000</created>
                <updated>Sat, 28 Oct 2023 11:20:31 +0000</updated>
                            <resolved>Wed, 11 Jan 2023 17:06:48 +0000</resolved>
                                    <version>4.8.0</version>
                                    <fixVersion>4.8.2</fixVersion>
                                    <component>Packaging</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5106567" author="xgen-internal-githook" created="Wed, 11 Jan 2023 17:06:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;email&apos;: &apos;jeff.yemin@mongodb.com&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: Add OSGi package imports for AWS SDK v1 and v2 (#1065)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4836&quot; title=&quot;AWS dependency should be set as optional in Import-Package&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4836&quot;&gt;&lt;del&gt;JAVA-4836&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: 4.8.x&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/ea09d64399869da5009b5032213deddb67c3ee4d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/ea09d64399869da5009b5032213deddb67c3ee4d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5106563" author="xgen-internal-githook" created="Wed, 11 Jan 2023 17:05:20 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;email&apos;: &apos;jeff.yemin@mongodb.com&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: Add OSGi package imports for AWS SDK v1 and v2 (#1065)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4836&quot; title=&quot;AWS dependency should be set as optional in Import-Package&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4836&quot;&gt;&lt;del&gt;JAVA-4836&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/f0e400b1764c39df234b0531a338a06bd17c289a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/f0e400b1764c39df234b0531a338a06bd17c289a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5106390" author="JIRAUSER1258697" created="Wed, 11 Jan 2023 16:22:20 +0000"  >&lt;p&gt;Looks like it works as expected.&lt;/p&gt;</comment>
                            <comment id="5105704" author="jeff.yemin" created="Wed, 11 Jan 2023 13:22:14 +0000"  >&lt;p&gt;A manual test would be fantastic.  Thank you for the offer.&lt;/p&gt;</comment>
                            <comment id="5105698" author="JIRAUSER1258697" created="Wed, 11 Jan 2023 13:19:28 +0000"  >&lt;p&gt;Explicitly specifying packages in Import-Package basically overrides any automatic resolution for that package, that&apos;s why there is no version.&lt;/p&gt;

&lt;p&gt;According to OSGi &lt;a href=&quot;https://docs.osgi.org/specification/osgi.core/7.0.0/framework.module.html#framework.module.importpackage&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;spec&lt;/a&gt; no version specified means every version.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;A version-range to select the exporter&apos;s package version. The syntax must follow Version Ranges. For more information on version selection, see Semantic Versioning. If this attribute is not specified, it is assumed to be [0.0.0, &#8734;).&#160;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;There&apos;s been some discussion in BND &lt;a href=&quot;https://github.com/bndtools/bnd/issues/2713&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here &lt;/a&gt;to rather use DynamicImport-Package instead of optional packages, but I&apos;d say it&apos;s ok as it is, since majority of libraries use the same principle. Besides on the official BND &lt;a href=&quot;https://bnd.bndtools.org/chapters/920-faq.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;FAQ&lt;/a&gt; 42.4 there is used the same exact solution as proposed in your PR.&lt;/p&gt;

&lt;p&gt;I may test it manually in our OSGi environment before merge, if you wish. It&apos;s currently hacked via exporting packages through system bundle.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="5104604" author="jeff.yemin" created="Tue, 10 Jan 2023 22:58:34 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mongodb%40tomastokamrazek.cz&quot; class=&quot;user-hover&quot; rel=&quot;mongodb@tomastokamrazek.cz&quot;&gt;mongodb@tomastokamrazek.cz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I put a fix in code review here and posed a question in the description about the lack of a version range for either of the packages.  Can you let me know if you think that will cause a problem?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Jeff&lt;/p&gt;</comment>
                            <comment id="5098582" author="jeff.yemin" created="Mon, 9 Jan 2023 01:20:44 +0000"  >&lt;p&gt;Note that AWS jars do not include OSGi package import/export metadata in their own MANIFEST.MF files.&lt;/p&gt;</comment>
                            <comment id="5098456" author="JIRAUSER1258697" created="Mon, 9 Jan 2023 00:08:00 +0000"  >&lt;p&gt;Oh and this package is also required.&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;software.amazon.awssdk.auth.credentials&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                                                <inwardlinks description="is caused by">
                                        <issuelink>
            <issuekey id="2126111">JAVA-4718</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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr3mmh:0400000942rcio9</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>