Skip to content

Commit

Permalink
logging fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
imerabishvili committed Nov 29, 2024
1 parent 72d7f4b commit c6b8a79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ public class AllowedServicePointsController implements AllowedServicePointsApi {
public ResponseEntity<AllowedServicePointsResponse> getAllowedServicePoints(String operation,
UUID patronGroupId, UUID requesterId, UUID instanceId, UUID requestId, UUID itemId) {

log.info("getAllowedServicePoints:: params: operation={}, requesterId={}, instanceId={}, " +
"requestId={}, itemId={}", operation, requesterId, instanceId, requestId, itemId);
log.info("getAllowedServicePoints:: params: operation={}, patronGroupId={}, requesterId={}, " +
"instanceId={}, requestId={}, itemId={}",
operation, patronGroupId, requesterId, instanceId, requestId, itemId);

AllowedServicePointsRequest request = new AllowedServicePointsRequest(
operation, patronGroupId, requesterId, instanceId, requestId, itemId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ public AllowedServicePointsResponse getAllowedServicePoints(AllowedServicePoints
private AllowedServicePointsResponse getForCreate(AllowedServicePointsRequest request) {
String patronGroupId = request.getPatronGroupId();
String requesterId = request.getRequesterId();
log.info("getForCreate:: requester patron group and id: {}, {}", patronGroupId, requesterId);
if (StringUtils.isBlank(patronGroupId)) {
patronGroupId = userService.find(requesterId).getPatronGroup();
}
Expand Down Expand Up @@ -95,7 +94,6 @@ protected abstract AllowedServicePointsResponse getAllowedServicePointsFromTenan
private AllowedServicePointsResponse getForReplace(AllowedServicePointsRequest request) {
EcsTlrEntity ecsTlr = findEcsTlr(request);

log.info("getForReplace:: fetching allowed service points from secondary request tenant");
var allowedServicePoints = executionService.executeSystemUserScoped(
ecsTlr.getSecondaryRequestTenantId(), () -> circulationClient.allowedServicePoints(
REPLACE.getValue(), ecsTlr.getSecondaryRequestId().toString()));
Expand Down

0 comments on commit c6b8a79

Please sign in to comment.