Skip to content
Permalink
Browse files
feat: initial generation
  • Loading branch information
Neenu1995 committed Jul 2, 2021
0 parents commit ed34caa8935c5222401fa6a80caad4ac0ede981c
Showing with 79,038 additions and 0 deletions.
  1. +3 −0 .github/.OwlBot.lock.yaml
  2. +32 −0 .github/.OwlBot.yaml
  3. +10 −0 .github/CODEOWNERS
  4. +51 −0 .github/ISSUE_TEMPLATE/bug_report.md
  5. +21 −0 .github/ISSUE_TEMPLATE/feature_request.md
  6. +7 −0 .github/ISSUE_TEMPLATE/support_request.md
  7. +7 −0 .github/PULL_REQUEST_TEMPLATE.md
  8. +7 −0 .github/blunderbuss.yml
  9. +12 −0 .github/generated-files-bot.yml
  10. +19 −0 .github/readme/synth.py
  11. +3 −0 .github/release-please.yml
  12. 0 .github/snippet-bot.yml
  13. +49 −0 .github/sync-repo-settings.yaml
  14. +2 −0 .github/trusted-contribution.yml
  15. +54 −0 .github/workflows/approve-readme.yaml
  16. +88 −0 .github/workflows/auto-release.yaml
  17. +79 −0 .github/workflows/ci.yaml
  18. +14 −0 .github/workflows/samples.yaml
  19. +17 −0 .gitignore
  20. +3 −0 .kokoro/build.bat
  21. +125 −0 .kokoro/build.sh
  22. +37 −0 .kokoro/coerce_logs.sh
  23. +13 −0 .kokoro/common.cfg
  24. +58 −0 .kokoro/common.sh
  25. +25 −0 .kokoro/continuous/common.cfg
  26. +12 −0 .kokoro/continuous/java8.cfg
  27. +55 −0 .kokoro/continuous/readme.cfg
  28. +91 −0 .kokoro/dependencies.sh
  29. +25 −0 .kokoro/nightly/common.cfg
  30. +37 −0 .kokoro/nightly/integration.cfg
  31. +7 −0 .kokoro/nightly/java11.cfg
  32. +7 −0 .kokoro/nightly/java7.cfg
  33. +3 −0 .kokoro/nightly/java8-osx.cfg
  34. +3 −0 .kokoro/nightly/java8-win.cfg
  35. +12 −0 .kokoro/nightly/java8.cfg
  36. +38 −0 .kokoro/nightly/samples.cfg
  37. +43 −0 .kokoro/populate-secrets.sh
  38. +13 −0 .kokoro/presubmit/clirr.cfg
  39. +34 −0 .kokoro/presubmit/common.cfg
  40. +12 −0 .kokoro/presubmit/dependencies.cfg
  41. +33 −0 .kokoro/presubmit/integration.cfg
  42. +7 −0 .kokoro/presubmit/java11.cfg
  43. +7 −0 .kokoro/presubmit/java7.cfg
  44. +3 −0 .kokoro/presubmit/java8-osx.cfg
  45. +3 −0 .kokoro/presubmit/java8-win.cfg
  46. +12 −0 .kokoro/presubmit/java8.cfg
  47. +12 −0 .kokoro/presubmit/linkage-monitor.cfg
  48. +13 −0 .kokoro/presubmit/lint.cfg
  49. +33 −0 .kokoro/presubmit/samples.cfg
  50. +45 −0 .kokoro/readme.sh
  51. +53 −0 .kokoro/release/bump_snapshot.cfg
  52. +49 −0 .kokoro/release/common.cfg
  53. +50 −0 .kokoro/release/common.sh
  54. +6 −0 .kokoro/release/drop.cfg
  55. +32 −0 .kokoro/release/drop.sh
  56. +6 −0 .kokoro/release/promote.cfg
  57. +34 −0 .kokoro/release/promote.sh
  58. +23 −0 .kokoro/release/publish_javadoc.cfg
  59. +53 −0 .kokoro/release/publish_javadoc.sh
  60. +30 −0 .kokoro/release/publish_javadoc11.cfg
  61. +67 −0 .kokoro/release/publish_javadoc11.sh
  62. +6 −0 .kokoro/release/snapshot.cfg
  63. +33 −0 .kokoro/release/snapshot.sh
  64. +19 −0 .kokoro/release/stage.cfg
  65. +45 −0 .kokoro/release/stage.sh
  66. +26 −0 .kokoro/trampoline.sh
  67. +16 −0 .repo-metadata.json
  68. +94 −0 CODE_OF_CONDUCT.md
  69. +139 −0 CONTRIBUTING.md
  70. +201 −0 LICENSE
  71. +7 −0 SECURITY.md
  72. +4 −0 codecov.yaml
  73. +95 −0 google-cloud-data-fusion-bom/pom.xml
  74. +120 −0 google-cloud-data-fusion/pom.xml
  75. +975 −0 google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionClient.java
  76. +306 −0 google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/DataFusionSettings.java
  77. +39 −0 google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/gapic_metadata.json
  78. +37 −0 google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/package-info.java
  79. +116 −0 google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStub.java
  80. +752 −0 ...e-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/DataFusionStubSettings.java
  81. +113 −0 ...-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionCallableFactory.java
  82. +452 −0 google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/GrpcDataFusionStub.java
  83. +1,665 −0 google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionClient.java
  84. +394 −0 google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionSettings.java
  85. +57 −0 google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/gapic_metadata.json
  86. +37 −0 google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/package-info.java
  87. +171 −0 google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStub.java
  88. +1,083 −0 ...ud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/DataFusionStubSettings.java
  89. +115 −0 ...-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionCallableFactory.java
  90. +708 −0 ...-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/GrpcDataFusionStub.java
  91. +522 −0 google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/DataFusionClientTest.java
  92. +59 −0 google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/MockDataFusion.java
  93. +208 −0 google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1/MockDataFusionImpl.java
  94. +879 −0 google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/DataFusionClientTest.java
  95. +59 −0 google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/MockDataFusion.java
  96. +334 −0 google-cloud-data-fusion/src/test/java/com/google/cloud/datafusion/v1beta1/MockDataFusionImpl.java
  97. +69 −0 grpc-google-cloud-data-fusion-v1/pom.xml
  98. +1,061 −0 grpc-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DataFusionGrpc.java
  99. +69 −0 grpc-google-cloud-data-fusion-v1beta1/pom.xml
  100. +1,806 −0 ...e-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DataFusionGrpc.java
  101. +15 −0 java.header
  102. +10 −0 license-checks.xml
  103. +24 −0 owlbot.py
  104. +200 −0 pom.xml
  105. +19 −0 proto-google-cloud-data-fusion-v1/clirr-ignored-differences.xml
  106. +46 −0 proto-google-cloud-data-fusion-v1/pom.xml
  107. +1,135 −0 proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Accelerator.java
  108. +75 −0 ...oogle-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/AcceleratorOrBuilder.java
  109. +1,099 −0 ...ogle-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequest.java
  110. +112 −0 ...d-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CreateInstanceRequestOrBuilder.java
  111. +650 −0 proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfig.java
  112. +54 −0 ...e-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/CryptoKeyConfigOrBuilder.java
  113. +456 −0 proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Datafusion.java
  114. +643 −0 ...ogle-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DeleteInstanceRequest.java
  115. +52 −0 ...d-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/DeleteInstanceRequestOrBuilder.java
  116. +643 −0 ...-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequest.java
  117. +52 −0 ...loud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/GetInstanceRequestOrBuilder.java
  118. +6,891 −0 proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Instance.java
  119. +223 −0 proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceName.java
  120. +868 −0 ...o-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/InstanceOrBuilder.java
  121. +1,018 −0 ...oud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequest.java
  122. +107 −0 ...fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsRequestOrBuilder.java
  123. +1,147 −0 ...ud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponse.java
  124. +104 −0 ...usion-v1/src/main/java/com/google/cloud/datafusion/v1/ListAvailableVersionsResponseOrBuilder.java
  125. +1,291 −0 ...oogle-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequest.java
  126. +146 −0 ...ud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesRequestOrBuilder.java
  127. +1,411 −0 ...ogle-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponse.java
  128. +155 −0 ...d-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/ListInstancesResponseOrBuilder.java
  129. +858 −0 proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfig.java
  130. +85 −0 ...gle-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/NetworkConfigOrBuilder.java
  131. +2,189 −0 ...o-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadata.java
  132. +282 −0 ...cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/OperationMetadataOrBuilder.java
  133. +644 −0 ...gle-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequest.java
  134. +52 −0 ...-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/RestartInstanceRequestOrBuilder.java
  135. +1,073 −0 ...ogle-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequest.java
  136. +116 −0 ...d-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/UpdateInstanceRequestOrBuilder.java
  137. +1,005 −0 proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/Version.java
  138. +114 −0 proto-google-cloud-data-fusion-v1/src/main/java/com/google/cloud/datafusion/v1/VersionOrBuilder.java
  139. +519 −0 proto-google-cloud-data-fusion-v1/src/main/proto/google/cloud/datafusion/v1/datafusion.proto
  140. +19 −0 proto-google-cloud-data-fusion-v1beta1/clirr-ignored-differences.xml
  141. +46 −0 proto-google-cloud-data-fusion-v1beta1/pom.xml
  142. +784 −0 ...ogle-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Accelerator.java
  143. +50 −0 ...d-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AcceleratorOrBuilder.java
  144. +915 −0 ...d-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequest.java
  145. +85 −0 ...sion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringRequestOrBuilder.java
  146. +457 −0 ...-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponse.java
  147. +24 −0 ...ion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/AddDnsPeeringResponseOrBuilder.java
  148. +1,101 −0 ...-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequest.java
  149. +112 −0 ...ion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CreateInstanceRequestOrBuilder.java
  150. +652 −0 ...-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfig.java
  151. +54 −0 ...ta-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/CryptoKeyConfigOrBuilder.java
  152. +644 −0 ...-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequest.java
  153. +52 −0 ...ion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DeleteInstanceRequestOrBuilder.java
  154. +1,352 −0 ...oogle-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeering.java
  155. +150 −0 ...ud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/DnsPeeringOrBuilder.java
  156. +644 −0 ...oud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequest.java
  157. +52 −0 ...fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/GetInstanceRequestOrBuilder.java
  158. +994 −0 ...google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicy.java
  159. +98 −0 ...oud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/IAMPolicyOrBuilder.java
  160. +6,914 −0 ...-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Instance.java
  161. +223 −0 ...gle-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceName.java
  162. +868 −0 ...loud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/InstanceOrBuilder.java
  163. +1,025 −0 ...usion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequest.java
  164. +107 −0 ...eta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsRequestOrBuilder.java
  165. +1,159 −0 ...sion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponse.java
  166. +104 −0 ...ta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListAvailableVersionsResponseOrBuilder.java
  167. +927 −0 ...data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequest.java
  168. +94 −0 ...on-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsRequestOrBuilder.java
  169. +1,141 −0 ...ata-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponse.java
  170. +104 −0 ...n-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListDnsPeeringsResponseOrBuilder.java
  171. +1,292 −0 ...d-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequest.java
  172. +146 −0 ...sion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesRequestOrBuilder.java
  173. +1,415 −0 ...-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponse.java
  174. +155 −0 ...ion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListInstancesResponseOrBuilder.java
  175. +1,104 −0 ...-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequest.java
  176. +125 −0 ...ion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesRequestOrBuilder.java
  177. +1,140 −0 ...data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponse.java
  178. +104 −0 ...on-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/ListNamespacesResponseOrBuilder.java
  179. +912 −0 ...google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Namespace.java
  180. +261 −0 ...le-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceName.java
  181. +85 −0 ...oud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceOrBuilder.java
  182. +176 −0 ...le-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NamespaceView.java
  183. +860 −0 ...le-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfig.java
  184. +85 −0 ...data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/NetworkConfigOrBuilder.java
  185. +1,820 −0 ...loud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadata.java
  186. +212 −0 ...-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/OperationMetadataOrBuilder.java
  187. +816 −0 ...ata-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequest.java
  188. +75 −0 ...n-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringRequestOrBuilder.java
  189. +460 −0 ...ta-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponse.java
  190. +24 −0 ...-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveDnsPeeringResponseOrBuilder.java
  191. +637 −0 ...data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequest.java
  192. +50 −0 ...on-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyRequestOrBuilder.java
  193. +457 −0 ...ata-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponse.java
  194. +24 −0 ...n-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RemoveIamPolicyResponseOrBuilder.java
  195. +644 −0 ...data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequest.java
  196. +52 −0 ...on-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/RestartInstanceRequestOrBuilder.java
  197. +1,095 −0 ...-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequest.java
  198. +116 −0 ...ion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpdateInstanceRequestOrBuilder.java
  199. +660 −0 ...data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequest.java
  200. +56 −0 ...on-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/UpgradeInstanceRequestOrBuilder.java
  201. +675 −0 ...o-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/V1Beta1.java
  202. +1,004 −0 ...o-google-cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/Version.java
  203. +114 −0 ...cloud-data-fusion-v1beta1/src/main/java/com/google/cloud/datafusion/v1beta1/VersionOrBuilder.java
  204. +712 −0 proto-google-cloud-data-fusion-v1beta1/src/main/proto/google/cloud/datafusion/v1beta1/v1beta1.proto
  205. +73 −0 renovate.json
  206. +84 −0 samples/install-without-bom/pom.xml
  207. +56 −0 samples/pom.xml
  208. +83 −0 samples/snapshot/pom.xml
  209. +47 −0 samples/snippets/pom.xml
  210. +8 −0 versions.txt
@@ -0,0 +1,3 @@
docker:
digest: sha256:a9b83a276c82987d284b733713fe86a3c8a2cc457933767eeb2688b882e54c6a
image: gcr.io/repo-automation-bots/owlbot-java:latest
@@ -0,0 +1,32 @@
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

docker:
image: "gcr.io/repo-automation-bots/owlbot-java:latest"

deep-remove-regex:
- "/grpc-google-.*/src"
- "/proto-google-.*/src"
- "/google-.*/src"

deep-preserve-regex:
- "/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java"

deep-copy-regex:
- source: "/google/cloud/datafusion/(v.*)/.*-java/proto-google-.*/src"
dest: "/owl-bot-staging/$1/proto-google-cloud-data-fusion-$1/src"
- source: "/google/cloud/datafusion/(v.*)/.*-java/grpc-google-.*/src"
dest: "/owl-bot-staging/$1/grpc-google-cloud-data-fusion-$1/src"
- source: "/google/cloud/datafusion/(v.*)/.*-java/gapic-google-.*/src"
dest: "/owl-bot-staging/$1/google-cloud-data-fusion/src"
Validating CODEOWNERS rules …
@@ -0,0 +1,10 @@
# Code owners file.
# This file controls who is tagged for review for any given pull request.

# For syntax help see:
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax

* @googleapis/yoshi-java

# The java-samples-reviewers team is the default owner for samples changes
samples/**/*.java @googleapis/java-samples-reviewers
@@ -0,0 +1,51 @@
---
name: Bug report
about: Create a report to help us improve

---

Thanks for stopping by to let us know something could be better!

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.

Please run down the following list and make sure you've tried the usual "quick fixes":

- Search the issues already opened: https://github.com/googleapis/java-data-fusion/issues
- Check for answers on StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform

If you are still having issues, please include as much information as possible:

#### Environment details

1. Specify the API at the beginning of the title. For example, "BigQuery: ...").
General, Core, and Other are also allowed as types
2. OS type and version:
3. Java version:
4. data-fusion version(s):

#### Steps to reproduce

1. ?
2. ?

#### Code example

```java
// example
```

#### Stack trace
```
Any relevant stacktrace here.
```

#### External references such as API reference guides

- ?

#### Any additional information below


Following these steps guarantees the quickest resolution possible.

Thanks!
@@ -0,0 +1,21 @@
---
name: Feature request
about: Suggest an idea for this library

---

Thanks for stopping by to let us know something could be better!

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.

**Is your feature request related to a problem? Please describe.**
What the problem is. Example: I'm always frustrated when [...]

**Describe the solution you'd like**
What you want to happen.

**Describe alternatives you've considered**
Any alternative solutions or features you've considered.

**Additional context**
Any other context or screenshots about the feature request.
@@ -0,0 +1,7 @@
---
name: Support request
about: If you have a support contract with Google, please create an issue in the Google Cloud Support console.

---

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.
@@ -0,0 +1,7 @@
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-data-fusion/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> ☕️
@@ -0,0 +1,7 @@
# Configuration for the Blunderbuss GitHub app. For more info see
# https://github.com/googleapis/repo-automation-bots/tree/master/packages/blunderbuss
assign_prs_by:
- labels:
- samples
to:
- googleapis/java-samples-reviewers
@@ -0,0 +1,12 @@
externalManifests:
- type: json
file: 'synth.metadata'
jsonpath: '$.generatedFiles[*]'
- type: json
file: '.github/readme/synth.metadata/synth.metadata'
jsonpath: '$.generatedFiles[*]'
ignoreAuthors:
- 'renovate-bot'
- 'yoshi-automation'
- 'release-please[bot]'
- 'gcf-owl-bot[bot]'
@@ -0,0 +1,19 @@
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""This script is used to synthesize generated the README for this library."""

from synthtool.languages import java

java.custom_templates(["java_library/README.md"])
@@ -0,0 +1,3 @@
bumpMinorPreMajor: true
handleGHRelease: true
releaseType: java-yoshi
Empty file.
@@ -0,0 +1,49 @@

# Whether or not rebase-merging is enabled on this repository.
# Defaults to `true`
rebaseMergeAllowed: false

# Whether or not squash-merging is enabled on this repository.
# Defaults to `true`
squashMergeAllowed: true

# Whether or not PRs are merged with a merge commit on this repository.
# Defaults to `false`
mergeCommitAllowed: false

# Rules for master branch protection
branchProtectionRules:
# Identifies the protection rule pattern. Name of the branch to be protected.
# Defaults to `master`
- pattern: master
# Can admins overwrite branch protection.
# Defaults to `true`
isAdminEnforced: true
# Number of approving reviews required to update matching branches.
# Defaults to `1`
requiredApprovingReviewCount: 1
# Are reviews from code owners required to update matching branches.
# Defaults to `false`
requiresCodeOwnerReviews: true
# Require up to date branches
requiresStrictStatusChecks: false
# List of required status check contexts that must pass for commits to be accepted to matching branches.
requiredStatusCheckContexts:
- "dependencies (8)"
- "dependencies (11)"
- "linkage-monitor"
- "lint"
- "clirr"
- "units (7)"
- "units (8)"
- "units (11)"
- "Kokoro - Test: Integration"
- "cla/google"
# List of explicit permissions to add (additive only)
permissionRules:
- team: yoshi-admins
permission: admin
- team: yoshi-java-admins
permission: admin
- team: yoshi-java
permission: push
@@ -0,0 +1,2 @@
trustedContributors:
- renovate-bot
@@ -0,0 +1,54 @@
on:
pull_request:
name: auto-merge-readme
jobs:
approve:
runs-on: ubuntu-latest
if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme'
steps:
- uses: actions/github-script@v3
with:
github-token: ${{secrets.YOSHI_APPROVER_TOKEN}}
script: |
// only approve PRs from yoshi-automation
if (context.payload.pull_request.user.login !== "yoshi-automation") {
return;
}
// only approve PRs like "chore: release <release version>"
if (!context.payload.pull_request.title === "chore: regenerate README") {
return;
}
// only approve PRs with README.md and synth.metadata changes
const files = new Set(
(
await github.paginate(
github.pulls.listFiles.endpoint({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.payload.pull_request.number,
})
)
).map(file => file.filename)
);
if (files.size != 2 || !files.has("README.md") || !files.has(".github/readme/synth.metadata/synth.metadata")) {
return;
}
// approve README regeneration PR
await github.pulls.createReview({
owner: context.repo.owner,
repo: context.repo.repo,
body: 'Rubber stamped PR!',
pull_number: context.payload.pull_request.number,
event: 'APPROVE'
});
// attach automerge label
await github.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.pull_request.number,
labels: ['automerge']
});
@@ -0,0 +1,88 @@
on:
pull_request:
name: auto-release
jobs:
approve:
runs-on: ubuntu-latest
if: contains(github.head_ref, 'release-please')
steps:
- uses: actions/github-script@v3
with:
github-token: ${{secrets.YOSHI_APPROVER_TOKEN}}
debug: true
script: |
// only approve PRs from release-please[bot]
if (context.payload.pull_request.user.login !== "release-please[bot]") {
return;
}
// only approve PRs like "chore: release <release version>"
if ( !context.payload.pull_request.title.startsWith("chore: release") ) {
return;
}
// only approve PRs with pom.xml and versions.txt changes
const filesPromise = github.pulls.listFiles.endpoint({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.payload.pull_request.number,
});
const changed_files = await github.paginate(filesPromise)
if ( changed_files.length < 1 ) {
console.log( "Not proceeding since PR is empty!" )
return;
}
if ( !changed_files.some(v => v.filename.includes("pom")) || !changed_files.some(v => v.filename.includes("versions.txt")) ) {
console.log( "PR file changes do not have pom.xml or versions.txt -- something is wrong. PTAL!" )
return;
}
// trigger auto-release when
// 1) it is a SNAPSHOT release (auto-generated post regular release)
// 2) there are dependency updates only
// 3) there are no open dependency update PRs in this repo (to avoid multiple releases)
if (
context.payload.pull_request.body.includes("Fix") ||
context.payload.pull_request.body.includes("Build") ||
context.payload.pull_request.body.includes("Documentation") ||
context.payload.pull_request.body.includes("BREAKING CHANGES") ||
context.payload.pull_request.body.includes("Features")
) {
console.log( "Not auto-releasing since it is not a dependency-update-only release." );
return;
}
const promise = github.pulls.list.endpoint({
owner: context.repo.owner,
repo: context.repo.repo,
state: 'open'
});
const open_pulls = await github.paginate(promise)
if ( open_pulls.length > 1 && !context.payload.pull_request.title.includes("SNAPSHOT") ) {
for ( const pull of open_pulls ) {
if ( pull.title.startsWith("deps: update dependency") ) {
console.log( "Not auto-releasing yet since there are dependency update PRs open in this repo." );
return;
}
}
}
// approve release PR
await github.pulls.createReview({
owner: context.repo.owner,
repo: context.repo.repo,
body: 'Rubber stamped release!',
pull_number: context.payload.pull_request.number,
event: 'APPROVE'
});
// attach kokoro:force-run and automerge labels
await github.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.pull_request.number,
labels: ['kokoro:force-run', 'automerge']
});

0 comments on commit ed34caa

Please sign in to comment.