<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:25:06 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 add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-3032] HTTP intrastructure without X-Okapi headers</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-3032</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;The definitions (RAML, OpenAPI) are simplified, since they don&apos;t have to mention X-Okapi-Headers. It will be simpler for clients and servers in general.&lt;/p&gt;

&lt;p&gt;The communication will end-up using only standard headers &lt;a href=&quot;https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Okapi headers:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/folio-org/okapi/blob/master/okapi-common/src/main/java/org/folio/okapi/common/XOkapiHeaders.java&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/okapi/blob/master/okapi-common/src/main/java/org/folio/okapi/common/XOkapiHeaders.java&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;X-Okapi-Token&lt;/tt&gt; and &lt;tt&gt;X-Okapi-Tenant&lt;/tt&gt; will be replaced with Authorization header.&lt;/p&gt;

&lt;p&gt;User-Id, previously in &lt;tt&gt;X-Okapi-User-Id&lt;/tt&gt; is also replaced with Authorization header.&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;X-Okapi-Url&lt;/tt&gt; will be defined outside the scope of normal calls. It could be defined by Okapi (or other deployment infrastructure) with an environment variable.&lt;/p&gt;

&lt;p&gt;The other Okapi headers are used in communication with the Auth module. That API (between Okapi and auth) can be changed to use request+response - without special headers.&lt;/p&gt;

&lt;p&gt;This is not something that has to be done for all modules at once. This can be implemented by adding a field in a module descriptor that declares that the module is able to handle Authorization - and pass it on. Okapi can receive this call and call other module with whatever &lt;b&gt;that&lt;/b&gt; is able to handle. In other words a mix is indeed possible.&lt;/p&gt;

&lt;p&gt;The authorization must be base64-decoded by a  module to determine the tenant. This is secure because the Authorization has been verified by mod-authtoken before it is passed on to a module.&lt;/p&gt;

&lt;p&gt;In a system wihtout auth-token enabled &amp;#8211; for unit testing and development - Okapi could in that case generate a fake token with the tenant and user embedded. This will make it a one time effort to dig out the tenant and user from Authorization and it will, as far as the module implementation is concerned, not be a dual effort.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="79763">FOLIO-3032</key>
            <summary>HTTP intrastructure without X-Okapi headers</summary>
                <type id="10003" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium">Task</type>
                                            <priority id="10005" iconUrl="https://dev.folio.org/assets/jira-priority/tbd.svg">TBD</priority>
                        <status id="1" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                                        <assignee accountid="-1">Unassigned</assignee>
                                                                <reporter accountid="5f8314dfbdef80006f6f572d">Adam Dickmeiss</reporter>
                                    <labels>
                    </labels>
                <created>Sun, 7 Feb 2021 09:54:00 +0000</created>
                <updated>Tue, 23 Feb 2021 10:20:26 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                        <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10144"><![CDATA[Core: Platform]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10063" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>PO Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02b7b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>