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

[MODORDERS-1218/MODORDERS-1219] Fix async issue for change instance connection #1058

Merged
merged 19 commits into from
Dec 4, 2024
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
a3cba5d
MODORDERS-1183. Introduce new error code for missed affiliations
SerhiiNosko Sep 12, 2024
eb38cb1
Merge branch 'master' of https://github.com/folio-org/mod-orders
SerhiiNosko Sep 13, 2024
5c4b91f
Merge branch 'master' of https://github.com/folio-org/mod-orders
SerhiiNosko Sep 17, 2024
3132b40
Merge branch 'master' of https://github.com/folio-org/mod-orders
SerhiiNosko Sep 18, 2024
e66cd95
Merge branch 'master' of https://github.com/folio-org/mod-orders
SerhiiNosko Sep 26, 2024
2bbfb0e
Merge branch 'master' of https://github.com/folio-org/mod-orders
SerhiiNosko Oct 2, 2024
64b29ad
Merge branch 'master' of https://github.com/folio-org/mod-orders
SerhiiNosko Oct 3, 2024
6f08ad9
Merge branch 'master' of https://github.com/folio-org/mod-orders
SerhiiNosko Oct 7, 2024
0de6cb1
Merge branch 'master' of https://github.com/folio-org/mod-orders
SerhiiNosko Oct 11, 2024
eaf556a
Merge branch 'master' of https://github.com/folio-org/mod-orders
SerhiiNosko Oct 25, 2024
7aefee1
Merge branch 'master' of https://github.com/folio-org/mod-orders
SerhiiNosko Oct 30, 2024
584d588
Merge remote-tracking branch 'origin/master'
SerhiiNosko Nov 4, 2024
fec784f
Merge remote-tracking branch 'origin/master'
SerhiiNosko Nov 7, 2024
1a84f95
Merge remote-tracking branch 'origin/master'
SerhiiNosko Nov 8, 2024
0a8194e
Merge remote-tracking branch 'origin/master'
SerhiiNosko Nov 19, 2024
e80ea33
Merge branch 'master' of https://github.com/folio-org/mod-orders
SerhiiNosko Nov 20, 2024
4da028d
Merge branch 'master' of https://github.com/folio-org/mod-orders
SerhiiNosko Dec 2, 2024
e9ffe04
Merge branch 'master' of https://github.com/folio-org/mod-orders
SerhiiNosko Dec 4, 2024
5353f2d
MODORDERS-1218/MODORDERS-1219. Fix async issue with changing instance…
SerhiiNosko Dec 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ private Future<Void> updateInventoryInstanceInformation(PatchOrderLineRequest re

String newInstanceId = request.getReplaceInstanceRef().getNewInstanceId();
purchaseOrderLineService.getOrderLineById(lineId, requestContext)
.map(poLine -> {
.compose(poLine -> {
RequestEntry requestEntry = new RequestEntry(INVENTORY_LOOKUP_ENDPOINTS.get(INSTANCE_RECORDS_BY_ID_ENDPOINT)).withId(newInstanceId);
return restClient.getAsJsonObject(requestEntry, requestContext)
.compose(instanceRecord -> updatePoLineWithInstanceRecordInfo(instanceRecord, poLine, requestContext))
Expand Down
Loading