<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:15:09 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>[MODVEND-71] mod-vendors build fails in Jenkins </title>
                <link>https://folio-org.atlassian.net/browse/MODVEND-71</link>
                <project id="10236" key="MODVEND">mod-vendors</project>
                    <description>&lt;p&gt;Build for branch 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;MODVEND-66&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/MODVEND-66&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Create APIs for all mod-vendor models&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10309?size=medium&quot; /&gt;
            MODVEND-66
        &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;
 fails in Jenkins but not in other environments.  Specifically,  the unit tests for AddressTest, UrlTest, VendorAddressTest and VendorUrlTest are failing, and the errors seem to indicate that the models being used during the test aren&apos;t as expected. (ie error says Address doesn&apos;t have a &quot;addressLine1&quot; field).  &lt;/p&gt;</description>
                <environment></environment>
        <key id="78590">MODVEND-71</key>
            <summary>mod-vendors build fails in Jenkins </summary>
                <type id="10001" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium">Bug</type>
                            <parent id="10307">UXPROD-1139</parent>
                                    <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="10002">Cannot Reproduce</resolution>
                                                        <assignee accountid="5cf6c546b87c300f36eb7b9a">Craig McNally</assignee>
                                                                <reporter accountid="5f9abc1eb45b2e007453f423">John Malconian</reporter>
                                    <labels>
                            <label>back-end</label>
                            <label>ci</label>
                    </labels>
                <created>Mon, 7 Jan 2019 18:20:25 +0000</created>
                <updated>Fri, 3 Jan 2020 14:36:02 +0000</updated>
                            <resolved>Tue, 27 Aug 2019 17:15:01 +0000</resolved>
                                                    <fixVersion>2.0.2</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                                                            <comment id="187269" author="5f9abc1eb45b2e007453f423" created="Mon, 7 Jan 2019 18:23:00 +0000"  >&lt;p&gt;Have verified this.   I can get a successful build when running the build manually in the Jenkins build environment, but it still fails when run invoked by Jenkins.    &lt;/p&gt;</comment>
                                                            <comment id="187270" author="5f9abc1eb45b2e007453f423" created="Mon, 7 Jan 2019 19:42:15 +0000"  >&lt;p&gt;Example error from Jenkins:&lt;/p&gt;

&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;13:35:27 INFO  LogUtil              127.0.0.1:46844 POST /vendor_address null HTTP_1_1 422 466 -1 tid=null Unprocessable Entity {&quot;errors&quot;:[{&quot;message&quot;:&quot;Unrecognized field \&quot;addressLine1\&quot; (class org.folio.rest.jaxrs.model.Address), not marked as ignorable (4 known properties: , \&quot;language\&quot;, \&quot;id\&quot;, \&quot;address\&quot;, \&quot;categories\&quot;])\n at [Source: java.io.StringReader@358bf0c8; line: 3, column: 26] (through reference chain: org.folio.rest.jaxrs.model.VendorAddress[\&quot;address\&quot;]-&amp;gt;org.folio.rest.jaxrs.model.Address[\&quot;addressLine1\&quot;])&quot;,&quot;type&quot;:&quot;1&quot;,&quot;code&quot;:&quot;-1&quot;,&quot;parameters&quot;:[{&quot;key&quot;:&quot;&quot;,&quot;value&quot;:&quot;&quot;}]}]}
HTTP/1.1 422 Unprocessable Entity
Content-type: application/json
Transfer-Encoding: chunked

{
    &quot;errors&quot;: [
        {
            &quot;message&quot;: &quot;Unrecognized field \&quot;addressLine1\&quot; (class org.folio.rest.jaxrs.model.Address), not marked as ignorable (4 known properties: , \&quot;language\&quot;, \&quot;id\&quot;, \&quot;address\&quot;, \&quot;categories\&quot;])\n at [Source: java.io.StringReader@358bf0c8; line: 3, column: 26] (through reference chain: org.folio.rest.jaxrs.model.VendorAddress[\&quot;address\&quot;]-&amp;gt;org.folio.rest.jaxrs.model.Address[\&quot;addressLine1\&quot;])&quot;,
            &quot;type&quot;: &quot;1&quot;,
            &quot;code&quot;: &quot;-1&quot;,
            &quot;parameters&quot;: [
                {
                    &quot;key&quot;: &quot;&quot;,
                    &quot;value&quot;: &quot;&quot;
                }
            ]
        }
    ]
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I&apos;m wondering if the issue is how RMB is generating classes for the schemas due to some kind of overlap.   I notice that in target/generated-sources/raml-jaxrs/org/folio/rest/jaxrs/model,  the following files are generated:&lt;/p&gt;

&lt;p&gt;Address_.java&lt;br/&gt;
Address.java&lt;br/&gt;
Url.java&lt;br/&gt;
Url_.java&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3A329e0f11-cc86-459e-a311-80d4eb134a7f&quot; class=&quot;user-hover&quot; rel=&quot;70121:329e0f11-cc86-459e-a311-80d4eb134a7f&quot; data-account-id=&quot;70121:329e0f11-cc86-459e-a311-80d4eb134a7f&quot; accountid=&quot;70121:329e0f11-cc86-459e-a311-80d4eb134a7f&quot; rel=&quot;noreferrer&quot;&gt;Sobha Duvvuri&lt;/a&gt; had reported a similar issue some time ago.  &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I think RMB, since it dynamically generates classes and class names based on schemas, in my case multiple schemas have &#8220;attributes&#8221; in them and each of them could be inherently pointing to a different .json file&lt;/p&gt;

&lt;p&gt;RMB when it generates it probably does not follow one particular order and appends &#8216;_&#8217; to class names with same schema field name&lt;/p&gt;

&lt;p&gt;so in my case, I have &#8216;Attributes&#8217; defined in three different places and RMB when it is generating POJOs, is generating Attributes.java, Attributes_.java and Attributes__.java probably&lt;/p&gt;

&lt;p&gt;what each file contains on my machine need not necessarily be the same as what is being generated on Jenkins machine&lt;/p&gt;

&lt;p&gt;and clearly its different - need to figure out if there is way to mention to RMB (POJO generator) to be consistent / specify a POJO name that we want it to be instead of appending &#8216;_&#8217; to the file names and generating many files with those names&lt;/p&gt;&lt;/blockquote&gt;</comment>
                                                            <comment id="187271" author="5f9abc1eb45b2e007453f423" created="Mon, 7 Jan 2019 21:14:17 +0000"  >&lt;p&gt;Yeah, something similar is happening in this case.  I&apos;ve attached the generated classes for the source files, Address_.java and Address.java, for working builds and failed builds.   For working builds, Address.java.good and Address_.java.good are virtually identical.  However,  for failed builds, Address.java.fail and Address_.java.fail are very different.  Seem to be totally different schemas between the two.  I suspect that something similar occurs with the generated Url.java and Url_.java classes. I think what&apos;s maybe needed here is some schema clean up?   &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3A329e0f11-cc86-459e-a311-80d4eb134a7f&quot; class=&quot;user-hover&quot; rel=&quot;70121:329e0f11-cc86-459e-a311-80d4eb134a7f&quot; data-account-id=&quot;70121:329e0f11-cc86-459e-a311-80d4eb134a7f&quot; accountid=&quot;70121:329e0f11-cc86-459e-a311-80d4eb134a7f&quot; rel=&quot;noreferrer&quot;&gt;Sobha Duvvuri&lt;/a&gt; Is there anything else you can think of that should be done to resolve this?&lt;/p&gt;

&lt;p&gt;Also CC&apos;ing &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f8314dfbdef80006f6f572d&quot; class=&quot;user-hover&quot; rel=&quot;5f8314dfbdef80006f6f572d&quot; data-account-id=&quot;5f8314dfbdef80006f6f572d&quot; accountid=&quot;5f8314dfbdef80006f6f572d&quot; rel=&quot;noreferrer&quot;&gt;Adam Dickmeiss&lt;/a&gt; and assigning back to John Komick. &lt;/p&gt;

&lt;p&gt; &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;/rest/api/3/attachment/content/63612&quot; title=&quot;Address_.java.good attached to MODVEND-71&quot; data-attachment-type=&quot;file&quot; data-attachment-name=&quot;Address_.java.good&quot; data-media-services-type=&quot;file&quot; data-media-services-id=&quot;f9850377-907f-489b-9608-49b01bddddbd&quot; rel=&quot;noreferrer&quot;&gt;Address_.java.good&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;  &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;/rest/api/3/attachment/content/63610&quot; title=&quot;Address.java.good attached to MODVEND-71&quot; data-attachment-type=&quot;file&quot; data-attachment-name=&quot;Address.java.good&quot; data-media-services-type=&quot;file&quot; data-media-services-id=&quot;7ebd2577-678f-4a3b-ad23-b9d60c951847&quot; rel=&quot;noreferrer&quot;&gt;Address.java.good&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;  &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;/rest/api/3/attachment/content/63609&quot; title=&quot;Address.java.fail attached to MODVEND-71&quot; data-attachment-type=&quot;file&quot; data-attachment-name=&quot;Address.java.fail&quot; data-media-services-type=&quot;file&quot; data-media-services-id=&quot;11af071d-e5d4-4733-80a4-bf66702aeb7d&quot; rel=&quot;noreferrer&quot;&gt;Address.java.fail&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;  &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;/rest/api/3/attachment/content/63611&quot; title=&quot;Address_.java.fail attached to MODVEND-71&quot; data-attachment-type=&quot;file&quot; data-attachment-name=&quot;Address_.java.fail&quot; data-media-services-type=&quot;file&quot; data-media-services-id=&quot;fdeed190-9f97-41d9-9938-3a4476feebdb&quot; rel=&quot;noreferrer&quot;&gt;Address_.java.fail&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;
</comment>
                                                            <comment id="187272" author="61cd0ca0bce5e00069e98be7" created="Mon, 7 Jan 2019 22:53:44 +0000"  >&lt;p&gt;Although it may be a big job, upgrading to RMB 23+ and RAML 1.0 might side-step this. 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;MODVEND-63&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/MODVEND-63&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Update to RAML 1.0 and RMB 23&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10309?size=medium&quot; /&gt;
            MODVEND-63
        &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;
&lt;/p&gt;</comment>
                                                            <comment id="187273" author="5f9abc1eb45b2e007453f423" created="Tue, 8 Jan 2019 12:38:48 +0000"  >&lt;p&gt;right, &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=61cd0ca0bce5e00069e98be7&quot; class=&quot;user-hover&quot; rel=&quot;61cd0ca0bce5e00069e98be7&quot; data-account-id=&quot;61cd0ca0bce5e00069e98be7&quot; accountid=&quot;61cd0ca0bce5e00069e98be7&quot; rel=&quot;noreferrer&quot;&gt;David Crossley&lt;/a&gt;.  That&apos;s probably the way to go.  &lt;/p&gt;</comment>
                                                            <comment id="187274" author="5f9abc1eb45b2e007453f423" created="Tue, 8 Jan 2019 12:41:12 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A756afa54-d400-4f12-a8b4-427ef0988899&quot; class=&quot;user-hover&quot; rel=&quot;557058:756afa54-d400-4f12-a8b4-427ef0988899&quot; data-account-id=&quot;557058:756afa54-d400-4f12-a8b4-427ef0988899&quot; accountid=&quot;557058:756afa54-d400-4f12-a8b4-427ef0988899&quot; rel=&quot;noreferrer&quot;&gt;John Komick&lt;/a&gt; I&apos;m going to re-enable merging restrictions for this repo.   This is a legitimate code issue - not a CI issue. &lt;/p&gt;</comment>
                                                            <comment id="187275" author="557058:756afa54-d400-4f12-a8b4-427ef0988899" created="Mon, 28 Jan 2019 22:30:10 +0000"  >&lt;p&gt;The cause of these issues have been resolved as part of &lt;a href=&quot;https://folio-org.atlassian.net/browse/MODVEND-72&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://folio-org.atlassian.net/browse/MODVEND-72&lt;/a&gt; which have been merged into the mod-vendors master branch and deployed to folio-test.&lt;/p&gt;</comment>
                                                            <comment id="187276" author="70121:329e0f11-cc86-459e-a311-80d4eb134a7f" created="Wed, 6 Mar 2019 14:32:57 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f9abc1eb45b2e007453f423&quot; class=&quot;user-hover&quot; rel=&quot;5f9abc1eb45b2e007453f423&quot; data-account-id=&quot;5f9abc1eb45b2e007453f423&quot; accountid=&quot;5f9abc1eb45b2e007453f423&quot; rel=&quot;noreferrer&quot;&gt;John Malconian&lt;/a&gt;: Sorry, I was out on maternity leave last couple of months and just got back this week. The way we resolved this issue in mod-kb-ebsco-java is by providing a &quot;javaType&quot; in the json schema which is essentially a name for the generated class that we can provide. This prevents the problem of multiple classes having the same name and underscores being appended. More reference here: &lt;a href=&quot;https://github.com/joelittlejohn/jsonschema2pojo/wiki/Reference&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/joelittlejohn/jsonschema2pojo/wiki/Reference&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="63609" name="Address.java.fail" size="3385" author="5f9abc1eb45b2e007453f423" created="Mon, 7 Jan 2019 21:13:39 +0000"/>
                            <attachment id="63610" name="Address.java.good" size="5256" author="5f9abc1eb45b2e007453f423" created="Mon, 7 Jan 2019 21:13:24 +0000"/>
                            <attachment id="63611" name="Address_.java.fail" size="5288" author="5f9abc1eb45b2e007453f423" created="Mon, 7 Jan 2019 21:13:47 +0000"/>
                            <attachment id="63612" name="Address_.java.good" size="5264" author="5f9abc1eb45b2e007453f423" created="Mon, 7 Jan 2019 21:13:08 +0000"/>
                    </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_10014" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue key="$xmlutils.escape($text)">Allow for the creation and management of organization records</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzzanj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="690">ACQ Sprint 56</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10108" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Tester Assignee</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5cf6c546b87c300f36eb7b9a</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 7 Jan 2019 22:53:44 +0000</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>