-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CIRC-2018] Combine items with related records during pagination proc…
…ess (#1424) * CIRC-2018 implement combining by page * CIRC-2018 add test * CIRC-2018 fix code smells * CIRC-2018 fix code smells * CIRC-2018 fix code smells * CIRC-2018 remove unused import * CIRC-2018 add test * CIRC-2018 refactoring * CIRC-2018 rename interface * CIRC-2018 inline variable * CIRC-2018 add executing fetching in another thread * CIRC-2018 rename parameter * CIRC-2018 rename parameter * CIRC-2018 rename parameter * CIRC-2018 add logging (cherry picked from commit 2736ad8)
- Loading branch information
1 parent
704a479
commit d2689f8
Showing
12 changed files
with
329 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/main/java/org/folio/circulation/support/FindByIdsAndCombine.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package org.folio.circulation.support; | ||
|
||
import java.util.Collection; | ||
import java.util.concurrent.CompletableFuture; | ||
|
||
import org.folio.circulation.domain.MultipleRecords; | ||
import org.folio.circulation.support.results.Result; | ||
|
||
public interface FindByIdsAndCombine<R> { | ||
CompletableFuture<Result<MultipleRecords<R>>> findByIdsAndCombine(Collection<String> ids); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.