Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MODSOURCE-731] Add PUT endpoint to update SRS record #588

Merged
merged 4 commits into from
Jan 9, 2024

Conversation

RomanChernetskyi
Copy link
Contributor

@RomanChernetskyi RomanChernetskyi commented Jan 4, 2024

Purpose

Add PUT endpoint to update SRS record

Approach

Added endpoint with URL /source-storage/records/{id}/generation Basically new endpoint execute 'saveRecord' method but only for record with a matched id that already exists at DB, so we are creating a new ACTUAL record with incremented generation

Learning

https://issues.folio.org/browse/MODSOURCE-731

@RomanChernetskyi RomanChernetskyi changed the title [MODSOURCE-731] Add PUT endpoint to update SRS record [MODSOURCE-731] Add PUT endpoint to update SRS recor Jan 9, 2024
@RomanChernetskyi RomanChernetskyi changed the title [MODSOURCE-731] Add PUT endpoint to update SRS recor [MODSOURCE-731] Add PUT endpoint to update SRS record Jan 9, 2024
Copy link

sonarcloud bot commented Jan 9, 2024

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

2 New issues
0 Security Hotspots
92.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@RomanChernetskyi RomanChernetskyi merged commit 4ca9f12 into master Jan 9, 2024
6 checks passed
@RomanChernetskyi RomanChernetskyi deleted the MODSOURCE-731 branch January 9, 2024 12:55
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.

5 participants