-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
context parseRefers compatible with motanV1Compatible
- Loading branch information
liangwei3
committed
Apr 9, 2024
1 parent
8aff236
commit 1537870
Showing
3 changed files
with
72 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
#only for unit test!! | ||
motan-agent: | ||
port: 9981 | ||
mport: 8002 | ||
#log_dir: "/data1/logs/agentlog/" | ||
log_dir: "./logs" | ||
registry: "vintage" | ||
application: "pc-yf-test" | ||
|
||
motan-server: | ||
testkey:testv | ||
|
||
motan-client: | ||
testkey:testv | ||
|
||
#config of registries | ||
motan-registry: | ||
vintage: | ||
protocol: vintage | ||
host: 10.**.**.** | ||
port: 8090 | ||
registryRetryPeriod: 30000 | ||
registrySessionTimeout: 10000 | ||
requestTimeout: 5000 | ||
consul: | ||
protocol: consul | ||
host: 10.**.**.** | ||
port: 8090 | ||
direct: | ||
protocol: direct | ||
host: 10.**.**.** | ||
port: 8013 | ||
|
||
#conf of basic refers | ||
motan-basicRefer: | ||
mybasicRefer: | ||
group: basic-group | ||
registry: "vintage" | ||
requestTimeout: 1000 | ||
haStrategy: failover | ||
loadbalance: random | ||
filter: "accessLog,metrics" | ||
maxClientConnection: 10 | ||
minClientConnection: 1 | ||
retries: 0 | ||
application: pc | ||
|
||
#conf of refers | ||
motan-refer: | ||
status-rpc-json: | ||
path: com.weibo.api.test.service.TestRpc | ||
group: test-group | ||
registry: vintage | ||
serialization: simple | ||
protocol: motanV1Compatible | ||
version: 0.1 | ||
basicRefer: mybasicRefer |
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