<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:02:06 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>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[INFRAUTILS-41] Bump dropwizard.metrics from 3.2.5 to 4.0.2</title>
                <link>https://jira.opendaylight.org/browse/INFRAUTILS-41</link>
                <project id="10129" key="INFRAUTILS">infrautils</project>
                    <description>&lt;p&gt;Bump io.dropwizard.metrics :&#160;metrics-core &amp;amp; Co. from old 3.2.5 to latest current non-RC release 4.0.2.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/72223/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/72223/&lt;/a&gt;&#160;is hitting an interesting OSGi problem:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;Running org.opendaylight.odlparent.featuretest.SingleFeatureTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.316 sec &amp;lt;&amp;lt;&amp;lt; FAILURE! - in org.opendaylight.odlparent.featuretest.SingleFeatureTest
installFeatureCatchAndLog(org.opendaylight.odlparent.featuretest.SingleFeatureTest)[repoUrl: file:/home/vorburger/dev/ODL/git/infrautils/common/features/odl-infrautils-metrics/target/feature/feature.xml, Feature: odl-infrautils-metrics 1.4.0.SNAPSHOT] Time elapsed: 14.04 sec &amp;lt;&amp;lt;&amp;lt; ERROR!
org.osgi.service.resolver.ResolutionException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=odl-infrautils-metrics; type=karaf.feature; version=&quot;[1.4.0.SNAPSHOT,1.4.0.SNAPSHOT]&quot;; filter:=&quot;(&amp;amp;(osgi.identity=odl-infrautils-metrics)(type=karaf.feature)(version&amp;gt;=1.4.0.SNAPSHOT)(version&amp;lt;=1.4.0.SNAPSHOT))&quot; [caused by: Unable to resolve odl-infrautils-metrics/1.4.0.SNAPSHOT: missing requirement [odl-infrautils-metrics/1.4.0.SNAPSHOT] osgi.identity; osgi.identity=org.opendaylight.infrautils.metrics-impl; type=osgi.bundle; version=&quot;[1.4.0.SNAPSHOT,1.4.0.SNAPSHOT]&quot;; resolution:=mandatory [caused by: Unable to resolve org.opendaylight.infrautils.metrics-impl/1.4.0.SNAPSHOT: missing requirement [org.opendaylight.infrautils.metrics-impl/1.4.0.SNAPSHOT] osgi.wiring.package; filter:=&quot;(&amp;amp;(osgi.wiring.package=com.codahale.metrics.jvm)(version&amp;gt;=4.0.0)(!(version&amp;gt;=5.0.0)))&quot; [caused by: Unable to resolve io.dropwizard.metrics.jvm/4.0.2: missing requirement [io.dropwizard.metrics.jvm/4.0.2] osgi.wiring.package; filter:=&quot;(osgi.wiring.package=com.sun.management)&quot;]]]&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This &lt;tt&gt;com.sun.management&lt;/tt&gt; package seems to be &lt;a href=&quot;https://docs.oracle.com/javase/8/docs/jre/api/management/extension/com/sun/management/package-summary.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;officially documented&lt;/a&gt; (and I guess &lt;a href=&quot;https://bugs.openjdk.java.net/browse/JDK-8077953&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;part of OpenJDK as well&lt;/a&gt;, not just Oracle&apos;s distro).&lt;/p&gt;

&lt;p&gt;In the &lt;tt&gt;MANIFEST.MF&lt;/tt&gt; of ~/.m2/repository/io/dropwizard/metrics/metrics-jvm/4.0.2/metrics-jvm-4.0.2.jar there is:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;Import-Package: org.slf4j;version=&lt;span class=&quot;code-quote&quot;&gt;&quot;[1.6.0,2.0.0)&quot;&lt;/span&gt;,com.codahale.metrics ;version=&lt;span class=&quot;code-quote&quot;&gt;&quot;[4.0,5)&quot;&lt;/span&gt;,com.sun.management,javax.management
Export-Package: com.codahale.metrics.jvm;uses:=&lt;span class=&quot;code-quote&quot;&gt;&quot;com.codahale.metrics,javax.management&quot;&lt;/span&gt;;version=&lt;span class=&quot;code-quote&quot;&gt;&quot;4.0.2&quot;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="30015">INFRAUTILS-41</key>
            <summary>Bump dropwizard.metrics from 3.2.5 to 4.0.2</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="vorburger">Michael Vorburger</assignee>
                                    <reporter username="vorburger">Michael Vorburger</reporter>
                        <labels>
                    </labels>
                <created>Thu, 24 May 2018 13:05:00 +0000</created>
                <updated>Tue, 4 Sep 2018 20:51:54 +0000</updated>
                            <resolved>Tue, 4 Sep 2018 20:51:54 +0000</resolved>
                                                    <fixVersion>Fluorine</fixVersion>
                                    <component>metrics</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="63111" author="vorburger" created="Thu, 24 May 2018 13:07:40 +0000"  >&lt;p&gt;&amp;gt; This com.sun.management package ...&lt;/p&gt;

&lt;p&gt;but it&apos;s probably not exposed as an Export-Package by .. &quot;the JDK&quot; - but where is that defined?&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=skitt&quot; class=&quot;user-hover&quot; rel=&quot;skitt&quot;&gt;skitt&lt;/a&gt; &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=tpantelis&quot; class=&quot;user-hover&quot; rel=&quot;tpantelis&quot;&gt;tpantelis&lt;/a&gt; &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=rovarga&quot; class=&quot;user-hover&quot; rel=&quot;rovarga&quot;&gt;rovarga&lt;/a&gt; any suggestion how to best and &quot;correctly&quot; address this where?&lt;/p&gt;</comment>
                            <comment id="63112" author="tpantelis" created="Thu, 24 May 2018 13:17:21 +0000"  >&lt;p&gt;You can add it to the etc/jre.properties.&lt;/p&gt;</comment>
                            <comment id="63113" author="vorburger" created="Thu, 24 May 2018 13:51:48 +0000"  >&lt;p&gt;&amp;gt; You can add it to the etc/jre.properties.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=tpantelis&quot; class=&quot;user-hover&quot; rel=&quot;tpantelis&quot;&gt;tpantelis&lt;/a&gt; OMG, yes that works - you&apos;re the man!&#160;&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&#160;I never noticed&#160;etc/jre.properties before - thank you!&lt;/p&gt;

&lt;p&gt;Therefore so proposed in &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/72236/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/72236/&lt;/a&gt;&#160;...&lt;/p&gt;

&lt;p&gt;I&apos;ve locally verified that c/72223 passes IFF one grabs&#160;c/72236, does an mvn install of odlparent/karaf (NOT just&#160;odlparent/karaf/opendaylight-karaf-resources) AND bumps&#160;infrautils/common/features/odl-infrautils-metrics from&#160;3.1.0 to&#160;3.1.2-SNAPSHOT.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=skitt&quot; class=&quot;user-hover&quot; rel=&quot;skitt&quot;&gt;skitt&lt;/a&gt; any chance will you&#160;cut a&#160;3.1.2 some time?&lt;/p&gt;</comment>
                            <comment id="63114" author="tpantelis" created="Thu, 24 May 2018 14:01:50 +0000"  >&lt;p&gt;Are we sure we want to add com.sun.management? Relying on com.sun.anything is risky. Does dropwizard actually need it and why....&lt;/p&gt;</comment>
                            <comment id="63115" author="vorburger" created="Thu, 24 May 2018 14:26:14 +0000"  >&lt;p&gt;In general com.sun.* is certainly bad, but given that this &lt;tt&gt;com.sun.management&lt;/tt&gt; package seems to be &lt;a href=&quot;https://docs.oracle.com/javase/8/docs/jre/api/management/extension/com/sun/management/package-summary.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;officially documented&lt;/a&gt; (and I guess &lt;a href=&quot;https://bugs.openjdk.java.net/browse/JDK-8077953&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;part of OpenJDK as well&lt;/a&gt;, not just Oracle&apos;s distro), I&apos;d argue that this seems to be a valid exception to the general rule.&lt;/p&gt;

&lt;p&gt;I&apos;ve not dug into the details of what Dropwizard Metrics does with com.sun.management, but that doc gives us a good clue - that stuff all seems useful for exposing to monitoring tools, and not too nefarious.&lt;/p&gt;</comment>
                            <comment id="63192" author="vorburger" created="Wed, 30 May 2018 14:32:51 +0000"  >&lt;p&gt;We briefly discused this during the Kernel Projects sync call yesterday:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=rovarga&quot; class=&quot;user-hover&quot; rel=&quot;rovarga&quot;&gt;rovarga&lt;/a&gt; would really like this package to only be an optional import of&#160;Dropwizard Metrics. I&apos;ll propose that there.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=skitt&quot; class=&quot;user-hover&quot; rel=&quot;skitt&quot;&gt;skitt&lt;/a&gt; seemed to not be against / be OK with &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/72236/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;c/72236&lt;/a&gt;, based on above (I think).&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="63193" author="skitt@redhat.com" created="Wed, 30 May 2018 14:38:10 +0000"  >&lt;p&gt;Yes, &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/72236/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;c/72236&lt;/a&gt; only makes the package available (if it&#8217;s there), it doesn&#8217;t tie our distribution to its availability, AFAICT. The main problem is really Metrics&#8217; &lt;b&gt;dependency&lt;/b&gt; on it.&lt;/p&gt;</comment>
                            <comment id="63195" author="vorburger" created="Wed, 30 May 2018 15:44:27 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/dropwizard/metrics/pull/1317&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/dropwizard/metrics/pull/1317&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="64883" author="vorburger" created="Tue, 4 Sep 2018 20:51:43 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=skitt&quot; class=&quot;user-hover&quot; rel=&quot;skitt&quot;&gt;skitt&lt;/a&gt; do you&#160;remember&#160;if there was anything left to do here? &lt;a href=&quot;https://github.com/dropwizard/metrics/pull/1317&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/dropwizard/metrics/pull/1317&lt;/a&gt;&#160;went in over there, and we&apos;ll pick it up in&#160;&lt;a href=&quot;https://jira.opendaylight.org/browse/INFRAUTILS-40&quot; title=&quot;Bump dropwizard.metrics from 4.0.2 to 5.0.0 (or at least 4.1.0) when available&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INFRAUTILS-40&quot;&gt;&lt;del&gt;INFRAUTILS-40&lt;/del&gt;&lt;/a&gt; - so I&apos;m closing this one as Done (this has gone into Fluorine; &lt;a href=&quot;https://jira.opendaylight.org/browse/INFRAUTILS-40&quot; title=&quot;Bump dropwizard.metrics from 4.0.2 to 5.0.0 (or at least 4.1.0) when available&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INFRAUTILS-40&quot;&gt;&lt;del&gt;INFRAUTILS-40&lt;/del&gt;&lt;/a&gt; will be Neon).&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="30012">INFRAUTILS-40</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="30047">TSC-117</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03euv:</customfieldvalue>

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