mirror of
https://github.com/duanhf2012/origin.git
synced 2026-03-06 22:27:36 +08:00
新增测试模块
This commit is contained in:
54
Test2/Helloworld/config/cluster.json
Normal file
54
Test2/Helloworld/config/cluster.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"SubNet": [{
|
||||
"Remark": "Manual,Full,Auto",
|
||||
"SubNetMode": "Full",
|
||||
"SubNetName": "SubNet1",
|
||||
"PublicServiceList": ["logiclog"],
|
||||
"NodeList": [{
|
||||
"NodeID": 1,
|
||||
"NodeName": "N_Node1",
|
||||
"ServiceList": [
|
||||
"HttpServerService",
|
||||
"SubNet1_Service",
|
||||
"SubNet1_Service1"
|
||||
],
|
||||
"ClusterNode":["SubNet2.N_Node1","N_Node2"]
|
||||
},
|
||||
{
|
||||
"NodeID": 2,
|
||||
"NodeName": "N_Node2",
|
||||
"ServiceList": [
|
||||
"SubNet1_Service2"
|
||||
],
|
||||
"ClusterNode":[]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
"Remark": "Manual,Full,Auto",
|
||||
"SubNetMode": "Full",
|
||||
"SubNetName": "SubNet2",
|
||||
"PublicServiceList": ["logiclog"],
|
||||
"NodeList": [{
|
||||
"NodeID": 3,
|
||||
"NodeName": "N_Node1",
|
||||
"ServiceList": [
|
||||
"SubNet2_Service1"
|
||||
],
|
||||
"ClusterNode":["URQ.N_Node1"]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
44
Test2/Helloworld/config/nodeconfig.json
Normal file
44
Test2/Helloworld/config/nodeconfig.json
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"Public":{
|
||||
"LogLevel":1,
|
||||
"HttpPort":9400,
|
||||
"WSPort":9500,
|
||||
|
||||
"CAFile":[
|
||||
{
|
||||
"CertFile":"",
|
||||
"KeyFile":""
|
||||
},
|
||||
{
|
||||
"CertFile":"",
|
||||
"KeyFile":""
|
||||
}
|
||||
],
|
||||
|
||||
"Environment":"FS_Dev_LFY",
|
||||
"IsListenLog":1,
|
||||
"IsSendErrorMail":0
|
||||
},
|
||||
|
||||
"NodeList":[
|
||||
{
|
||||
"NodeID":1,
|
||||
"NodeAddr": "127.0.0.1:8081",
|
||||
"LogLevel":1,
|
||||
"HttpPort":7001,
|
||||
"WSPort":7000,
|
||||
"CertFile":"",
|
||||
"KeyFile":""
|
||||
},
|
||||
{
|
||||
"NodeID":2,
|
||||
"NodeAddr": "127.0.0.1:8082"
|
||||
}
|
||||
,
|
||||
{
|
||||
"NodeID":3,
|
||||
"NodeAddr": "127.0.0.1:8083"
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user