Skip to content

Conversation

@adamdickmeiss
Copy link
Contributor

@adamdickmeiss adamdickmeiss commented Jan 28, 2026

Copilot AI review requested due to automatic review settings January 28, 2026 08:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds configurable LMS location settings to support CROSSLINK-204, enabling separate pickup locations for requester vs supplier flows and allowing an optional item location to be sent with NCIP RequestItem.

Changes:

  • Extend Directory LMS config schema with itemLocation and requesterPickupLocation.
  • Update the LmsAdapter interface and broker action flow to use RequesterPickupLocation, SupplierPickupLocation, and ItemLocation.
  • Enhance NCIP RequestItem to optionally include ItemOptionalFields.Location when an item location is provided, and update tests/mocks accordingly.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
illmock/dirmock/directories.json Updates mock directory data to the current lookupUserEnabled config shape.
directory/directory_api.yaml Adds new LMS config fields for item location and requester pickup location.
broker/patron_request/service/action_test.go Updates test adapter mock to satisfy the expanded LmsAdapter interface; removes obsolete pickup-location parsing test.
broker/patron_request/service/action.go Switches borrowing/lending flows to use adapter-provided pickup/item locations.
broker/lms/lms_adapter_test.go Updates/extends tests for new pickup/item-location behaviors in the NCIP adapter.
broker/lms/lms_adapter_ncip.go Implements new config-backed getters and includes optional item location in NCIP RequestItem payload.
broker/lms/lms_adapter_manual.go Updates manual adapter to satisfy new interface methods.
broker/lms/lms_adapter.go Expands the LMS adapter interface with requester/supplier pickup location and item location getters.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@adamdickmeiss adamdickmeiss marked this pull request as draft January 28, 2026 09:26
@adamdickmeiss adamdickmeiss marked this pull request as ready for review January 28, 2026 10:02
@adamdickmeiss adamdickmeiss merged commit fbd159b into main Jan 28, 2026
4 checks passed
@adamdickmeiss adamdickmeiss deleted the CROSSLINK-204-item-location-request-pickup-location branch January 28, 2026 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants