Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Reduce gRPC dependency footprint, get rid of duplicate classes#1365

Merged
mziccard merged 2 commits into
googleapis:mastergoogleapis/google-cloud-java:masterfrom
mziccard:reduce-grpc-dependency-footprintmziccard/gcloud-java:reduce-grpc-dependency-footprintCopy head branch name to clipboard
Nov 4, 2016
Merged

Reduce gRPC dependency footprint, get rid of duplicate classes#1365
mziccard merged 2 commits into
googleapis:mastergoogleapis/google-cloud-java:masterfrom
mziccard:reduce-grpc-dependency-footprintmziccard/gcloud-java:reduce-grpc-dependency-footprintCopy head branch name to clipboard

Conversation

@mziccard

@mziccard mziccard commented Nov 2, 2016

Copy link
Copy Markdown
Contributor

This reduced gRPC dependencies that we include (in particular in the core module) fixes #1278 for good.

@anthmgoogle @garrettjonesgoogle any chance you can have a look? This can also be done at GAX layer to fix googleapis/gax-java#133. Also, is there a reason why proto artifacts (as grpc-google-iam-v1 or grpc-google-pubsub-v1) depend on the whole grpc-all package? I believe that the dependency list there can be heavily reduced.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 2, 2016
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 83.896% when pulling d9d23ba on mziccard:reduce-grpc-dependency-footprint into a963ef4 on GoogleCloudPlatform:master.

@garrettjonesgoogle

Copy link
Copy Markdown
Contributor

Maybe I should bump the priority of the dependency change in gax so that you don't have to make this mess.

@mziccard

mziccard commented Nov 2, 2016

Copy link
Copy Markdown
Contributor Author

Actually GAX is not a big issue. We use GAX in our google-cloud-core module, but even with the GAX issue fixed I would still want to exclude some of its gRPC dependency (namely all but grpc-protobuf) ingoogle-cloud-core (to reduce its footprint for those modules that depende on it but don't use gRPC). Then in gRPC-based modules I would still have to re-add all grpc dependencies that I previously excluded.

What is causing this mess is the fact that all proto artifacts depend on grpc-all which is as surprising as unnecessary.

@garrettjonesgoogle

Copy link
Copy Markdown
Contributor

Ahh, the proto artifacts - how much would it help for me to update their dependencies too?

@mziccard

mziccard commented Nov 2, 2016

Copy link
Copy Markdown
Contributor Author

Ahh, the proto artifacts - how much would it help for me to update their dependencies too?

My guess is that they only need grpc-protubuf, if this is really the case I can get rid of all <exclude> elements for them (there's one for each pom.xml in this PR and 2 in the core module's pom.xml).

It's not a problem to send out this PR and then remove the <excludes>. Releasing releasing new proto artifacts for all services might take you some time.

Comment thread google-cloud-core/pom.xml
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-protobuf</artifactId>

This comment was marked as spam.

This comment was marked as spam.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 83.896% when pulling 6be9e2c on mziccard:reduce-grpc-dependency-footprint into a963ef4 on GoogleCloudPlatform:master.

@garrettjonesgoogle

Copy link
Copy Markdown
Contributor

LGTM

@mziccard

mziccard commented Nov 3, 2016

Copy link
Copy Markdown
Contributor Author

@garrettjonesgoogle thanks for reviewing!

@mziccard mziccard merged commit 09ad52a into googleapis:master Nov 4, 2016
meltsufin pushed a commit that referenced this pull request Dec 22, 2025
chingor13 pushed a commit that referenced this pull request Jan 6, 2026
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
chingor13 pushed a commit that referenced this pull request Jan 22, 2026
* feat: implement query profile

* javadoc fixes

* add betaapi in a few more places

* add some extra tests

* add some more ITs

* add some more fine grained tests

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
chingor13 pushed a commit that referenced this pull request Feb 24, 2026
suztomo pushed a commit to suztomo/google-cloud-java that referenced this pull request Mar 11, 2026
chingor13 pushed a commit that referenced this pull request Mar 12, 2026
suztomo pushed a commit to suztomo/google-cloud-java that referenced this pull request Mar 23, 2026
…jdbc to v2.13.2 (googleapis#1365)

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-spanner-jdbc](https://togithub.com/googleapis/java-spanner-jdbc) | `2.12.1` -> `2.13.2` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.cloud:google-cloud-spanner-jdbc/2.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.google.cloud:google-cloud-spanner-jdbc/2.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.google.cloud:google-cloud-spanner-jdbc/2.12.1/2.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.cloud:google-cloud-spanner-jdbc/2.12.1/2.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [com.google.cloud:google-cloud-spanner-jdbc](https://togithub.com/googleapis/java-spanner-jdbc) | `2.13.1` -> `2.13.2` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.cloud:google-cloud-spanner-jdbc/2.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.google.cloud:google-cloud-spanner-jdbc/2.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.google.cloud:google-cloud-spanner-jdbc/2.13.1/2.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.cloud:google-cloud-spanner-jdbc/2.13.1/2.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>googleapis/java-spanner-jdbc (com.google.cloud:google-cloud-spanner-jdbc)</summary>

### [`v2.13.2`](https://togithub.com/googleapis/java-spanner-jdbc/blob/HEAD/CHANGELOG.md#2132-2023-09-26)

[Compare Source](https://togithub.com/googleapis/java-spanner-jdbc/compare/v2.13.1...v2.13.2)

##### Dependencies

-   Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.16.0 ([#&googleapis#8203;1358](https://togithub.com/googleapis/java-spanner-jdbc/issues/1358)) ([c9b649b](https://togithub.com/googleapis/java-spanner-jdbc/commit/c9b649ba3554caf687032cc8360d72430cfce4ef))
-   Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.16.1 ([#&googleapis#8203;1363](https://togithub.com/googleapis/java-spanner-jdbc/issues/1363)) ([d4e72e0](https://togithub.com/googleapis/java-spanner-jdbc/commit/d4e72e08cf6e47d16e4c22e88945d48310ff82a9))
-   Update dependency com.spotify.fmt:fmt-maven-plugin to v2.21.1 ([#&googleapis#8203;1359](https://togithub.com/googleapis/java-spanner-jdbc/issues/1359)) ([d7baf55](https://togithub.com/googleapis/java-spanner-jdbc/commit/d7baf55827c1264769893a322e7238c2eccdc65e))

### [`v2.13.1`](https://togithub.com/googleapis/java-spanner-jdbc/blob/HEAD/CHANGELOG.md#2131-2023-09-21)

[Compare Source](https://togithub.com/googleapis/java-spanner-jdbc/compare/v2.13.0...v2.13.1)

##### Dependencies

-   Update dependency org.springframework.boot:spring-boot-starter-data-jdbc to v3.1.4 ([#&googleapis#8203;1353](https://togithub.com/googleapis/java-spanner-jdbc/issues/1353)) ([53046b8](https://togithub.com/googleapis/java-spanner-jdbc/commit/53046b83509972e46b0e56b3d9509862bb28bae4))

### [`v2.13.0`](https://togithub.com/googleapis/java-spanner-jdbc/blob/HEAD/CHANGELOG.md#2130-2023-09-15)

[Compare Source](https://togithub.com/googleapis/java-spanner-jdbc/compare/v2.12.1...v2.13.0)

##### Features

-   Support partitioned queries ([#&googleapis#8203;1300](https://togithub.com/googleapis/java-spanner-jdbc/issues/1300)) ([504c0b3](https://togithub.com/googleapis/java-spanner-jdbc/commit/504c0b3b1ffd5954a1e43d36da92161dd5b78ea6))

##### Bug Fixes

-   Comments should be sent to Spanner for PostgreSQL databases ([#&googleapis#8203;1331](https://togithub.com/googleapis/java-spanner-jdbc/issues/1331)) ([1f80c57](https://togithub.com/googleapis/java-spanner-jdbc/commit/1f80c572fe2272653c4039a465dbd5a36723fe34))

##### Documentation

-   Create Spring Data JDBC sample ([#&googleapis#8203;1334](https://togithub.com/googleapis/java-spanner-jdbc/issues/1334)) ([3335d83](https://togithub.com/googleapis/java-spanner-jdbc/commit/3335d835940596d271fa538261462ea54916f73c))

##### Dependencies

-   Update actions/checkout action to v4 - abandoned ([#&googleapis#8203;1333](https://togithub.com/googleapis/java-spanner-jdbc/issues/1333)) ([2a5faa7](https://togithub.com/googleapis/java-spanner-jdbc/commit/2a5faa72cd2e8538bcb6affc3c39d243a8a42ae3))
-   Update dependency org.springframework.data:spring-data-bom to v2023.0.4 ([#&googleapis#8203;1347](https://togithub.com/googleapis/java-spanner-jdbc/issues/1347)) ([852efd1](https://togithub.com/googleapis/java-spanner-jdbc/commit/852efd1645673889630449d85ce8c4d0eac2c2ad))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/googleapis/java-spanner-jdbc).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ny4xIiwidXBkYXRlZEluVmVyIjoiMzYuMTA3LjIiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
meltsufin pushed a commit that referenced this pull request Apr 29, 2026
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.easymock:easymock](http://easymock.org) ([source](https://togithub.com/easymock/easymock)) | `5.0.0` -> `5.0.1` | [![age](https://badges.renovateapi.com/packages/maven/org.easymock:easymock/5.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.easymock:easymock/5.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.easymock:easymock/5.0.1/compatibility-slim/5.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.easymock:easymock/5.0.1/confidence-slim/5.0.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost.

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-pubsub).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yNDEuMTEiLCJ1cGRhdGVkSW5WZXIiOiIzMi4yNDEuMTEifQ==-->
meltsufin pushed a commit that referenced this pull request Apr 29, 2026
🤖 I have created a release *beep* *boop*
---


## [1.120.23](https://togithub.com/googleapis/java-pubsub/compare/v1.120.22...v1.120.23) (2022-10-27)


### Dependencies

* Update dependency com.google.cloud:google-cloud-core to v2.8.22 ([#1361](https://togithub.com/googleapis/java-pubsub/issues/1361)) ([0355868](https://togithub.com/googleapis/java-pubsub/commit/03558680b9fb6493c2c3f1f4b65d8a35668b440f))
* Update dependency com.google.cloud:google-cloud-core to v2.8.24 ([#1368](https://togithub.com/googleapis/java-pubsub/issues/1368)) ([9776aad](https://togithub.com/googleapis/java-pubsub/commit/9776aad7391544b1e0bd2fbe8576180206943bef))
* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.5 ([#1362](https://togithub.com/googleapis/java-pubsub/issues/1362)) ([d32c591](https://togithub.com/googleapis/java-pubsub/commit/d32c591af87b66d8ca9df599ad18183aae31bf15))
* Update dependency com.google.protobuf:protobuf-java-util to v3.21.8 ([#1356](https://togithub.com/googleapis/java-pubsub/issues/1356)) ([dc1e0ca](https://togithub.com/googleapis/java-pubsub/commit/dc1e0ca44c3668d7c9e780d50261dd81ce1d4ee9))
* Update dependency org.easymock:easymock to v5.0.1 ([#1365](https://togithub.com/googleapis/java-pubsub/issues/1365)) ([2a807a5](https://togithub.com/googleapis/java-pubsub/commit/2a807a5b319ed3821da7dac84e4cb4923d07fed7))
* Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.16 ([#1358](https://togithub.com/googleapis/java-pubsub/issues/1358)) ([226e105](https://togithub.com/googleapis/java-pubsub/commit/226e1050b0b643cea46bad7cf77d2a9e8857fb02))
* Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.16 ([#1359](https://togithub.com/googleapis/java-pubsub/issues/1359)) ([3f10227](https://togithub.com/googleapis/java-pubsub/commit/3f10227cfd7d9029e92e7575771544c7e4b4dd67))

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
meltsufin pushed a commit that referenced this pull request May 1, 2026
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.easymock:easymock](http://easymock.org) ([source](https://togithub.com/easymock/easymock)) | `5.0.0` -> `5.0.1` | [![age](https://badges.renovateapi.com/packages/maven/org.easymock:easymock/5.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.easymock:easymock/5.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.easymock:easymock/5.0.1/compatibility-slim/5.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.easymock:easymock/5.0.1/confidence-slim/5.0.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost.

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-pubsub).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yNDEuMTEiLCJ1cGRhdGVkSW5WZXIiOiIzMi4yNDEuMTEifQ==-->
meltsufin pushed a commit that referenced this pull request May 1, 2026
🤖 I have created a release *beep* *boop*
---


## [1.120.23](https://togithub.com/googleapis/java-pubsub/compare/v1.120.22...v1.120.23) (2022-10-27)


### Dependencies

* Update dependency com.google.cloud:google-cloud-core to v2.8.22 ([#1361](https://togithub.com/googleapis/java-pubsub/issues/1361)) ([e71dc8d](https://togithub.com/googleapis/java-pubsub/commit/e71dc8ddaaefd9856f1e05cd38c34562803b9470))
* Update dependency com.google.cloud:google-cloud-core to v2.8.24 ([#1368](https://togithub.com/googleapis/java-pubsub/issues/1368)) ([f85a1d1](https://togithub.com/googleapis/java-pubsub/commit/f85a1d1ba19ff97047de7ec2b5a0cd7f82a5c47a))
* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.5 ([#1362](https://togithub.com/googleapis/java-pubsub/issues/1362)) ([c322328](https://togithub.com/googleapis/java-pubsub/commit/c3223284d8c30b732a0a670a6cf388520c631ec5))
* Update dependency com.google.protobuf:protobuf-java-util to v3.21.8 ([#1356](https://togithub.com/googleapis/java-pubsub/issues/1356)) ([cfda245](https://togithub.com/googleapis/java-pubsub/commit/cfda2450976239e8fe55f6162b24155313f16194))
* Update dependency org.easymock:easymock to v5.0.1 ([#1365](https://togithub.com/googleapis/java-pubsub/issues/1365)) ([c70f5d8](https://togithub.com/googleapis/java-pubsub/commit/c70f5d81eff6982199585270a81ca80a5f0737c9))
* Update dependency org.graalvm.buildtools:junit-platform-native to v0.9.16 ([#1358](https://togithub.com/googleapis/java-pubsub/issues/1358)) ([96160e1](https://togithub.com/googleapis/java-pubsub/commit/96160e1cd315efbbb634c2366e87a4f238c8888a))
* Update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.16 ([#1359](https://togithub.com/googleapis/java-pubsub/issues/1359)) ([243d233](https://togithub.com/googleapis/java-pubsub/commit/243d233d5530c8f5fc4964c36c700b0b80d99f82))

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cherry-pick gRPC dependencies rather than using grpc-all Datastore: duplicate classes in dependencies

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.