-
Notifications
You must be signed in to change notification settings - Fork 39
/
api-cors-expected.json
54 lines (54 loc) · 1.21 KB
/
api-cors-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
54
{
"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" : "default",
"target" : "http://host1:8083/myapi",
"weight" : 1,
"backup" : false,
"type" : "http",
"headers" : [
{"name": "Host", "value": "host"}
]
} ],
"load_balancing" : {
"type" : "ROUND_ROBIN"
},
"http" : {
"connectTimeout" : 5000,
"idleTimeout" : 60000,
"keepAliveTimeout" : 30000,
"keepAlive" : true,
"readTimeout" : 10000,
"pipelining" : false,
"maxConcurrentConnections" : 100,
"useCompression" : true,
"followRedirects" : false
}
} ],
"cors" : {
"enabled" : true,
"allowCredentials" : false,
"allowOrigin" : [ ],
"allowHeaders" : [ ],
"allowMethods" : [ ],
"exposeHeaders" : [ ],
"maxAge" : -1
}
},
"paths" : {
"/*" : [ ]
},
"properties" : [ ]
}