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

feat: [css] new module for css #10212

Merged
merged 4 commits into from Jan 10, 2024
Merged

Conversation

ddixit14
Copy link
Contributor

@ddixit14 ddixit14 commented Jan 9, 2024

python3.9 generation/new_client/new-client.py generate
--api_shortname=css
--proto-path=google/shopping/css
--name-pretty="CSS API"
--product-docs="https://developers.google.com/comparison-shopping-services/api"
--api-description="The CSS API is used to manage your CSS and control your CSS Products portfolio"
--distribution-name="com.google.shopping:google-shopping-css"
--destination-name=shopping-css

@ddixit14 ddixit14 requested a review from a team as a code owner January 9, 2024 20:13
Copy link

snippet-bot bot commented Jan 9, 2024

Here is the summary of changes.

You are about to add 64 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@suztomo
Copy link
Member

suztomo commented Jan 10, 2024

"ci / gapic-libraries-bom"
https://github.com/googleapis/google-cloud-java/actions/runs/7466430488/job/20317772295?pr=10212 failed

2024-01-09T20:28:07.5737592Z [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.4.1:enforce (enforce) on project grpc-google-shopping-css-v1: 
2024-01-09T20:28:07.5738413Z [ERROR] Rule 3: org.codehaus.mojo.extraenforcer.dependencies.BanDuplicateClasses failed with message:
2024-01-09T20:28:07.5738606Z [ERROR] Duplicate classes found:
2024-01-09T20:28:07.5738739Z [ERROR] 
2024-01-09T20:28:07.5738895Z [ERROR]   Found in:
2024-01-09T20:28:07.5739621Z [ERROR]     com.google.shopping.api.grpc:proto-google-shopping-css-v1:jar:0.0.1-SNAPSHOT:compile
2024-01-09T20:28:07.5740153Z [ERROR]     com.google.api.grpc:proto-google-common-protos:jar:2.30.0:compile
2024-01-09T20:28:07.5740334Z [ERROR]   Duplicate classes:
2024-01-09T20:28:07.5740742Z [ERROR]     com/google/api/MethodSettings$LongRunningOrBuilder.class
2024-01-09T20:28:07.5740942Z [ERROR]     com/google/api/Usage$1.class
2024-01-09T20:28:07.5741141Z [ERROR]     com/google/api/Logging.class
2024-01-09T20:28:07.5741463Z [ERROR]     com/google/api/AuthProvider$1.class
2024-01-09T20:28:07.5741780Z [ERROR]     com/google/api/ProjectProperties$Builder.class
2024-01-09T20:28:07.5742051Z [ERROR]     com/google/api/DocumentationProto.class
2024-01-09T20:28:07.5742268Z [ERROR]     com/google/api/JwtLocation.class
...

@suztomo
Copy link
Member

suztomo commented Jan 10, 2024

The generated files contain unwanted files in com.google.api package:

image

com.google.shopping package is good but the library should not contain com.google.api package.

For comparison, here is the other shopping modules are structured:

image

@ddixit14 ddixit14 merged commit 618344a into main Jan 10, 2024
32 of 33 checks passed
@ddixit14 ddixit14 deleted the new_module_java-shopping-css-new-module branch January 10, 2024 18:21
@diegomarquezp diegomarquezp restored the new_module_java-shopping-css-new-module branch January 15, 2024 22:14
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