Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Commit

Permalink
Upgrade Elasticsearch.Net to 7.8.1 (#343)
Browse files Browse the repository at this point in the history
* Fix missing Elastic.Managed and Elastic.Xunit packages

Packages were renamed to Elastic.Elasticsearch.*.
Old versions were removed from the Elastic Abstractions CI feed.

Part of #340 fix.

* Upgrade Elasticsearch.Net to 7.8.1

Fixes #340.
  • Loading branch information
uvw authored Jul 9, 2020
1 parent 836f651 commit cba4101
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
<PackageReference Include="Serilog.Formatting.Compact" Version="1.0.0" />
<PackageReference Include="Serilog.Sinks.File" Version="4.0.0" />
<PackageReference Include="Serilog.Sinks.PeriodicBatching" Version="2.1.1" />
<PackageReference Include="Elasticsearch.Net" Version="7.0.0" />
<PackageReference Include="Elasticsearch.Net" Version="7.8.1" />
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="4.5.1" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="Microsoft.CSharp" Version="4.5.0" />
<PackageReference Include="Microsoft.CSharp" Version="4.6.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Elastic.Managed.Ephemeral;
using Elastic.Managed.Ephemeral.Plugins;
using Elastic.Xunit;
using Nest;
using Elastic.Elasticsearch.Ephemeral;
using Elastic.Elasticsearch.Ephemeral.Plugins;
using Elastic.Elasticsearch.Xunit;
using Elastic.Stack.ArtifactsApi.Products;

namespace Serilog.Sinks.Elasticsearch.IntegrationTests.Bootstrap
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Diagnostics;
using System.Linq;
using System.Text;
using Elastic.Xunit;
using Elastic.Elasticsearch.Xunit;

namespace Serilog.Sinks.Elasticsearch.IntegrationTests.Bootstrap
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Elastic.Xunit;
using Elastic.Elasticsearch.Xunit;
using Serilog.Sinks.Elasticsearch.IntegrationTests.Bootstrap;
using Xunit;

[assembly: TestFramework("Elastic.Xunit.Sdk.ElasticTestFramework", "Elastic.Xunit")]
[assembly: TestFramework("Elastic.Elasticsearch.Xunit.Sdk.ElasticTestFramework", "Elastic.Elasticsearch.Xunit")]
[assembly: ElasticXunitConfiguration(typeof(SerilogSinkElasticsearchXunitRunOptions))]
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System;
using System.Security.Cryptography.X509Certificates;
using Elastic.Managed.Ephemeral;
using Elastic.Xunit;
using Elastic.Xunit.XunitPlumbing;
using Elastic.Elasticsearch.Ephemeral;
using Elastic.Elasticsearch.Xunit;
using Elastic.Elasticsearch.Xunit.XunitPlumbing;
using Elasticsearch.Net6;
using Nest6;
using Serilog.Sinks.Elasticsearch.IntegrationTests.Bootstrap;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Linq;
using Elastic.Xunit.XunitPlumbing;
using Elastic.Elasticsearch.Xunit.XunitPlumbing;
using FluentAssertions;
using Serilog.Sinks.Elasticsearch.IntegrationTests.Bootstrap;
using Serilog.Sinks.Elasticsearch.IntegrationTests.Elasticsearch6.Bootstrap;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Linq;
using Elastic.Xunit.XunitPlumbing;
using Elastic.Elasticsearch.Xunit.XunitPlumbing;
using FluentAssertions;
using Serilog.Sinks.Elasticsearch.IntegrationTests.Bootstrap;
using Serilog.Sinks.Elasticsearch.IntegrationTests.Elasticsearch6.Bootstrap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public Elasticsearch7XCluster() : base(CreateConfiguration()) { }

private static ClientTestClusterConfiguration CreateConfiguration()
{
return new ClientTestClusterConfiguration("7.0.0")
return new ClientTestClusterConfiguration("7.8.0")
{
MaxConcurrency = 1
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System;
using System.Security.Cryptography.X509Certificates;
using Elastic.Managed.Ephemeral;
using Elastic.Xunit;
using Elastic.Xunit.XunitPlumbing;
using Elastic.Elasticsearch.Ephemeral;
using Elastic.Elasticsearch.Xunit;
using Elastic.Elasticsearch.Xunit.XunitPlumbing;
using Elasticsearch.Net;
using Nest;
using Serilog.Sinks.Elasticsearch.IntegrationTests.Bootstrap;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Linq;
using Elastic.Xunit.XunitPlumbing;
using Elastic.Elasticsearch.Xunit.XunitPlumbing;
using FluentAssertions;
using Serilog.Sinks.Elasticsearch.IntegrationTests.Bootstrap;
using Serilog.Sinks.Elasticsearch.IntegrationTests.Elasticsearch7.Bootstrap;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Linq;
using Elastic.Xunit.XunitPlumbing;
using Elastic.Elasticsearch.Xunit.XunitPlumbing;
using FluentAssertions;
using Serilog.Sinks.Elasticsearch.IntegrationTests.Bootstrap;
using Serilog.Sinks.Elasticsearch.IntegrationTests.Elasticsearch7.Bootstrap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
<PackageReference Include="xunit.extensibility.execution" Version="2.3.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.1.1" />
<PackageReference Include="Elastic.Managed" Version="0.1.0-ci20190708T081758" />
<PackageReference Include="Elastic.Xunit" Version="0.1.0-ci20190708T081758" />
<PackageReference Include="Elastic.Elasticsearch.Xunit" Version="0.2.4" />
<PackageReference Include="Elastic.Elasticsearch.Managed" Version="0.2.4" />
<PackageReference Include="FluentAssertions" Version="5.7.0" />
<PackageReference Include="NEST" Version="7.0.0" />
<PackageReference Include="NEST" Version="7.8.1" />
<PackageReference Include="Serilog.Sinks.ColoredConsole" Version="3.0.1" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@

<ItemGroup>
<DotNetCliToolReference Include="dotnet-version" Version="1.1.2" />

<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
<PackageReference Include="Serilog.Sinks.ColoredConsole" Version="3.0.1" />
<PackageReference Include="dotnet-test-nunit" Version="3.4.0-beta-3" />
<PackageReference Include="xunit" Version="2.3.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
<PackageReference Include="Elasticsearch.Net" Version="7.0.0" />
<PackageReference Include="NEST" Version="7.0.0" />
<PackageReference Include="NEST.JsonNetSerializer" Version="7.0.0" />
<PackageReference Include="Elasticsearch.Net" Version="7.8.1" />
<PackageReference Include="NEST" Version="7.8.1" />
<PackageReference Include="NEST.JsonNetSerializer" Version="7.8.1" />
<PackageReference Include="Serilog.Enrichers.Environment" Version="2.1.2" />
<PackageReference Include="FluentAssertions" Version="4.19.4" />
</ItemGroup>
Expand All @@ -77,7 +77,7 @@


<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<PackageReference Include="Microsoft.CSharp" Version="4.5.0" />
<PackageReference Include="Microsoft.CSharp" Version="4.6.0" />
</ItemGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' ">
Expand Down

0 comments on commit cba4101

Please sign in to comment.