-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MODINV-1031] Implement endpoint to update ownership of Holdings (#731)
* [MODINV-1031] Implement endpoint to update ownership of Holdings * Implement updating ownership of holdings withou updating ownership of underlying items * transfer along with all the Items attached to a selected Holdings * Response with error message * Add description for entityId * Add logs on failures * Add logs for debug * Not set hrid for items and holdings during create * Fix sonar errors * Add HoldingsUpdateOwnership to ApiTestSuite * Fix sonar issues
- Loading branch information
1 parent
190b661
commit 40ece08
Showing
13 changed files
with
862 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"description": "Holder for errors during item/holdingsRecord update ownership", | ||
"type": "object", | ||
"properties": { | ||
"notUpdatedEntities": { | ||
"description": "Item/HoldingsRecord errors", | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"entityId": { | ||
"$ref": "uuid.json", | ||
"description": "Id of item/holdingsRecord" | ||
}, | ||
"errorMessage": { | ||
"type": "string", | ||
"description": "Error message" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"additionalProperties": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.