Commit Graph

67 Commits

Author SHA1 Message Date
Google APIs 3131ab5786 chore: use python microgenerator rules for Cloud APIs
PiperOrigin-RevId: 350604597
2021-01-07 11:33:56 -08:00
Google APIs 6dae98144d chore: Remove unused 'package' attr from java_gapic_library rules
Committer: @miraleung
PiperOrigin-RevId: 347459563
2020-12-14 13:41:43 -08:00
Google APIs 160f80d81d chore: Make microgenerators default for all languages
In particular this applies to Java and Python microgenerators.
With this change `java_gapic_*` and `py_gapic_*` rules mean microgenerator versions. The monolith versions of the rules are named as `java_gapic_*_legacy` and `py_gapic_*_legacy` respectively.

Also change Ads BAZEL template to reflect the change in default rule names.

Also change `DO NOT OVERRIDE` comment warnings meaning (to reflect that now by default microgenerator rules are generated and the generated version must be accepted only if the API is being migrated to the microgenerator).

PiperOrigin-RevId: 346227314
2020-12-07 18:51:08 -08:00
Google APIs d3a630b0db chore: migrate cloudtrace to the Java microgenerator
Committer: @miraleung
PiperOrigin-RevId: 345749672
2020-12-04 14:02:17 -08:00
Google APIs d189e87120 chore: generate GAPIC metadata JSON file
PiperOrigin-RevId: 345596855
2020-12-03 21:01:09 -08:00
Google APIs b821f32047 feat: use https://github.com/googleapis/gapic-generator-csharp for generating C# libraries.
PiperOrigin-RevId: 331104099
2020-09-11 01:16:20 -07:00
Google APIs 13d3b3ace1 feat: added support for span kind
Clients can now specify the span kind of spans.

PiperOrigin-RevId: 319788951
2020-07-06 09:00:31 -07:00
Google APIs 10f05cf8dc chore: set Ruby namespace in proto options
PiperOrigin-RevId: 316121797
2020-06-12 09:52:49 -07:00
Google APIs ded05197da fix: use grpc_service_config in nodejs_gapic_library
The nodejs_gapic_library targets were migrated to gapic-generator-typescript
which doesn't use gapic_yaml, rendering that attribute unused. Instead it uses
the proto annotations & grpc_service_config, which this change reflects.

PiperOrigin-RevId: 314206960
2020-06-01 14:44:30 -07:00
Google APIs 5a90d467aa fix: restore GAPIC v2 retry configs
Restores GAPIC v2 retry config overrides that were
mistakenly removed during migration.

PiperOrigin-RevId: 312088359
2020-05-18 08:57:36 -07:00
Google APIs 25a1781c09 bazel: migrate all go_gapic_library targets to microgenerator implementation
* update rules_go and gazelle bazel dependencies
* update gapic-generator bazel dependency (with build file generator changes)

PiperOrigin-RevId: 302730217
2020-03-24 13:05:53 -07:00
Google APIs 8463992271 Fix bazel build
PiperOrigin-RevId: 283589351
2019-12-03 11:43:22 -08:00
Google APIs 79b7f1c5ba Put back C++ targets.
Previous change overrode custom C++ targets made by external teams. This PR puts those targets back.

PiperOrigin-RevId: 282458292
2019-11-25 16:33:43 -08:00
Google APIs 06a840781d Populate BAZEL.build files for around 100 APIs (all APIs we publish) in all 7 langauges.
PiperOrigin-RevId: 282449910
2019-11-25 15:50:18 -08:00
Google APIs 5364a19284 bazel: Fix build
1) Update to latest gapic-generator (has iam resource names fix for java).
2) Fix non-trivial issues with oslogin (resources defined in sibling package to the one they are used from) and monitoring.
3) Fix trivial missing dependencies in proto_library targets for other apis.

This is to prepare the repository to being populated with BUILD.bazel files for all supported apis (101 API) in all 7 languages.

PiperOrigin-RevId: 281618750
2019-11-20 15:52:59 -08:00
Google APIs 5c8ab2c072 Migrate Trace v1 and Trace v2 to GAPIC v2.
Committer: @lukesneeringer
PiperOrigin-RevId: 280667429
2019-11-15 08:49:09 -08:00
Google APIs bc76ffd873 Use rules_proto bzl files to load proto_library
This makes googleapis forward compatible with Bazel incompatible change https://github.com/bazelbuild/bazel/issues/8922.

This CL was created by adding @rules_proto to the WORKSPACE file and then running:

find . -name BUILD.bazel | \
  while read build; do \
    buildifier --lint=fix --warnings=load $build; \
  done

Since buildifier cannot be told not to reformat the BUILD file, some files are reformatted.

PiperOrigin-RevId: 280356106
2019-11-13 22:28:15 -08:00
Google APIs a9589347c8 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 276110444
2019-10-22 11:43:03 -07:00
Google APIs 95c0959449 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 276083452
2019-10-22 09:46:06 -07:00
Google APIs 0c0bbaeb69 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 274037944
2019-10-10 14:21:31 -07:00
Google APIs 6a2f0244d6 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 249677018
2019-05-23 11:03:47 -07:00
Google APIs 6ea045ad2e Synchronize new proto/yaml changes.
PiperOrigin-RevId: 249345152
2019-05-21 16:07:26 -07:00
Google APIs f86c9531dc Synchronize new proto/yaml changes.
PiperOrigin-RevId: 247457584
2019-05-09 10:56:46 -07:00
Google APIs 9497e697af Synchronize new proto/yaml changes.
PiperOrigin-RevId: 247122368
2019-05-07 17:34:22 -07:00
Google APIs 07b408e7ea Synchronize new proto/yaml changes.
PiperOrigin-RevId: 242702099
2019-04-09 11:11:06 -07:00
Google APIs fd67be4b51 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 241096997
2019-03-29 20:50:32 -07:00
Google APIs 37386f1ebc Synchronize new proto/yaml changes.
PiperOrigin-RevId: 240841842
2019-03-28 13:38:42 -07:00
Google APIs 540a500e36 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 235606860
2019-02-25 14:49:23 -08:00
Google APIs c1e4972ef6 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 232765627
2019-02-06 16:01:58 -08:00
Google APIs d16dcddcb8 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 228927812
2019-01-11 12:45:24 -08:00
Google APIs b7a1d68ea3 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 222302153
2018-11-20 13:58:28 -08:00
Google APIs bab91dd4db Synchronize new proto/yaml changes.
PiperOrigin-RevId: 220858308
2018-11-09 13:48:49 -08:00
Google APIs b92c84b696 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 188513658
2018-03-09 11:35:51 -08:00
Google APIs 29ceea5759 Synchronize new proto changes. 2017-11-15 19:08:45 -08:00
Google APIs 761650c613 Synchronize new proto changes. 2017-11-07 12:06:32 -08:00
Google APIs 28616d292c Synchronize new proto changes. 2017-11-03 12:03:13 -07:00
Google APIs ff8ae4ed28 Synchronize new proto changes. 2017-10-31 06:05:57 -07:00
ethanbao 730ae385e8
Cleanup (#482)
Remove google/devtools/cloudtrace/trace.yaml that has been deprecated.
2017-10-30 13:48:52 -07:00
Google APIs 95496dc69e Synchronize new proto changes. 2017-10-27 23:07:28 -07:00
Google APIs 7b74aecb0e Synchronize new proto changes. 2017-10-26 16:04:26 -07:00
Google APIs 8578438120 Synchronize new proto changes. 2017-10-25 00:03:41 -07:00
Ernest Landrito 237b593750 Python: Change package paths (#428) 2017-08-21 14:10:38 -07:00
Garrett Jones e8de333d39 Java: Removing .spi from package names (#374) 2017-06-09 13:39:40 -07:00
Jon Skeet e6f2d2b99e Remove retry for UNAVAILABLE on non-idempotent calls
Implemented by executing the following command:

find . -name '*_gapic.yaml' | xargs perl -i -p0e 's/- name: non_idempotent\n    retry_codes:\n    - UNAVAILABLE */- name: non_idempotent\n    retry_codes: \[\]/g'
2017-06-05 09:35:47 +01:00
Jon Skeet b01f986d34 Allow a status code of UNAVAILABLE to be retried
This is applied to the `retry_codes` of every API.
It's only a change for non-idempotent methods; the idempotent
methods already included this in the list.
2017-03-01 20:43:11 +00:00
googleapis-publisher 62f3240bf7 Synchronize new proto changes. 2016-12-05 19:18:05 -08:00
Jon Skeet 79267b699f Update the C# namespaces for generated code.
The proto updates are being synced as they're merged upstream.
2016-12-05 07:52:15 +00:00
Jun Mukai 16d182803f Rename packagename pattern for nodejs.
See googleapis/toolkit#757 for why it's necessary.
2016-11-17 13:27:12 -08:00
Shin Fan 1f84929b2e Add smoke test config (#192)
Add smoke test config to following APIs:

- Language
- Speech
- Vision
- ErrorReporting
- Trace
- Logging
- Monitoring
- Pubsub
2016-11-10 15:49:24 -08:00
garrettjonesgoogle a8ce4b8b70 Adding license config to GAPIC config files (#180) 2016-10-26 11:57:51 -07:00