Skip to content

MODINV-542 - Optimistic locking: mod-inventory modifications for quick-marc flow#404

Merged
natali-zaitseva merged 11 commits into
masterfrom
MODINV-542
Oct 22, 2021
Merged

MODINV-542 - Optimistic locking: mod-inventory modifications for quick-marc flow#404
natali-zaitseva merged 11 commits into
masterfrom
MODINV-542

Conversation

@RuslanLavrov
Copy link
Copy Markdown
Contributor

@RuslanLavrov RuslanLavrov commented Oct 2, 2021

Purpose

In the scope of the Optimistic locking feature, mod-inventory needs to have '_version' property to be able to correctly update Inventory Instance/Holdings. For this purpose, the value 'relatedRecordVersion' which came from mod-quick-marc should be re-mapped to the corresponding '_version' property.

Approach

added re-mapping of 'relatedRecordVersion' to '_version'
explicitly set '_version' to Instance/Holdings
updated tests

@RuslanLavrov RuslanLavrov marked this pull request as draft October 2, 2021 14:46
@RuslanLavrov RuslanLavrov force-pushed the MODINV-542 branch 5 times, most recently from 36a7ee6 to 609aca2 Compare October 4, 2021 19:24
@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@natali-zaitseva natali-zaitseva merged commit e2618e8 into master Oct 22, 2021
@natali-zaitseva natali-zaitseva deleted the MODINV-542 branch October 22, 2021 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants