Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-1415

SyncOrgSources Makes Duplicate Backend Queries

    XMLWordPrintable

Details

    Description

      There are at least two issues:

      1. In Query mode, syncOrgIdentitySource should SELECT DISTINCT so as not to query the same address twice.
      2. In Query mode, syncOrgIdentitySource will query known records twice. First in updating the known record, then in querying for the known email address which will return a record that is already known (createOrgIdentity will stop any further processing at that point). (However, this may be a useful thing to do if the backend has added a second record for the same email address and we want to pull it and join it to the existing record. Perhaps make this configurable?)

      Combined, these can result in a bunch of unnecessary backend calls.

      Attachments

        Activity

          People

            benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
            benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: