13 references to AddElasticsearchClient
Aspire.Elastic.Clients.Elasticsearch.Tests (9)
AspireElasticClientExtensionsTest.cs (5)
49builder.AddElasticsearchClient(DefaultConnectionName, settings => 82builder.AddElasticsearchClient(DefaultConnectionName, settings => 105builder.AddElasticsearchClient("elasticsearch1"); 130builder.AddElasticsearchClient("elasticsearch1"); 149builder.AddElasticsearchClient(DefaultConnectionName);
ConformanceTests.cs (1)
54builder.AddElasticsearchClient("elasticsearch", configureSettings: configure, configureClientSettings : (c)=> c.ServerCertificateValidationCallback(CertificateValidations.AllowAll));
ElasticsearchClientPublicApiTests.cs (3)
18var action = () => builder.AddElasticsearchClient(connectionName); 31var action = () => builder.AddElasticsearchClient(connectionName); 44var action = () => builder.AddElasticsearchClient(connectionName);
Aspire.Hosting.Elasticsearch.Tests (3)
ElasticsearchFunctionalTests.cs (3)
49hb.AddElasticsearchClient(elasticsearch.Resource.Name); 112hb.AddElasticsearchClient(elasticsearch1.Resource.Name); 157hb.AddElasticsearchClient(elasticsearch2.Resource.Name);
Elasticsearch.ApiService (1)
Program.cs (1)
11builder.AddElasticsearchClient("elasticsearch");