...
Purpose:
Jira Legacy server System JiraJIRA serverId 01505d01-b853-3c2e-90f1-ee9b165564fc key MDEXP-84
...
The proposed sequence diagram of the library will look like this:
Short descriptions of the mapping process in the library:
- The process(EntityReader, RecordWriter, ReferenceData) method is an entry point of the library;
- EntityReader reads the value of the field by rule;
- TranslationFunction applying the mapped value by provided settingsreference data;
- RecordWriter writes the result mapped field with the tag provided by the rule.
- After all fields, that have rules, are mapped, the writer will return the result MARC object in String format.
...
- Implement EntityReader with JSON object of the instance to map and RecordWriter. You can use existing implementations of EntityReader and RecordWriter. More about existing implementations you can find here;
- Implement ReferenceData interface, and provide your logic for getting and storing reference data for the fields that required it from Inventory;
- Create a list of Rule objects for the mapping process (default data-export rules located here);
- Create RuleProcessor object with a created list of rules;
- Call process(EntityReader, EntityWriter, Settings) method, and provide all necessary objects for it.
...