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

Handle deprecation of the old date based audit change summary

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.9.5
    • Fix Version/s: Postponed
    • Component/s: Nuxeo Drive

      Description

      Since NXP-14826 the audit log query is based on a range delimited by auto-incremented event log ids instead of timestamps.
      We kept the former API for backward compatibility, but will probably want to remove it at some point.
      Need to take into account at least the following code.

      • Server-side:
        NuxeoDriveGetChangeSummary#run
        
        NuxeoDriveManager#getChangeSummary(Principal principal, Map<String, Set<IdRef>> lastSyncRootRefs, long lastSuccessfulSync)
        
        FileSystemChangeFinder#getFileSystemChanges(CoreSession session, Set<IdRef> lastActiveRootRefs, SynchronizationRoots activeRoots, long lastSuccessfulSyncDate, long syncDate, int limit)
        FileSystemChangeFinder#getCurrentDate()
        
        AuditChangeFinder#getJPARangeClause
        
      • Client-side:
        BaseAutomationClient.fetch_api
        BaseAutomationClient.is_event_log_id_available
        RemoteFileSystemClient.get_changes
        Synchronizer._get_remote_changes
        Synchronizer._checkpoint
        Synchronizer.update_synchronize_server
        

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: