Design Document
Batch operations are defined and the architecture is laid out in this section. Defining a batch operation begins with the definition of the batch profile and involves definition of various sections that cover different aspects of the batch job. Apart for defining the batch profile, the user may also define specific KRMS profile xml files, various maintenance documents for data mapping and define CRON schedules.
The execution of the batch job varies based on options selected in the profile. Current implementation of batch jobs covers ingest of bib, order, invoice, location and patron data as well as bib overlay and export of data including bibs, order and invoices. Other data operations such as deletions, 'Globally Protected Field' definition and overlays may also be covered in this definition.
Meta Data Screen:
This Meta Data screen captures all the information required for the Batch Process.
Batch Processing Screen:
Here in this screen once the Meta Data is selected Batch Type and Profile Type are populated in readonly mode, then the files are selected for the Batch process.
Detailed Explanation for Meta Data Screen:
User can fill data in Metadata screen, for example if user wants to create metadata for staff upload with YBP profile need to fill meta data as follows.
If user selects Import/Export Type as schedule, system will display schedule field set dynamically.
At schedule field set there is an option called Schedule type with radio buttons, in this if user selects Every day system dynamically displays start time as follows.
If user selects another option in the schedule type as Weekly, in schedule field set system dynamically changes the screen and displays the Weekdays with start time as follows.
If user selects another option in the schedule type as Monthly, in schedule field set system dynamically changes the screen and displays as follows
At Batch Type If user selects other than Batch Delete system dynamically displays field sets for Matching point, Mapping field, Protected Fields, Delete Fields, Profile attributes and a checkbox option for Ignore GPF(Globally Protected Fields).
If user selects Batch Delete in Batch Type System dynamically displays Batch delete Field set as follows.
Detailed Explanation For Batch Ingest Screen :
In Batch Ingest Screen if user selects Batch code for other than Batch delete System dynamically displays as following Image.
Here User can upload files to perform operations like Staff Upload, Import Bib, Patron Ingest, Location Ingest etc.
In Batch Ingest Screen if user selects Batch code for Batch delete System dynamically displays Batch Delete Field set as following Image.
Here user can ingest files to perform batch delete.
Class Diagram for Batch Processing :