<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:33:02 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>[OPNFLWPLUG-657] NodeId+DatapathId in Services (remove dependency on DeviceContext)</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-657</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;Subclasses of org.opendaylight.openflowplugin.impl.services.AbstractService should have their own field for accessing NodeId+DatapathId+version. For example these classes use NodeId/DatapathId just for logging:&lt;br/&gt;
a/ org.opendaylight.openflowplugin.impl.statistics.services.dedicated.StatisticsGatheringService&lt;br/&gt;
b/ org.opendaylight.openflowplugin.impl.statistics.services.dedicated.StatisticsGatheringOnTheFlyService&lt;br/&gt;
c/ org.opendaylight.openflowplugin.impl.statistics.services.MatchingFlowsInTableService&lt;br/&gt;
d/ ... (all other subclasses)&lt;/p&gt;

&lt;p&gt;Lets used DeviceState for accessing at least:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;nodeId&lt;/li&gt;
	&lt;li&gt;version&lt;/li&gt;
	&lt;li&gt;datapathId (accesible in DeviceState.getFeatures())&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This deviceContext is propagated also to this transform utility functions but it is not necessary (propagate there only DeviceState):&lt;br/&gt;
e/ org.opendaylight.openflowplugin.impl.statistics.services.compatibility.FlowStatisticsToNotificationTransformer.transformToNotification(List&amp;lt;MultipartReply&amp;gt;, DeviceContext, OpenflowVersion, TransactionId)&lt;br/&gt;
f/ org.opendaylight.openflowplugin.impl.statistics.services.compatibility.GroupStatisticsToNotificationTransformer.transformToNotification(List&amp;lt;MultipartReply&amp;gt;, DeviceContext, OpenflowVersion, TransactionId)&lt;br/&gt;
g/ org.opendaylight.openflowplugin.impl.statistics.services.compatibility.MeterStatisticsToNotificationTransformer.transformToNotification(List&amp;lt;MultipartReply&amp;gt;, DeviceContext, OpenflowVersion, TransactionId)&lt;br/&gt;
h/ org.opendaylight.openflowplugin.impl.statistics.services.compatibility.QueueStatisticsToNotificationTransformer.transformToNotification(List&amp;lt;MultipartReply&amp;gt;, DeviceContext, OpenflowVersion, TransactionId)&lt;br/&gt;
i/ org.opendaylight.openflowplugin.impl.statistics.services.compatibility.NodeConnectorStatisticsToNotificationTransformer.transformToNotification(List&amp;lt;MultipartReply&amp;gt;, DeviceContext, OpenflowVersion, TransactionId)&lt;br/&gt;
j/ org.opendaylight.openflowplugin.impl.statistics.services.compatibility.QueueStatisticsToNotificationTransformer.transformToNotification(List&amp;lt;MultipartReply&amp;gt;, DeviceContext, OpenflowVersion, TransactionId)&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27925">OPNFLWPLUG-657</key>
            <summary>NodeId+DatapathId in Services (remove dependency on DeviceContext)</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="tomas.slusny@pantheon.tech">Tomas Slusny</assignee>
                                    <reporter username="jozef.slezak@pantheon.sk">Jozef Slez&#225;k</reporter>
                        <labels>
                    </labels>
                <created>Wed, 23 Mar 2016 12:35:00 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:46 +0000</updated>
                            <resolved>Mon, 16 May 2016 11:42:45 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="57748" author="tomas.slusny@pantheon.tech" created="Thu, 31 Mar 2016 06:23:29 +0000"  >&lt;p&gt;I am bit confused about the first half of the description. Should I add DeviceState to AbstractService constructor and then modify AbstractService.getVersion() and AbstractService.getDatapathId() to get these values from DeviceState and not DeviceContext.Features? And then add another method, AbstractService.getNodeId() what will return NodeId of DeviceState and update subclasses according to these changes? Because, even with these changes, I cannot replace usage of the DeviceContext, because subclasses are using MessageSpy from DeviceContext.&lt;/p&gt;</comment>
                            <comment id="57749" author="tomas.slusny@pantheon.tech" created="Mon, 4 Apr 2016 15:31:05 +0000"  >&lt;p&gt;GERRIT:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/37082&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/37082&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/37083&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/37083&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="57750" author="jozef.bacigal@pantheon.tech" created="Mon, 18 Apr 2016 12:29:36 +0000"  >&lt;p&gt;Transformers merged.&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>5592</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=5592]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10305"><![CDATA[Improvement]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10338"><![CDATA[Boron-M3]]></customfieldvalue>

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

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