-
Notifications
You must be signed in to change notification settings - Fork 39
/
api-failover-singlecase-expected.json
53 lines (53 loc) · 1.2 KB
/
api-failover-singlecase-expected.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
{
"id" : "my-api",
"name" : "my-team-api",
"version" : "undefined",
"gravitee" : "1.0.0",
"flow_mode" : "DEFAULT",
"proxy" : {
"virtual_hosts" : [ {
"path" : "/team"
} ],
"strip_context_path" : false,
"preserve_host" : false,
"groups" : [ {
"name" : "default-group",
"endpoints" : [ {
"name" : "endpoint_0",
"target" : "http://host1:8083/myapi",
"weight" : 1,
"backup" : false,
"type" : "http"
}, {
"name" : "endpoint_1",
"target" : "http://host2:8083/myapi",
"weight" : 1,
"backup" : true,
"type" : "http"
} ],
"load_balancing" : {
"type" : "ROUND_ROBIN"
},
"http" : {
"connectTimeout" : 5000,
"idleTimeout" : 60000,
"keepAliveTimeout" : 30000,
"keepAlive" : true,
"readTimeout" : 10000,
"pipelining" : false,
"maxConcurrentConnections" : 100,
"useCompression" : true,
"followRedirects" : false
}
} ],
"failover" : {
"maxAttempts" : 3,
"retryTimeout" : 10000,
"cases" : [ "TIMEOUT" ]
}
},
"paths" : {
"/*" : [ ]
},
"properties" : [ ]
}