-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
34 lines (34 loc) · 969 Bytes
/
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
{
"verbose": true,
"listen": "localhost:9281",
"certFile": "./ssl/grpc.localhost.pem",
"keyFile": "./ssl/grpc.localhost.key",
"backends": [
{
"backend": "localhost:9281",
"filter": "/CarouGateway_proto.CarouGatewayService.Echo"
},
{
"backend": "localhost:9281",
"filter": "/CarouGateway_proto.CarouGatewayService"
},
{
"backend": "localhost:9281",
"filter": "/CarouGatewayService.Echo"
},
{
"filter": "/ocr_model_proto.OCR/Image2Text",
"backend": "10.240.1.27:32721",
"required_permissions": "[admin, flaggings.manager]"
},
{
"filter": "/getImage2Text",
"backend": "10.240.1.27:32721",
"required_permissions": "[admin, flaggings.manager]",
"out_going_method_name": "/ocr_model_proto.OCR/Image2Text",
"timeout": 5000,
"request_proto_type": "ocr_model_proto.Request",
"response_proto_type": "ocr_model_proto.Response"
}
]
}