Skip to content

Commit

Permalink
MCBFF-37 Change URL to /circulation-bff/loans/check-in-by-barcode
Browse files Browse the repository at this point in the history
  • Loading branch information
OleksandrVidinieiev committed Jan 13, 2025
1 parent eb1135f commit ee6962a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions descriptors/ModuleDescriptor-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,17 @@
]
},
{
"id": "circulation-bff-check-in-by-barcode",
"id": "circulation-bff-loans",
"version": "1.0",
"handlers": [
{
"methods": [
"POST"
],
"pathPattern": "/circulation-bff/check-in-by-barcode",
"permissionsRequired": ["circulation-bff.check-in-by-barcode.execute"],
"pathPattern": "/circulation-bff/loans/check-in-by-barcode",
"permissionsRequired": [
"circulation-bff.loans.check-in-by-barcode.execute"
],
"modulePermissions": [
"circulation.check-in-by-barcode.post"
]
Expand Down Expand Up @@ -226,7 +228,7 @@
"description": "create ECS LTR or Circulation request"
},
{
"permissionName": "circulation-bff.check-in-by-barcode.execute",
"permissionName": "circulation-bff.loans.check-in-by-barcode.execute",
"displayName": "circulation BFF - check-in item",
"description": "check-in item"
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/swagger.api/circulation-bff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ paths:
$ref: 'paths/staffSlips/searchSlips.yaml'
/circulation-bff/create-ecs-request-external:
$ref: 'paths/ecsRequestExternal/ecsRequestExternal.yaml'
/circulation-bff/check-in-by-barcode:
/circulation-bff/loans/check-in-by-barcode:
$ref: 'paths/check-in/check-in.yaml'

components:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

class CheckInApiTest extends BaseIT {

private static final String CHECK_IN_URL = "/circulation-bff/check-in-by-barcode";
private static final String CHECK_IN_URL = "/circulation-bff/loans/check-in-by-barcode";
private static final String CIRCULATION_CHECK_IN_URL = "/circulation/check-in-by-barcode";

@Test
Expand Down

0 comments on commit ee6962a

Please sign in to comment.