123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- {
- "about": {
- "author": {
- "name": "EMQ",
- "email": "contact@emqx.io",
- "company": "EMQ Technologies Co., Ltd",
- "website": "https://www.emqx.io"
- },
- "helpUrl": {
- "en_US": "https://github.com/lf-edge/ekuiper/blob/master/docs/en_US/plugins/functions/functions.md",
- "zh_CN": "https://github.com/lf-edge/ekuiper/blob/master/docs/zh_CN/plugins/functions/functions.md"
- },
- "description": {
- "en_US": "Sample external services for test only",
- "zh_CN": "示例外部函数配置,仅供测试"
- }
- },
- "interfaces": {
- "tsrpc": {
- "address": "tcp://localhost:50051",
- "protocol": "grpc",
- "schemaType": "protobuf",
- "schemaFile": "hw.proto",
- "functions": [
- {
- "name": "helloFromGrpc",
- "serviceName": "SayHello"
- },
- {
- "name": "ComputeFromGrpc",
- "serviceName": "Compute"
- },
- {
- "name": "objectDetectFromGrpc",
- "serviceName": "object_detection"
- },
- {
- "name": "getFeatureFromGrpc",
- "serviceName": "get_feature"
- },
- {
- "name": "getStatusFromGrpc",
- "serviceName": "getStatus"
- },
- {
- "name": "notUsedRpc",
- "serviceName": "RestEncodedJson"
- }
- ]
- },
- "tsrest": {
- "address": "http://localhost:51234",
- "protocol": "rest",
- "options": {
- "insecureSkipVerify": true,
- "headers": {
- "Accept-Charset": "utf-8"
- }
- },
- "schemaType": "protobuf",
- "schemaFile": "hw.proto",
- "functions": [
- {
- "name": "helloFromRest",
- "serviceName": "SayHello"
- },
- {
- "name": "ComputeFromRest",
- "serviceName": "Compute"
- },
- {
- "name": "objectDetectFromRest",
- "serviceName": "object_detection"
- },
- {
- "name": "getFeatureFromRest",
- "serviceName": "get_feature"
- },
- {
- "name": "getStatusFromRest",
- "serviceName": "getStatus"
- },
- {
- "name": "restEncodedJson",
- "serviceName": "RestEncodedJson"
- }
- ]
- },
- "tsmsgpack": {
- "address": "tcp://localhost:50000",
- "protocol": "msgpack-rpc",
- "schemaType": "protobuf",
- "schemaFile": "hw.proto",
- "functions": [
- {
- "name": "helloFromMsgpack",
- "serviceName": "SayHello"
- },
- {
- "name": "ComputeFromMsgpack",
- "serviceName": "Compute"
- },
- {
- "name": "objectDetectFromMsgpack",
- "serviceName": "object_detection"
- },
- {
- "name": "getFeatureFromMsgpack",
- "serviceName": "get_feature"
- },
- {
- "name": "getStatusFromMsgpack",
- "serviceName": "getStatus"
- },
- {
- "name": "notUsedMsgpack",
- "serviceName": "RestEncodedJson"
- }
- ]
- }
- }
- }
|