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

Notifications for simpleResourceObjectNotifier during livesync have channel:null

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6 (Comenius)
    • Fix Version/s: 3.8
    • Component/s: None
    • Labels:
      None
    • Environment:

      MC101 training

      Description

      1. CSV source file is used for livesync
      2. object template causes provisioning to other CSV files
      3. during livesync, channel is "null" for the provisioned accounts (simpleResourceObjectNotifier), but is OK for simpleUserNotifier, as below

      Two (bad) notifications and one (focus - good) notifications follow for the same operation which was modification of source CSV record:

      ============================================ 
      Tue Jul 25 08:48:30 CEST 2017
      Message{to='[idm@example.com]', cc='[]', bcc='[]', subject='[IDM] SUCCESS: account MODIFY operation succeeded for X000998', contentType='null', body='Notification about account-related operation
      
      User: Dave Cinzano Bianco Lister (X000998, oid 0ff43459-7879-424a-b309-1a7c718a70a2)
      Notification created on: Tue Jul 25 08:48:30 CEST 2017
      
      Resource: CSV-1 (Simulated App 1) (oid 10000000-9999-9999-0000-a000ff000002)
      Account: dlister
      
      The account has been successfully modified on the resource. Modified attributes are:
       - attributes/First name:
         - REPLACE: Dave Cinzano Bianco
      
      
      
      Requester: midPoint Administrator (administrator)
      Channel: null
      
      '}
      
      ============================================ 
      Tue Jul 25 08:48:30 CEST 2017
      Message{to='[idm@example.com]', cc='[]', bcc='[]', subject='[IDM] SUCCESS: account MODIFY operation succeeded for X000998', contentType='null', body='Notification about account-related operation
      
      User: Dave Cinzano Bianco Lister (X000998, oid 0ff43459-7879-424a-b309-1a7c718a70a2)
      Notification created on: Tue Jul 25 08:48:30 CEST 2017
      
      Resource: CSV-3 (Simulated LDAP) (oid 10000000-9999-9999-0000-a000ff000004)
      Account: cn=Dave Lister,ou=Java Development,ou=Software Division,ou=ExAmPLE,dc=example,dc=com
      
      The account has been successfully modified on the resource. Modified attributes are:
       - attributes/Distinguished Name:
         - REPLACE: cn=Dave Cinzano Bianco Lister,ou=Java Development,ou=Software Division,ou=ExAmPLE,dc=example,dc=com
       - attributes/Mail:
         - REPLACE: dave.cinzano.bianco.lister@example.com
       - attributes/First name:
         - REPLACE: Dave Cinzano Bianco
      
      
      
      Requester: midPoint Administrator (administrator)
      Channel: null
      
      '}
      
      ============================================ 
      Tue Jul 25 08:48:30 CEST 2017
      Message{to='[idm@example.com]', cc='[]', bcc='[]', subject='[IDM] SUCCESS: User MODIFY operation succeeded for X000998', contentType='null', body='Notification about user-related operation (status: SUCCESS)
      
      User: Dave Cinzano Bianco Lister (X000998, oid 0ff43459-7879-424a-b309-1a7c718a70a2)
      Notification created on: Tue Jul 25 08:48:30 CEST 2017
      
      The user record was modified. Modified attributes are:
       - Full name:
         - REPLACE: Dave Cinzano Bianco Lister
       - Given name:
         - REPLACE: Dave Cinzano Bianco
       - Email Address:
         - REPLACE: dave.cinzano.bianco.lister@example.com
      
      Requester: midPoint Administrator (administrator)
      Channel: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#liveSync
      
      '}
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: