<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:06:21 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-513] Consider to package/expose ModuleDescriptor within/from module itself</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-513</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;This purpose of this ticket is to document some thoughts exchanged on slack channel during March 21-22, 2017. &lt;/p&gt;

&lt;p&gt;Depends on how we view the relationship between module and Okapi, we can say that a module is strictly a part of OKAPI and should be viewed through Okapi, or it is a relatively &#8220;separate and standalone&#8221; entity (microservice?) that can be plugged into OKAPI. Following thinking is mostly from the latter perspective.&lt;/p&gt;

&lt;p&gt;Currently, module descriptor is not packaged inside module artifact (jar or Docker) itself. It has to be located separately from GitHub project at different root/sub folder depends on the project. It would be nice to have module descriptor packaged inside the module itself. &lt;/p&gt;

&lt;p&gt;For a running module that is not fully deployed/managed by OKAPI, it would be beneficial to have module descriptor exposed from the module itself at run time, so the module can be identified without the help of OKAPI. For example, RMB modules have /admin/health API, there could be a /admin/md as well. For a short term work around, the md.json can be copied to /ramls folder to leverage RMB /apidoc API to expose module descriptor. &lt;/p&gt;

&lt;p&gt;An extension to above, if a module has its built-in exposed module descriptor, theoretically the current Okapi register and discovery steps can be combined to one. A single /_/discovery call (with instId and url info) triggers okapi to pull the md from module itself to do both register and discovery (semi-auto discovery).&lt;/p&gt;</description>
                <environment></environment>
        <key id="79435">FOLIO-513</key>
            <summary>Consider to package/expose ModuleDescriptor within/from module itself</summary>
                <type id="10002" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10322?size=medium">New Feature</type>
                                            <priority id="10002" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p3.svg">P3</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="557058:4f6bed01-40a6-48d5-8471-7ef21f5ea97c">Hongwei Ji</reporter>
                                    <labels>
                    </labels>
                <created>Wed, 22 Mar 2017 15:49:15 +0000</created>
                <updated>Wed, 15 Jul 2020 08:54:29 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                    <timespent seconds="9000">2 hours, 30 minutes</timespent>
                                <comments>
                                                            <comment id="190473" author="712020:38d1a08f-86a8-4df2-9191-239b16b0a81a" created="Thu, 23 Mar 2017 10:13:51 +0000"  >&lt;p&gt;The use case for  this is an installation where services are deployed by some outside agent, not Okapi. In such an installation, it seems clumsy to maintain running services, and related ModuleDescriptors. &lt;/p&gt;

&lt;p&gt;We already allow a POST to Okapi&apos;s discovery with a moduleId, and a URL where it is to be found. But that moduleId has to refer to a ModuleDescriptor already known by Okapi. It would not be too difficult to allow also a POST to the discovery, with one URL for the running service, and another where Okapi would fetch the moduleDescriptor. These could well be different endpoints in the same service, or the latter couild refer to a central reprository of some sort. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="80077">FOLIO-487</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="80149">FOLIO-508</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzxlqf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 23 Mar 2017 10:13:51 +0000</customfieldvalue>

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