<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:25:45 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-3118] SPIKE: testcontainers and Vagrant</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-3118</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;Can we use testcontainers under Vagrant? Should we?&lt;/p&gt;

&lt;p&gt;According to &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=63e2a2771b13d42998e4e706&quot; class=&quot;user-hover&quot; rel=&quot;63e2a2771b13d42998e4e706&quot; data-account-id=&quot;63e2a2771b13d42998e4e706&quot; accountid=&quot;63e2a2771b13d42998e4e706&quot; rel=&quot;noreferrer&quot;&gt;Marc Johnson&lt;/a&gt; the changes to RMB force developers to use testcontainers for testing and there&apos;s no way to use external Postgres. This will cause problems for people running Windows and Vagrant.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5e2ea1abe504e30cabd3625b&quot; class=&quot;user-hover&quot; rel=&quot;5e2ea1abe504e30cabd3625b&quot; data-account-id=&quot;5e2ea1abe504e30cabd3625b&quot; accountid=&quot;5e2ea1abe504e30cabd3625b&quot; rel=&quot;noreferrer&quot;&gt;Oleksandr_Dekin&lt;/a&gt; mentioned during the TL meeting that he has a guideline for how to run on Windows w Vagrant and will post a wiki page about it.&lt;/p&gt;</description>
                <environment></environment>
        <key id="82060">FOLIO-3118</key>
            <summary>SPIKE: testcontainers and Vagrant</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="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="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d">Jakub Skoczen</reporter>
                                    <labels>
                    </labels>
                <created>Wed, 14 Apr 2021 12:03:09 +0000</created>
                <updated>Wed, 21 Apr 2021 12:09:58 +0000</updated>
                            <resolved>Wed, 21 Apr 2021 12:09:58 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                                                            <comment id="197203" author="5ee89462f7aa140abd82d11d" created="Wed, 14 Apr 2021 12:35:39 +0000"  >&lt;p&gt;RMB based modules can use the testcontainers support that RMB ships with: &lt;a href=&quot;https://github.com/folio-org/raml-module-builder/blob/master/doc/upgrading.md#rmb-789-remove-support-of-embedded-postgresql-server&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/raml-module-builder/blob/master/doc/upgrading.md#rmb-789-remove-support-of-embedded-postgresql-server&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;RMB has configuration options to point to some other external PostgreSQL server:&lt;br/&gt;
&lt;a href=&quot;https://github.com/folio-org/raml-module-builder#postgresql-integration&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/raml-module-builder#postgresql-integration&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="197206" author="5ee89462f7aa140abd82d11d" created="Wed, 14 Apr 2021 12:42:17 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-1845?focusedCommentId=192264&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://folio-org.atlassian.net/browse/FOLIO-1845?focusedCommentId=192264&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&lt;/a&gt;&lt;br/&gt;
reports that Windows 10 Pro can run Testcontainers without Vagrant: Use Docker Desktop Community 3.0.4 with default settings, one of the defaults is that &quot;Use the WSL 2 based engine&quot; is enabled.&lt;/p&gt;</comment>
                                                            <comment id="197211" author="63e2a2771b13d42998e4e706" created="Thu, 15 Apr 2021 13:41:29 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5ee89462f7aa140abd82d11d&quot; class=&quot;user-hover&quot; rel=&quot;5ee89462f7aa140abd82d11d&quot; data-account-id=&quot;5ee89462f7aa140abd82d11d&quot; accountid=&quot;5ee89462f7aa140abd82d11d&quot; rel=&quot;noreferrer&quot;&gt;Julian Ladisch&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;RMB has configuration options to point to some other external PostgreSQL server&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Has this been tested for use during tests since moving to test containers? When I tried, the environment variables were not respected during tests and so could no longer use an external PostgreSQL server.&lt;/p&gt;</comment>
                                                            <comment id="197215" author="5f8314dfbdef80006f6f572d" created="Fri, 16 Apr 2021 18:10:39 +0000"  >&lt;p&gt;If you do NOT call PostgresClient.setPostgresTester(new PostgresTesterContainer()), then RMB should work exactly as it would do in in runtime.&lt;/p&gt;

&lt;p&gt;Switching away from containers because one of the &lt;b&gt;standard&lt;/b&gt; production environment entries are present (eg DB_HOST is present) is not what I would recommend.&lt;/p&gt;

&lt;p&gt;But if you guys think that if DB_HOST or one of the other env entries are set should switch away from test containers, that can , of course be the new behavior.. But obviously is a change to RMB .&lt;/p&gt;</comment>
                                                            <comment id="197220" author="5f8314dfbdef80006f6f572d" created="Fri, 16 Apr 2021 18:30:13 +0000"  >&lt;p&gt;Example on how it can be done:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;code-object&quot;&gt;System&lt;/span&gt;.getProperty(&lt;span class=&quot;code-quote&quot;&gt;&quot;postgres_external&quot;&lt;/span&gt;) == &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;) {
    PostgresClient.setPostgresTester(&lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; PostgresTesterContainer());
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;And an external Postgres can then be used with something like:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
DB_HOST=localhost DB_PORT=5432 DB_USERNAME=user DB_PASSWORD=pass DB_DATABASE=postgres \
  mvn -B -Dpostgres_external=1 test
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                                                            <comment id="197224" author="5f8314dfbdef80006f6f572d" created="Fri, 16 Apr 2021 19:04:43 +0000"  >&lt;p&gt;OK. I&apos;ve created 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;RMB-826&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/RMB-826&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Only use postgresTester (testContainers) on &amp;quot;empty&amp;quot; db configuration&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-826
        &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;
 .. Let me know if that procedure is what we want. This way module implements have do do &quot;nothing&quot; and call  PostgresClient.setPostgresTester(new PostgresTesterContainer()) unconditonally and containers will not be used if DB configuration is present.&lt;/p&gt;</comment>
                                                            <comment id="197228" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Tue, 20 Apr 2021 09:04:54 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=63e2a2771b13d42998e4e706&quot; class=&quot;user-hover&quot; rel=&quot;63e2a2771b13d42998e4e706&quot; data-account-id=&quot;63e2a2771b13d42998e4e706&quot; accountid=&quot;63e2a2771b13d42998e4e706&quot; rel=&quot;noreferrer&quot;&gt;Marc Johnson&lt;/a&gt; &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5e2ea1abe504e30cabd3625b&quot; class=&quot;user-hover&quot; rel=&quot;5e2ea1abe504e30cabd3625b&quot; data-account-id=&quot;5e2ea1abe504e30cabd3625b&quot; accountid=&quot;5e2ea1abe504e30cabd3625b&quot; rel=&quot;noreferrer&quot;&gt;Oleksandr_Dekin&lt;/a&gt; Guys, can you comment if 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;RMB-826&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/RMB-826&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Only use postgresTester (testContainers) on &amp;quot;empty&amp;quot; db configuration&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-826
        &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;
 addresses this problem sufficiently? Thanks.&lt;/p&gt;</comment>
                                                            <comment id="197231" author="63e2a2771b13d42998e4e706" created="Tue, 20 Apr 2021 09:38:12 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ab8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; class=&quot;user-hover&quot; rel=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; data-account-id=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; accountid=&quot;557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d&quot; rel=&quot;noreferrer&quot;&gt;Jakub Skoczen&lt;/a&gt; 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;RMB-826&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/RMB-826&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Only use postgresTester (testContainers) on &amp;quot;empty&amp;quot; db configuration&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-826
        &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;
 covers what I was talking about in the Technical Leads meeting.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="81054">FOLIO-1845</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="57308">RMB-826</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_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|i02lfr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="128">CP: R3 2022 roadmap</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10044" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 14 Apr 2021 12:35:39 +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>