...
The purpose of this document is to enumerate steps that should occur that will allow import & export job profiles between FOLIO tenants. Most changes will occur in mod-data-import-converter-storage(mod-data-import-cs).
Jira Legacy | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
The endpoint should be similar to /inventory/data-import-profiles/validate
. The endpoint will accept an array of Profiles and return an arrray array of results detailed a valid Profile or error messages signaling reason why a profile is not valid. Order of the results should could match the corresponding input OR profile identifiers from the input is referenced in the validation results.. This means that mod-data-import-cs will delegate validation to corresponding modules that own a FOLIO domain. New endpoints will be implemented in those modules that will accept profiles for validation.
3. Profile Transformation
Having mapping field origins defined and validation occurring in mod-data-import-cs, it will set the stage to allow imports of job profiles from other tenants. Transformations would occur to convert by comparing incoming reference data with existing reference data. This will usually be by name or code. If no match can be found then an error is returned. Job profiles returned by mod-data-import-cs API should be accepted as input for the transformation without any modification.
...
During transformation, mod-data-import-cs will convert incoming reference data identifiers/values into reference data identifiers/values that currently exists in the tenant. If a suitable value cannot be found, details errors will be returned to the API client. Errors should include valid values that the system will accept. Every detail will be validated before errors are returned, the process should not fail on the first exception.
...