<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:57:43 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>[DLUX-22] Authentification header is not appended when using apidoc/apis when using Restangular in DLUX</title>
                <link>https://jira.opendaylight.org/browse/DLUX-22</link>
                <project id="10119" key="DLUX">dlux</project>
                    <description>&lt;p&gt;When calling apidoc/apis with Restangular, the authentification token is not passed to header:&lt;br/&gt;
GET /apidoc/apis HTTP/1.1&lt;br/&gt;
Host: localhost:8181&lt;br/&gt;
Connection: keep-alive&lt;br/&gt;
Accept: application/json, text/plain, &lt;b&gt;/&lt;/b&gt;&lt;br/&gt;
Origin: &lt;a href=&quot;http://localhost:9000&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:9000&lt;/a&gt;&lt;br/&gt;
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36&lt;br/&gt;
Referer: &lt;a href=&quot;http://localhost:9000/index.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:9000/index.html&lt;/a&gt;&lt;br/&gt;
Accept-Encoding: gzip, deflate, sdch&lt;br/&gt;
Accept-Language: en-GB,en-US;q=0.8,en;q=0.6&lt;/p&gt;

&lt;p&gt;e.g. restconf/modules call header looks like this:&lt;br/&gt;
GET /restconf/modules HTTP/1.1&lt;br/&gt;
Host: localhost:8181&lt;br/&gt;
Connection: keep-alive&lt;br/&gt;
Accept: application/json, text/plain, &lt;b&gt;/&lt;/b&gt;&lt;br/&gt;
Origin: &lt;a href=&quot;http://localhost:9000&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:9000&lt;/a&gt;&lt;br/&gt;
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36&lt;br/&gt;
Authorization: Basic YWRtaW46YWRtaW4=&lt;br/&gt;
Referer: &lt;a href=&quot;http://localhost:9000/index.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:9000/index.html&lt;/a&gt;&lt;br/&gt;
Accept-Encoding: gzip, deflate, sdch&lt;br/&gt;
Accept-Language: en-GB,en-US;q=0.8,en;q=0.6&lt;/p&gt;

&lt;p&gt;Restangular used to call this APIs is defined as:&lt;br/&gt;
yangUtils.factory(&apos;YangUtilsRestangular&apos;, [&apos;Restangular&apos;, &apos;ENV&apos;, &lt;br/&gt;
function (Restangular, ENV) {&lt;br/&gt;
        var r = Restangular.withConfig(function(RestangularConfig) &lt;/p&gt;
{
            RestangularConfig.setBaseUrl(ENV.getBaseURL(&quot;MD_SAL&quot;));
        }
&lt;p&gt;);&lt;/p&gt;

&lt;p&gt;        return r;&lt;br/&gt;
    }]);&lt;/p&gt;

&lt;p&gt;The calls are executed as:&lt;br/&gt;
YangUtilsRestangular.one(&apos;restconf&apos;).one(&apos;modules&apos;)... (for working restconf/modules API)&lt;br/&gt;
YangUtilsRestangular.one(&apos;apidoc&apos;).one(&apos;apis&apos;)... (for not working apidoc/apis API)&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="24369">DLUX-22</key>
            <summary>Authentification header is not appended when using apidoc/apis when using Restangular in DLUX</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="harmasin@cisco.com">Harman Singh</assignee>
                                    <reporter username="jsebin@cisco.com">Juraj Sebin</reporter>
                        <labels>
                    </labels>
                <created>Tue, 14 Apr 2015 09:16:52 +0000</created>
                <updated>Mon, 22 Jun 2015 23:58:31 +0000</updated>
                            <resolved>Mon, 22 Jun 2015 23:58:31 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="47007" author="jsebin@cisco.com" created="Tue, 14 Apr 2015 09:19:27 +0000"  >&lt;p&gt;Forgot to mention - we are using nodejs server running via grunt and we are connecting to remote controller.&lt;/p&gt;</comment>
                            <comment id="47008" author="harmasin@cisco.com" created="Mon, 15 Jun 2015 20:48:04 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/22638/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/22638/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="24373">DLUX-26</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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2989</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=2989]]></customfieldvalue>

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

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