Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-3934

Synchronization with Kind/Intent settings and multiple intents works differently for dryRun

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.1
    • Fix Version/s: 3.9
    • Component/s: None
    • Labels:
      None

      Description

      I have CSV file resource (legacy connector) with two intents. One intent is marked as default.

      Resource contains schema handling and also objectSynchronization parts for both accounts.

      Reconciliation #1:

      • kind=account
      • intent (no setting)
      • OC=ri:AccountObjectClass
      • dryRun=true

      Reconciliation discovers all accounts regardless of intent (OK) and creates all shadows regardless of intent (OK). It also sets the situations for shadows of all intents (OK - expected).

      Now I remove dryrun:
      Reconciliation #2:

      • kind=account
      • intent (no setting)
      • OC=ri:AccountObjectClass
      • dryRun=false

      Reconciliation will apply reactions only for the default intent. This means that intent (empty) does not mean "all", but just "default". The other shadows are not processed by reactions.

      The only workaround is to set reconciliation like this:
      Reconciliation #3:

      • kind (no setting)
      • intent (no setting)
      • OC=ri:AccountObjectClass
      • dryRun=false

      Now the reconciliation processes all accounts of all intents and also applies reactions for all intents.

      Questions:

      • is this expected?
      • why dryrun and normal recon behave differently with regard to detecting situations and applying reactions for all intents?
      • if this is expected, the reconciliation (all all other sync tasks) assumed for all intents should only use ObjectClass setting? So GUI should indicate this somehow? Remember the ordering of the GUI fields is: Kind, Intent, ObjectClass.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vix Ivan Noris
              Reporter:
              vix Ivan Noris
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: