Uploaded image for project: 'FUSE Mediation Router'
  1. FUSE Mediation Router
  2. MR-938

Google Drive Component - drive-changes/list endpoint returning the same list

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.14.0.redhat-62-xx
    • 2.14.0.redhat-62-xx
    • None
    • None

      Using mentioned endpoint worked fine until Drive changes goes over certain number. After that using drive-changes/list endpoint returns ChangeList with only 100 records and these records are not the last ones. But always one specific set. Calling the same endpoint multiple times still returns the same List with same records everytime.

      Looking at the Drive Api documentation the default size of changes is set to 100 (https://developers.google.com/drive/v2/reference/changes/list). So maybe there should be a option to change this number but that would only worked for 1000 changes and then again it would be probably returning the same set with 1000 records. This definitely needs some tweaking and maybe special uri options.

      Also when you take a look at other endpoints with "list" with possible option"maxResults" then I think the same problem will probably occur there too. These endpoints are : Files, Children, Comments and Replies

            janstey@redhat.com Jonathan Anstey
            rjakubco Roman Jakubco (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: