Invalid migration scripts for job profiles

Description

Purpose/Overview:

"Default holdings job profile" and "Default holdings mapping profile" doesn't appears after migration script executions.

Requirements/Scope:

  1. "Default holdings job profile" and "Default holdings mapping profile" should be presented after migration scripts execution.

Approach: Migration scripts should be updated.

Acceptance criteria:

  • Migration scripts work correct for "Default holdings job profile" and "Default holdings mapping profile"

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Viachaslau Khandramai March 21, 2022 at 2:43 PM

Verified on vagrant-box:

 

Viachaslau Khandramai March 20, 2022 at 2:51 PM
Edited

Hi ,

did you use loadSample and loadReference (https://github.com/folio-org/okapi/blob/master/doc/guide.md#install-parameter-tenantparameters) during mod-data-export updating from release to release (namely, from Kiwi to Lotus)? I mean, there are several options: 1) Module is enabled in OKAPI with loadSample = false and DB is migrated by using migration scripts; 2) Module is enabled in OKAPI with loadSample = true and after that DB is migrated by using migration scripts; 3) Initially DB is migrated by using migration scripts and after that module is enabled in OKAPI.

This is critical to understand because executing the database migration without requesting the load sample data, or doing the migration after enabling the module, lead to this problem particular problem.

I can add missed profiles in the migration scripts but I assume this is overkill because we already have this mechanism in the framework of Tenant API with using loadSample=true.

CC

 

UPD: 

I've implemented and verified migration scripts that add holdings mapping and job profiles and opened pull-request. I assume this is the easiest way unlike changing the standard pipeline for releasing of new modules.

 

Thanks, 

Slava

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Firebird

Fix versions

Release

Lotus (R1 2022) Bug Fix

RCA Group

Implementation coding issue

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created March 20, 2022 at 9:22 AM
Updated July 14, 2022 at 9:46 AM
Resolved March 21, 2022 at 2:43 PM
TestRail: Cases
TestRail: Runs