Skip to content

Commit

Permalink
feat: initial code generation
Browse files Browse the repository at this point in the history
  • Loading branch information
anguillanneuf committed May 24, 2021
0 parents commit f2ab73d
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 0 deletions.
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/pubsublite-flink/(v.*)/.*-java/proto-google-.*/src"
dest: "/owl-bot-staging/$1/proto-google-cloud-pubsublite-flink-$1/src"
- source: "//google/cloud/pubsublite-flink/(v.*)/.*-java/grpc-google-.*/src"
dest: "/owl-bot-staging/$1/grpc-google-cloud-pubsublite-flink-$1/src"
- source: "//google/cloud/pubsublite-flink/(v.*)/.*-java/gapic-google-.*/src"
dest: "/owl-bot-staging/$1/google-cloud-pubsublite-flink/src"
15 changes: 15 additions & 0 deletions .repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "pubsublite-flink",
"name_pretty": "Pub/Sub Lite Flink Connector",
"product_documentation": "https://cloud.google.com/pubsub/lite/docs",
"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.",
"client_documentation": "https://googleapis.dev/java/google-cloud-pubsublite-flink/latest/index.html",
"release_level": "alpha",
"transport": "grpc",
"language": "java",
"repo": "googleapis/java-pubsublite-flink",
"repo_short": "java-pubsublite-flink",
"distribution_name": "com.google.cloud:google-cloud-pubsublite-flink",
"api_id": "pubsublite-flink.googleapis.com",
"requires_billing": true
}
24 changes: 24 additions & 0 deletions owlbot.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# 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
#
# https://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.

import synthtool as s
from synthtool.languages import java


for library in s.get_staging_dirs():
# put any special-case replacements here
s.move(library)

s.remove_staging_dirs()
java.common_templates()

0 comments on commit f2ab73d

Please # to comment.