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

Remove usage of deprecated code and code deprecated since 7.10 or less in nuxeo-drive-server

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.3
    • Component/s: Nuxeo Drive
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      Removed as deprecated since 7.10 or less:

      FileSystemItemFactory#getDocumentByFileSystemId(String id, Principal principal)
      
      FileSystemItemManager#getSession(String repositoryName, Principal principal)
      
      NuxeoDriveManager#setChangeFinder(FileSystemChangeFinder changeFinder)
      
      NuxeoDriveActions#UPDATE_SITE_URL_PROP_KEY
      NuxeoDriveActions#SERVER_VERSION_PROP_KEY
      
      NuxeoDriveCreateFile#name
      
      NuxeoDriveGetChangeSummary#lastSyncDate
      
      NuxeoDriveGetTopLevelChildren
      

      Removed as should have been deprecated since 7.10 or less, see NXP-14826:

      FileSystemChangeFinder#getFileSystemChangesIntegerBounds(CoreSession session, Set<IdRef> lastActiveRootRefs, SynchronizationRoots activeRoots, Set<String> collectionSyncRootMemberIds, long lowerBound, long upperBound, int limit)
      
      FileSystemChangeFinder#getCurrentDate();
      
      NuxeoDriveManager#getChangeSummaryIntegerBounds(Principal principal, Map<String, Set<IdRef>> lastSyncRootRefs, long lowerBound)
      

      and changed

      FileSystemChangeFinder#getFileSystemChanges(CoreSession session, Set<IdRef> lastActiveRootRefs, SynchronizationRoots activeRoots, long lastSuccessfulSyncDate, long syncDate, int limit)
      
      NuxeoDriveManager#getChangeSummary(Principal principal, Map<String, Set<IdRef>> lastSyncRootRefs, long lastSuccessfulSync)
      

      to

      FileSystemChangeFinder#getFileSystemChanges(CoreSession session, Set<IdRef> lastActiveRootRefs, SynchronizationRoots activeRoots, Set<String> collectionSyncRootMemberIds, long lowerBound, long upperBound, int limit)
      
      NuxeoDriveManager#getChangeSummary(Principal principal, Map<String, Set<IdRef>> lastSyncRootRefs, long lowerBound)
      
      Show
      Removed as deprecated since 7.10 or less: FileSystemItemFactory#getDocumentByFileSystemId( String id, Principal principal) FileSystemItemManager#getSession( String repositoryName, Principal principal) NuxeoDriveManager#setChangeFinder(FileSystemChangeFinder changeFinder) NuxeoDriveActions#UPDATE_SITE_URL_PROP_KEY NuxeoDriveActions#SERVER_VERSION_PROP_KEY NuxeoDriveCreateFile#name NuxeoDriveGetChangeSummary#lastSyncDate NuxeoDriveGetTopLevelChildren Removed as should have been deprecated since 7.10 or less, see NXP-14826 : FileSystemChangeFinder#getFileSystemChangesIntegerBounds(CoreSession session, Set<IdRef> lastActiveRootRefs, SynchronizationRoots activeRoots, Set< String > collectionSyncRootMemberIds, long lowerBound, long upperBound, int limit) FileSystemChangeFinder#getCurrentDate(); NuxeoDriveManager#getChangeSummaryIntegerBounds(Principal principal, Map< String , Set<IdRef>> lastSyncRootRefs, long lowerBound) and changed FileSystemChangeFinder#getFileSystemChanges(CoreSession session, Set<IdRef> lastActiveRootRefs, SynchronizationRoots activeRoots, long lastSuccessfulSyncDate, long syncDate, int limit) NuxeoDriveManager#getChangeSummary(Principal principal, Map< String , Set<IdRef>> lastSyncRootRefs, long lastSuccessfulSync) to FileSystemChangeFinder#getFileSystemChanges(CoreSession session, Set<IdRef> lastActiveRootRefs, SynchronizationRoots activeRoots, Set< String > collectionSyncRootMemberIds, long lowerBound, long upperBound, int limit) NuxeoDriveManager#getChangeSummary(Principal principal, Map< String , Set<IdRef>> lastSyncRootRefs, long lowerBound)
    • Sprint:
      nxfit 10.3.6
    • Story Points:
      3

      Description

      • Make sure that no code marked as deprecated in the platform is used by the addon.
      • Remove code deprecated since 7.10 or less.
      • Remove code that should have been deprecated since 7.10 or less (see NXP-14826).
      • Switch to Log4j 2, following NXP-23863.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 3 hours
                  2d 3h