<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:41 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-703] Apidocs does not work in Aluminum</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-703</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;This can be tracked in this CSIT job:&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/netconf/job/netconf-csit-1node-userfeatures-all-aluminium/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/netconf/job/netconf-csit-1node-userfeatures-all-aluminium/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When controller just installs RESTCONF, the new apidocs work fine. However when all compatible features are installed, it produces this exception:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
javax.servlet.ServletException: javax.servlet.ServletException: java.lang.NumberFormatException: For input string: &lt;span class=&quot;code-quote&quot;&gt;&quot;0xfff8&quot;&lt;/span&gt;
	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:88) ~[?:?]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[bundleFile:9.4.22.v20191022]
	at org.eclipse.jetty.server.Server.handle(Server.java:500) ~[bundleFile:9.4.22.v20191022]
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:386) ~[bundleFile:9.4.22.v20191022]
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:562) ~[bundleFile:9.4.22.v20191022]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:378) [bundleFile:9.4.22.v20191022]
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270) [bundleFile:9.4.22.v20191022]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [bundleFile:9.4.22.v20191022]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [bundleFile:9.4.22.v20191022]
	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) [bundleFile:9.4.22.v20191022]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) [bundleFile:9.4.22.v20191022]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) [bundleFile:9.4.22.v20191022]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) [bundleFile:9.4.22.v20191022]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) [bundleFile:9.4.22.v20191022]
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:388) [bundleFile:9.4.22.v20191022]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806) [bundleFile:9.4.22.v20191022]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938) [bundleFile:9.4.22.v20191022]
	at java.lang.&lt;span class=&quot;code-object&quot;&gt;Thread&lt;/span&gt;.run(&lt;span class=&quot;code-object&quot;&gt;Thread&lt;/span&gt;.java:834) [?:?]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To reproduce:&lt;/p&gt;

&lt;p&gt;1) Install aluminium karaf and do:&lt;br/&gt;
feature:repo-add mvn:org.opendaylight.integration/features-test/0.13.0-SNAPSHOT/xml/features&lt;br/&gt;
feature:install odl-integration-compatible-with-all&lt;/p&gt;

&lt;p&gt;2) Open URL: &lt;a href=&quot;http://10.1.68.201:8181/apidoc/openapi3/18/apis/single&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://10.1.68.201:8181/apidoc/openapi3/18/apis/single&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="32784">NETCONF-703</key>
            <summary>Apidocs does not work in Aluminum</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.opendaylight.org/images/icons/priorities/critical.svg">High</priority>
                        <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="ilyaigushev">Ilya Igushev</assignee>
                                    <reporter username="ecelgp">Luis Gomez</reporter>
                        <labels>
                    </labels>
                <created>Fri, 19 Jun 2020 21:57:43 +0000</created>
                <updated>Tue, 14 Jul 2020 20:13:23 +0000</updated>
                            <resolved>Fri, 26 Jun 2020 03:56:08 +0000</resolved>
                                                                    <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="68253" author="rovarga" created="Tue, 23 Jun 2020 15:14:18 +0000"  >
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;Caused by: java.lang.NumberFormatException: For input string: &quot;0xfff8&quot;
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:?]
	at java.lang.Long.parseLong(Long.java:692) ~[?:?]
	at java.lang.Long.valueOf(Long.java:1144) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.DefinitionGenerator.processTypeDef(DefinitionGenerator.java:716) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.DefinitionGenerator.processLeafNode(DefinitionGenerator.java:622) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.DefinitionGenerator.processChildren(DefinitionGenerator.java:478) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.DefinitionGenerator.processDataNodeContainer(DefinitionGenerator.java:377) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.DefinitionGenerator.processChoiceNode(DefinitionGenerator.java:563) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.DefinitionGenerator.processChildren(DefinitionGenerator.java:500) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.DefinitionGenerator.processDataNodeContainer(DefinitionGenerator.java:377) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.DefinitionGenerator.processChildren(DefinitionGenerator.java:488) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.DefinitionGenerator.processDataNodeContainer(DefinitionGenerator.java:377) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.DefinitionGenerator.processChoiceNode(DefinitionGenerator.java:563) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.DefinitionGenerator.processChildren(DefinitionGenerator.java:500) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.DefinitionGenerator.processDataNodeContainer(DefinitionGenerator.java:377) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.DefinitionGenerator.processChildren(DefinitionGenerator.java:488) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.DefinitionGenerator.processDataNodeContainer(DefinitionGenerator.java:377) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.DefinitionGenerator.processChildren(DefinitionGenerator.java:488) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.DefinitionGenerator.processDataNodeContainer(DefinitionGenerator.java:377) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.DefinitionGenerator.processChildren(DefinitionGenerator.java:488) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.DefinitionGenerator.processOperationInputOutput(DefinitionGenerator.java:282) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.DefinitionGenerator.processOperations(DefinitionGenerator.java:270) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.DefinitionGenerator.processRPCs(DefinitionGenerator.java:259) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.DefinitionGenerator.convertToJsonSchema(DefinitionGenerator.java:149) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.DefinitionGenerator.convertToJsonSchema(DefinitionGenerator.java:166) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.BaseYangSwaggerGenerator.getSwaggerDocSpec(BaseYangSwaggerGenerator.java:309) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.BaseYangSwaggerGenerator.fillDoc(BaseYangSwaggerGenerator.java:195) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.BaseYangSwaggerGenerator.getAllModulesDoc(BaseYangSwaggerGenerator.java:174) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.BaseYangSwaggerGenerator.getAllModulesDoc(BaseYangSwaggerGenerator.java:154) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.AllModulesDocGenerator.getAllModulesDoc(AllModulesDocGenerator.java:34) ~[?:?]
	at org.opendaylight.netconf.sal.rest.doc.impl.ApiDocServiceImpl.getAllModulesDoc(ApiDocServiceImpl.java:67) ~[?:?]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="68254" author="rovarga" created="Tue, 23 Jun 2020 15:19:28 +0000"  >&lt;p&gt;Which boils down to:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;./openflowplugin/extension/openflowjava-extension-nicira/src/main/yang/nicira-action.yang-144-            leaf in-port {
./openflowplugin/extension/openflowjava-extension-nicira/src/main/yang/nicira-action.yang-145-                type uint16;
./openflowplugin/extension/openflowjava-extension-nicira/src/main/yang/nicira-action.yang:146:                default 0xfff8; // OFPP_INPORT
./openflowplugin/extension/openflowjava-extension-nicira/src/main/yang/nicira-action.yang-147-            }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;./openflowplugin/extension/openflowplugin-extension-nicira/src/main/yang/openflowplugin-extension-nicira-action.yang-427-            leaf in-port {
./openflowplugin/extension/openflowplugin-extension-nicira/src/main/yang/openflowplugin-extension-nicira-action.yang-428-                type uint16;
./openflowplugin/extension/openflowplugin-extension-nicira/src/main/yang/openflowplugin-extension-nicira-action.yang:429:                default 0xfff8; // OFPP_INPORT
./openflowplugin/extension/openflowplugin-extension-nicira/src/main/yang/openflowplugin-extension-nicira-action.yang-430-            }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This is a YANG violation. &lt;a href=&quot;https://jira.opendaylight.org/browse/YANGTOOLS-551&quot; title=&quot;yang-model-util: Cross-reference constraints and default value&quot; class=&quot;issue-link&quot; data-issue-key=&quot;YANGTOOLS-551&quot;&gt;YANGTOOLS-551&lt;/a&gt; tracks the ability to detect these during parse, but this is an OFP problem.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="68255" author="rovarga" created="Tue, 23 Jun 2020 15:25:47 +0000"  >&lt;p&gt;I stand corrected, this is valid according to &lt;a href=&quot;https://tools.ietf.org/html/rfc7950#section-9.2.1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://tools.ietf.org/html/rfc7950#section-9.2.1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="68256" author="rovarga" created="Tue, 23 Jun 2020 15:49:05 +0000"  >&lt;p&gt;The code in DefinitionGenerator needs to be smarter about detecting octal/hex values as per the spec.&lt;/p&gt;</comment>
                            <comment id="68273" author="ecelgp" created="Thu, 25 Jun 2020 19:09:04 +0000"  >&lt;p&gt;Issue seems to be fixed but the test reports a timeout (after 30 secs) reading from the api explorer URL &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;br/&gt;
I will check if we need to increase this timeout or there is another issue.&lt;/p&gt;</comment>
                            <comment id="68274" author="jluhrsen" created="Thu, 25 Jun 2020 20:32:52 +0000"  >&lt;p&gt;yep. &lt;a href=&quot;https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netconf-csit-1node-userfeatures-all-aluminium/114/robot-plugin/log.html.gz#s1-s2-s1-t1-k2-k1-k4-k3-k1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;log here &lt;/a&gt;&lt;/p&gt;

&lt;p&gt;30s is a long time though.&lt;/p&gt;

&lt;p&gt;I see no log messages during the window of the apidocs call. &lt;a href=&quot;https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netconf-csit-1node-userfeatures-all-aluminium/114/odl_1/odl1_karaf.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;karaf.log &lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=ecelgp&quot; class=&quot;user-hover&quot; rel=&quot;ecelgp&quot;&gt;ecelgp&lt;/a&gt; if you have bandwidth, maybe just pull the distro local and hit that URI to see.&lt;/p&gt;</comment>
                            <comment id="68275" author="ecelgp" created="Fri, 26 Jun 2020 02:13:30 +0000"  >&lt;p&gt;It is just a matter of time: &lt;a href=&quot;https://git.opendaylight.org/gerrit/c/integration/test/+/90717&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/c/integration/test/+/90717&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="68276" author="jluhrsen" created="Fri, 26 Jun 2020 03:55:58 +0000"  >&lt;p&gt;yes, I see. must be a TON of output coming back. I tried to open the step in robot&lt;br/&gt;
that logs the response.text and it crashed my browser. Thanks for fixing the apidocs&lt;br/&gt;
bug and the test code guys.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="32658">NETCONF-685</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="22971">YANGTOOLS-551</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03t6v:</customfieldvalue>

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