Skip to content

MODOD-1014: Add DEGREE_GRANTING_INSTITUTION to assignmentCheckDto; update README file.#488

Merged
pkjacob merged 4 commits into
masterfrom
pjacob/MODLD-1014_2
Mar 26, 2026
Merged

MODOD-1014: Add DEGREE_GRANTING_INSTITUTION to assignmentCheckDto; update README file.#488
pkjacob merged 4 commits into
masterfrom
pjacob/MODLD-1014_2

Conversation

@pkjacob

@pkjacob pkjacob commented Mar 25, 2026

Copy link
Copy Markdown
Contributor

PR to fix an issue @SiarheiKarol noticed while testing

Add DEGREE_GRANTING_INSTITUTION to assignmentCheckDto

Copilot AI review requested due to automatic review settings March 25, 2026 13:43
@pkjacob pkjacob requested review from PBobylev, SKarolFolio, Copilot and zepheiryan and removed request for Copilot March 25, 2026 13:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds support for a new authority-assignment-check target (DEGREE_GRANTING_INSTITUTION) to the public API contract, updates integration tests to cover the new target behavior, and aligns README examples with the current dissertation field predicates.

Changes:

  • Extended assignmentCheckDto schema enum with DEGREE_GRANTING_INSTITUTION.
  • Updated AuthorityAssignmentControllerIT to use boolean expectations and added a new parameterized test for the new target.
  • Updated README dissertation example predicates (label/year/notenote/date/miscInfo).

Reviewed changes

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

File Description
src/test/java/org/folio/linked/data/e2e/endpoint/AuthorityAssignmentControllerIT.java Adds a new parameterized integration test covering DEGREE_GRANTING_INSTITUTION target and simplifies expected-value typing.
src/main/resources/swagger.api/schema/assignmentCheckDto.json Updates OpenAPI/JSON schema enum to include DEGREE_GRANTING_INSTITUTION.
README.md Updates dissertation example predicates to match the current mapped fields.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
@sonarqubecloud

Copy link
Copy Markdown

@pkjacob pkjacob merged commit dccd874 into master Mar 26, 2026
6 checks passed
@pkjacob pkjacob deleted the pjacob/MODLD-1014_2 branch March 26, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants