Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
fusiondirectory-plugins
fusiondirectory-plugins
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 47
    • Issues 47
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • fusiondirectory
  • fusiondirectory-pluginsfusiondirectory-plugins
  • Issues
  • #5956

Closed
Open
Opened May 29, 2019 by agallavardin@agallavardinReporter

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

  1. Set mapping table inside a dedicated like FdSinapsDiffusionMap in sinaps config
  2. 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

Applicable Issues

Assignee
Assign to
FusionDirectory 1.3.1
Milestone
FusionDirectory 1.3.1 (Past due)
Assign milestone
Time tracking
Nov 21, 2019
Due date
Nov 21, 2019
Reference: fusiondirectory/fd-plugins#5956