<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:05:06 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-69] Compliance - IoTDM is not validating &quot;acco/acw&quot; element of ACP</title>
                <link>https://jira.opendaylight.org/browse/IOTDM-69</link>
                <project id="10131" key="IOTDM">iotdm</project>
                    <description>&lt;p&gt;IoTDM is not doing validation on &quot;allowed number of elements&quot; &amp;amp; &quot;respective value&quot; While creating ACP with optional attribute - &quot;accessControlContexts/accessControlWindow&quot;&lt;/p&gt;

&lt;p&gt;&quot;accessControlContexts/accessControlWindow&quot; is of type &quot;m2m:scheduleEntry&quot;&lt;/p&gt;

&lt;p&gt;As per spec - &quot;m2m:scheduleEntry&quot; support following elements and values - &lt;br/&gt;
&lt;ins&gt;======================================================================&lt;/ins&gt;&lt;/p&gt;

&lt;p&gt;Table 7.4.9.1-4: Definition of m2m:scheduleEntry string format&lt;br/&gt;
Field Name                 Range of values          Note&lt;br/&gt;
Second                       0 to 59&lt;br/&gt;
Minute                       0 to 59&lt;br/&gt;
Hour                         0 to 23&lt;br/&gt;
Day of the month             1 to 31&lt;br/&gt;
Month of the year            1 to 12&lt;br/&gt;
Day of the week              0 to 6                 0 means Sunday&lt;br/&gt;
Year                         20000 to 9999&lt;/p&gt;

&lt;p&gt;&lt;ins&gt;======================================================================&lt;/ins&gt;&lt;/p&gt;

&lt;p&gt;Actual behavior of IoTDM - &lt;/p&gt;

&lt;p&gt;Currently, IoTDM is allowing me to set more then 7 values without doing any range check on the value. Following is what IoTDM is returning for a configured ACP.&lt;/p&gt;


&lt;p&gt;{&quot;m2m:acp&quot;:{&quot;ct&quot;:&quot;20170306T092810&quot;,&quot;ty&quot;:1,&quot;pv&quot;:{&quot;acr&quot;:[{&quot;acco&quot;:[&lt;/p&gt;
{&quot;acw&quot;:&quot;0-69 0-59 0-24 1-32 1-13 0-7 2017-2018 1&quot;}
&lt;p&gt;],&quot;acor&quot;:&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;admin&amp;quot;&amp;#93;&lt;/span&gt;,&quot;acop&quot;:63}]},&quot;ri&quot;:&quot;01gr&quot;,&quot;lt&quot;:&quot;20170306T092810&quot;,&quot;pi&quot;:&quot;/InCSE1/01ge&quot;,&quot;pvs&quot;:{&quot;acr&quot;:[{&quot;acco&quot;:[&lt;/p&gt;
{&quot;acw&quot;:&quot;* * * * * * * * 2017-2018&quot;}
&lt;p&gt;],&quot;acor&quot;:&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;quot;admin&amp;quot;&amp;#93;&lt;/span&gt;,&quot;acop&quot;:63}]},&quot;rn&quot;:&quot;Acp3.03.01&quot;,&quot;et&quot;:&quot;29991231T111111&quot;}}&lt;/p&gt;

&lt;p&gt;Please notice following values - &quot;acw&quot;:&quot;0-69 0-59 0-24 1-32 1-13 0-7 2017-2018 1&quot;&lt;/p&gt;

&lt;p&gt;Expected behavior of IoTDM - &lt;br/&gt;
1) IoTDM should impose restriction to set exactly 7 values. &lt;br/&gt;
2) Also, it would be good to perform range check on values, and appropriate error in response if criteria for successful configuration does not pass.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="19575">IOTDM-69</key>
            <summary>Compliance - IoTDM is not validating &quot;acco/acw&quot; element of ACP</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="anilpand@cisco.com">Anil Pandey</reporter>
                        <labels>
                    </labels>
                <created>Mon, 6 Mar 2017 09:34:47 +0000</created>
                <updated>Thu, 19 Oct 2017 21:29:15 +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>7904</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=7904]]></customfieldvalue>

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

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