-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved bulk uploads of Google APIs. (#397)
* To match Google proto style, get API ID, title, and description from Service Config. * Tighten/refactor service config requirement for uploaded proto-based APIs. * Use values from parsed Discovery documents when bulk-uploading Discovery docs. * Update gnostic dependency. * Remove "compute details" from discovery.sh and protos.sh demo scripts. * Improve robustness of bulk uploads. - Use filepath.Abs() to resolve relative path names used for bulk imports - Allow "AlreadyExists" as an acceptable error for CreateApi calls to avoid failing when concurrent create calls are made to replicated backends. * Code review/quality improvements from @seaneganx * Update demo/protos.sh for new proto spec naming convention
- Loading branch information
Showing
7 changed files
with
134 additions
and
52 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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