[FOLIO-3260] SPIKE: Investigate adding karate tests for module upgrade and permission migration Created: 02/Aug/21 Updated: 02/Aug/21 |
|
| Status: | Open |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Story | Priority: | TBD |
| Reporter: | Steve Ellis | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Sprint: | |
| Story Points: | 2 |
| Development Team: | None |
| Description |
|
Overview: Upgrading a module for a tenant to a newer version involves the calling OKAPI's tenant API to perform the migration. There is an example here. The module's schema should be properly migrated between the module versions. Also, permissions should be properly migrated between the module versions. The purpose of this spike is to investigate the relationship between module and permission migration, and determine if this process is a good candidate for karate-style integration tests. Background: Jakub Skoczen mentioned that there have been some difficult-to-debug issues around permission migration that integration tests could benefit. There should be a wiki page about permissions migration. And the OKAPI docs may also have some helpful information. Craig McNally recently worked on permissions migration so he may also be a source of helpful info. Interested parties: Jakub Skoczen, Hanna Hulevich, Craig McNally |