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

fix: Remove HttpMethod compile time dependency from genrated HttpJson stubs #1004

Merged
merged 2 commits into from
Jun 14, 2022

Conversation

vam-google
Copy link
Contributor

No description provided.

@vam-google vam-google requested review from a team as code owners June 14, 2022 16:35
@vam-google vam-google requested a review from Neenu1995 June 14, 2022 16:36
@sonarcloud
Copy link

sonarcloud bot commented Jun 14, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

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

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@vam-google vam-google merged commit e5988a0 into googleapis:main Jun 14, 2022
@@ -14,7 +14,6 @@

package com.google.api.generator.gapic.composer.rest;

import com.google.api.client.http.HttpMethods;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just wondering what's the benefit of removing the dependency of this class? I think we still need the http client library so we can not remove the dependency entirely in gax?

Copy link
Contributor

Choose a reason for hiding this comment

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

The REGAPIC files were adding an additional dependency on google-http-client in the downstream GAPIC libraries. This fix avoids that.
http-client is a legacy library we don't want in our GAPIC dependency tree.

suztomo pushed a commit that referenced this pull request Mar 21, 2023
🤖 I have created a release *beep* *boop*
---


### Updating meta-information for bleeding-edge SNAPSHOT release.

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants