GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: Support AbortIncompleteMultipartUpload LifecycleAction by sydney-munro · Pull Request #1347 · googleapis/java-storage

This repository was archived by the owner on Sep 25, 2026. It is now read-only.

Conversation

@sydney-munro

@sydney-munro sydney-munro commented Apr 7, 2022

Copy link
Copy Markdown
Contributor

Fixes #1339 ☕️

If you write sample code, please follow the samples format.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@sydney-munro
Support AbortIncompleteMultipartUpload LifecycleAction
eb6f253
@sydney-munro
sydney-munro requested a review from a team April 7, 2022 23:05
@sydney-munro sydney-munro self-assigned this Apr 7, 2022
@product-auto-label product-auto-label Bot added the api: storage Issues related to the googleapis/java-storage API. label Apr 7, 2022
@sydney-munro sydney-munro changed the title Support AbortIncompleteMultipartUpload LifecycleAction feat: Support AbortIncompleteMultipartUpload LifecycleAction Apr 7, 2022
@sydney-munro
sydney-munro marked this pull request as draft April 7, 2022 23:07
@sydney-munro sydney-munro added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 7, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 7, 2022
@sydney-munro
Fixing up tests
c38411e
@sydney-munro
sydney-munro force-pushed the abortmpu branch from 30c452c to c38411e Compare April 7, 2022 23:33
@sydney-munro sydney-munro added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 7, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 7, 2022
@sydney-munro
sydney-munro force-pushed the abortmpu branch from b871886 to 7dc3be7 Compare April 8, 2022 00:02
@sydney-munro sydney-munro added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 8, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 8, 2022
@sydney-munro
sydney-munro force-pushed the abortmpu branch from 2ab2b18 to 7989385 Compare April 8, 2022 18:48
@product-auto-label product-auto-label Bot added the size: s Pull request size is small. label Apr 8, 2022
@sydney-munro
sydney-munro force-pushed the abortmpu branch from ee3bfc4 to baff814 Compare April 8, 2022 20:18
@sydney-munro
Fixing incorrect type value
ba1c5f5
@sydney-munro
sydney-munro force-pushed the abortmpu branch from 44067fe to ba1c5f5 Compare April 8, 2022 21:07
@sydney-munro
sydney-munro marked this pull request as ready for review April 8, 2022 21:28
@sydney-munro
sydney-munro requested review from BenWhitehead, JesseLovelace and frankyn April 8, 2022 21:28
@sydney-munro
Adding serialVersionUID and fixing up some weird naming
17f3897
@sydney-munro
sydney-munro force-pushed the abortmpu branch from 6d24164 to 17f3897 Compare April 8, 2022 22:35
frankyn
frankyn suggested changes Apr 13, 2022
View reviewed changes

@frankyn frankyn left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit; otherwise LGTM

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread google-cloud-storage/src/main/java/com/google/cloud/storage/BucketInfo.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google-cloud-storage/src/test/java/com/google/cloud/storage/it/ITStorageTest.java
try {
assertEquals(AbortIncompleteMPUAction.TYPE, lifecycleRule.getAction().getActionType());
assertEquals(1, lifecycleRule.getCondition().getAge().intValue());
} finally {

@frankyn frankyn Apr 13, 2022

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah interesting; didn't think of wrapping asserts with a try {} so you can do clean up afterwards, clever.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@sydney-munro
Adding docs link to comment
21542a7
@sydney-munro
sydney-munro force-pushed the abortmpu branch from 082f64f to 21542a7 Compare April 13, 2022 22:29
frankyn
frankyn suggested changes Apr 14, 2022
View reviewed changes
Comment thread google-cloud-storage/src/main/java/com/google/cloud/storage/BucketInfo.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@sydney-munro
Adding AbortMPU unit tests plus adding from Pb checks to existing lif…
8276600
…ecycle action tests
@sydney-munro
sydney-munro force-pushed the abortmpu branch from 34bf96d to 8276600 Compare April 14, 2022 18:48
@product-auto-label product-auto-label Bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Apr 14, 2022
@sydney-munro
sydney-munro requested a review from frankyn April 14, 2022 18:50
@sydney-munro
Linter changes
84b9ccf
@sydney-munro
sydney-munro force-pushed the abortmpu branch from f4c3f59 to 84b9ccf Compare April 14, 2022 18:54
sydney-munro
sydney-munro commented Apr 14, 2022
View reviewed changes
Comment thread google-cloud-storage/src/test/java/com/google/cloud/storage/BucketInfoTest.java
setStorageClassLifecycleRule.getAction().getStorageClass());
assertTrue(setStorageClassLifecycleRule.getCondition().getIsLive());
assertEquals(10, setStorageClassLifecycleRule.getCondition().getNumNewerVersions().intValue());
assertTrue(

@sydney-munro sydney-munro Apr 14, 2022

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just added these in since I didn't see us testing all the cases of the fromPb switch statement.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
frankyn
frankyn approved these changes Apr 15, 2022
View reviewed changes

@frankyn frankyn left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @sydney-munro!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
suztomo pushed a commit to suztomo/java-storage that referenced this pull request Apr 21, 2022
@gcf-owl-bot
chore: add kokoro config to run nightly integration test on java11.0.…
ed49735
…14 (googleapis#1347) (googleapis#1221)
@sydney-munro
sydney-munro requested a review from shaffeeullah May 13, 2022 18:17
shaffeeullah
shaffeeullah approved these changes May 18, 2022
View reviewed changes
@sydney-munro
sydney-munro merged commit 7c3aba2 into main Jun 7, 2022
@sydney-munro
sydney-munro deleted the abortmpu branch June 7, 2022 20:28
@release-please release-please Bot mentioned this pull request Jun 7, 2022
chore(main): release 2.8.0 #1427
Merged
@release-please release-please Bot mentioned this pull request Aug 10, 2022
chore(main): release 2.11.4 #1564
Closed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@BenWhitehead BenWhitehead Awaiting requested review from BenWhitehead
@JesseLovelace JesseLovelace Awaiting requested review from JesseLovelace
2 more reviewers
@frankyn frankyn frankyn approved these changes
@shaffeeullah shaffeeullah shaffeeullah approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@sydney-munro sydney-munro

Labels

api: storage Issues related to the googleapis/java-storage API. size: m Pull request size is medium.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Support AbortIncompleteMultipartUpload LifecycleAction

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@sydney-munro @frankyn @shaffeeullah @yoshi-kokoro
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.