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