refactor: move java-common-protos, java-iam, java-showcase to top level#12839
refactor: move java-common-protos, java-iam, java-showcase to top level#12839
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the IAM library configuration to iam-policy, adds an api_id, and introduces a new common-protos library entry in generation_config.yaml. It also adjusts the parent POM relative path in java-common-protos/pom.xml. Feedback focuses on maintaining alphabetical order for library entries, updating the display name for the IAM Policy library for consistency, and ensuring consistent string formatting by removing unnecessary quotes in the configuration file.
|
|
| [[ "${pomFile}" =~ .*sdk-platform-java.* ]] || \ | ||
| [[ "${pomFile}" =~ .*java-common-protos.* ]] || \ | ||
| [[ "${pomFile}" =~ .*java-showcase.* ]] || \ | ||
| [[ "${pomFile}" =~ .*java-common-protos.* ]] || \ |
There was a problem hiding this comment.
java-common-protos is duplicated. Also why are we excluding them? Especially for java-common-protos and java-iam, they should be pure generated.
There was a problem hiding this comment.
This is a check that any declared dependency versions are all managed by release-please. common-protos and iam declare dependency versions for protobuf, guava, and grpc. We can't use the first-party-dependencies import because common-protos and iam are in first-party-dependencies.
There was a problem hiding this comment.
There are a few scripts mentioned in README regarding how to run and update showcase tests. Can we make sure those scripts still work after migration?



Currently, the hermetic code generator can only move files to top level folders. Rather than changing the generator, we will move the generated code to the top level to also make it compatible with librarian.
Other fixes:
Towards #12735
Towards #12702