This repository was archived by the owner on Jun 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 129
Bug fixes for gapic config v2 parsing #2717
Merged
michaelbausor
merged 6 commits into
googleapis:gapic_config_v2
from
michaelbausor:gapic_config_v2_fixes
Apr 19, 2019
Merged
Bug fixes for gapic config v2 parsing #2717
michaelbausor
merged 6 commits into
googleapis:gapic_config_v2
from
michaelbausor:gapic_config_v2_fixes
Apr 19, 2019
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
michaelbausor
commented
Apr 17, 2019
•
edited
Loading
edited
- In ProtoInterfaceModel.java, handle the case of a null Api object, which can occur when running gapic-generator with no service yaml provided
- GapicProductConfig.java:
- No change in logic for the gapic-config-only case
- Switch from a proto-only case to a proto + gapic case
- Refactor to allow two cases above to share code
- Better error messages
Codecov Report
@@ Coverage Diff @@
## gapic_config_v2 #2717 +/- ##
=====================================================
- Coverage 86.98% 86.89% -0.09%
+ Complexity 5642 5640 -2
=====================================================
Files 469 469
Lines 22499 22515 +16
Branches 2436 2437 +1
=====================================================
- Hits 19571 19565 -6
- Misses 2080 2100 +20
- Partials 848 850 +2
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## gapic_config_v2 #2717 +/- ##
=====================================================
+ Coverage 86.98% 86.99% +<.01%
- Complexity 5642 5644 +2
=====================================================
Files 469 469
Lines 22499 22510 +11
Branches 2436 2437 +1
=====================================================
+ Hits 19571 19582 +11
- Misses 2080 2082 +2
+ Partials 848 846 -2
Continue to review full report at Codecov.
|
evaogbe
approved these changes
Apr 19, 2019
andreamlin
added a commit
that referenced
this pull request
Apr 22, 2019
* Add Gapic config v2 (#2665) * Whittling down config_v2 (#2666) * Add ConfigV2 Validator (#2672) * AutoValue LongRunningConfig; always use gapic config's polling settings (#2698) * ResourceNameOneofConfig fixes (#2704) * Start parsing GAPIC config v2 (#2703) * Bring back timeout millis in GAPIC config v2 (#2708) * Resource names across different protofiles (#2711) * Fix missing default retries (#2718) * Bug fixes for gapic config v2 parsing (#2717)
busunkim96
pushed a commit
to busunkim96/gapic-generator
that referenced
this pull request
Nov 7, 2019
* Add Gapic config v2 (googleapis#2665) * Whittling down config_v2 (googleapis#2666) * Add ConfigV2 Validator (googleapis#2672) * AutoValue LongRunningConfig; always use gapic config's polling settings (googleapis#2698) * ResourceNameOneofConfig fixes (googleapis#2704) * Start parsing GAPIC config v2 (googleapis#2703) * Bring back timeout millis in GAPIC config v2 (googleapis#2708) * Resource names across different protofiles (googleapis#2711) * Fix missing default retries (googleapis#2718) * Bug fixes for gapic config v2 parsing (googleapis#2717)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.