<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:54:14 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>[CONTROLLER-925] Race condition when adding a RPC implementation with an output</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-925</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;When you add a RPC Service Implementer that contains an output reply, there is no error. However, when you try to use this RPC you get a message it does not exist.&lt;/p&gt;

&lt;p&gt;When doing the following lines in your module&apos;s &quot;createInstance&quot; method:&lt;br/&gt;
&quot;getRpcRegistryDependency().addRpcIplementation(Service class,implementer)&quot;&lt;br/&gt;
No error is thrown, however when you try to use the RPC call you get a reply error is the Rest Client that this method is not implemented. Putting this registration inside a thread that sleeps for 15 seconds before doing the line above solves the issue.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25479">CONTROLLER-925</key>
            <summary>Race condition when adding a RPC implementation with an output</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <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="jhajnar@cisco.com">Jan Hajnar</assignee>
                                    <reporter username="saichler@cisco.com">Sharon Aicler</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 Oct 2014 17:17:09 +0000</created>
                <updated>Mon, 19 Jan 2015 23:26:07 +0000</updated>
                            <resolved>Mon, 19 Jan 2015 23:26:07 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="49508" author="saichler@cisco.com" created="Tue, 7 Oct 2014 22:48:29 +0000"  >&lt;p&gt;unzip the project under md-sal, it will create the &quot;sal-example&quot; directory.&lt;br/&gt;
&quot;mvn clean install&quot;&lt;br/&gt;
the configuration file for &quot;configure/initial&quot; dir in under &quot;src/main/resources&quot;&lt;/p&gt;

&lt;p&gt;once the controller is up, to invoke the rpc please use the following:&lt;/p&gt;

&lt;p&gt;url:&lt;br/&gt;
&lt;a href=&quot;http://localhost:8080/restconf/operations/example:create-rec&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/restconf/operations/example:create-rec&lt;/a&gt;&lt;br/&gt;
body:&lt;br/&gt;
{&lt;br/&gt;
  &quot;input&quot; :&lt;/p&gt;
  {
     &quot;example:name&quot; : &quot;hello&quot;,
     &quot;example:family&quot;:&quot;world&quot;
  }
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;you should get an error that this method is not implemented.&lt;/p&gt;

&lt;p&gt;to make it work:&lt;br/&gt;
go to MyExampleModule and unmark line 36 (the sleep of 10 seconds inside the thread).&lt;br/&gt;
if you compile and install the new jar, the RPC will work&lt;/p&gt;</comment>
                            <comment id="49513" author="saichler@cisco.com" created="Tue, 7 Oct 2014 22:48:29 +0000"  >&lt;p&gt;Attachment sal-example.zip has been added with description: An example project that reproduce the issue&lt;/p&gt;</comment>
                            <comment id="49509" author="tony.tkacik@gmail.com" created="Wed, 8 Oct 2014 22:27:56 +0000"  >&lt;p&gt;The registration of RPC to DOM broker in org.opendaylight.controller.sal.binding.impl.connect.dom.DomToBindingRpcForwarder&lt;/p&gt;

&lt;p&gt;uses org.opendaylight.yangtools.sal.binding.generator.impl.RuntimeGeneratedMappingServiceImpl#getRpcQNamesFor(...,...) to retrieve QNames.&lt;/p&gt;

&lt;p&gt;THis method should block thread and wait for schema if unavailable, but currently it returns empty set if schema is still not present, which prevents exposing RPCs to DOM Broker and by extension to Restconf and Clustering.&lt;/p&gt;</comment>
                            <comment id="49510" author="jhajnar@cisco.com" created="Wed, 12 Nov 2014 09:24:34 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/12780/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/12780/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="49511" author="jhajnar@cisco.com" created="Wed, 12 Nov 2014 15:24:37 +0000"  >&lt;p&gt;Please ignore the change above&lt;/p&gt;

&lt;p&gt;fix:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/12786/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/12786/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="49512" author="rovarga" created="Mon, 8 Dec 2014 13:32:29 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/13447/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/13447/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13446" name="sal-example.zip" size="50306" author="saichler@cisco.com" created="Tue, 7 Oct 2014 22:48:29 +0000"/>
                    </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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2157</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=2157]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10360"><![CDATA[Helium-2]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02nen:</customfieldvalue>

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