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 — Storage: Fix Bucket logging configuration using library by pmakani · Pull Request #6327 · googleapis/google-cloud-java

Conversation

@pmakani

@pmakani pmakani commented Sep 24, 2019

Copy link
Copy Markdown

Fixes #2911

Sorry, something went wrong.

Uh oh!

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

All reactions
Praful Makani
added Logging configuration and test case
ecf2df2
@pmakani
pmakani requested review from JesseLovelace and frankyn September 24, 2019 12:28
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 24, 2019
@codecov

codecov Bot commented Sep 24, 2019 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Codecov Report

Merging #6327 into master will decrease coverage by 0.55%.
The diff coverage is 74.41%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #6327      +/-   ##
============================================
- Coverage     46.85%    46.3%   -0.56%     
+ Complexity    28120    27924     -196     
============================================
  Files          2601     2613      +12     
  Lines        287258   287669     +411     
  Branches      33359    33739     +380     
============================================
- Hits         134595   133199    -1396     
- Misses       142429   144263    +1834     
+ Partials      10234    10207      -27
Impacted Files Coverage Δ Complexity Δ
...src/main/java/com/google/cloud/storage/Bucket.java 81.22% <0%> (-0.6%) 34 <0> (ø)
...main/java/com/google/cloud/storage/BucketInfo.java 84.36% <78.04%> (-0.5%) 84 <1> (+3)
...ud/bigtable/admin/v2/BigtableTableAdminClient.java 61.33% <0%> (-18.67%) 27% <0%> (ø)
...in/java/com/google/cloud/storage/PolicyHelper.java 95.23% <0%> (-4.77%) 7% <0%> (+1%)
...c/main/java/com/google/cloud/bigquery/Dataset.java 88.7% <0%> (-2.96%) 16% <0%> (ø)
.../main/java/com/google/cloud/compute/v1/UrlMap.java 30.7% <0%> (-1.48%) 22% <0%> (+3%)
...va/com/google/cloud/compute/v1/ForwardingRule.java 35.88% <0%> (-1.25%) 29% <0%> (+1%)
...va/com/google/cloud/compute/v1/BackendService.java 32.24% <0%> (-0.81%) 34% <0%> (+4%)
...va/com/google/cloud/compute/v1/AuditLogConfig.java 0% <0%> (ø) 0% <0%> (ø) ⬇️
.../java/com/google/cloud/compute/v1/PathMatcher.java 0% <0%> (ø) 0% <0%> (ø) ⬇️
... and 40 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6ba66e6...5a4a98f. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

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

@pmakani

pmakani commented Sep 25, 2019

Copy link
Copy Markdown
Author

@frankyn PTAL.

All reactions

Sorry, something went wrong.

Uh oh!

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

@pmakani
pmakani requested review from yihanzhen and removed request for JesseLovelace September 26, 2019 05:38
@yihanzhen
yihanzhen requested review from JesseLovelace and removed request for yihanzhen September 26, 2019 17:56
Praful Makani
removed BucketInfo from Bucket
1402054
frankyn
frankyn suggested changes Oct 1, 2019
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.

Small nits.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread ...ud-clients/google-cloud-storage/src/test/java/com/google/cloud/storage/it/ITStorageTest.java Outdated
storage.create(
BucketInfo.newBuilder(logsBucket)
.setLocation("us")
.setRetentionPeriod(RETENTION_PERIOD)

@frankyn frankyn Oct 1, 2019

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.

Remove retention period from new bucket.

Sorry, something went wrong.

Uh oh!

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

All reactions

@pmakani pmakani Oct 1, 2019

Copy link
Copy Markdown
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.

Done

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread ...ud-clients/google-cloud-storage/src/test/java/com/google/cloud/storage/it/ITStorageTest.java Outdated
.setLocation("us")
.setRetentionPeriod(RETENTION_PERIOD)
.build()));
Acl acl = Acl.of(User.ofAllAuthenticatedUsers(), Role.WRITER);

@frankyn frankyn Oct 1, 2019

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.

Use IAM policy instead.

Sorry, something went wrong.

Uh oh!

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

All reactions

@pmakani pmakani Oct 1, 2019

Copy link
Copy Markdown
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.

Done.

Sorry, something went wrong.

Uh oh!

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

All reactions
Praful Makani
fix review changes
5a4a98f
@pmakani
pmakani requested a review from frankyn October 10, 2019 09:43
frankyn
frankyn approved these changes Oct 10, 2019
View reviewed changes
@frankyn
frankyn merged commit a7431af into googleapis:master Oct 14, 2019
@chingor13 chingor13 mentioned this pull request Oct 16, 2019
Release google-cloud-java v0.116.0 #6518
Merged
@pmakani
pmakani deleted the api-storage-2911 branch October 17, 2019 05:45
@codyoss codyoss mentioned this pull request Nov 6, 2019
Release google-cloud-java v0.112.0 #6703
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@JesseLovelace JesseLovelace Awaiting requested review from JesseLovelace
1 more reviewer
@frankyn frankyn frankyn approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

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

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Bucket logging configuration using library

Uh oh!

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

3 participants

@pmakani @frankyn @googlebot
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.