Skip to content
This repository was archived by the owner on Sep 14, 2025. It is now read-only.

Fully implement List Objects V2 with pagination response elements#424

Merged
kherock merged 4 commits into
masterfrom
list-objects-pagination
Apr 17, 2019
Merged

Fully implement List Objects V2 with pagination response elements#424
kherock merged 4 commits into
masterfrom
list-objects-pagination

Conversation

@kherock

@kherock kherock commented Mar 25, 2019

Copy link
Copy Markdown
Collaborator

Resolves #110. This implements "starts-after" for GET Bucket v2 as well all pagination-related response data for both the v1 and v2 APIs. This also fixes the behavior for "marker"/"starts-after" (they erroneously require a key starting with the marker to exist in order to work properly).

I also ended up doing some significant refactoring to the tests around listObjects since they weren't very strict and also ran very slowly (it actually isn't necessary to generate 1000+ objects to make adequate test cases most of the time).

kherock added 4 commits March 22, 2019 22:49
This doesn't impact any existing behavior, but does fix a minor
regression in accuracy caused by switching away from xml2js.
"starts-after" for GET Bucket v2, and all pagination-related response data is unimplemented. Also, the current
behavior for "marker"/"starts-after" erroneously requires a key starting
with the marker to exist to work properly.

This also removes a few redundant tests relating to listObjects.
@kherock kherock changed the title Implement the result of List Objects V2 with pagination response elements Fully implement List Objects V2 with pagination response elements Mar 25, 2019
@kherock kherock merged commit be12af8 into master Apr 17, 2019
@kherock kherock deleted the list-objects-pagination branch April 17, 2019 22:37
@leontastic

Copy link
Copy Markdown
Collaborator

@kherock Heroic effort man keep it up 💪

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support NextMarker for listObjects and NextContinuationToken for listObjectsV2

2 participants