Ole Batch Import Architechture
- Krishna Mohan (Unlicensed)
Description
Create user-configurable profiles to specify options governing import of bibliographic, instance, and item data into OLE. Profiles will be applied to imports of any size, ranging from a single record to thousands of records. Different profiles need to be created to deal with a variety of situations. Once created, a profile typically will be used many times over, and may be applied to whichever type of import it is appropriate – single bib, batch file import, etc.
Â
Import profiles will harmonize with and enhance existing single bib import User Preferences and Staff Upload (the latter for creating requisitions).
User Stories
Priority Rank Order
Â
Â
Design Technical
Service Design and Implementation
Screen Flow Diagram
Layout use cases based on the screen flows indicating navigation between different screens and pop-ups.Â
Security
- Roles – list of roles to be defined
- Permissions – list of permissions to be defined
- User Profiles – user profiles that may be applied roles/permissions (also for test/mock purposes)Â
Rules
- Context & Agendas
- Terms & Prepositions
- Sample XML file
Component Design
- OJB.xml
- Class Diagram
Â
- State Chart Diagram
- Psuedo Code
Â
1)A call is made to canPerformBatchImport(principalId) to get the job info to get what kind of job to be executed.
2)And it will perform Batch Import validations.and based on process type it will call BatchProcessBibImport class of factory patern.
3)This class is having getNextBatchOfData(marcFileContent) which will read the marc file content and fetch the list of records from uploaded marc file.
4)This method gather the number of records of marcFileContent, user entered data and batchProcessProfileId.
5)then controller set the total number of records to that particular job.
6)if job status is running then it will write the data and update the job information
7)it will check the number of records count and chunk size.
8)update the record details and job details.
Â
Â
Â
Â
Service Contracts
Service Implementation
Class Diagram:
Â
Â
Â
 UI Screen
Â
ER Diagram: Batch Process Profile
Data Model
Entity : BATCH DEFINITION
Â
Name | Max | Data Type | Default Value | Input Type | Action Event | Action Event Function Name | Validation | Tab Index | Remarks |
 |  |  |  |  |  |  |  |  |  |
 |  |  |  |  |  |  |  |  |  |
Operated as a Community Resource by the Open Library Foundation