Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement synchronization endpoints #190

Merged
merged 4 commits into from
Jul 28, 2023
Merged

Implement synchronization endpoints #190

merged 4 commits into from
Jul 28, 2023

Commits on Jul 26, 2023

  1. Implement bucketSync endpoint

    Signed-off-by: Jeremy Ho <jujaga@gmail.com>
    jujaga committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    129e59c View commit details
    Browse the repository at this point in the history
  2. Implement syncObject endpoint

    Also fix some minor unit test issues
    
    Signed-off-by: Jeremy Ho <jujaga@gmail.com>
    jujaga committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    6b109d0 View commit details
    Browse the repository at this point in the history
  3. Implement listAllObjectVersions storage service

    Modify listAllObjects to default to empty string when path is only the
    delimiter. This is needed as pattern matching does not handle the root '/'
    context well.
    
    Signed-off-by: Jeremy Ho <jujaga@gmail.com>
    jujaga committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    0baf1ca View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2023

  1. Implement statusSync and statusDefault endpoint support

    In order to reduce code duplication, we reuse the syncBucket controller
    with a few value tweaks so that it can handle both endpoint types. We also
    move the sync* controller functions to the sync controller in order to
    reduce controller pollution of the large object and bucket controllers, and
    invoke these functions directly through the router instead. Lastly, some
    database layer modifications are done in order to allow bucketId to accept
    null fields.
    
    Signed-off-by: Jeremy Ho <jujaga@gmail.com>
    jujaga committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    7e2fc68 View commit details
    Browse the repository at this point in the history