...
- Determine complexity of allowing for configuration of 001 generation (prefix + starting value)
- Adding the ability to select the desired authority source file at point of creation of new record (so the system would know how to generate the 001 per the configuration)
Approach
...
# | Overview | Module | Ticket |
---|---|---|---|
1. | Ability to store authority local files |
...
mod-inventory-storage |
...
2. | Link authority local file to the authority |
...
data-import-processing-core |
...
3. | Initialize authority local files for Mapping Parameters | mod-source-record-manager | |
4. | Select local authority file on the UI | quick-marc |
Ability to store authority local files
Settings application UI preview:
New mod-inventory-storage API to store local authority files:
/local-authority-file (GET/POST/PUT)
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "$schema": "http://json-schema.org/draft-04/schema#", "description": "A collection of Authority local files", "type": "object", "properties": { "authorityLocalFiles": { "description": "List of Authority local files", "id": "authorityLocalFile", "type": "array", "items": { "type": "object", "$ref": "authoritylocalfile.json" } }, "totalRecords": { "description": "Estimated or exact total number of records", "type": "integer" } }, "required": [ "authorityLocalFiles", "totalRecords" ] } |
Link authority local file to the authority
Class: MappingParameters
- Add authorityLocalFiles parameter
Class: MarcToAuthorityMapper
- Retrieve localFiles from MappingParameters
- Find and link local file to authority if source file was not found
Initialize authority local files for Mapping Parameters
Class: MappingParametersProvider
- Implement method getAuthorityLocalFiles() to retrieve local files from inventory-storage
- Initialize authoritySourceFiles for MappingParams
Select local authority file on the UI
...
- User should select local file for 001 field
...
- We also need to warn the user that field 001
...
- may be overwritten by
...
- field 010.
Gallery columns 1 sort date