<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:05:04 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>[IOTDM-62] Compliance - IoTDM is not sending &quot;mni&quot; attribute in response during container creation</title>
                <link>https://jira.opendaylight.org/browse/IOTDM-62</link>
                <project id="10131" key="IOTDM">iotdm</project>
                    <description>&lt;p&gt;Currently, IoTDM is responding with following attributes while creating the &#8220;content&#8221; resource or when AS retrieve (GET) the &#8220;content&#8221; resource.&lt;/p&gt;


&lt;p&gt;1) While doing Container creation request, see following response  - &lt;br/&gt;
{&lt;br/&gt;
  &quot;m2m:cnt&quot;: &lt;/p&gt;
{
    &quot;ct&quot;: &quot;20170220T144009&quot;,
    &quot;st&quot;: 0,
    &quot;ty&quot;: 3,
    &quot;cbs&quot;: 0,
    &quot;ri&quot;: &quot;01i&quot;,
    &quot;lt&quot;: &quot;20170220T144009&quot;,
    &quot;pi&quot;: &quot;/InCSE1/01h&quot;,
    &quot;et&quot;: &quot;29991231T111111&quot;,
    &quot;cni&quot;: 0
  }
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;2) I do see following in the data-store (MD-SAL)&lt;/p&gt;

&lt;div class=&apos;table-wrap&apos;&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;01h      &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;TestContainer     &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;3            &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;{&quot;ct&quot;:&quot;20170220T144009&quot;,&quot;st&quot;:0,&quot;ty&quot;:3,&quot;cbs&quot;:0,&quot;ri&quot;:&quot;01i&quot;,&quot;lt&quot;:&quot;20170220T144009&quot;,&quot;pi&quot;:&quot;01h&quot;,&quot;rn&quot;:&quot;TestContainer&quot;,&quot;et&quot;:&quot;29991231T111111&quot;,&quot;cni&quot;:0}                                                                                                                             &lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;01i        &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;




&lt;p&gt;Expected behavior -  NSC shall include &#8220;mni&#8221;, attributes in the HTTP/201 when container create response ?&lt;/p&gt;

&lt;p&gt;As per onem2m TS-004 (see para 1) -&lt;/p&gt;

&lt;p&gt;7.4.6.2.1 Create &lt;br/&gt;
Originator: &lt;br/&gt;
No change from the generic procedures in clause 7.2.2.1. &lt;br/&gt;
Receiver: &lt;br/&gt;
Primitive specific operation on Recv-6.4 is performed with following exceptions for optional attributes while executing procedures defined in clause 7.3.3.3. &lt;br/&gt;
The Hosting CSE may assign default values based on local policy for optional attributes maxNrOfInstances , maxByteSize and maxInstanceAge. &lt;br/&gt;
If the maxNrOfInstances , maxByteSize or maxInstanceAge attributes are present in the resource representation, but their value indicates an invalid value, then the request shall be rejected with a Response Status Code indicating &quot;BAD_REQUEST&quot; error. &lt;br/&gt;
There are two cases where the Hosting CSE shall configure or overrride a maxNrOfInstances , maxByteSize or maxInstanceAge value specified in the resource representation (if present). &lt;br/&gt;
1) The Originator does not specify a value &lt;/p&gt;

&lt;p&gt;2) The Hosting CSE determines the maxNrOfInstances , maxByteSize or maxInstanceAge requested by the Originator doesn&#8217;t meet its requirements (e.g. based on a local policy) &lt;/p&gt;

&lt;p&gt;In these cases, the Hosting CSE shall configure a maxNrOfInstances , maxByteSize or maxInstanceAge into the resource according to local policy. In addition, the Hosting CSE shall communicate the modified value back to the originator in the response if the Result Content parameter permits this. &lt;br/&gt;
No other changes from the generic procedures in clause 7.2.2.2&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="19568">IOTDM-62</key>
            <summary>Compliance - IoTDM is not sending &quot;mni&quot; attribute in response during container creation</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <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="anilpand@cisco.com">Anil Pandey</reporter>
                        <labels>
                    </labels>
                <created>Mon, 20 Feb 2017 14:46:07 +0000</created>
                <updated>Thu, 19 Oct 2017 21:29:02 +0000</updated>
                                            <version>unspecified</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="35476" author="lflorit@cisco.com" created="Wed, 22 Feb 2017 23:16:33 +0000"  >&lt;p&gt;We decided to respond with only modified attributes, not included in original request. We&apos;ll fix this if you have to (oneM2M compliance test suite calls for it)&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>7823</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=7823]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10304"><![CDATA[Low]]></customfieldvalue>

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

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