-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CIRCSTORE-540: Extended ItemUpdateProcessorForRequest to sync item lo…
…cation and SP updates in Request records (#503) * CIRCSTORE-540: ItemUpdateProcessorForRequest update item's location and SP * CIRCSTORE-540: added log for debugging * CIRCSTORE-540: added log for debugging * CIRCSTORE-540: set additionalProperties true inside location.json * CIRCSTORE-540: fix exception issue * CIRCSTORE-540: fix exception issue * CIRCSTORE-540: 1) added async mechanism in EventProcessor class to execute and support non-blocking api calls. 2) Added test case. * CIRCSTORE-540: removed unnecessary log and code * CIRCSTORE-540: using location and SP constants * CIRCSTORE-540: fix NLP due to logging of null object * CIRCSTORE-540: fixed sonar issues * CIRCSTORE-540: added interface dependency for location and service-point api
- Loading branch information
1 parent
bba57db
commit 6d3700b
Showing
13 changed files
with
327 additions
and
21 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,67 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"description": "A (shelf) location, the forth-level location unit below institution, campus, and library.", | ||
"javaType": "org.folio.rest.jaxrs.model.Location", | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"description": "id of this (shelf) location record as UUID.", | ||
"type": "string" | ||
}, | ||
"name": { | ||
"description": "Name of the (shelf) location", | ||
"type": "string" | ||
}, | ||
"code": { | ||
"description": "Code of the (shelf) location, usually an abbreviation of the name.", | ||
"type": "string" | ||
}, | ||
"description": { | ||
"description": "Description of the (shelf) location.", | ||
"type": "string" | ||
}, | ||
"discoveryDisplayName": { | ||
"description": "Name of the (shelf) location to be shown in the discovery.", | ||
"type": "string" | ||
}, | ||
"isActive": { | ||
"description": "Whether this (shelf) location is active. Inactive (shelf) locations can no longer been used.", | ||
"type": "boolean" | ||
}, | ||
"institutionId": { | ||
"description": "The UUID of the institution, the first-level location unit, this (shelf) location belongs to.", | ||
"type": "string" | ||
}, | ||
"campusId": { | ||
"description": "The UUID of the campus, the second-level location unit, this (shelf) location belongs to.", | ||
"type": "string" | ||
}, | ||
"libraryId": { | ||
"description": "The UUID of the library, the third-level location unit, this (shelf) location belongs to.", | ||
"type": "string" | ||
}, | ||
"primaryServicePoint": { | ||
"description": "The UUID of the primary service point of this (shelf) location.", | ||
"format": "uuid", | ||
"type": "string" | ||
}, | ||
"servicePointIds": { | ||
"description": "All service points that this (shelf) location has.", | ||
"type": "array", | ||
"items": { | ||
"description": "The UUID of a service point that belongs to this (shelf) location.", | ||
"type": "string", | ||
"format": "uuid", | ||
"not": { | ||
"type": "null" | ||
} | ||
} | ||
}, | ||
"metadata": { | ||
"type": "object", | ||
"$ref": "../raml-util/schemas/metadata.schema", | ||
"readonly": true | ||
} | ||
}, | ||
"additionalProperties": true | ||
} |
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,24 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"description": "List of (shelf) locations.", | ||
"type": "object", | ||
"properties": { | ||
"locations": { | ||
"id": "locations", | ||
"description": "List of (shelf) locations.", | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"$ref": "location.json" | ||
} | ||
}, | ||
"totalRecords": { | ||
"description": "Estimated or exact total number of records", | ||
"type": "integer" | ||
} | ||
}, | ||
"required": [ | ||
"locations", | ||
"totalRecords" | ||
] | ||
} |
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
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
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
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.