<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:54:13 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-923] ?prettyPrint=true is ignored</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-923</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;The fix to &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-477&quot; title=&quot;Add trailing newline to formatted JSON output&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-477&quot;&gt;&lt;del&gt;CONTROLLER-477&lt;/del&gt;&lt;/a&gt; introduced URI parameter prettyPrint. The code from &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/8329&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/8329&lt;/a&gt; is still there, but since then codecs were moved to yangtools, and logic to detect prettyPrint was not moved properly. This example from gerrit (with new restconf port) thus now fails to result in formatted output:&lt;br/&gt;
&lt;a href=&quot;http://localhost:8181/restconf/config/opendaylight-inventory:nodes?prettyPrint=true&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/opendaylight-inventory:nodes?prettyPrint=true&lt;/a&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="25477">CONTROLLER-923</key>
            <summary>?prettyPrint=true is ignored</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="10004" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Verified</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="jhajnar@cisco.com">Jan Hajnar</assignee>
                                    <reporter username="vrpolak">Vratko Polak</reporter>
                        <labels>
                    </labels>
                <created>Mon, 6 Oct 2014 11:31:30 +0000</created>
                <updated>Tue, 14 Nov 2017 15:18:01 +0000</updated>
                            <resolved>Tue, 16 Jun 2015 11:25:31 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>restconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="49491" author="jgloncak" created="Tue, 14 Oct 2014 06:55:43 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-923&quot; title=&quot;?prettyPrint=true is ignored&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-923&quot;&gt;&lt;del&gt;CONTROLLER-923&lt;/del&gt;&lt;/a&gt; - yangtools pretty print for json output&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/11937/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/11937/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-923&quot; title=&quot;?prettyPrint=true is ignored&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-923&quot;&gt;&lt;del&gt;CONTROLLER-923&lt;/del&gt;&lt;/a&gt; - sal-rest-connector - integration of prettyPrint URI parameter recognition.&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/11938&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/11938&lt;/a&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;DRAFT&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;currently working on pretty print for xml output&lt;/p&gt;</comment>
                            <comment id="49492" author="jgloncak" created="Thu, 16 Oct 2014 11:18:53 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-923&quot; title=&quot;?prettyPrint=true is ignored&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-923&quot;&gt;&lt;del&gt;CONTROLLER-923&lt;/del&gt;&lt;/a&gt; - pretty print in xml&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/12002&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/12002&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;should be used some other (simpler writer)&lt;/p&gt;</comment>
                            <comment id="49493" author="jgloncak" created="Fri, 17 Oct 2014 07:31:02 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/11938/4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/11938/4&lt;/a&gt; - changes in sal-rest-connector &lt;span class=&quot;error&quot;&gt;&amp;#91;DRAFT&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/11937/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/11937/&lt;/a&gt; - changes in yang-data-codec-gson&lt;/p&gt;

&lt;p&gt;XML indentation isn&apos;t done in yang-data-impl but directly in sal-rest-connector in class NormalizedNodeXmlBodyWriter in method writeTo(). If indentation is required then prepared entityStream (parameter of writeTo() method) is red and transformed to new input stream which is then transformed via Transformer class to indented output.&lt;/p&gt;</comment>
                            <comment id="49494" author="jgloncak" created="Fri, 17 Oct 2014 12:53:46 +0000"  >&lt;p&gt;In NormalizedNodeXmlBodyWriter class method writeTo() was changed.&lt;br/&gt;
IndentingXMLStreamWriter implementation of XmlStreamWriter is used.&lt;/p&gt;</comment>
                            <comment id="49495" author="jgloncak" created="Thu, 15 Jan 2015 10:28:57 +0000"  >&lt;p&gt;both patches (yangtools and controller) for JSON&lt;br/&gt;
were rebased&lt;/p&gt;</comment>
                            <comment id="49496" author="vrpolak" created="Thu, 5 Feb 2015 15:38:12 +0000"  >&lt;p&gt;Still not fixed, I guess Target Milestone should be changed.&lt;/p&gt;

&lt;p&gt;Considering the default value for prettyPrint, current state is that regular responses are not indented, but responses with errors are indented.&lt;br/&gt;
If this is the desired behavior, it should be documented somewhere. If not, fix of this bug should set desired default values.&lt;/p&gt;</comment>
                            <comment id="49497" author="jhajnar@cisco.com" created="Tue, 26 May 2015 07:20:48 +0000"  >&lt;p&gt;patch:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/20877/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/20877/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="49498" author="vrpolak" created="Tue, 16 Jun 2015 11:25:31 +0000"  >&lt;p&gt;Verified to be fixed (for regular data, both XML and JSON) on Lithium RC1 2015-06-16 build.&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>2153</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=2153]]></customfieldvalue>

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

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

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

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