<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:54:55 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-1198] POST doesn&apos;t wait for transaction to succeed</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1198</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;A restconf POST does not wait for the write transaction to the datastore to succeed before returning, where as the PUT does wait. This is inconsistent behavior.&lt;/p&gt;

&lt;p&gt;My expectation is that both PUT and POST will BLOCK until the transaction written to the datastore succeeds, OR if an error occurrs, that error is returned to the caller.&lt;/p&gt;

&lt;p&gt;See RestconfImpl, public Response createConfigurationData(final Node&amp;lt;?&amp;gt; payload) { method.&lt;/p&gt;

&lt;p&gt;This method calls these sub methods to get a callable, but then never waits on the callable.&lt;/p&gt;

&lt;p&gt; try {&lt;br/&gt;
            if (mountPoint != null) &lt;/p&gt;
{
                broker.commitConfigurationDataPost(mountPoint,
                        iiWithData.getInstanceIdentifier(), datastoreNormalizedData);   // &amp;lt;--- NEEDS .get() to block until call done
            }
&lt;p&gt; else &lt;/p&gt;
{
                broker.commitConfigurationDataPost(
                        iiWithData.getInstanceIdentifier(), datastoreNormalizedData); // &amp;lt;-- needs .get() to block until call is done
            }
&lt;p&gt;        } catch (Exception e) &lt;/p&gt;
{
            throw new RestconfDocumentedException(&quot;Error creating data&quot;, e);
        }</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25752">CONTROLLER-1198</key>
            <summary>POST doesn&apos;t wait for transaction to succeed</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="rgoulding">Ryan Goulding</assignee>
                                    <reporter username="devin.avery@brocade.com">Devin Avery</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Mar 2015 19:58:51 +0000</created>
                <updated>Mon, 16 Mar 2015 16:50:44 +0000</updated>
                            <resolved>Mon, 16 Mar 2015 16:50:44 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>restconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="50237" author="rgoulding" created="Fri, 13 Mar 2015 16:46:18 +0000"  >&lt;p&gt;Submitted &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/16492/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/16492/1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="50238" author="rgoulding" created="Fri, 13 Mar 2015 20:52:44 +0000"  >&lt;p&gt;Submitted &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/16500/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/16500/1&lt;/a&gt; for Helium&lt;/p&gt;</comment>
                    </comments>
                    <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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2834</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=2834]]></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="10315"><![CDATA[Lithium]]></customfieldvalue>

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

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