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
ResourceNameOneofConfig fixes #2704
Merged
andreamlin
merged 9 commits into
googleapis:gapic_config_v2
from
andreamlin:order_resource_names
Apr 9, 2019
Merged
ResourceNameOneofConfig fixes #2704
andreamlin
merged 9 commits into
googleapis:gapic_config_v2
from
andreamlin:order_resource_names
Apr 9, 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
Codecov Report
@@ Coverage Diff @@
## gapic_config_v2 #2704 +/- ##
=====================================================
+ Coverage 86.82% 86.82% +<.01%
Complexity 5602 5602
=====================================================
Files 467 467
Lines 22421 22420 -1
Branches 2433 2431 -2
=====================================================
+ Hits 19466 19467 +1
+ Misses 2094 2092 -2
Partials 861 861
Continue to review full report at Codecov.
|
PTAL |
michaelbausor
approved these changes
Apr 9, 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.
When creating a ResourceNameOneofConfig from protofile annotations, use the already-created collections of SingleResourceNameConfigs and FixedResourceNameConfigs derived from the protofile annotations.
This will come in handy when we merge in GAPIC config overrides for resource names, because we should create the OneofConfigs from the overriden resource name configs, instead of making the child resource name configs from scratch from the protofile.
I know that there will be big changes to the ResourceSet design, but these bug fixes should still be relevant after the redesign too.