<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:14:25 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>[NETCONF-200] API Explorer does not work if started as http://admin:admin@localhost:8181/apidoc/explorer/index.html</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-200</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;API Explorer is protected with basic authentication admin:admin, in order to open the application without entering credentials, browsers support following format: &lt;a href=&quot;http://admin:admin@localhost:8181/apidoc/explorer/index.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://admin:admin@localhost:8181/apidoc/explorer/index.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;However when this format is used, the browser opens a modified UI that does not work most of the times (e.g. timeout retrieving mounted devices models).&lt;/p&gt;

&lt;p&gt;BR/Luis&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21213">NETCONF-200</key>
            <summary>API Explorer does not work if started as http://admin:admin@localhost:8181/apidoc/explorer/index.html</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="aclarke@pobox.com">Allan Clarke</assignee>
                                    <reporter username="ecelgp">Luis Gomez</reporter>
                        <labels>
                    </labels>
                <created>Tue, 17 May 2016 17:14:15 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:24 +0000</updated>
                            <resolved>Wed, 6 Dec 2017 22:23:49 +0000</resolved>
                                                                    <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="39380" author="aclarke@pobox.com" created="Tue, 5 Sep 2017 21:28:06 +0000"  >&lt;p&gt;Daniel, I was interested in fixing this defect. I suspect that nothing &lt;br/&gt;
has been done on this yet, so let me know. Otherwise I&apos;ll take it via&lt;br/&gt;
Gerrit.&lt;/p&gt;</comment>
                            <comment id="39381" author="aclarke@pobox.com" created="Thu, 7 Sep 2017 14:32:09 +0000"  >&lt;p&gt;Daniel, I was interested in fixing this defect. I suspect that nothing &lt;br/&gt;
has been done on this yet, so let me know. Otherwise I&apos;ll take it via&lt;br/&gt;
Gerrit.&lt;/p&gt;</comment>
                            <comment id="39382" author="dmalacho@cisco.com" created="Thu, 7 Sep 2017 15:09:22 +0000"  >&lt;p&gt;Hi,&lt;br/&gt;
nothing new with this bug. I&apos;m sorry.&lt;/p&gt;

&lt;p&gt;Dano&lt;/p&gt;</comment>
                            <comment id="39383" author="aclarke@pobox.com" created="Wed, 11 Oct 2017 20:02:52 +0000"  >&lt;p&gt;This bug is blocked by a 500 error that Luis Gomez ran into. &lt;br/&gt;
I&apos;ll update this when the blocking bug is posted.&lt;/p&gt;</comment>
                            <comment id="39384" author="ecelgp" created="Fri, 13 Oct 2017 01:52:20 +0000"  >&lt;p&gt;The 500 error was caused by the netconf device I was using.&lt;/p&gt;

&lt;p&gt;Instead I just used the netconf test tool for carbon:&lt;/p&gt;

&lt;p&gt;1) download tool:&lt;br/&gt;
wget &lt;a href=&quot;https://nexus.opendaylight.org/content/repositories//autorelease-1998/org/opendaylight/netconf/netconf-testtool/1.2.2-Carbon/netconf-testtool-1.2.2-Carbon-executable.jar&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://nexus.opendaylight.org/content/repositories//autorelease-1998/org/opendaylight/netconf/netconf-testtool/1.2.2-Carbon/netconf-testtool-1.2.2-Carbon-executable.jar&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2) run the tool with schemas stored in int/test repo:&lt;br/&gt;
/usr/lib/jvm/java-8-openjdk-amd64/bin/java -Xmx1G -XX:MaxPermSize=256M -Dorg.apache.sshd.registerBouncyCastle=false -jar netconf-testtool-1.2.2-Carbon-executable.jar  --device-count 1 --debug true --schemas-dir ../test/csit/variables/netconf/CRUD/schemas --md-sal true&lt;/p&gt;

&lt;p&gt;3) Mount device in controller:&lt;br/&gt;
POST &lt;a href=&quot;http://127.0.0.1:8181/restconf/operations/netconf-node-topology:add-netconf-node&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8181/restconf/operations/netconf-node-topology:add-netconf-node&lt;/a&gt;&lt;br/&gt;
&amp;lt;input xmlns=&quot;urn:opendaylight:netconf-node-topology&quot;&amp;gt;&lt;br/&gt;
   &amp;lt;node-id&amp;gt;netconf-test-device&amp;lt;/node-id&amp;gt;&lt;br/&gt;
   &amp;lt;encrypt&amp;gt;true&amp;lt;/encrypt&amp;gt;&lt;br/&gt;
   &amp;lt;host&amp;gt;127.0.0.1&amp;lt;/host&amp;gt;&lt;br/&gt;
   &amp;lt;port&amp;gt;17830&amp;lt;/port&amp;gt;&lt;br/&gt;
   &amp;lt;username&amp;gt;admin&amp;lt;/username&amp;gt;&lt;br/&gt;
   &amp;lt;password&amp;gt;topsecret&amp;lt;/password&amp;gt;&lt;br/&gt;
   &amp;lt;tcp-only&amp;gt;false&amp;lt;/tcp-only&amp;gt;&lt;br/&gt;
   &amp;lt;keepalive-delay&amp;gt;0&amp;lt;/keepalive-delay&amp;gt;&lt;br/&gt;
 &amp;lt;/input&amp;gt;&lt;/p&gt;

&lt;p&gt;4) Start apiexplorer in chrome and enter credentials (see attached apiexplorer_normal)&lt;br/&gt;
&lt;a href=&quot;http://192.168.0.1:8181/apidoc/explorer/index.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.0.1:8181/apidoc/explorer/index.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5) Start apiexplorer in chrome with credentials (see attached apiexplorer_credentials)&lt;br/&gt;
&lt;a href=&quot;http://admin:admin@192.168.0.1:8181/apidoc/explorer/index.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://admin:admin@192.168.0.1:8181/apidoc/explorer/index.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The portal is not the exactly the same, and in the second case I was not able to see the test-tool yang models.&lt;/p&gt;</comment>
                            <comment id="39386" author="ecelgp" created="Fri, 13 Oct 2017 01:53:43 +0000"  >&lt;p&gt;Attachment apiexplorer_normal.png has been added with description: Apiexplorer with normal browser auth&lt;/p&gt;</comment>
                            <comment id="39387" author="ecelgp" created="Fri, 13 Oct 2017 01:54:34 +0000"  >&lt;p&gt;Attachment apiexporer_credentials.png has been added with description: Apiexplorer with credential in URL&lt;/p&gt;</comment>
                            <comment id="39385" author="aclarke@pobox.com" created="Mon, 16 Oct 2017 21:03:00 +0000"  >&lt;p&gt;I have tracked this into the swagger-ui code. All of the tabs&lt;br/&gt;
are rendering inside of the first tab. The error is likely in&lt;br/&gt;
the Coffee Script or in the call to the HandleBars templates.&lt;br/&gt;
Stay tuned.&lt;/p&gt;</comment>
                            <comment id="59748" author="allanclarke" created="Mon, 23 Oct 2017 19:25:37 +0000"  >&lt;p&gt;This was ODL bug 5902 in Bugzilla (noted here for devs searching by its old number)&lt;br/&gt;
&lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=5902&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=5902&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="59749" author="allanclarke" created="Mon, 23 Oct 2017 19:29:06 +0000"  >&lt;p&gt;Netconf is using...&lt;/p&gt;

&lt;p&gt;... version 1.2 of OpenAPI which has 3.0 as the latest version&lt;br/&gt;
&lt;a href=&quot;https://github.com/OAI/OpenAPI-Specification/tree/master/versions&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/OAI/OpenAPI-Specification/tree/master/versions&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;... version 1.2 of Swagger which has 3.4 as the latest version&lt;br/&gt;
&lt;a href=&quot;https://github.com/swagger-api/swagger-ui&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/swagger-api/swagger-ui&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So ODL is due for an update and this might fix the bug&lt;/p&gt;</comment>
                            <comment id="60351" author="allanclarke" created="Wed, 6 Dec 2017 22:21:17 +0000"  >&lt;p&gt;We believe that this is a defect in Swagger-UI 1.2 and would be fixed by a port.&lt;/p&gt;

&lt;p&gt;Filed a new story to cover porting to Swagger-UI 3.4&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/browse/NETCONF-490&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.opendaylight.org/browse/NETCONF-490&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="60352" author="allanclarke" created="Wed, 6 Dec 2017 22:23:49 +0000"  >&lt;p&gt;Port to new version of Swagger-UI should fix this issue among other things.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12671" name="apiexplorer_normal.png" size="383007" author="ecelgp@gmail.com" created="Fri, 13 Oct 2017 01:53:43 +0000"/>
                            <attachment id="12672" name="apiexporer_credentials.png" size="258031" author="ecelgp@gmail.com" created="Fri, 13 Oct 2017 01:54:34 +0000"/>
                    </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>5902</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=5902]]></customfieldvalue>

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

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