<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:51:59 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-20] &apos;@&apos; symbols returned in flow programmer rest api</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-20</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;In the REST API documentation I found here:&lt;br/&gt;
    &lt;a href=&quot;https://jenkins.opendaylight.org/controller/job/controller-merge/ws/opendaylight/northbound/flowprogrammer/target/site/wsdocs/el_ns0_flowConfigs.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/controller/job/controller-merge/ws/opendaylight/northbound/flowprogrammer/target/site/wsdocs/el_ns0_flowConfigs.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It says the formatting of the json output should look like:&lt;br/&gt;
    &quot;node&quot; : &lt;/p&gt;
{ &quot;id&quot; : &quot;...&quot;, &quot;type&quot; : &quot;...&quot; }
&lt;p&gt;,  ...and so on&lt;/p&gt;

&lt;p&gt;When I look at a flow via the REST api that I have configured via&lt;br/&gt;
   &amp;gt; curl -u admin:admin &lt;a href=&quot;http://10.10.10.80:8080/controller/nb/v2/flow/default/OF/00:00:00:50:56:9b:32:28/public-firewall-ipv4-in_to_out&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://10.10.10.80:8080/controller/nb/v2/flow/default/OF/00:00:00:50:56:9b:32:28/public-firewall-ipv4-in_to_out&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I get this output:&lt;br/&gt;
{&quot;installInHw&quot;:&quot;true&quot;,&quot;name&quot;:&quot;public-firewall-ipv4-in_to_out&quot;,&quot;node&quot;:&lt;/p&gt;
{&quot;@id&quot;:&quot;00:00:00:50:56:9b:32:28&quot;,&quot;@type&quot;:&quot;OF&quot;}
&lt;p&gt;,&quot;ingressPort&quot;:&quot;2&quot;,&quot;priority&quot;:&quot;500&quot;,&quot;etherType&quot;:&quot;0x800&quot;,&quot;actions&quot;:&quot;OUTPUT=1&quot;}&lt;/p&gt;

&lt;p&gt;Note the &apos;@&apos; characters in the flow node &apos;id&apos; and &apos;type&apos; fields&lt;br/&gt;
which conflict with the names in the documentation.  &lt;/p&gt;

&lt;p&gt;I also note that when trying to add (POST) a new flow via the rest &lt;br/&gt;
api the controller also seems to want those &apos;@&apos; symbols in the &apos;id&apos;&lt;br/&gt;
and &apos;type&apos; fields.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="24574">CONTROLLER-20</key>
            <summary>&apos;@&apos; symbols returned in flow programmer rest api</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="10001">Won&apos;t Do</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="dwcarder@wisc.edu">Dale W. Carder</reporter>
                        <labels>
                    </labels>
                <created>Thu, 20 Jun 2013 20:31:08 +0000</created>
                <updated>Tue, 25 Jul 2023 08:24:48 +0000</updated>
                            <resolved>Thu, 19 May 2016 18:23:22 +0000</resolved>
                                                                    <component>adsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="47293" author="dwcarder@wisc.edu" created="Fri, 21 Jun 2013 17:02:38 +0000"  >&lt;p&gt;After some googling it looks like maybe something like this is happening?&lt;br/&gt;
&lt;a href=&quot;http://badgerfish.ning.com/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://badgerfish.ning.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I personally think that format stinks bit because a json rest api&lt;br/&gt;
user should not have to care about the server-side&apos;s implementation &lt;br/&gt;
details.  It also may not be that great for anyone using dot &lt;br/&gt;
notation in javascript, but then again I am not a javascript guy.&lt;/p&gt;

&lt;p&gt;At a minimum the documentation should be updated to be correct.&lt;/p&gt;</comment>
                            <comment id="47294" author="carolsand@gmail.com" created="Mon, 4 May 2015 19:57:25 +0000"  >&lt;p&gt;This bug is part of the project to Move all ADSAL associated component bugs to ADSAL&lt;/p&gt;</comment>
                            <comment id="47295" author="rovarga" created="Thu, 19 May 2016 18:23:22 +0000"  >&lt;p&gt;AD-SAL has been removed, this issue will not be fixed.&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>26</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=26]]></customfieldvalue>

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

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