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: add parsing of autopopulated fields from serviceyaml #2312

Merged
merged 15 commits into from Dec 28, 2023

Conversation

alicejli
Copy link
Contributor

See b/309351289 for more details.

This PR adds parsing of the service_config.yaml file for autopopulated fields and adds them to the Field and Method classes.

Follow-up: Add logic to AbstractTransportServiceStubClassComposer.java to auto-populate the field (similar to how dynamic routing headers is added). We may go with a different design in the end, but that should be one viable approach.

Note that I updated echo.proto for testing; once this feature is implemented in gapic-showcase, I can look to remove those manual updates.

@alicejli alicejli requested a review from a team as a code owner December 18, 2023 22:00
@product-auto-label product-auto-label bot added the size: m Pull request size is medium. label Dec 18, 2023
@product-auto-label product-auto-label bot added size: l Pull request size is large. and removed size: m Pull request size is medium. labels Dec 19, 2023
Copy link

sonarcloud bot commented Dec 28, 2023

Quality Gate Passed Quality Gate passed for 'gapic-generator-java-root'

The SonarCloud Quality Gate passed, but some issues were introduced.

3 New issues
0 Security Hotspots
94.6% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

sonarcloud bot commented Dec 28, 2023

Quality Gate Passed Quality Gate passed for 'java_showcase_integration_tests'

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@alicejli alicejli merged commit 4f535a7 into main Dec 28, 2023
24 checks passed
@alicejli alicejli deleted the parseServiceYaml branch December 28, 2023 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants