-
-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrading elasticsearch to use the new client Elastic.Clients.Elastic…
…search instead of deprecated NEST client (#682)
- Loading branch information
1 parent
e7026b3
commit 212d4e9
Showing
14 changed files
with
205 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 38 additions & 38 deletions
76
src/Audit.NET.ElasticSearch/Audit.NET.Elasticsearch.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,43 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<LangVersion>latest</LangVersion> | ||
<Description>Store Audit.NET Trail Logs into Elasticsearch database</Description> | ||
<Copyright>Copyright 2018</Copyright> | ||
<AssemblyTitle>Audit.Elasticsearch</AssemblyTitle> | ||
<Authors>Federico Colombo</Authors> | ||
<TargetFrameworks>net462;netstandard2.0</TargetFrameworks> | ||
<DefineConstants>$(DefineConstants);STRONG_NAME</DefineConstants> | ||
<NoWarn>$(NoWarn);1591</NoWarn> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<AssemblyName>Audit.NET.Elasticsearch</AssemblyName> | ||
<AssemblyOriginatorKeyFile>../StrongName/Audit.NET.snk</AssemblyOriginatorKeyFile> | ||
<SignAssembly>true</SignAssembly> | ||
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign> | ||
<PackageId>Audit.NET.Elasticsearch</PackageId> | ||
<PackageTags>Audit;Trail;Log;Elasticsearch</PackageTags> | ||
<PackageIcon>icon.png</PackageIcon> | ||
<PackageProjectUrl>https://github.com/thepirat000/Audit.NET</PackageProjectUrl> | ||
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute> | ||
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute> | ||
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<RepositoryUrl>https://github.com/thepirat000/Audit.NET</RepositoryUrl> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<Description>Store Audit.NET Trail Logs into Elasticsearch database</Description> | ||
<Copyright>Copyright 2018</Copyright> | ||
<AssemblyTitle>Audit.Elasticsearch</AssemblyTitle> | ||
<Authors>Federico Colombo</Authors> | ||
<TargetFrameworks>net462;netstandard2.0</TargetFrameworks> | ||
<DefineConstants>$(DefineConstants);STRONG_NAME</DefineConstants> | ||
<NoWarn>$(NoWarn);1591</NoWarn> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<AssemblyName>Audit.NET.Elasticsearch</AssemblyName> | ||
<AssemblyOriginatorKeyFile>../StrongName/Audit.NET.snk</AssemblyOriginatorKeyFile> | ||
<SignAssembly>true</SignAssembly> | ||
<PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign> | ||
<PackageId>Audit.NET.Elasticsearch</PackageId> | ||
<PackageTags>Audit;Trail;Log;Elasticsearch</PackageTags> | ||
<PackageIcon>icon.png</PackageIcon> | ||
<PackageProjectUrl>https://github.com/thepirat000/Audit.NET</PackageProjectUrl> | ||
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute> | ||
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute> | ||
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<RepositoryUrl>https://github.com/thepirat000/Audit.NET</RepositoryUrl> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<None Include="..\..\LICENSE" Pack="true" PackagePath="LICENSE" /> | ||
<None Include="README.md" Pack="true" PackagePath="\" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="..\..\LICENSE" Pack="true" PackagePath="LICENSE" /> | ||
<None Include="README.md" Pack="true" PackagePath="\"/> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="NEST" Version="7.17.5" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="8.14.6" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Audit.NET\Audit.NET.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="images\icon.png" Pack="true" PackagePath="\"/> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\Audit.NET\Audit.NET.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="images\icon.png" Pack="true" PackagePath="\" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 13 additions & 16 deletions
29
src/Audit.NET.ElasticSearch/ConfigurationApi/ElasticsearchProviderConfigurator.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/Audit.NET.ElasticSearch/Providers/ElasticsearchAuditEventId.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
using Nest; | ||
using Elastic.Clients.Elasticsearch; | ||
|
||
namespace Audit.Elasticsearch.Providers | ||
{ | ||
|
Oops, something went wrong.