Skip to content

Commit

Permalink
CIRC-2099 testing
Browse files Browse the repository at this point in the history
  • Loading branch information
SreejaMangarapu committed Jul 8, 2024
1 parent ff55374 commit d5f82d0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions ramls/examples/print-events-request.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"requestIds": [
"059e54bb-53e5-4039-a2fb-b34358e88b0a",
"e70dcbae-30c6-47ac-94f8-4ffefd44a935"
],
"requesterId": "d51470ea-5daa-480b-a4aa-09c8c6d9940e",
"requesterName": "requester",
"printEventDate": "2024-06-25T20:00:00+05:30"
}
2 changes: 1 addition & 1 deletion src/main/java/org/folio/circulation/support/Clients.java
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ private CollectionResourceClient createPrintEventsStorageClient(
OkapiHttpClient client, WebContext context) throws MalformedURLException {

return getCollectionResourceClient(client, context,
"/print-events-storage/print-events");
"/print-events-storage/print-events/create-batch");
}

private GetManyRecordsClient createSettingsStorageClient(
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/api/support/fakes/FakeOkapi.java
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ public void start(Promise<Void> startFuture) throws IOException {
.create().register(router);

new FakeStorageModuleBuilder()
.withRootPath("/print-events-storage/print-events")
.withRootPath("/print-events-storage/print-events/create-batch")
.withChangeMetadata()
.create().register(router);

Expand Down

0 comments on commit d5f82d0

Please sign in to comment.