<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:13:01 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-1394] Spike - research which mock server would be the best to integrate with Pact and BigTest</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-1394</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;Currently, BigTest employs Mirage for its client-side mock server. Mirage doesn&apos;t support Pact integration out of the box. We need BigTest UI testing framework to support consumer-driven contract tests. The additional complexity is added by the fact that UI makes REST API request via Okapi ( not directly to an end-point published by producer module) &lt;/p&gt;

&lt;p&gt;The goal of this story is to research what would be the best option:&lt;br/&gt;
1) Modify Mirage to support Pact&lt;br/&gt;
2) Figure out if a different mock server that supports Pact out of the box can be integrated with Pact.&lt;/p&gt;

&lt;p&gt;Acceptance criteria:&lt;br/&gt;
1) Working demo of BigTest test that is using test-doubles that are captured into Pact files and stored on the Pact server&lt;br/&gt;
2) Test case for corresponding producer module that uses the same Pact file as mock.&lt;br/&gt;
3) Break a contract on producer side --&amp;gt; Modify Pact file --&amp;gt; prove that test failed on the BigTest side. &lt;/p&gt;</description>
                <environment></environment>
        <key id="80738">FOLIO-1394</key>
            <summary>Spike - research which mock server would be the best to integrate with Pact and BigTest</summary>
                <type id="10005" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10309?size=medium">Story</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="62a96ae7192edb006f9f1bf9">Khalilah Gambrell</assignee>
                                                                <reporter accountid="5cffed1a5d548b0c51d6b19b">Anton Emelianov</reporter>
                                    <labels>
                            <label>Pact</label>
                            <label>epam-folijet</label>
                            <label>no-epic-needed</label>
                            <label>uitestingteam</label>
                    </labels>
                <created>Thu, 2 Aug 2018 18:07:43 +0000</created>
                <updated>Fri, 9 Jun 2023 15:08:37 +0000</updated>
                            <resolved>Fri, 31 Aug 2018 12:36:11 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                                                            <comment id="194877" author="5c10cd488ce9b546efc4d9c4" created="Wed, 29 Aug 2018 12:44:19 +0000"  >&lt;p&gt;Pact serves well with its concept of contract testing.&lt;br/&gt;
Interaction explained and tested for both FE and BE side.&lt;br/&gt;
As a result of consumer (FE) test a special pact contract file is created (.json). Such files describe an interaction between consumer and provider (it can be FE+BE or two interacting BE modules).  &lt;/p&gt;

&lt;p&gt;Pact consumer (JavaScript) for demo session implemented here: &lt;a href=&quot;https://github.com/oleksii-popov/pact-simple-consumer&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/oleksii-popov/pact-simple-consumer&lt;/a&gt; (includes authn/login and pact contract generation)&lt;br/&gt;
Pact provider test (Java) for serverside implemented here: &lt;a href=&quot;https://github.com/Igor-Gorchakov/simplepact&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/Igor-Gorchakov/simplepact&lt;/a&gt; (OKAPI authn/login test, based on pact contract)&lt;/p&gt;

&lt;p&gt;Will be shown on next UI testing meeting.&lt;/p&gt;

&lt;p&gt;FYi &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5cffed1a5d548b0c51d6b19b&quot; class=&quot;user-hover&quot; rel=&quot;5cffed1a5d548b0c51d6b19b&quot; data-account-id=&quot;5cffed1a5d548b0c51d6b19b&quot; accountid=&quot;5cffed1a5d548b0c51d6b19b&quot; rel=&quot;noreferrer&quot;&gt;Anton Emelianov&lt;/a&gt; &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=62a96ae7192edb006f9f1bf9&quot; class=&quot;user-hover&quot; rel=&quot;62a96ae7192edb006f9f1bf9&quot; data-account-id=&quot;62a96ae7192edb006f9f1bf9&quot; accountid=&quot;62a96ae7192edb006f9f1bf9&quot; rel=&quot;noreferrer&quot;&gt;Khalilah Gambrell&lt;/a&gt; &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5af5e627525ba96b58654f12&quot; class=&quot;user-hover&quot; rel=&quot;5af5e627525ba96b58654f12&quot; data-account-id=&quot;5af5e627525ba96b58654f12&quot; accountid=&quot;5af5e627525ba96b58654f12&quot; rel=&quot;noreferrer&quot;&gt;Ann-Marie Breaux&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="194879" author="62a96ae7192edb006f9f1bf9" created="Thu, 30 Aug 2018 12:30:09 +0000"  >&lt;p&gt;Hey &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5cffed1a5d548b0c51d6b19b&quot; class=&quot;user-hover&quot; rel=&quot;5cffed1a5d548b0c51d6b19b&quot; data-account-id=&quot;5cffed1a5d548b0c51d6b19b&quot; accountid=&quot;5cffed1a5d548b0c51d6b19b&quot; rel=&quot;noreferrer&quot;&gt;Anton Emelianov&lt;/a&gt;, we need you to confirm that the work for this user story is done. What is the best way for you to confirm?&lt;/p&gt;</comment>
                                                            <comment id="194882" author="5cffed1a5d548b0c51d6b19b" created="Thu, 30 Aug 2018 18:50:22 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=62a96ae7192edb006f9f1bf9&quot; class=&quot;user-hover&quot; rel=&quot;62a96ae7192edb006f9f1bf9&quot; data-account-id=&quot;62a96ae7192edb006f9f1bf9&quot; accountid=&quot;62a96ae7192edb006f9f1bf9&quot; rel=&quot;noreferrer&quot;&gt;Khalilah Gambrell&lt;/a&gt;, Code review should be done by &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3Ae70f578f-dc5a-4a30-8836-fc2418025d21&quot; class=&quot;user-hover&quot; rel=&quot;70121:e70f578f-dc5a-4a30-8836-fc2418025d21&quot; data-account-id=&quot;70121:e70f578f-dc5a-4a30-8836-fc2418025d21&quot; accountid=&quot;70121:e70f578f-dc5a-4a30-8836-fc2418025d21&quot; rel=&quot;noreferrer&quot;&gt;Matt Reno&lt;/a&gt;.  The actual demo is scheduled on Tuesday 9/2&lt;/p&gt;</comment>
                                                            <comment id="194885" author="70121:e70f578f-dc5a-4a30-8836-fc2418025d21" created="Thu, 30 Aug 2018 21:38:03 +0000"  >&lt;p&gt;I&apos;ve looked at the Pact PoC repos and they demonstrate basic Pact consumer/producer generation/verification using existing Pact related generation/verification libraries.&lt;/p&gt;

&lt;p&gt;I don&apos;t know if all the acceptance criteria are met as I am not familiar with BigTest. I don&apos;t see anything in the consumer code to suggest BigTest is being used as the test harness (it appears to be chai).&lt;/p&gt;

&lt;p&gt;Otherwise, I think a demo of this could evoke several questions about how we can integrate it in the actual CI/CD pipeline, which is a good thing.&lt;/p&gt;</comment>
                                                            <comment id="194888" author="62a96ae7192edb006f9f1bf9" created="Fri, 31 Aug 2018 12:35:48 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5c10cd488ce9b546efc4d9c4&quot; class=&quot;user-hover&quot; rel=&quot;5c10cd488ce9b546efc4d9c4&quot; data-account-id=&quot;5c10cd488ce9b546efc4d9c4&quot; accountid=&quot;5c10cd488ce9b546efc4d9c4&quot; rel=&quot;noreferrer&quot;&gt;Oleksii Popov&lt;/a&gt; and &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5ef4896f54c8a50ab5b9388b&quot; class=&quot;user-hover&quot; rel=&quot;5ef4896f54c8a50ab5b9388b&quot; data-account-id=&quot;5ef4896f54c8a50ab5b9388b&quot; accountid=&quot;5ef4896f54c8a50ab5b9388b&quot; rel=&quot;noreferrer&quot;&gt;Tetyana Afanasyeva&lt;/a&gt;, I am marking this as done. Based on feedback from the demo, we may add additional user stories to the backlog. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="55657">MODINVSTOR-259</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="80744">FOLIO-1397</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="80801">FOLIO-1443</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="80806">FOLIO-1451</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="77364">UIMPROF-11</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="10153"><![CDATA[Folijet]]></customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1456">EPAM Sprint 3</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10044" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.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, 29 Aug 2018 12:44:19 +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>