<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:27 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-613] Error not reported when path and payload keys are inconsistent</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-613</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Adding a single service function with inconsistency between path and JSON name&lt;/p&gt;

&lt;p&gt;put /config/service-function:service-functions/service-function/fw-zz/ &lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
  &quot;service-function&quot;: [&lt;/p&gt;
    {
      &quot;ip-mgmt-address&quot;: &quot;20.0.0.11&quot;,
      &quot;type&quot;: &quot;firewall&quot;,
      &quot;name&quot;: &quot;fw-yy&quot;
    }
&lt;p&gt;  ]&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;This is the actual Service Function created&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
  &quot;service-functions&quot;: {&lt;br/&gt;
    &quot;service-function&quot;: [&lt;/p&gt;
      {
        &quot;ip-mgmt-address&quot;: &quot;20.0.0.11&quot;,
        &quot;name&quot;: &quot;fw-yy&quot;,
        &quot;type&quot;: &quot;firewall&quot;
      }
&lt;p&gt;    }&lt;br/&gt;
  }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;Some things to notice:&lt;br/&gt;
The service function name from the path &quot;fw-zz&quot; was ignored. The actually created service function name was &quot;fw-yy&quot;&lt;br/&gt;
There was no callback. OndataChanged() was &lt;em&gt;never&lt;/em&gt; called.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Windows&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="25167">CONTROLLER-613</key>
            <summary>Error not reported when path and payload keys are inconsistent</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="jgloncak">Jozef Gloncak</assignee>
                                    <reporter username="tony.tkacik@gmail.com">Tony Tkacik</reporter>
                        <labels>
                    </labels>
                <created>Tue, 8 Jul 2014 08:43:15 +0000</created>
                <updated>Tue, 14 Nov 2017 15:17:57 +0000</updated>
                            <resolved>Mon, 14 Jul 2014 08:06:58 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>restconf</component>
                        <due>Fri, 11 Jul 2014 00:00:00 +0000</due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="48667" author="tpantelis" created="Wed, 9 Jul 2014 19:38:28 +0000"  >&lt;p&gt;There&apos;s 2 separate issues here:&lt;/p&gt;

&lt;p&gt;1) Restconf doesn&apos;t verify that the list key value in the URI matches the key &lt;br/&gt;
   value in the input. eg&lt;/p&gt;

&lt;p&gt;   put /config/service-function:service-functions/service-function/fw-zz/ &lt;/p&gt;

&lt;p&gt;   {&lt;br/&gt;
     &quot;service-function&quot;: [&lt;br/&gt;
     &lt;/p&gt;
{
        &quot;ip-mgmt-address&quot;: &quot;20.0.0.11&quot;,
        &quot;type&quot;: &quot;firewall&quot;,
        &quot;name&quot;: &quot;fw-yy&quot;
     }
&lt;p&gt; ]&lt;br/&gt;
   }&lt;/p&gt;

&lt;p&gt;   where service-function is a yang list element with &quot;name&quot; as the key. &lt;/p&gt;

&lt;p&gt;2) The data store didn&apos;t notify the DataChangeListener of a new list entry where &lt;br/&gt;
   the DataChangeListener had registered with a wild-carded list &lt;br/&gt;
   InstanceIdentifier, eg:&lt;/p&gt;

&lt;p&gt;      InstanceIdentifier.builder(ServiceFunctions.class)&lt;br/&gt;
          .child(ServiceFunction.class).build()&lt;/p&gt;

&lt;p&gt;   where ServiceFunction is a yang list element.&lt;/p&gt;</comment>
                            <comment id="48668" author="jgloncak" created="Thu, 10 Jul 2014 08:09:07 +0000"  >&lt;p&gt;fix for first problem is proposed&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/8889/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/8889/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="48669" author="tony.tkacik@gmail.com" created="Thu, 10 Jul 2014 08:22:17 +0000"  >&lt;p&gt;For Number 2, description was copied out from original report, and this  is tracked in MD-SAL bugs, should be fixed by &lt;a href=&quot;https://git.opendaylight.org/gerrit/8807&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/8807&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="48670" author="jgloncak" created="Fri, 11 Jul 2014 08:07:02 +0000"  >&lt;p&gt;Patch set 2 was submitted with incorporated comments&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/8889/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/8889/&lt;/a&gt;&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>1330</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=1330]]></customfieldvalue>

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

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