<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 22:31:54 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>[MODMARCMIG-6] Implement Async Records Mapping Mechanism for MARC Migration (Prepare Chunks)</title>
                <link>https://folio-org.atlassian.net/browse/MODMARCMIG-6</link>
                <project id="10268" key="MODMARCMIG">mod-marc-migrations</project>
                    <description>&lt;p&gt;&lt;b&gt;Overview:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Following the successful registration of MARC migration operations through the POST endpoint, this story focuses on implementing an asynchronous mechanism for mapping records. The objective is to prepare chunks of records with the first and last record IDs, facilitating efficient and incremental mapping processes.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Requirements/Scope:&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Develop an asynchronous mechanism for mapping records corresponding to the registered MARC migration operation.&lt;/li&gt;
	&lt;li&gt;Prepare record chunks by identifying the first and last record IDs for mapping purposes.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;&lt;b&gt;Approach:&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Trigger Async Processing Post Operation Registration
	&lt;ol&gt;
		&lt;li&gt;Initiate the asynchronous processing immediately after a new MARC migration operation is successfully registered.&lt;/li&gt;
		&lt;li&gt;Implement configurable thread pool for execution (based on env var).&lt;/li&gt;
	&lt;/ol&gt;
	&lt;/li&gt;
	&lt;li&gt;Define Chunks and Determine Start/End Record IDs
	&lt;ol&gt;
		&lt;li&gt;Design a mechanism to segment records into manageable chunks based on their identifiers.&lt;/li&gt;
		&lt;li&gt;Determine the start and end record IDs for each chunk to facilitate incremental mapping.&lt;/li&gt;
	&lt;/ol&gt;
	&lt;/li&gt;
	&lt;li&gt;Create Database Table for Chunk Representation
	&lt;ol&gt;
		&lt;li&gt;Establish a dedicated table within the database to represent and store the segmented chunks.&lt;/li&gt;
		&lt;li&gt;Define the table structure to accommodate chunk-related information such as chunk ID, operation ID, start record ID, end record ID, etc.&lt;/li&gt;
	&lt;/ol&gt;
	&lt;/li&gt;
	&lt;li&gt;Persist Chunks to the Database Table:
	&lt;ol&gt;
		&lt;li&gt;Develop the logic to save the identified chunks into the newly created table in the database.&lt;/li&gt;
		&lt;li&gt;Ensure that each chunk&apos;s relevant information, including start and end record IDs, is accurately stored.&lt;/li&gt;
	&lt;/ol&gt;
	&lt;/li&gt;
	&lt;li&gt;Update Operation Status to DATA_MAPPING:
	&lt;ol&gt;
		&lt;li&gt;Modify the status of the registered MARC migration operation to indicate that the data mapping process has commenced.&lt;/li&gt;
		&lt;li&gt;Change the operation status to &quot;DATA_MAPPING&quot; to signify the transition to the mapping phase.&lt;/li&gt;
	&lt;/ol&gt;
	&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;&lt;b&gt;Additional info:&lt;/b&gt;&lt;br/&gt;
POC for defining chunks and mapping: &lt;a href=&quot;https://github.com/folio-org/mod-entities-links/commits/MODELINKS-84-long-term-poc/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/mod-entities-links/commits/MODELINKS-84-long-term-poc/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Acceptance Criteria:&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;covered by unit tests&lt;br/&gt;
&#160;&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="79269">MODMARCMIG-6</key>
            <summary>Implement Async Records Mapping Mechanism for MARC Migration (Prepare Chunks)</summary>
                <type id="10005" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10309?size=medium">Story</type>
                            <parent id="79273">MODMARCMIG-10</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="10003">Done</resolution>
                                                        <assignee accountid="712020:79f3369a-5acf-46b0-ba9b-37a802c63526">Viacheslav Kolesnyk</assignee>
                                                                <reporter accountid="5eb44b5a96bbcb0b8585c98d">Pavlo Smahin</reporter>
                                    <labels>
                            <label>back-end</label>
                            <label>epam-spitfire</label>
                    </labels>
                <created>Tue, 12 Dec 2023 10:47:50 +0000</created>
                <updated>Thu, 8 Feb 2024 12:09:52 +0000</updated>
                            <resolved>Thu, 8 Feb 2024 12:09:52 +0000</resolved>
                                                    <fixVersion>1.0.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                                                            <comment id="199846" author="712020:79f3369a-5acf-46b0-ba9b-37a802c63526" created="Wed, 7 Feb 2024 12:42:06 +0000"  >&lt;p&gt;Note for testing: after some time GET endpoint should return operation with status &#8220;data mapping&#8220;&lt;/p&gt;</comment>
                                                            <comment id="199927" author="712020:5a7f6289-a5b2-41a9-ad26-18a61419c15c" created="Thu, 8 Feb 2024 08:57:24 +0000"  >&lt;p&gt;Verified on Snapshot environment.&lt;br/&gt;
GET endpoint returns new status: &lt;tt&gt;&quot;data_mapping&quot;&lt;/tt&gt;&lt;br/&gt;
See attached screenshot:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;/rest/api/3/attachment/content/64707&quot; height=&quot;879&quot; width=&quot;1384&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10006">
                    <name>Gantt End to Start</name>
                                            <outwardlinks description="has to be done before">
                                        <issuelink>
            <issuekey id="79274">MODMARCMIG-7</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="has to be done after">
                                        <issuelink>
            <issuekey id="79270">MODMARCMIG-5</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="13764">UXPROD-4082</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="64707" name="MODMARCMIG-6_verified.png" size="121244" author="712020:5a7f6289-a5b2-41a9-ad26-18a61419c15c" created="Thu, 8 Feb 2024 08:57:23 +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="10180"><![CDATA[Spitfire]]></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)">Authority remapping</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|hzx0gu:00000ia7</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10046" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Release</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10079"><![CDATA[Quesnelia (R1 2024)]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="969">Spitfire Sprint 184</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, 7 Feb 2024 12:42:06 +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>