-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve: Fixed int64 overflow problems on JavaScript
Add integration config for the local e2e test cases
- Loading branch information
Showing
3 changed files
with
216 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,211 @@ | ||
{ | ||
"servers": [ | ||
{ | ||
"default_log_path": "stdout", | ||
"default_log_level": "DEBUG", | ||
"routers": [ | ||
{ | ||
"router_config_name": "http_router", | ||
"virtual_hosts": [ | ||
{ | ||
"name": "http_host", | ||
"domains": [ | ||
"*" | ||
], | ||
"routers": [ | ||
{ | ||
"match": { | ||
"headers": [ | ||
{ | ||
"name": "id", | ||
"value": "HelloService:1.0" | ||
} | ||
] | ||
}, | ||
"route": { | ||
"cluster_name": "http_server" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"router_config_name": "actuator_dont_need_router" | ||
} | ||
], | ||
"listeners": [ | ||
{ | ||
"name": "grpc", | ||
"address": "127.0.0.1:34904", | ||
"bind_port": true, | ||
"filter_chains": [ | ||
{ | ||
"filters": [ | ||
{ | ||
"type": "grpc", | ||
"config": { | ||
"server_name": "runtime", | ||
"grpc_config": { | ||
"rpcs": { | ||
"mosn": { | ||
"config": { | ||
"channel": [ | ||
{ | ||
"size": 16, | ||
"protocol": "http", | ||
"listener": "egress_runtime_http" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"hellos": { | ||
"helloworld": { | ||
"hello": "greeting" | ||
} | ||
}, | ||
"bindings": { | ||
"http": { | ||
"metadata": { | ||
"url": "https://registry.npmmirror.com/layotto/0.0.0" | ||
} | ||
} | ||
}, | ||
"config_stores": { | ||
"etcd": { | ||
"address": [ | ||
"127.0.0.1:2379" | ||
], | ||
"timeout": "10" | ||
} | ||
}, | ||
"state": { | ||
"redis": { | ||
"metadata": { | ||
"redisHost": "localhost:6380", | ||
"redisPassword": "" | ||
} | ||
} | ||
}, | ||
"sequencer": { | ||
"etcd": { | ||
"metadata": { | ||
"endpoints": "localhost:2379", | ||
"segmentCacheEnable": "false", | ||
"segmentStep": "1", | ||
"username": "", | ||
"password": "", | ||
"dialTimeout": "5" | ||
} | ||
}, | ||
"redis": { | ||
"metadata": { | ||
"redisHost": "127.0.0.1:6380", | ||
"redisPassword": "" | ||
} | ||
} | ||
}, | ||
"lock": { | ||
"etcd": { | ||
"metadata": { | ||
"endpoints": "localhost:2379", | ||
"username": "", | ||
"password": "", | ||
"keyPrefixPath": "/lock", | ||
"dialTimeout": "5" | ||
} | ||
}, | ||
"redis": { | ||
"metadata": { | ||
"redisHost": "localhost:6380", | ||
"redisPassword": "" | ||
} | ||
} | ||
}, | ||
"pub_subs": { | ||
"redis": { | ||
"metadata": { | ||
"redisHost": "localhost:6380", | ||
"redisPassword": "" | ||
} | ||
} | ||
}, | ||
"app": { | ||
"app_id": "app1", | ||
"grpc_callback_port": 9999 | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "actuator", | ||
"address": "127.0.0.1:34999", | ||
"bind_port": true, | ||
"filter_chains": [ | ||
{ | ||
"filters": [ | ||
{ | ||
"type": "proxy", | ||
"config": { | ||
"downstream_protocol": "Http1", | ||
"upstream_protocol": "Http1", | ||
"router_config_name": "actuator_dont_need_router" | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"stream_filters": [ | ||
{ | ||
"type": "actuator_filter" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "egress_runtime_http", | ||
"type": "egress", | ||
"address": "0.0.0.0:12221", | ||
"bind_port": true, | ||
"network": "tcp", | ||
"filter_chains": [ | ||
{ | ||
"filters": [ | ||
{ | ||
"type": "proxy", | ||
"config": { | ||
"downstream_protocol": "Http1", | ||
"name": "proxy_config", | ||
"router_config_name": "http_router", | ||
"upstream_protocol": "Http1" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"cluster_manager": { | ||
"tls_context": {}, | ||
"clusters": [ | ||
{ | ||
"name": "http_server", | ||
"type": "SIMPLE", | ||
"lb_type": "LB_RANDOM", | ||
"hosts": [ | ||
{ | ||
"address": "127.0.0.1:8889", | ||
"hostname": "downstream_machine1", | ||
"weight": 1 | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters