<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:25: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>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>[NEUTRON-200] Figure out permanent solution for Moxy / javax.json OSGi problem</title>
                <link>https://jira.opendaylight.org/browse/NEUTRON-200</link>
                <project id="10145" key="NEUTRON">neutron</project>
                    <description>&lt;p&gt;Once the Neon MRI stress (&lt;a href=&quot;https://jira.opendaylight.org/browse/TSC-132&quot; title=&quot;Neon MRI Integration Window&quot; class=&quot;issue-link&quot; data-issue-key=&quot;TSC-132&quot;&gt;&lt;del&gt;TSC-132&lt;/del&gt;&lt;/a&gt;) is over, we probably should look at a more permanent solution for the OSGi problems related to&#160;Moxy and the javax.json which I battled with in&#160;&lt;a href=&quot;https://jira.opendaylight.org/browse/NEUTRON-197&quot; title=&quot;Neon-MRI: Bump odlparent, yangtools, mdsal&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NEUTRON-197&quot;&gt;&lt;del&gt;NEUTRON-197&lt;/del&gt;&lt;/a&gt;. Some options for further discussions:&lt;/p&gt;

&lt;p&gt;1. We could revert from &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/75508/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the EclipseLink bump from from 2.7.1 to 2.7.3&lt;/a&gt;, remove the workarounds, and stay on 2.7.1 forever. That&apos;s not so great.&lt;/p&gt;

&lt;p&gt;2. The workarounds I put into &lt;tt&gt;neutron/parent/pom.xml&lt;/tt&gt;&#160;and into the each odl-neutron-* single feature perhaps could move to odlparent instead of staying in neutron. I don&apos;t really like that though, because IMHO it&apos;s better for neutron to be able to &quot;control its destiny&quot; and set these version correctly itself; the problem with this is when odlparent next bumps its version of&#160;org.eclipse.persistence, it will probably be a mess (bit if anyone has a clear idea how to avoid repeating of &lt;tt&gt;org.eclipse.persistence&lt;/tt&gt; from &lt;tt&gt;odlparent&lt;/tt&gt; in&#160;&lt;tt&gt;project-neutron-parent&lt;/tt&gt;, that would address that). More importantly, if we just shuffle (&quot;upstream&quot;) that workaround, we would essentially still be eternally stuck on &lt;tt&gt;org.glassfish:javax.json&lt;/tt&gt; version 1.0.4 ...&lt;/p&gt;

&lt;p&gt;3. Ideally, we should therefore find a real solution with EclipseLink &amp;amp; javax.json upstreams. What they should really do IMHO is EITHER continue to provide a single JAR including both API &amp;amp; Impl, for those like us under OSGi who were just fine with that, or for javax.json to allow specifying an Impl programmatically instead of via ServiceLoader and/or Class forName, and then for EclipseLink to allow us to set that... that&apos;s probably quite a bit of work to drive this end to end from start to completion (issues, contributions, tests, releases, upgrades); my motivation for that is limited.&lt;/p&gt;

&lt;p&gt;4. Alternatively, we could perhaps use the latest &lt;tt&gt;org.glassfish:javax.json&lt;/tt&gt; and &lt;tt&gt;javax.json:javax.json-api&lt;/tt&gt; and do some Bundle Buddy Policy something hack to make the &lt;tt&gt;Class.forName&lt;/tt&gt; work after all.&lt;/p&gt;

&lt;p&gt;5. We could repackage (the latest version of) javax.json:javax.json-api +&#160;org.glassfish:javax.json together into a new combined bundle ourselves? With a Maven POM, not manually; and have our own artifact for this (in like odlparent or infrautils), and override dependencies to use that.&lt;/p&gt;</description>
                <environment></environment>
        <key id="30857">NEUTRON-200</key>
            <summary>Figure out permanent solution for Moxy / javax.json OSGi problem</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.opendaylight.org/images/icons/priorities/critical.svg">High</priority>
                        <status id="10003" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Confirmed</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="vorburger">Michael Vorburger</reporter>
                        <labels>
                    </labels>
                <created>Mon, 8 Oct 2018 23:13:44 +0000</created>
                <updated>Thu, 25 Jun 2020 09:04:07 +0000</updated>
                                                                            <component>northbound-api</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="65272" author="vorburger" created="Tue, 9 Oct 2018 01:10:01 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/eclipse-ee4j/jsonp/issues/96&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/eclipse-ee4j/jsonp/issues/96&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://bugs.eclipse.org/bugs/show_bug.cgi?id=539939&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.eclipse.org/bugs/show_bug.cgi?id=539939&lt;/a&gt;&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=rovarga&quot; class=&quot;user-hover&quot; rel=&quot;rovarga&quot;&gt;rovarga&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; any smart suggestions?&lt;/p&gt;</comment>
                            <comment id="65273" author="tpantelis" created="Tue, 9 Oct 2018 01:32:45 +0000"  >&lt;p&gt;From what I understand, code in javax.json-api_1.1.2 is doing a Class.forName which fails with ClassNotFoundException b/c the package isn&apos;t explicitly included via Import-Package. If so, in my experience, if you do Class.forName (albeit not ideal) then you need to add &lt;em&gt;DynamicImport-Package: *&lt;/em&gt;. Isn&apos;t there a way to inject a bundle manifest directive at runtime via some magic in the features XML (as a workaround)?&lt;/p&gt;</comment>
                            <comment id="65290" author="skitt@redhat.com" created="Tue, 9 Oct 2018 16:25:09 +0000"  >&lt;p&gt;See &lt;a href=&quot;http://karaf.apache.org/manual/latest/#_wrap_deployer&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://karaf.apache.org/manual/latest/#_wrap_deployer&lt;/a&gt; for documentation on using the wrapper to add bundle directives. I get the impression it won&#8217;t work on artifacts which already are OSGi bundles.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="31925">ODLPARENT-208</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="32799">ODLPARENT-237</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="32800">ODLPARENT-238</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|i03jfz:</customfieldvalue>

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