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: Set Artifact ID using the static method. #1938

Merged
merged 1 commit into from
Apr 11, 2024
Merged

Conversation

ttosta-google
Copy link
Collaborator

The following issue was reported in GoogleCloudPlatform/spring-cloud-gcp#2773:

the warning Application name is not set. Call Builder#setApplicationName. is logged by com.google.api.client.googleapis.services.AbstractGoogleClient when using com.google.cloud:spring-cloud-gcp-starter-sql-postgresql

The issue was caused by setting the Artifact ID using the instance method instead of the static one. Additionally, the library version was added to the Artifact ID by default, resulting in user agents like spring-cloud-gcp-sql/5.1.2/1.17.2-SNAPSHOT mysql-socket-factory-connector-j-8/1.17.2-SNAPSHOT. This issue has been fixed.

@ttosta-google ttosta-google requested a review from a team as a code owner April 11, 2024 19:44
@ttosta-google ttosta-google merged commit d14bd65 into main Apr 11, 2024
17 checks passed
@ttosta-google ttosta-google deleted the fix-artifact-id branch April 11, 2024 23:43
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.

None yet

2 participants