Made GMI sftp settings empty for prod use.

This commit is contained in:
Pedro Pinto committed 2019-09-11 09:55:24 -04:00
1 parent 15b45b7494
commit deca2bedb5
2 files changed
+17 -5

No files matched your search

+12 -1
View File
@@ -6,4 +6,15 @@ GMI_SymbolMap {
sym { gmi: "05" spark: "ZS" venue: VENUE_GLBX price_multiplier: 100.0}
sym { gmi: "KW" spark: "KE" venue: VENUE_GLBX price_multiplier: 100.0}
}
}
}
GMI_Import {
rule: "DeploymentType.type == 'DEV'"
value {
sftp_host: "10.96.18.41"
sftp_port: 22222
sftp_user: "PaTeACYB"
sftp_password: "DLXKuVK8"
}
}
+5 -4
View File
@@ -4,10 +4,11 @@ package bts.config;
message GMI_Import
{
required string sftp_host = 10 [default = "10.96.18.41"];
optional uint32 sftp_port = 11 [default = 22222];
required string sftp_user = 12 [default = "sftp"];
required string sftp_password = 2 [default = "sftp"];
required string sftp_host = 10 ;
optional uint32 sftp_port = 11 ;
required string sftp_user = 12 ;
required string sftp_password = 2 ;
required int32 pause_between_downloads_seconds = 4 [default = 30];
required int32 download_timeout_seconds = 5 [default = 35];
optional string download_window_begin = 6 [default = "22:00"];