<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:29:02 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-3560] Erroneous api-lint validation for mod-patron with new AMF dependency</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-3560</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;Each time that we upgrade the api-lint dependency &quot;amf-client-js&quot; we do local testing of all back-end modules. With the recent 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;FOLIO-3553&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-3553&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Upgrade amf-client-js to v5.2.0 for api-lint&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;
            FOLIO-3553
        &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 was okay for all modules except mod-patron and edge-patron, despite there being no git changes to their sources.&lt;/p&gt;

&lt;p&gt;So it is likely an upstream issue.&lt;/p&gt;

&lt;p&gt;Raised a ticket at AMF: &lt;a href=&quot;https://github.com/aml-org/amf/issues/1551&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/aml-org/amf/issues/1551&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="82431">FOLIO-3560</key>
            <summary>Erroneous api-lint validation for mod-patron with new AMF dependency</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="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="61cd0ca0bce5e00069e98be7">David Crossley</assignee>
                                                                <reporter accountid="61cd0ca0bce5e00069e98be7">David Crossley</reporter>
                                    <labels>
                    </labels>
                <created>Mon, 22 Aug 2022 06:54:59 +0000</created>
                <updated>Wed, 26 Oct 2022 04:30:11 +0000</updated>
                            <resolved>Wed, 26 Oct 2022 04:30:11 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                <comments>
                                                            <comment id="198138" author="61cd0ca0bce5e00069e98be7" created="Mon, 22 Aug 2022 06:55:39 +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;---- validationResult:
ModelId: file://./ramls/patron.raml
Profile: RAML 1.0
Conforms: false
Number of results: 1

Level: Violation

- Constraint: http://a.ml/vocabularies/amf/validation#example-validation-error
  Message: charges[0].chargeAmount should NOT have additional properties
charges[0].chargeAmount should have required property &apos;charges&apos;
charges[0].chargeAmount should have required property &apos;holds&apos;
charges[0].chargeAmount should have required property &apos;loans&apos;
charges[0].chargeAmount should have required property &apos;totalCharges&apos;
charges[0].chargeAmount should have required property &apos;totalChargesCount&apos;
charges[0].chargeAmount should have required property &apos;totalHolds&apos;
charges[0].chargeAmount should have required property &apos;totalLoans&apos;
charges[0].item should NOT have additional properties
charges[0].item should have required property &apos;charges&apos;
charges[0].item should have required property &apos;holds&apos;
charges[0].item should have required property &apos;loans&apos;
charges[0].item should have required property &apos;totalCharges&apos;
charges[0].item should have required property &apos;totalChargesCount&apos;
charges[0].item should have required property &apos;totalHolds&apos;
charges[0].item should have required property &apos;totalLoans&apos;
holds[0].item should NOT have additional properties
holds[0].item should have required property &apos;charges&apos;
holds[0].item should have required property &apos;holds&apos;
holds[0].item should have required property &apos;loans&apos;
holds[0].item should have required property &apos;totalCharges&apos;
holds[0].item should have required property &apos;totalChargesCount&apos;
holds[0].item should have required property &apos;totalHolds&apos;
holds[0].item should have required property &apos;totalLoans&apos;
loans[0].item should NOT have additional properties
loans[0].item should have required property &apos;charges&apos;
loans[0].item should have required property &apos;holds&apos;
loans[0].item should have required property &apos;loans&apos;
loans[0].item should have required property &apos;totalCharges&apos;
loans[0].item should have required property &apos;totalChargesCount&apos;
loans[0].item should have required property &apos;totalHolds&apos;
loans[0].item should have required property &apos;totalLoans&apos;

  Severity: Violation
  Target: file://./ramls/patron.raml#/web-api/endpoint/%2Fpatron%2Faccount%2F%7Bid%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/examples/example/default-example
  Property: file://./ramls/patron.raml#/web-api/endpoint/%2Fpatron%2Faccount%2F%7Bid%7D/supportedOperation/get/returns/resp/200/payload/application%2Fjson/shape/schema/examples/example/default-example
  Range: [(1,0)-(56,1)]
  Location: file://./ramls/examples/account.json
 &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Doing independent assessment with z-schema shows no problem.&lt;/p&gt;

&lt;p&gt;z-schema --pedanticCheck account.json examples/account.json&lt;br/&gt;
schema validation passed&lt;br/&gt;
json #1 validation passed&lt;/p&gt;</comment>
                                                            <comment id="198139" author="61cd0ca0bce5e00069e98be7" created="Tue, 30 Aug 2022 02:05:08 +0000"  >&lt;p&gt;The issue was acknowledged upstream.&lt;/p&gt;

&lt;p&gt;Our 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;FOLIO-3553&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-3553&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Upgrade amf-client-js to v5.2.0 for api-lint&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;
            FOLIO-3553
        &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;
 upgrade to AMF v5.0.11 was reverted.&lt;/p&gt;</comment>
                                                            <comment id="198140" author="61cd0ca0bce5e00069e98be7" created="Thu, 1 Sep 2022 06:07:48 +0000"  >&lt;p&gt;Blocked awaiting the upstream ticket AMF 1551.&lt;/p&gt;</comment>
                                                            <comment id="198141" author="61cd0ca0bce5e00069e98be7" created="Thu, 22 Sep 2022 05:22:26 +0000"  >&lt;p&gt;The upstream &lt;a href=&quot;https://github.com/aml-org/amf/issues/1551#issuecomment-1253912019&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;AMF 1551&lt;/a&gt; ticket has a fix. Will be in the next release, due around October 19.&lt;/p&gt;</comment>
                                                            <comment id="198142" author="61cd0ca0bce5e00069e98be7" created="Wed, 26 Oct 2022 04:29:57 +0000"  >&lt;p&gt;Via 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;FOLIO-3553&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-3553&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Upgrade amf-client-js to v5.2.0 for api-lint&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;
            FOLIO-3553
        &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;
 upgraded to AMF &quot;amf-client-js&quot; v5.2.0&lt;/p&gt;

&lt;p&gt;All okay now.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="82426">FOLIO-3553</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="10155"><![CDATA[FOLIO DevOps]]></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_10106" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>RCA Group</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10367"><![CDATA[TBD]]></customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1728">DevOps Sprint 146</customfieldvalue>
    <customfieldvalue id="2008">DevOps Sprint 149</customfieldvalue>
    <customfieldvalue id="2009">DevOps Sprint 150</customfieldvalue>
    <customfieldvalue id="2010">DevOps Sprint 151</customfieldvalue>

                        </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>