Something went wrong while setting issue due date.
add mapping sinaps to Fd mapping for diffusion
Closed
add mapping sinaps to Fd mapping for diffusion
Requirements
Descriptive title for this enhancement
Add mapping sinaps to Fd mapping
Actual behavior
Actually there is only a mpping FD to SINAPS in case of acquisition. For diffusion mapping for diffusion is stored in plugin core
Expected behavior
optionnal mapping could be added in order to be more customized depending to sinaps implementation ex if Contract Date are send from SINAPS a mapping could be done like (example !)
Xpath | ldap field | transform method |
---|---|---|
ElementCarriere/Contrat/dateDebut | fdContractStartDate | convertToFDDate |
ElementCarriere/Contrat/dateFin | fdContractEndDate | convertToFDDate |
where convertToFDDate
is a dedicated fonction wich transform 2019-01-15
to 2019011500Z
Step by step description of new behaviour
- Set mapping table inside a dedicated like
FdSinapsDiffusionMap
in sinaps config - modify code to use this mapping
Benefits
More configurable for non mandatory field
Possible Drawbacks
Complexity, Keep this feature for simple map and transformed attribut : non conditional features