Skip to content

ILLDEV-393: CONSORTIA_SYMBOL, holdingsConfig#597

Open
adamdickmeiss wants to merge 9 commits into
mainfrom
ILLDEV-393-consortia-symbol
Open

ILLDEV-393: CONSORTIA_SYMBOL, holdingsConfig#597
adamdickmeiss wants to merge 9 commits into
mainfrom
ILLDEV-393-consortia-symbol

Conversation

@adamdickmeiss
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 15, 2026 09:57
Copy link
Copy Markdown
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

Renames the directory entry's availabilityConfig field to holdingsConfig (and corresponding Go type) and renames the CONSORTIA_SYMBOL env var/field to CONSORTIUM_SYMBOL. Also adds a new GVI1 test peer in the dirmock fixtures and a new integration test exercising the consortia holdings adapter path.

Changes:

  • Rename AvailabilityConfigHoldingsConfig across the API spec, model usages, mock data, and tests.
  • Rename CONSORTIA_SYMBOL env var and consortiaSymbol/getAdapterForConsortia symbols to CONSORTIUM/Consortial variants.
  • Add broker/test/holdings/holdings_test.go plus three ISO18626 fixture XMLs and a new GVI1 directory mock entry to cover holdings lookup scenarios.

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated no comments.

Show a summary per file
File Description
directory/directory_api.yaml Renames availabilityConfig/AvailabilityConfig to holdingsConfig/HoldingsConfig in the OpenAPI schema.
broker/app/app.go Renames CONSORTIA_SYMBOL env var to CONSORTIUM_SYMBOL and updates SupplierLocator wiring.
broker/README.md Updates configuration table for the renamed env var.
broker/service/supplierlocator.go Renames field, parameter, and helper to use "consortium"/"consortial" naming.
broker/holdings/creator_impl.go Updates GetAdapter to read HoldingsConfig.
broker/holdings/adapter_mock.go Updates mock adapter constructor signature to take HoldingsConfig.
broker/holdings/creator_test.go Updates tests to use the renamed type.
broker/holdings/gvi_holdings_test.go Updates test fixture to use HoldingsConfig.
broker/test/service/supplierlocator_test.go Updates Z39.50 tests to use the renamed type and refreshed comments.
broker/test/holdings/holdings_test.go New integration test for consortia-mode holdings flows.
broker/test/holdings/request-1.xml New ISO18626 fixture (unknown requester).
broker/test/holdings/request-2.xml New ISO18626 fixture (requester w/o holdings config).
broker/test/holdings/request-3.xml New ISO18626 fixture (requester with holdings config).
illmock/dirmock/directories.json Adds GVI1 directory entry used by the new test.

Comment thread broker/README.md Outdated
Copilot AI review requested due to automatic review settings May 15, 2026 10:11
Copy link
Copy Markdown
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

Copilot reviewed 16 out of 16 changed files in this pull request and generated 3 comments.

Comment thread broker/holdings/create_holdings.go Outdated
Comment thread directory/directory_api.yaml
Comment thread broker/app/app.go
Copilot AI review requested due to automatic review settings May 15, 2026 11:32
Copy link
Copy Markdown
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

Copilot reviewed 16 out of 16 changed files in this pull request and generated 5 comments.

Comment thread broker/test/holdings/holdings_test.go Outdated
Comment thread broker/test/holdings/holdings_test.go Outdated
Comment thread broker/test/holdings/holdings_test.go Outdated
Comment thread broker/app/app.go
Comment thread broker/test/holdings/holdings_test.go Outdated
@adamdickmeiss adamdickmeiss requested a review from jakub-id May 15, 2026 11:58
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