Commit Graph

53 Commits

Author SHA1 Message Date
Google APIs 690f4d6344 chore: use the latest protoc-java-resource-name-plugin in third_party/googleapis WORKSPACE.
- trace up only one level when calculating parent types with singleton resource names

PiperOrigin-RevId: 304007414
2020-03-31 11:23:49 -07:00
Google APIs 00f0a285f2 fix: Integerate gapic-generator java_gapic rules Java11 fix
PiperOrigin-RevId: 303899179
2020-03-30 23:01:10 -07:00
Google APIs f260ba248d chore: use the latest gapic-generator in googleapis WORKSPACE.
- PHP multi-pattern resource name support.
- Trace up only one level when calculating parent types with singleton resource names

PiperOrigin-RevId: 303836059
2020-03-30 15:29:45 -07:00
Google APIs 7be2811ad1 fix: Update gapic-generator version to pickup discogapic fixes
PiperOrigin-RevId: 303545940
2020-03-28 17:26:08 -07:00
Google APIs 8bea81bfa4 chore: use latest protoc-java-resource-name-plugin in bazel WORKSPACE.
new commits:
- fix: stop generating `parseList` and `toStringList` if a multi-pattern resource name has subclasses (#79)

committer: @hzyi-google
PiperOrigin-RevId: 303197602
2020-03-26 14:44:55 -07:00
Google APIs 65816afa71 bazel: update gapic-generator-go to v0.12.5 and gapic-generator hash
Changes to gapic-generator-go include:
* feat: strip invalid link references in comments
* chore: updating Go deps in bazel repositories

Changes to gapic-generator include:
* fix: bazel go build gen check for cloud in proto pkg name
* Revert "feat: allow static substitution for group name"

PiperOrigin-RevId: 303150338
2020-03-26 11:00:49 -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 c8c8c0bd15 chore: use latest gapic-generator in bazel WORKSPACE.
including the following commits from gapic-generator:
- feat: take source protos in all sub-packages (#3144)

PiperOrigin-RevId: 301843591
2020-03-19 10:25:53 -07:00
Google APIs 0e9f1f60de bazel: Use latest release of gax_java
PiperOrigin-RevId: 301480457
2020-03-17 16:44:32 -07:00
Google APIs 5d8bffe87c feat: use the latest gapic-generator in WORKSPACE for bazel build.
PiperOrigin-RevId: 300461878
2020-03-11 19:54:25 -07:00
Google APIs 7727af0e39 feat: use the latest gapic-generator and protoc-java-resource-name-plugin in googleapis/WORKSPACE.
PiperOrigin-RevId: 300188410
2020-03-10 15:15:32 -07:00
Google APIs 91e1fb5ef9 chore: update protobuf (protoc) version to 3.11.2
PiperOrigin-RevId: 299404145
2020-03-06 12:00:06 -08:00
Google APIs 6de6e938b7 chore: use the latest gapic-generator and protoc-java-resource-name-plugin in Bazel workspace.
PiperOrigin-RevId: 298474513
2020-03-02 16:21:38 -08:00
Google APIs 0b1876b35e Use an older version of protoc-docs-plugin that is compatible with the specified gapic-generator and protobuf versions.
protoc-docs-plugin >=0.4.0 (see commit 979f03ede6) is incompatible with protobuf 3.9.1.

PiperOrigin-RevId: 296986742
2020-02-24 15:29:23 -08:00
Google APIs e7d8a694f4 Depend on the latest gapic-generator and resource names plugin.
This fixes the very old an very annoying bug: https://github.com/googleapis/gapic-generator/pull/3087

PiperOrigin-RevId: 293903652
2020-02-07 15:18:00 -08:00
Google APIs 9933347c1f bazel:Integrate latest protoc-java-resource-names-plugin changes (fix for PyYAML dependency in bazel rules)
PiperOrigin-RevId: 292376626
2020-01-30 10:33:15 -08:00
Google APIs b491d07cad Revert accidental local_repository change
PiperOrigin-RevId: 292245373
2020-01-29 16:47:10 -08:00
Google APIs af3400a8cb Update gapic-generator dependency (prebuilt PHP binary support).
PiperOrigin-RevId: 292243997
2020-01-29 16:36:34 -08:00
Google APIs 42e915ec2e Update the gapic-generator, protoc-java-resource-name-plugin and protoc-docs-plugin to the latest commit.
PiperOrigin-RevId: 292182368
2020-01-29 11:25:44 -08:00
Google APIs b08714b378 fix: Integrate latest proto-docs-plugin fix.
Fixes dialogflow v2

PiperOrigin-RevId: 289189004
2020-01-10 16:39:28 -08:00
Google APIs 49dd7d856a bazel: Integrate bazel-2.0.0 compatibility fixes
PiperOrigin-RevId: 287205644
2019-12-26 11:12:40 -08:00
Google APIs 46e52fd649 bazel: Integrate bazel build file generator
To generate/update BUILD.bazel files for any particular client or a batch of clients:
```
bazel run //:build_gen -- --src=google/example/library
```

PiperOrigin-RevId: 286958627
2019-12-23 16:40:41 -08:00
Google APIs d9e328eaf7 Fix bazel build (versions 1.x)
Bump gapic-generator and resource names plugins to the latest version.

PiperOrigin-RevId: 286469287
2019-12-19 14:56:42 -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 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 822172613e Replace local_repository with http_archive in WORKSPACE
PiperOrigin-RevId: 280039052
2019-11-12 13:19:24 -08:00
Google APIs 248abde06e Integrate GAPIC Python Bazel Extensions
Also configure python build for the following clients as an example:

diaglogflow/v2
language/v1
texttospeech/v1
firestore/v1beta1
pubsub/v1

PiperOrigin-RevId: 279406526
2019-11-08 15:45:31 -08:00
Google APIs a34950f968 Fix bazel build.
Update gapic-generator and protoc-java-resource-name plugin dependencies to the latest versions.

The following clients remain broken because of bugs in gapic-generator and/or corresponding configs

google/cloud/iot/v1
google/cloud/oslogin/v1
google/spanner/admin/instance/v1
google/cloud/oslogin/v1

PiperOrigin-RevId: 279171061
2019-11-07 14:40:37 -08:00
Google APIs af8dd2c175 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 274260771
2019-10-11 15:25:04 -07:00
Google APIs 0c0bbaeb69 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 274037944
2019-10-10 14:21:31 -07:00
Google APIs 8280957865 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 266247326
2019-08-29 15:48:35 -07:00
Google APIs dbd38035c3 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 265796259
2019-08-27 16:47:25 -07:00
Google APIs 7ebb7a62ed Synchronize new proto/yaml changes.
PiperOrigin-RevId: 264871816
2019-08-22 10:54:35 -07:00
Google APIs 82c3abe8f7 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 263652726
2019-08-15 15:18:24 -07:00
Google APIs 7e56e8d4fe Synchronize new proto/yaml changes.
PiperOrigin-RevId: 262242585
2019-08-07 16:44:27 -07:00
Google APIs 1b1ef1ca14 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 261214002
2019-08-01 15:50:03 -07:00
Google APIs 45e125f9e3 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 254026509
2019-06-19 10:44:51 -07:00
Google APIs a9a85bc86b Synchronize new proto/yaml changes.
PiperOrigin-RevId: 253097146
2019-06-13 13:46:20 -07:00
Google APIs a12347ec47 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 252108410
2019-06-07 13:31:27 -07:00
Google APIs c6399efb29 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 250290070
2019-05-28 08:49:54 -07:00
Google APIs c39b7e880e Synchronize new proto/yaml changes.
PiperOrigin-RevId: 249885941
2019-05-24 13:08:26 -07:00
Google APIs 0537189470 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 249742806
2019-05-23 17:00:03 -07:00
Google APIs 6ea045ad2e Synchronize new proto/yaml changes.
PiperOrigin-RevId: 249345152
2019-05-21 16:07:26 -07:00
Google APIs 3debfc0798 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 248402926
2019-05-15 14:16:31 -07:00
michaelbausor 9855995ff9
Bump gapic-generator version (#547) 2019-04-25 11:36:28 -07:00
Google APIs 25cbfd4a53 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 245137805
2019-04-24 16:16:24 -07:00
Google APIs 4d96a08055 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 237832350
2019-03-11 10:39:40 -07:00
Google APIs 96cb68536c Synchronize new proto/yaml changes.
PiperOrigin-RevId: 234655328
2019-02-19 12:49:28 -08:00
Google APIs c1e4972ef6 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 232765627
2019-02-06 16:01:58 -08:00
Google APIs 65ee9650f3 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 218198463
2018-10-22 11:09:48 -07:00