예제 #1
0
        private static async Task <TestElasticClient> CreateKustoClient(string prefix)
        {
            var bridgeUri = Environment.GetEnvironmentVariable("K2BRIDGE_URL") ?? "http://localhost:8080";

            return(await TestElasticClient.Create(bridgeUri, $"{prefix}-k2.json"));
        }
예제 #2
0
        private static async Task <TestElasticClient> CreateElasticsearchClient(string prefix)
        {
            var esUri = Environment.GetEnvironmentVariable("ELASTICSEARCH_URL") ?? "http://localhost:9200";

            return(await TestElasticClient.Create(esUri, $"{prefix}-es.json"));
        }