Skip to content

refactor: move java-common-protos to top level#12839

Draft
chingor13 wants to merge 5 commits intomainfrom
flatten-generated-modules
Draft

refactor: move java-common-protos to top level#12839
chingor13 wants to merge 5 commits intomainfrom
flatten-generated-modules

Conversation

@chingor13
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

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.

Comment thread generation_config.yaml
- proto_path: google/cloud/workstations/v1
- proto_path: google/cloud/workstations/v1beta

- api_shortname: common-protos
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The new common-protos entry is added at the end of the libraries list. However, this list appears to be maintained in alphabetical order by api_shortname. To maintain consistency and ensure the configuration remains easy to navigate, please move this entry to its correct alphabetical position.

Comment thread generation_config.yaml
requires_billing: true
- api_shortname: iam
- api_shortname: iam-policy
name_pretty: IAM
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The api_shortname has been updated to iam-policy and the distribution_name is com.google.cloud:google-iam-policy. To ensure consistency and clearly distinguish this library from the main IAM client library, the name_pretty should also be updated to IAM Policy.

  name_pretty: IAM Policy

Comment thread generation_config.yaml
Comment on lines +3025 to +3026
excluded_dependencies: "proto-google-common-protos,grpc-google-common-protos,proto-google-common-protos-parent"
excluded_poms: "proto-google-common-protos-bom,proto-google-common-protos"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The values for excluded_dependencies and excluded_poms in the common-protos entry are enclosed in double quotes. This is inconsistent with other entries in the file, which use plain strings. For consistency across the configuration file, please remove the unnecessary quotes.

  excluded_dependencies: proto-google-common-protos,grpc-google-common-protos,proto-google-common-protos-parent
  excluded_poms: proto-google-common-protos-bom,proto-google-common-protos

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.

2 participants