Skip to content

Conversation

@zhumin8
Copy link
Contributor

@zhumin8 zhumin8 commented Nov 11, 2022

Instead of package name, use corresponding client library's artifact-id as artifact id prefix for spring modules.
Reasoning of this change:

  • Generated module artifact name aligned better with corresponding client library's, less confusing for users.
  • "client-library-artifact-id" is already needed to substitute in generation script, so no added item there.
  • Charging from monorepo, only one version of client library is published per module. So consider the generation process starts from a client library coordinates, then the risk of not including -v1beta1/-v1 from package name is mininum.
  • It's more direct this way to generate README item in spring-cloud-gcp side. codegen: adding documentation items for generated modules GoogleCloudPlatform/spring-cloud-gcp#1336

@conventional-commit-lint-gcf
Copy link

conventional-commit-lint-gcf bot commented Nov 11, 2022

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot
https://conventionalcommits.org/

@sonarqubecloud
Copy link

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

@zhumin8 zhumin8 merged commit c79dab2 into autoconfig-gen-draft2 Nov 14, 2022
@zhumin8 zhumin8 deleted the pom-fix branch November 14, 2022 15:15
diegomarquezp added a commit that referenced this pull request Nov 24, 2022
* fix(spring codegen): use client-library-artifact-id as pom artifactId prefix. (#1092)

* rename to global properties

* fix(test): update goldens

* fix: format

* fix: typo in GLobalProperties

* fix: typo in goldens

* fix: remove unnecessary comments

* fix: reference to com.google.cloud.spring.global

* fix: typo and static ref fix

Co-authored-by: Min Zhu <zhumin@google.com>
@zhumin8 zhumin8 added the spring pr that's related to spring code gen, intend to merge into autoconfig-gen-draft2 branch. label Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

spring pr that's related to spring code gen, intend to merge into autoconfig-gen-draft2 branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants