<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:05:09 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-94] Incorrect values expected in csz attribute of AE resource</title>
                <link>https://jira.opendaylight.org/browse/IOTDM-94</link>
                <project id="10131" key="IOTDM">iotdm</project>
                    <description>&lt;p&gt;Copied from e-mail conversation:&lt;/p&gt;

&lt;p&gt;In the AE resource there is a parameter contentSerialization. This is a list of &#8216;serializations&#8217; defined in commonTypes as:&lt;/p&gt;


&lt;p&gt;              &amp;lt;!-- auxiliary data type required to define &quot;serializations&quot; below --&amp;gt;&lt;br/&gt;
              &amp;lt;xs:simpleType name=&quot;permittedMediaTypes&quot;&amp;gt; &lt;br/&gt;
                             &amp;lt;xs:restriction base=&quot;m2m:typeOfContent&quot;&amp;gt;&lt;br/&gt;
                                           &amp;lt;xs:enumeration value=&quot;application/xml&quot;/&amp;gt;&lt;br/&gt;
                                           &amp;lt;xs:enumeration value=&quot;application/json&quot;/&amp;gt;&lt;br/&gt;
                                           &amp;lt;xs:enumeration value=&quot;application/cbor&quot;/&amp;gt;&lt;br/&gt;
                             &amp;lt;/xs:restriction&amp;gt;&lt;br/&gt;
              &amp;lt;/xs:simpleType&amp;gt; &lt;/p&gt;

&lt;p&gt;              &amp;lt;!-- &quot;serializations&quot; data type is a list of permitted media types as defined above --&amp;gt;&lt;br/&gt;
              &amp;lt;xs:simpleType name=&quot;serializations&quot;&amp;gt; &lt;br/&gt;
                             &amp;lt;xs:restriction&amp;gt;&lt;br/&gt;
                                           &amp;lt;xs:simpleType&amp;gt;&lt;br/&gt;
                                                          &amp;lt;xs:list itemType=&quot;m2m:permittedMediaTypes&quot;/&amp;gt;&lt;br/&gt;
                                           &amp;lt;/xs:simpleType&amp;gt;&lt;br/&gt;
                                           &amp;lt;xs:minLength value=&quot;1&quot;/&amp;gt;&lt;br/&gt;
                             &amp;lt;/xs:restriction&amp;gt;&lt;br/&gt;
              &amp;lt;/xs:simpleType&amp;gt;&lt;/p&gt;



&lt;p&gt;However, if I sent IoTDM Carbon the following JSON I get an error:&lt;/p&gt;

&lt;p&gt;Sending to:&lt;a href=&quot;http://127.0.0.1:8282/InCSE1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8282/InCSE1&lt;/a&gt;&lt;br/&gt;
Request body...&lt;br/&gt;
{&lt;br/&gt;
              &quot;m2m:ae&quot; : &lt;/p&gt;
              {
                             &quot;api&quot; : &quot;app-sensor&quot;,
                             &quot;csz&quot; : 
                             [
                                           &quot;application/xml&quot;,
                                           &quot;application/json&quot;
                             ],
                             &quot;lbl&quot; : 
                             [
                                           &quot;Type/sensor&quot;,
                                           &quot;Category/temperature&quot;
                             ],
                             &quot;rn&quot; : &quot;MY_SENSOR&quot;,
                             &quot;rr&quot; : false
              }
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;Response body:&lt;/p&gt;
{&quot;error&quot;:&quot;CONTENT(pc) only accept word JSON or XML for attribute csz&quot;}</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="19600">IOTDM-94</key>
            <summary>Incorrect values expected in csz attribute of AE resource</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="1" iconUrl="https://jira.opendaylight.org/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="tjanciga">Tomas Janciga</reporter>
                        <labels>
                    </labels>
                <created>Thu, 17 Aug 2017 05:23:10 +0000</created>
                <updated>Mon, 20 Nov 2017 16:47:07 +0000</updated>
                                            <version>unspecified</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                        <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>9002</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=9002]]></customfieldvalue>

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

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