public async Task <bool> IsMasterReachable()
        {
            var result = await _httpWrapper.DoHttpGet <string>(StaticProperties.NodeConfig.MasterNodeUri + "/" + MASER_PING);

            return(result == "OK");
        }
Exemple #2
0
        public MasterDetails GetLiveMasterDetails()
        {
            var masterDeatil = _httpWrapper.DoHttpGet <MasterDetails>(StaticProperties.NodeConfig.NamingService.Uri + GET_LIVE_MASTER).Result;

            return(masterDeatil);
        }