Skip to content

Commit

Permalink
fix: migrate spanner/v1 to grpc_service_config
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 320114059
  • Loading branch information
Google APIs authored and Copybara-Service committed Jul 8, 2020
1 parent 8bbefef commit c29c4c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 97 deletions.
3 changes: 3 additions & 0 deletions google/spanner/v1/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ java_gapic_library(
name = "spanner_java_gapic",
src = ":spanner_proto_with_info",
gapic_yaml = "spanner_gapic.yaml",
grpc_service_config = "spanner_grpc_service_config.json",
package = "google.spanner.v1",
service_yaml = "spanner.yaml",
test_deps = [
Expand Down Expand Up @@ -192,6 +193,7 @@ py_gapic_library(
name = "spanner_py_gapic",
src = ":spanner_proto_with_info",
gapic_yaml = "spanner_gapic.yaml",
grpc_service_config = "spanner_grpc_service_config.json",
package = "google.spanner.v1",
service_yaml = "spanner.yaml",
deps = [
Expand Down Expand Up @@ -236,6 +238,7 @@ php_gapic_library(
name = "spanner_php_gapic",
src = ":spanner_proto_with_info",
gapic_yaml = "spanner_gapic.yaml",
grpc_service_config = "spanner_grpc_service_config.json",
package = "google.spanner.v1",
service_yaml = "spanner.yaml",
deps = [
Expand Down
97 changes: 0 additions & 97 deletions google/spanner/v1/spanner_gapic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,100 +24,3 @@ language_settings:
package_name: spanner.v1
domain_layer_location: google-cloud
release_level: GA
interfaces:
- name: google.spanner.v1.Spanner
retry_codes_def:
- name: idempotent
retry_codes:
- UNAVAILABLE
- name: non_idempotent
retry_codes: []
- name: long_running
retry_codes:
- UNAVAILABLE
retry_params_def:
- name: default
initial_retry_delay_millis: 250
retry_delay_multiplier: 1.3
max_retry_delay_millis: 32000
initial_rpc_timeout_millis: 3600000
rpc_timeout_multiplier: 1
max_rpc_timeout_millis: 3600000
total_timeout_millis: 3600000
- name: streaming
initial_retry_delay_millis: 250
retry_delay_multiplier: 1.3
max_retry_delay_millis: 32000
initial_rpc_timeout_millis: 3600000
rpc_timeout_multiplier: 1
max_rpc_timeout_millis: 3600000
total_timeout_millis: 3600000
- name: long_running
initial_retry_delay_millis: 250
retry_delay_multiplier: 1.3
max_retry_delay_millis: 32000
initial_rpc_timeout_millis: 3600000
rpc_timeout_multiplier: 1
max_rpc_timeout_millis: 3600000
total_timeout_millis: 3600000
methods:
- name: CreateSession
retry_codes_name: idempotent
retry_params_name: default
timeout_millis: 30000
- name: BatchCreateSessions
retry_codes_name: idempotent
retry_params_name: default
timeout_millis: 60000
- name: GetSession
retry_codes_name: idempotent
retry_params_name: default
timeout_millis: 30000
- name: ListSessions
retry_codes_name: idempotent
retry_params_name: default
timeout_millis: 3600000
- name: DeleteSession
retry_codes_name: idempotent
retry_params_name: default
timeout_millis: 30000
- name: ExecuteSql
retry_codes_name: idempotent
retry_params_name: default
timeout_millis: 30000
- name: ExecuteStreamingSql
retry_codes_name: non_idempotent
retry_params_name: streaming
timeout_millis: 3600000
- name: ExecuteBatchDml
retry_codes_name: idempotent
retry_params_name: default
timeout_millis: 30000
- name: Read
retry_codes_name: idempotent
retry_params_name: default
timeout_millis: 30000
- name: StreamingRead
retry_codes_name: non_idempotent
retry_params_name: streaming
timeout_millis: 3600000
- name: BeginTransaction
retry_codes_name: idempotent
retry_params_name: default
timeout_millis: 30000
- name: Commit
retry_codes_name: long_running
retry_params_name: long_running
timeout_millis: 3600000
- name: Rollback
retry_codes_name: idempotent
retry_params_name: default
timeout_millis: 30000
- name: PartitionQuery
retry_codes_name: idempotent
retry_params_name: default
timeout_millis: 30000
- name: PartitionRead
retry_codes_name: idempotent
retry_params_name: default
timeout_millis: 30000

0 comments on commit c29c4c5

Please sign in to comment.