Skip to content

Commit 6c80275

Browse files
committed
Added Nest5Test to make sure nest5 works
1 parent 96f9a21 commit 6c80275

File tree

3 files changed

+46
-1
lines changed

3 files changed

+46
-1
lines changed

src/Elasticsearch.Net.Aws/Elasticsearch.Net.Aws.sln

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 15
4-
VisualStudioVersion = 15.0.26403.7
4+
VisualStudioVersion = 15.0.27004.2010
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Elasticsearch.Net.Aws", "Elasticsearch.Net.Aws\Elasticsearch.Net.Aws.csproj", "{0DE39CEC-A00F-409A-9D45-AAFA31C77ED9}"
77
EndProject
88
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ElasticSearch.Net.Aws.Tests", "ElasticSearch.Net.Aws.Tests\ElasticSearch.Net.Aws.Tests.csproj", "{CFFD4A71-F57A-458B-87B8-E6513D6B0C72}"
99
EndProject
1010
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ElasticSearch.Net.Aws.IntegrationTests", "ElasticSearch.Net.Aws.IntegrationTests\ElasticSearch.Net.Aws.IntegrationTests.csproj", "{91470D9E-D497-4FF7-A22C-3825D3CE0074}"
1111
EndProject
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nest5Test", "Nest5Test\Nest5Test.csproj", "{A7CC8B86-CAF9-4BD6-98F4-84987411677C}"
13+
EndProject
1214
Global
1315
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1416
Debug|Any CPU = Debug|Any CPU
@@ -25,8 +27,15 @@ Global
2527
{91470D9E-D497-4FF7-A22C-3825D3CE0074}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2628
{91470D9E-D497-4FF7-A22C-3825D3CE0074}.Debug|Any CPU.Build.0 = Debug|Any CPU
2729
{91470D9E-D497-4FF7-A22C-3825D3CE0074}.Release|Any CPU.ActiveCfg = Release|Any CPU
30+
{A7CC8B86-CAF9-4BD6-98F4-84987411677C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
31+
{A7CC8B86-CAF9-4BD6-98F4-84987411677C}.Debug|Any CPU.Build.0 = Debug|Any CPU
32+
{A7CC8B86-CAF9-4BD6-98F4-84987411677C}.Release|Any CPU.ActiveCfg = Release|Any CPU
33+
{A7CC8B86-CAF9-4BD6-98F4-84987411677C}.Release|Any CPU.Build.0 = Release|Any CPU
2834
EndGlobalSection
2935
GlobalSection(SolutionProperties) = preSolution
3036
HideSolutionNode = FALSE
3137
EndGlobalSection
38+
GlobalSection(ExtensibilityGlobals) = postSolution
39+
SolutionGuid = {1D324722-47B4-48FA-BC81-5E982410896F}
40+
EndGlobalSection
3241
EndGlobal
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>netcoreapp2.0</TargetFramework>
6+
</PropertyGroup>
7+
8+
<ItemGroup>
9+
<ProjectReference Include="..\Elasticsearch.Net.Aws\Elasticsearch.Net.Aws.csproj" />
10+
</ItemGroup>
11+
12+
<ItemGroup>
13+
<PackageReference Include="Nest" Version="5.5.0" />
14+
</ItemGroup>
15+
16+
</Project>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
using System;
2+
using Elasticsearch.Net.Aws;
3+
using Nest;
4+
using Elasticsearch.Net;
5+
6+
namespace Nest5Test
7+
{
8+
class Program
9+
{
10+
static void Main(string[] args)
11+
{
12+
var httpConnection = new AwsHttpConnection("us-east-1");
13+
var pool = new SingleNodeConnectionPool(new Uri("https://someendpoint.us-east-1.es.amazonaws.com"));
14+
var config = new ConnectionSettings(pool, httpConnection);
15+
var client = new ElasticClient(config);
16+
client.Ping();
17+
Console.WriteLine("pinged successfully");
18+
}
19+
}
20+
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy