Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-27877

Allow directory init to just add missing entries

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.10
    • Fix Version/s: 11.1, 2021.0
    • Component/s: Directory
    • Tags:
    • Impact type:
      Configuration Change
    • Upgrade notes:
      Hide

      add new  optional param in DirectoryService for initialization : "dataloadingPolicy" (to load( with merge behaviour) data from CSV)

      Show
      add new  optional param in DirectoryService for initialization : "dataloadingPolicy" (to load( with merge behaviour) data from CSV)
    • Team:
      PLATFORM
    • Sprint:
      nxplatform 11.1.25, nxplatform 11.1.26, nxplatform 11.1.27, nxplatform 11.1.28, nxplatform 11.1.29, nxplatform 11.1.30
    • Story Points:
      2

      Description

      Description

      Today directory initialization from a CSV file has only one mode (ignoring the addition of missing columns): always replace everything. We're missing a mode that adds missing entries, but keeps the existing entries untouched.

      To be discussed is what to do if an entry exists but is different in the CSV. Maybe we should have two separate modes, one which gives priority to the entry in the CSV and one which keeps the existing entry.

      Acceptance criteria

      The acceptance criteria are available here: https://docs.google.com/document/d/1zy_pN2vCdaBj1zpbGOMoEKF8VrtkyBjRpkseDLa0sDw/edit?usp=sharing 

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 weeks, 2 days, 2 hours, 30 minutes
                  2w 2d 2h 30m