<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:22 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>[NETCONF-573] Mountpoint created using mdsal DOM API can&apos;t be reached by restconf</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-573</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;In jsonrpc project, we are creating mountpoints using&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;final DOMMountPointService.DOMMountPointBuilder mountBuilder = mountService.createMountPoint(biPath);&lt;/p&gt;

&lt;p&gt;mountBuilder.addService(DOMDataBroker.class, rpcDataBroker);&lt;/p&gt;

&lt;p&gt;we recently switched to md-sal version of DOMDataBroker (previously org.opendaylight.controller.md.sal.dom.api.DOMDataBroker - it is deprecated for a while)&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Now I can&apos;t access that using restconf, eg :&lt;/p&gt;

&lt;p&gt;PUT &lt;a href=&quot;http://localhost:8181/restconf/config/jsonrpc:config/configured-endpoints/something/yang-ext:mount/prefix:something/xyz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/jsonrpc:config/configured-endpoints/something/yang-ext:mount/prefix:something/xyz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2018-10-05 15:23:26,661 | WARN&#160; | tp1336482246-114 | BrokerFacade&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | 268 - org.opendaylight.netconf.restconf-nb-bierman02 - 1.9.0.SNAPSHOT | DOM data broker service is not available for mount point /(some-namespace?revision=2018-09-08)something/&lt;span class=&quot;error&quot;&gt;&amp;#91;\{(some-namespace?revision=2018-09-08)entity=xyz}&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Problem seems to be that BrokerFacade is checking for &quot;old&quot; API only:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;33 import org.opendaylight.controller.md.sal.dom.api.DOMDataBroker;&lt;/p&gt;

&lt;p&gt;...&lt;/p&gt;

&lt;p&gt;&#160;275&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; final Optional&amp;lt;DOMDataBroker&amp;gt; domDataBrokerService = mountPoint.getService(DOMDataBroker.class);&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Is there something we can do or should we switch back to deprecated API?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Master branch (neon)&lt;/p&gt;

&lt;p&gt;restconf version 1.9.0-SNAPSHOT&lt;/p&gt;</environment>
        <key id="30841">NETCONF-573</key>
            <summary>Mountpoint created using mdsal DOM API can&apos;t be reached by restconf</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</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="10002">Duplicate</resolution>
                                        <assignee username="JMorvay">Jakub Morvay</assignee>
                                    <reporter username="rkosegi">Richard Kosegi</reporter>
                        <labels>
                    </labels>
                <created>Fri, 5 Oct 2018 18:21:28 +0000</created>
                <updated>Tue, 20 Nov 2018 13:08:17 +0000</updated>
                            <resolved>Tue, 20 Nov 2018 13:03:46 +0000</resolved>
                                    <version>Neon</version>
                                    <fixVersion>Neon</fixVersion>
                                    <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="65716" author="jmorvay" created="Tue, 20 Nov 2018 13:08:17 +0000"  >&lt;p&gt;Although, this was reported before &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1869&quot; title=&quot;DOMMountPointService needs to perform deeper proxying&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1869&quot;&gt;&lt;del&gt;CONTROLLER-1869&lt;/del&gt;&lt;/a&gt;, marking this issue as duplicate of the controller issue since it has better description.&lt;/p&gt;

&lt;p&gt;Anyway, your issue should be fixed now.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="30986">CONTROLLER-1869</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|i03jcf:</customfieldvalue>

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