Cleaned up port defaults.
This commit is contained in:
1 parent
f0a6ad3705
commit
03510a77c1
3 files changed
+31
-4
No files matched your search
@@ -0,0 +1,9 @@
|
||||
|
||||
Ports {
|
||||
value {
|
||||
config_port: 8000
|
||||
qbus_port: 8001
|
||||
exchange_sim_fix_port: 8002
|
||||
replicator_port: 8080
|
||||
}
|
||||
}
|
||||
@@ -129,6 +129,22 @@ JetFIX {
|
||||
sender_subid: "BTS"
|
||||
raw_data: "1JE9X"
|
||||
}
|
||||
connection {
|
||||
# Exchange simulator connection
|
||||
name: "sim"
|
||||
platform: GLBX
|
||||
socket_connect_host_ip: "127.0.0.1"
|
||||
socket_connect_port: @Ports.exchange_sim_fix_port
|
||||
sender_compid: "BTS"
|
||||
sender_subid: "BTS"
|
||||
target_compid: "CME"
|
||||
target_subid: "64"
|
||||
start_time: "00:30:00"
|
||||
end_time: "23:30:00"
|
||||
start_day: "sunday"
|
||||
end_day: "friday"
|
||||
raw_data: "1JE9X"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -142,5 +158,5 @@ SparkConnection {
|
||||
rule: "System.host_name=='TAHA-SUPER_spark'"
|
||||
value {connection_name: "cme_mc1"}
|
||||
}
|
||||
|
||||
|
||||
SparkConnection {value {connection_name: "cme_mbx"}}
|
||||
@@ -2,7 +2,9 @@ syntax='proto2';
|
||||
package bts.config;
|
||||
|
||||
message Ports {
|
||||
optional int32 qbus_port = 245 [default=8001];
|
||||
optional int32 exchange_sim_fix_port = 290 [default=8002];
|
||||
optional int32 config_port = 430 [default = 8000];
|
||||
// see ports.conf for actual defaults
|
||||
optional int32 config_port = 1 ;
|
||||
optional int32 qbus_port = 2 ;
|
||||
optional int32 exchange_sim_fix_port = 3 ;
|
||||
optional int32 replicator_port = 4 ;
|
||||
}
|
||||
Reference in new issue
Block a user