Skip to content

Commit f2ab73d

Browse files
committed
feat: initial code generation
0 parents  commit f2ab73d

File tree

3 files changed

+68
-0
lines changed

3 files changed

+68
-0
lines changed

.github/.OwlBot.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Copyright 2021 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
docker:
16+
image: "gcr.io/repo-automation-bots/owlbot-java:latest"
17+
18+
deep-remove-regex:
19+
- "/grpc-google-.*/src"
20+
- "/proto-google-.*/src"
21+
- "/google-.*/src"
22+
23+
deep-copy-regex:
24+
- source: "//google/cloud/pubsublite-flink/(v.*)/.*-java/proto-google-.*/src"
25+
dest: "/owl-bot-staging/$1/proto-google-cloud-pubsublite-flink-$1/src"
26+
- source: "//google/cloud/pubsublite-flink/(v.*)/.*-java/grpc-google-.*/src"
27+
dest: "/owl-bot-staging/$1/grpc-google-cloud-pubsublite-flink-$1/src"
28+
- source: "//google/cloud/pubsublite-flink/(v.*)/.*-java/gapic-google-.*/src"
29+
dest: "/owl-bot-staging/$1/google-cloud-pubsublite-flink/src"

.repo-metadata.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "pubsublite-flink",
3+
"name_pretty": "Pub/Sub Lite Flink Connector",
4+
"product_documentation": "https://cloud.google.com/pubsub/lite/docs",
5+
"api_description": "Pub/Sub Lite is a zonal, real-time messaging service that lets you send and receive messages between independent applications. You can manually configure the throughput and storage capacity for Pub/Sub Lite systems.",
6+
"client_documentation": "https://googleapis.dev/java/google-cloud-pubsublite-flink/latest/index.html",
7+
"release_level": "alpha",
8+
"transport": "grpc",
9+
"language": "java",
10+
"repo": "googleapis/java-pubsublite-flink",
11+
"repo_short": "java-pubsublite-flink",
12+
"distribution_name": "com.google.cloud:google-cloud-pubsublite-flink",
13+
"api_id": "pubsublite-flink.googleapis.com",
14+
"requires_billing": true
15+
}

owlbot.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Copyright 2021 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# https://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
import synthtool as s
16+
from synthtool.languages import java
17+
18+
19+
for library in s.get_staging_dirs():
20+
# put any special-case replacements here
21+
s.move(library)
22+
23+
s.remove_staging_dirs()
24+
java.common_templates()

0 commit comments

Comments
 (0)