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: relocate protobuf configurations from java-core to gax-java by mpeddada1 · Pull Request #1641 · googleapis/gax-java

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

Conversation

@mpeddada1

@mpeddada1 mpeddada1 commented Mar 28, 2022 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

The Protobuf configuration is needed whenever a Proto object is logged or printed. This feature was initially optional and was enabled with --feature=com.google.nativeimage.ProtobufMessageFeature for only tests. However, it is possible for some libraries like Spanner to log Proto objects ( as seen here) so we have to AutomaticFeature.

Testing: Manually verified with java-tasks sample.

After this PR is merged and released:

  • Remove --feature setting for Protobuf feature from java-shared-config fix(java): remove protobuf feature from native profile java-shared-config#461
  • Remove --feature setting for Protobuf feature from samples in
    • java-spanner
    • java-pubsub (docs(sample): remove protobuf feature from native image sample java-pubsub#1077),
    • java-tasks (docs(sample): remove protobuf feature from native image sample java-tasks#665).

Sorry, something went wrong.

Uh oh!

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

All reactions
mpeddada1 added 8 commits March 25, 2022 10:25
@mpeddada1
chore: relocate Netty Native Image configurations from java-core to gax
9b863be
@mpeddada1
address sonar suggestions
4a148fe
@mpeddada1
add graal dependencies to bazel script; formatting
dd9231b
@mpeddada1
fix formatting
d435e78
@mpeddada1
fix formatting for GrpcNettyFeature
07dec6b
@mpeddada1
keep public method at the top
af024f2
@mpeddada1
add graal deps to bazel gax-grpc
bc7aa7e
@mpeddada1
chore: relocate ProtobufMessageFeature from java-core to gax-grpc
6ebdfe6
@mpeddada1
mpeddada1 requested review from a team March 28, 2022 14:21
@mpeddada1 mpeddada1 changed the title Relocate protobuf configurations from java-core to gax-java chore: relocate protobuf configurations from java-core to gax-java Mar 28, 2022
@mpeddada1 mpeddada1 mentioned this pull request Mar 31, 2022
fix(java): remove protobuf feature from native profile googleapis/java-shared-config#461
Merged
@mpeddada1
pull changes from main
6505c6b
meltsufin
meltsufin approved these changes Mar 31, 2022
View reviewed changes
This was referenced Mar 31, 2022
docs(sample): remove protobuf feature from native image sample googleapis/java-tasks#665
Merged
docs(sample): remove protobuf feature from native image sample googleapis/java-pubsub#1077
Closed
@mpeddada1 mpeddada1 changed the title chore: relocate protobuf configurations from java-core to gax-java feat: relocate protobuf configurations from java-core to gax-java Mar 31, 2022
@mpeddada1 mpeddada1 mentioned this pull request Apr 1, 2022
feat(java): remove protobuf Native Image configuration after relocation to gax googleapis/java-core#784
Merged
@mpeddada1
Merge branch 'main' into relocate-protobuf
49b6448
@sonarqubecloud

sonarqubecloud Bot commented Apr 1, 2022

Copy link
Copy Markdown

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

All reactions

Sorry, something went wrong.

Uh oh!

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

@mpeddada1
mpeddada1 merged commit 01d395f into main Apr 1, 2022
@mpeddada1
mpeddada1 deleted the relocate-protobuf branch April 1, 2022 13:29
@release-please release-please Bot mentioned this pull request Apr 1, 2022
chore(main): release 2.14.0 #1645
Merged
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@meltsufin meltsufin meltsufin 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

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

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

2 participants

@mpeddada1 @meltsufin
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.