Skip to content

Commit a4dad8e

Browse files
majoloHelcaraxan
authored andcommitted
Beta deployment APIs (#49)
* update hash * update script * regen * update build * generate * fix examples * config * add assembly * fix replicate state * address Seb's comments
1 parent cc4972f commit a4dad8e

File tree

11 files changed

+8280
-99
lines changed

11 files changed

+8280
-99
lines changed

WORKSPACE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ git_repository(
5959

6060
git_repository(
6161
name = "improbable_platform",
62-
commit = "6c58483a01ae53c8e515e40906106a473b35411b",
62+
commit = "e76746e8d4fe6078cdd25bc8bf720fbb3965a1c5",
6363
remote = "git@github.com:improbable/platform.git",
6464
# Hello! Are you updating the commit of the platform repo dependency? This comment is for you!
6565
# The "shallow_since" field must be set to the day *before* the day of the commit. You can run
6666
# the following script inside the *platform* repo to determine the value you should put in the
6767
# "shallow_since" field based on the commit (replace <commit> with the actual commit hash):
6868
# $ date --date="$(git show --pretty=format:'%cD' <commit> | head --lines=1)-1 day" "+%F"
69-
shallow_since = "2019-09-17",
69+
shallow_since = "2019-09-18",
7070
# TODO(WRK-944): Due to the use by this repository of an older Bazel version we need to apply a
7171
# patch to the imported version of the Platform repository to maintain
7272
# compatibility.

apis/deployment_v1beta1/BUILD

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
package(default_visibility = ["//visibility:public"])
2+
3+
load("//apis:rules.bzl", "gapic_generator_codegen")
4+
5+
gapic_generator_codegen(
6+
name = "gapic",
7+
outs = [
8+
"deployment_gapicout/Improbable.SpatialOS.Deployment.V1Beta1/Improbable.SpatialOS.Deployment.V1Beta1/DeploymentServiceClient.cs"
9+
],
10+
descriptor_set = "//apis:platform_api_descriptor_set",
11+
gapic_yaml = "@improbable_platform//proto/improbable/spatialos/deployment/v1beta1:csharp_gapic",
12+
package_yaml = "//apis:package_yaml",
13+
service_yaml = "@improbable_platform//proto/improbable/spatialos/deployment:deployment_v1beta1.yaml",
14+
)
15+
16+
load("@org_pubref_rules_protobuf//csharp:rules.bzl", "csharp_proto_compile")
17+
csharp_proto_compile(
18+
name = "grpc",
19+
imports = [
20+
"external/com_github_googleapis_googleapis/",
21+
"external/com_github_improbable_io_go_proto_logfields_proto/",
22+
"external/com_github_mwitkow_go_proto_validators_proto/",
23+
"external/com_google_protobuf/src/",
24+
"external/improbable_protoc_gen_gocli/",
25+
],
26+
inputs = [
27+
"@com_github_googleapis_googleapis//:important_protos",
28+
"@com_github_mwitkow_go_proto_validators_proto//:proto",
29+
"@com_github_improbable_io_go_proto_logfields_proto//:proto",
30+
"@com_google_protobuf//:well_known_protos",
31+
"@improbable_protoc_gen_gocli//:proto",
32+
],
33+
protos = [
34+
"@improbable_platform//proto/improbable/spatialos/deployment/v1beta1:protos",
35+
],
36+
with_grpc = True,
37+
)

apis/deployment_v1beta1/Deployment.cs

Lines changed: 5287 additions & 0 deletions
Large diffs are not rendered by default.

apis/deployment_v1beta1/DeploymentGrpc.cs

Lines changed: 740 additions & 0 deletions
Large diffs are not rendered by default.

apis/deployment_v1beta1/DeploymentServiceClient.cs

Lines changed: 1526 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)