-
Notifications
You must be signed in to change notification settings - Fork 47
/
showcase_grpc_service_config.json
90 lines (90 loc) · 2.81 KB
/
showcase_grpc_service_config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"methodConfig": [
{
"name": [
{"service": "google.showcase.v1beta1.Echo"},
{"service": "google.showcase.v1beta1.Messaging"},
{"service": "google.showcase.v1beta1.SequenceService"}
],
"timeout": "5s"
},
{
"name": [
{
"service": "google.showcase.v1beta1.Echo",
"method": "Echo"
},
{
"service": "google.showcase.v1beta1.Echo",
"method": "Expand"
},
{
"service": "google.showcase.v1beta1.Echo",
"method": "PagedExpand"
},
{
"service": "google.showcase.v1beta1.Messaging",
"method": "GetRoom"
},
{
"service": "google.showcase.v1beta1.Messaging",
"method": "ListRooms"
},
{
"service": "google.showcase.v1beta1.Messaging",
"method": "GetBlurb"
},
{
"service": "google.showcase.v1beta1.Messaging",
"method": "ListBlurbs"
},
{
"service": "google.showcase.v1beta1.Messaging",
"method": "SearchBlurbs"
},
{
"service": "google.showcase.v1beta1.Messaging",
"method": "Connect"
},
{
"service": "google.showcase.v1beta1.SequenceService",
"method": "AttemptSequence"
}
],
"retryPolicy": {
"maxAttempts": 3,
"maxBackoff": "3s",
"initialBackoff": "0.1s",
"backoffMultiplier": 2,
"retryableStatusCodes": [
"UNAVAILABLE",
"UNKNOWN"
]
},
"timeout": "10s"
},
{
"name": [
{
"service": "google.showcase.v1beta1.Identity",
"method": "GetUser"
},
{
"service": "google.showcase.v1beta1.Identity",
"method": "ListUsers"
}
],
"retryPolicy": {
"maxAttempts": 5,
"maxBackoff": "3s",
"initialBackoff": "0.2s",
"backoffMultiplier": 2,
"retryableStatusCodes": [
"UNAVAILABLE",
"UNKNOWN"
]
},
"timeout": "5s"
}
]
}