<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:11: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 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-1220] Ensure that all necessary schemas are declared in RAML files</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-1220</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;One example:&lt;/p&gt;

&lt;p&gt;For any raml file that uses the &quot;validate&quot; trait, that validation.raml file refers to the &quot;errors&quot; schema. Therefore that errors.schema must be declared in the top-level raml file.&lt;/p&gt;

&lt;p&gt;Then raml-cop (and any other raml tool that uses the underlying parser) is happy because it can find the error.schema that is referenced from the errors.schema and it can find the parameters.schema that is referenced from error.schema, as they are relative to their parent schema.&lt;/p&gt;

&lt;p&gt;However a supporting library inside the RMB does need the additional error.schema and parameters.schema to be excplicitly declared in the top-level raml file.&lt;/p&gt;

&lt;p&gt;Now a couple of wrinkles:&lt;/p&gt;

&lt;p&gt;A) If RMB is processing a group of raml files, one of them might neglect to declare those schema. If a raml file that was processed earlier did declare them, then they would have been copied to the temp space. Then this latterly processed raml would be able to find the copies. It would seem that all is well. However if the raml files are processed in a different order on another machine (e.g. 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;MODUSERS-58&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/MODUSERS-58&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;mod-users won&amp;#39;t build from git checkout&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium&quot; /&gt;
            MODUSERS-58
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
) then it would fail.&lt;/p&gt;

&lt;p&gt;B) When that supporting library copies those schema to the temp space, if a schema reference uses &apos;../&apos; dot-dot in the pathname, then that schema will be copied one directory level up and so outside of its temp space. When processing is finished, the RMB does remove the temp directory. However it does not remove those extraneous ones outside the temp space (
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;RMB-50&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/RMB-50&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Clean the temp space after build to remove remnants of schema processing&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium&quot; /&gt;
            RMB-50
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
). Therefore any raml file that had neglected to declare that schema will be successfully processsed because it finds that schema copy by accident.&lt;/p&gt;</description>
                <environment></environment>
        <key id="80650">FOLIO-1220</key>
            <summary>Ensure that all necessary schemas are declared in RAML files</summary>
                <type id="10001" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium">Bug</type>
                                            <priority id="10002" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p3.svg">P3</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Done</resolution>
                                                        <assignee accountid="-1">Unassigned</assignee>
                                                                <reporter accountid="61cd0ca0bce5e00069e98be7">David Crossley</reporter>
                                    <labels>
                            <label>raml</label>
                    </labels>
                <created>Mon, 23 Apr 2018 03:56:52 +0000</created>
                <updated>Mon, 12 Nov 2018 14:24:22 +0000</updated>
                            <resolved>Tue, 21 Aug 2018 04:17:37 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                    <timespent seconds="17700">4 hours, 55 minutes</timespent>
                                <comments>
                                                            <comment id="193216" author="61cd0ca0bce5e00069e98be7" created="Tue, 21 Aug 2018 04:17:37 +0000"  >&lt;p&gt;This was already done for current mod_* modules.&lt;/p&gt;

&lt;p&gt;With RMB v20 (
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;RMB-109&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/RMB-109&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;RAML 1.0 support: use raml-for-jax-rs rather than obsolete raml-jaxrs-codegen&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10322?size=medium&quot; /&gt;
            RMB-109
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
 and 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;RMB-203&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/RMB-203&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;$ref should follow the JSON schema spec&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium&quot; /&gt;
            RMB-203
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
) this is not needed anymore.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="80533">FOLIO-1040</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="67594">MODUSERS-58</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="56707">RMB-50</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="67555">MODUSERS-74</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_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzyhrz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>