Commit graph

65 commits

Author SHA1 Message Date
Google APIs
b59fdf334d chore: migrate KMS to the Java microgenerator
Committer: @miraleung
PiperOrigin-RevId: 375588753
2021-05-24 16:56:30 -07:00
Google APIs
81e3025195 feat: Add maxAttempts to retry policy for KMS gRPC service config
feat: Add Bazel exports_files entry for KMS gRPC service config

PiperOrigin-RevId: 362932396
2021-03-15 07:06:40 -07:00
Google APIs
959b0bcea3 feat: Update the ruby_cloud_gapic_library rules for the libraries published to google-cloud-ruby to the form that works with build_gen (separate parameters for ruby_cloud_title and ruby_cloud_description).
chore: Update Bazel-Ruby rules version.
chore: Update build_gen version.

PiperOrigin-RevId: 358357761
2021-02-19 01:21:43 -08:00
Google APIs
3f914b89ae fix: do not retry on 13 INTERNAL
Fixes https://github.com/googleapis/nodejs-kms/issues/375. The malformed request triggers `13 INTERNAL` from gRPC and we should not silently retry on this code.
Committer: @alexander-fenster

PiperOrigin-RevId: 357022763
2021-02-11 11:40:06 -08:00
Google APIs
61ab0348bd feat: Migrate the Bazel rules for the libraries published to google-cloud-ruby to use the gapic-generator-ruby instead of the monolith generator.
PiperOrigin-RevId: 352069361
2021-01-15 13:09:14 -08:00
Google APIs
f1b2cc9c37 chore: un-migrate kms from the Java microgenerator to the monolith
Committer: @miraleung
PiperOrigin-RevId: 351867503
2021-01-14 13:38:47 -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
85a5954183 chore: migrate kms to the Java microgenerator
Committer: @miraleung
PiperOrigin-RevId: 346440719
2020-12-08 16:58:15 -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
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
b40e4533f8 Add client integrity verification fields to the KMS protos
PiperOrigin-RevId: 326100874
2020-08-11 14:23:12 -07:00
Google APIs
5d0eacc7ba chore: upgrade to gapic-generator-python v0.29.0
Also enables the 'add-iam-method' option for KMS and Pub/Sub.

https://github.com/googleapis/gapic-generator-python/releases/tag/v0.29.0

PiperOrigin-RevId: 322659285
2020-07-22 14:44:55 -07:00
Google APIs
3b634f6060 build: drop Artman config
PiperOrigin-RevId: 321028717
2020-07-13 14:02:36 -07:00
Google APIs
d13e2da372 build: move gapic-generator-typescript parameters to BUILD.bazel files.
PiperOrigin-RevId: 318386808
2020-06-25 18:07:32 -07:00
Google APIs
5824c4db2d chore: identify php targets using legacy config
PiperOrigin-RevId: 318081240
2020-06-24 09:41:18 -07:00
Google APIs
dfacde6f19 fix: migrate kms/v1 to grpc_service_config
PiperOrigin-RevId: 315978777
2020-06-11 14:31:07 -07:00
Google APIs
ef180e07d3 docs: change relative URLs to absolute URLs to fix broken links.
PiperOrigin-RevId: 314805551
2020-06-04 14:36:57 -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
c09ec5156d Use legacy gapic config for select PHP library generation
PiperOrigin-RevId: 307086169
2020-04-17 11:55:02 -07:00
Google APIs
ff74d47d47 fix: PHP-related fixes in BUILD.bazel and service.yamls
This PR also adds the rules for all 7 langauges in OsLogin and Kms BUILD.bazel files. Those build files were missing rules for 5 langagues, including PHP.

This PR is the prerequisite for migrating PHP synth.py scripts from artman to bazel.

The fixes in service.yaml fix regression made during proto annotation migration. This became visible only during PHP generation, because only PHP depends on the affected sections of the service.yaml config.

PiperOrigin-RevId: 305108224
2020-04-06 13:46:40 -07:00
Google APIs
a005f045a3 Add support for Cloud EKM to the Cloud KMS service and resource protos.
PiperOrigin-RevId: 305026790
2020-04-06 07:47:23 -07:00
Google APIs
d4aa417ed2 Fix incorrect retry config in gapic v2 for kms.
PiperOrigin-RevId: 303010132
2020-03-25 17:48:07 -07:00
Google APIs
0341fa3fc2 Turn on gapic config v2 for kms.
Committer: @hzyi-google
PiperOrigin-RevId: 302980301
2020-03-25 15:12:09 -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
365c029b8c Add CC targets to the kms protos.
These are needed by go/tink.

PiperOrigin-RevId: 300038469
2020-03-10 01:35:00 -07:00
Google APIs
de28752440 Fix: Reinstate method signatures that had been missed off some RPCs
Fix: Correct resource types for two fields

PiperOrigin-RevId: 296435091
2020-02-21 07:59:20 -08:00
Google APIs
63796fcbb0 Fix: Remove extraneous resource definition for cloudkms.googleapis.com/CryptoKey.
PiperOrigin-RevId: 294176658
2020-02-10 02:16:08 -08:00
Google APIs
3c39a1d6e2 KMS: add file-level message for CryptoKeyPath, it is defined in gapic yaml but not
in proto files.

PiperOrigin-RevId: 291420695
2020-01-24 12:28:04 -08:00
Google APIs
4543762b23 Fix Bazel build
billing/v1 and dialogflow/v2 remain broken (not bazel-related issues).
Billing has wrong configuration, dialogflow failure is caused by a bug in documentation plugin.

PiperOrigin-RevId: 289140194
2020-01-10 12:18:27 -08:00
Google APIs
dc250ffe07 Fix: Remove incorrect resource annotations in requests
PiperOrigin-RevId: 288321208
2020-01-06 10:03:20 -08:00
Google APIs
91ef2d9dd6 Add GAPIC annotations to Cloud KMS (but do not migrate the GAPIC config yet).
Committer: @lukesneeringer
PiperOrigin-RevId: 287999179
2020-01-03 08:55:27 -08:00
Google APIs
da0edeeef9 feat: publish several retry config files for client generation
PiperOrigin-RevId: 283614497
2019-12-03 13:50:12 -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
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
9427411e6e Synchronize new proto/yaml changes.
PiperOrigin-RevId: 263195607
2019-08-13 12:54:14 -07:00
Google APIs
7b58b37559 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 253322136
2019-06-14 16:55:51 -07:00
Google APIs
afa7c03170 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 253272509
2019-06-14 12:09:00 -07:00
Google APIs
d1dec550a5 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 253272095
2019-06-14 12:06:45 -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
d003fe3473 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 243632556
2019-04-15 09:43:52 -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
84b79e56be Synchronize new proto/yaml changes.
PiperOrigin-RevId: 237621506
2019-03-09 12:04:49 -08:00