Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
feat: v1 client generation (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
Neenu1995 committed Apr 29, 2021
1 parent 563e22b commit 9619ec1
Show file tree
Hide file tree
Showing 43 changed files with 17,447 additions and 42 deletions.
3 changes: 3 additions & 0 deletions .github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
docker:
digest: sha256:984b2b7b8d75fa16ff0e0b3dcdd1e86561b44e8eac23f7a1378db3d339f11333
image: gcr.io/repo-automation-bots/owlbot-java:latest
29 changes: 29 additions & 0 deletions .github/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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-copy-regex:
- source: "/google/cloud/workflows/(v.*)/.*-java/proto-google-.*/src"
dest: "/owl-bot-staging/$1/proto-google-cloud-workflows-$1/src"
- source: "/google/cloud/workflows/(v.*)/.*-java/grpc-google-.*/src"
dest: "/owl-bot-staging/$1/grpc-google-cloud-workflows-$1/src"
- source: "/google/cloud/workflows/(v.*)/.*-java/gapic-google-.*/src"
dest: "/owl-bot-staging/$1/google-cloud-workflows/src"
19 changes: 14 additions & 5 deletions google-cloud-workflows-bom/pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<?xml version='1.0' encoding='UTF-8'?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
Expand Down Expand Up @@ -64,21 +64,30 @@

<dependencyManagement>
<dependencies>

<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-workflows</artifactId>
<version>0.3.2-SNAPSHOT</version><!-- {x-version-update:google-cloud-workflows:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-workflows-v1beta</artifactId>
<version>0.3.2-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-workflows-v1beta:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-workflows-v1</artifactId>
<version>0.3.2-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-workflows-v1:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-workflows-v1beta</artifactId>
<version>0.3.2-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-workflows-v1beta:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-workflows-v1beta</artifactId>
<version>0.3.2-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-workflows-v1beta:current} -->
<artifactId>proto-google-cloud-workflows-v1</artifactId>
<version>0.3.2-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-workflows-v1:current} -->
</dependency>
</dependencies>
</dependencyManagement>
Expand All @@ -94,4 +103,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
13 changes: 11 additions & 2 deletions google-cloud-workflows/pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<?xml version='1.0' encoding='UTF-8'?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
Expand Down Expand Up @@ -42,6 +42,10 @@
<artifactId>proto-google-common-protos</artifactId>
</dependency>

<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-workflows-v1</artifactId>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-workflows-v1beta</artifactId>
Expand Down Expand Up @@ -76,6 +80,11 @@
<artifactId>grpc-google-cloud-workflows-v1beta</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-workflows-v1</artifactId>
<scope>test</scope>
</dependency>
<!-- Need testing utility classes for generated gRPC clients tests -->
<dependency>
<groupId>com.google.api</groupId>
Expand Down Expand Up @@ -108,4 +117,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
Loading

0 comments on commit 9619ec1

Please sign in to comment.