From cfff99755d24835b1788f35762fdb874a6851b45 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 30 Jan 2024 09:22:39 +0100 Subject: [PATCH] Serverless header adjustments (#7992) (#7994) Co-authored-by: Florian Bernd --- benchmarks/Benchmarks/packages.lock.json | 6 +- benchmarks/Profiling/packages.lock.json | 6 +- .../packages.lock.json | 36 ++++++------ .../ElasticsearchClientProductRegistration.cs | 55 ++++++++++++++++++- ...ic.Clients.Elasticsearch.Serverless.csproj | 2 +- .../packages.lock.json | 36 ++++++------ .../Elastic.Clients.Elasticsearch.csproj | 2 +- .../packages.lock.json | 36 ++++++------ src/Playground/Playground.csproj | 2 +- src/Playground/packages.lock.json | 10 ++-- .../Tests.ClusterLauncher/packages.lock.json | 18 +++--- tests/Tests.Core/packages.lock.json | 6 +- tests/Tests.Domain/packages.lock.json | 6 +- tests/Tests/Tests.csproj | 2 +- tests/Tests/packages.lock.json | 14 ++--- 15 files changed, 145 insertions(+), 92 deletions(-) diff --git a/benchmarks/Benchmarks/packages.lock.json b/benchmarks/Benchmarks/packages.lock.json index feb5384df27..17371df6e33 100644 --- a/benchmarks/Benchmarks/packages.lock.json +++ b/benchmarks/Benchmarks/packages.lock.json @@ -67,8 +67,8 @@ }, "Elastic.Transport": { "type": "Transitive", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==" + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==" }, "Elasticsearch.Net": { "type": "Transitive", @@ -1172,7 +1172,7 @@ "elastic.clients.elasticsearch": { "type": "Project", "dependencies": { - "Elastic.Transport": "[0.4.16, )" + "Elastic.Transport": "[0.4.17, )" } } } diff --git a/benchmarks/Profiling/packages.lock.json b/benchmarks/Profiling/packages.lock.json index 47bfe236f8e..5bea8f8f01d 100644 --- a/benchmarks/Profiling/packages.lock.json +++ b/benchmarks/Profiling/packages.lock.json @@ -31,8 +31,8 @@ }, "Elastic.Transport": { "type": "Transitive", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==" + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==" }, "Microsoft.Build.Tasks.Git": { "type": "Transitive", @@ -88,7 +88,7 @@ "elastic.clients.elasticsearch": { "type": "Project", "dependencies": { - "Elastic.Transport": "[0.4.16, )" + "Elastic.Transport": "[0.4.17, )" } } } diff --git a/src/Elastic.Clients.Elasticsearch.JsonNetSerializer/packages.lock.json b/src/Elastic.Clients.Elasticsearch.JsonNetSerializer/packages.lock.json index 88e8d31dcbf..ecf2db34f45 100644 --- a/src/Elastic.Clients.Elasticsearch.JsonNetSerializer/packages.lock.json +++ b/src/Elastic.Clients.Elasticsearch.JsonNetSerializer/packages.lock.json @@ -37,8 +37,8 @@ }, "Elastic.Transport": { "type": "Transitive", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==", + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==", "dependencies": { "Microsoft.CSharp": "4.7.0", "System.Buffers": "4.5.1", @@ -152,7 +152,7 @@ "elastic.clients.elasticsearch": { "type": "Project", "dependencies": { - "Elastic.Transport": "[0.4.16, )" + "Elastic.Transport": "[0.4.17, )" } } }, @@ -192,8 +192,8 @@ }, "Elastic.Transport": { "type": "Transitive", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==", + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==", "dependencies": { "Microsoft.CSharp": "4.7.0", "System.Buffers": "4.5.1", @@ -341,7 +341,7 @@ "elastic.clients.elasticsearch": { "type": "Project", "dependencies": { - "Elastic.Transport": "[0.4.16, )" + "Elastic.Transport": "[0.4.17, )" } } }, @@ -390,8 +390,8 @@ }, "Elastic.Transport": { "type": "Transitive", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==", + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==", "dependencies": { "Microsoft.CSharp": "4.7.0", "System.Buffers": "4.5.1", @@ -538,7 +538,7 @@ "elastic.clients.elasticsearch": { "type": "Project", "dependencies": { - "Elastic.Transport": "[0.4.16, )" + "Elastic.Transport": "[0.4.17, )" } } }, @@ -578,8 +578,8 @@ }, "Elastic.Transport": { "type": "Transitive", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==", + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==", "dependencies": { "Microsoft.CSharp": "4.7.0", "System.Buffers": "4.5.1", @@ -718,7 +718,7 @@ "elastic.clients.elasticsearch": { "type": "Project", "dependencies": { - "Elastic.Transport": "[0.4.16, )" + "Elastic.Transport": "[0.4.17, )" } } }, @@ -758,8 +758,8 @@ }, "Elastic.Transport": { "type": "Transitive", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==", + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==", "dependencies": { "Microsoft.CSharp": "4.7.0", "System.Buffers": "4.5.1", @@ -867,7 +867,7 @@ "elastic.clients.elasticsearch": { "type": "Project", "dependencies": { - "Elastic.Transport": "[0.4.16, )" + "Elastic.Transport": "[0.4.17, )" } } }, @@ -907,8 +907,8 @@ }, "Elastic.Transport": { "type": "Transitive", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==" + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==" }, "Microsoft.Build.Tasks.Git": { "type": "Transitive", @@ -964,7 +964,7 @@ "elastic.clients.elasticsearch": { "type": "Project", "dependencies": { - "Elastic.Transport": "[0.4.16, )" + "Elastic.Transport": "[0.4.17, )" } } } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/Core/ElasticsearchClientProductRegistration.cs b/src/Elastic.Clients.Elasticsearch.Serverless/Core/ElasticsearchClientProductRegistration.cs index a58f9af7ea9..225f124c7c1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/Core/ElasticsearchClientProductRegistration.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/Core/ElasticsearchClientProductRegistration.cs @@ -4,6 +4,7 @@ using System; using System.Diagnostics.CodeAnalysis; + using Elastic.Transport; using Elastic.Transport.Products.Elasticsearch; @@ -11,7 +12,14 @@ namespace Elastic.Clients.Elasticsearch.Serverless; internal sealed class ElasticsearchClientProductRegistration : ElasticsearchProductRegistration { - public ElasticsearchClientProductRegistration(Type markerType) : base(markerType) { } + private readonly MetaHeaderProvider _metaHeaderProvider; + + public ElasticsearchClientProductRegistration(Type markerType) : base(markerType) + { + var identifier = ServiceIdentifier; + if (!string.IsNullOrEmpty(identifier)) + _metaHeaderProvider = new ServerlessMetaHeaderProvider(markerType, identifier); + } public static ElasticsearchClientProductRegistration DefaultForElasticsearchClientsElasticsearch { get; } = new(typeof(ElasticsearchClient)); @@ -19,6 +27,8 @@ public ElasticsearchClientProductRegistration(Type markerType) : base(markerType public override string DefaultMimeType => null; // Prevent base 'ElasticsearchProductRegistration' from sending the compatibility header + public override MetaHeaderProvider MetaHeaderProvider => _metaHeaderProvider; + /// /// Elastic.Clients.Elasticsearch handles 404 in its , we do not want the low level client throwing /// exceptions @@ -41,3 +51,46 @@ public override bool TryGetServerErrorReason(TResponse response, [Not return !string.IsNullOrEmpty(reason); } } + +public sealed class ServerlessMetaHeaderProvider : MetaHeaderProvider +{ + private readonly MetaHeaderProducer[] _producers; + + /// + public override MetaHeaderProducer[] Producers => _producers; + + public ServerlessMetaHeaderProvider(Type clientType, string serviceIdentifier) + { + var version = ReflectionVersionInfo.Create(clientType); + + _producers = new MetaHeaderProducer[] + { + new DefaultMetaHeaderProducer(version, serviceIdentifier), + new ApiVersionMetaHeaderProducer(version) + }; + } +} + +public class ApiVersionMetaHeaderProducer : MetaHeaderProducer +{ + private readonly string _apiVersion; + + public override string HeaderName => "Elastic-Api-Version"; + + public override string ProduceHeaderValue(RequestData requestData) => _apiVersion; + + public ApiVersionMetaHeaderProducer(VersionInfo version) + { + var meta = version.Metadata; + + if (meta is null || meta.Length != 8) + { + _apiVersion = "2023-10-31"; // Fall back to the earliest version + return; + } + + // Metadata format: 20231031 + + _apiVersion = $"{meta.Substring(0, 4)}-{meta.Substring(4, 2)}-{meta.Substring(6, 2)}"; + } +} diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj b/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj index 9bc13018790..e48d7761d49 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj +++ b/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj @@ -21,7 +21,7 @@ annotations - + all runtime; build; native; contentfiles; analyzers diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/packages.lock.json b/src/Elastic.Clients.Elasticsearch.Serverless/packages.lock.json index 667780aba72..dd8e8cb9c92 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/packages.lock.json +++ b/src/Elastic.Clients.Elasticsearch.Serverless/packages.lock.json @@ -22,9 +22,9 @@ }, "Elastic.Transport": { "type": "Direct", - "requested": "[0.4.16, )", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==", + "requested": "[0.4.17, )", + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==", "dependencies": { "Microsoft.CSharp": "4.7.0", "System.Buffers": "4.5.1", @@ -172,9 +172,9 @@ }, "Elastic.Transport": { "type": "Direct", - "requested": "[0.4.16, )", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==", + "requested": "[0.4.17, )", + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==", "dependencies": { "Microsoft.CSharp": "4.7.0", "System.Buffers": "4.5.1", @@ -356,9 +356,9 @@ }, "Elastic.Transport": { "type": "Direct", - "requested": "[0.4.16, )", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==", + "requested": "[0.4.17, )", + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==", "dependencies": { "Microsoft.CSharp": "4.7.0", "System.Buffers": "4.5.1", @@ -548,9 +548,9 @@ }, "Elastic.Transport": { "type": "Direct", - "requested": "[0.4.16, )", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==", + "requested": "[0.4.17, )", + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==", "dependencies": { "Microsoft.CSharp": "4.7.0", "System.Buffers": "4.5.1", @@ -723,9 +723,9 @@ }, "Elastic.Transport": { "type": "Direct", - "requested": "[0.4.16, )", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==", + "requested": "[0.4.17, )", + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==", "dependencies": { "Microsoft.CSharp": "4.7.0", "System.Buffers": "4.5.1", @@ -867,9 +867,9 @@ }, "Elastic.Transport": { "type": "Direct", - "requested": "[0.4.16, )", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==" + "requested": "[0.4.17, )", + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==" }, "Microsoft.NETFramework.ReferenceAssemblies": { "type": "Direct", diff --git a/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj b/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj index dffe7951bb9..f107588a791 100644 --- a/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj +++ b/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj @@ -21,7 +21,7 @@ annotations - + all runtime; build; native; contentfiles; analyzers diff --git a/src/Elastic.Clients.Elasticsearch/packages.lock.json b/src/Elastic.Clients.Elasticsearch/packages.lock.json index 667780aba72..dd8e8cb9c92 100644 --- a/src/Elastic.Clients.Elasticsearch/packages.lock.json +++ b/src/Elastic.Clients.Elasticsearch/packages.lock.json @@ -22,9 +22,9 @@ }, "Elastic.Transport": { "type": "Direct", - "requested": "[0.4.16, )", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==", + "requested": "[0.4.17, )", + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==", "dependencies": { "Microsoft.CSharp": "4.7.0", "System.Buffers": "4.5.1", @@ -172,9 +172,9 @@ }, "Elastic.Transport": { "type": "Direct", - "requested": "[0.4.16, )", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==", + "requested": "[0.4.17, )", + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==", "dependencies": { "Microsoft.CSharp": "4.7.0", "System.Buffers": "4.5.1", @@ -356,9 +356,9 @@ }, "Elastic.Transport": { "type": "Direct", - "requested": "[0.4.16, )", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==", + "requested": "[0.4.17, )", + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==", "dependencies": { "Microsoft.CSharp": "4.7.0", "System.Buffers": "4.5.1", @@ -548,9 +548,9 @@ }, "Elastic.Transport": { "type": "Direct", - "requested": "[0.4.16, )", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==", + "requested": "[0.4.17, )", + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==", "dependencies": { "Microsoft.CSharp": "4.7.0", "System.Buffers": "4.5.1", @@ -723,9 +723,9 @@ }, "Elastic.Transport": { "type": "Direct", - "requested": "[0.4.16, )", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==", + "requested": "[0.4.17, )", + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==", "dependencies": { "Microsoft.CSharp": "4.7.0", "System.Buffers": "4.5.1", @@ -867,9 +867,9 @@ }, "Elastic.Transport": { "type": "Direct", - "requested": "[0.4.16, )", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==" + "requested": "[0.4.17, )", + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==" }, "Microsoft.NETFramework.ReferenceAssemblies": { "type": "Direct", diff --git a/src/Playground/Playground.csproj b/src/Playground/Playground.csproj index 2af9e0a45ae..77c920359d4 100644 --- a/src/Playground/Playground.csproj +++ b/src/Playground/Playground.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/Playground/packages.lock.json b/src/Playground/packages.lock.json index 67b696921d6..02d45981f37 100644 --- a/src/Playground/packages.lock.json +++ b/src/Playground/packages.lock.json @@ -16,9 +16,9 @@ }, "Elastic.Transport": { "type": "Direct", - "requested": "[0.4.16, )", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==" + "requested": "[0.4.17, )", + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==" }, "Microsoft.NETFramework.ReferenceAssemblies": { "type": "Direct", @@ -111,7 +111,7 @@ "elastic.clients.elasticsearch": { "type": "Project", "dependencies": { - "Elastic.Transport": "[0.4.16, )" + "Elastic.Transport": "[0.4.17, )" } }, "elastic.clients.elasticsearch.jsonnetserializer": { @@ -124,7 +124,7 @@ "elastic.clients.elasticsearch.serverless": { "type": "Project", "dependencies": { - "Elastic.Transport": "[0.4.16, )" + "Elastic.Transport": "[0.4.17, )" } } } diff --git a/tests/Tests.ClusterLauncher/packages.lock.json b/tests/Tests.ClusterLauncher/packages.lock.json index 0af8fef2dad..3fd0385177c 100644 --- a/tests/Tests.ClusterLauncher/packages.lock.json +++ b/tests/Tests.ClusterLauncher/packages.lock.json @@ -75,8 +75,8 @@ }, "Elastic.Transport": { "type": "Transitive", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==", + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==", "dependencies": { "Microsoft.CSharp": "4.7.0", "System.Buffers": "4.5.1", @@ -1280,7 +1280,7 @@ "elastic.clients.elasticsearch": { "type": "Project", "dependencies": { - "Elastic.Transport": "[0.4.16, )" + "Elastic.Transport": "[0.4.17, )" } }, "elastic.clients.elasticsearch.jsonnetserializer": { @@ -1397,8 +1397,8 @@ }, "Elastic.Transport": { "type": "Transitive", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==", + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==", "dependencies": { "Microsoft.CSharp": "4.7.0", "System.Buffers": "4.5.1", @@ -2596,7 +2596,7 @@ "elastic.clients.elasticsearch": { "type": "Project", "dependencies": { - "Elastic.Transport": "[0.4.16, )" + "Elastic.Transport": "[0.4.17, )" } }, "elastic.clients.elasticsearch.jsonnetserializer": { @@ -2713,8 +2713,8 @@ }, "Elastic.Transport": { "type": "Transitive", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==" + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==" }, "FluentAssertions": { "type": "Transitive", @@ -3899,7 +3899,7 @@ "elastic.clients.elasticsearch": { "type": "Project", "dependencies": { - "Elastic.Transport": "[0.4.16, )" + "Elastic.Transport": "[0.4.17, )" } }, "elastic.clients.elasticsearch.jsonnetserializer": { diff --git a/tests/Tests.Core/packages.lock.json b/tests/Tests.Core/packages.lock.json index 6095588d79b..ed519522e08 100644 --- a/tests/Tests.Core/packages.lock.json +++ b/tests/Tests.Core/packages.lock.json @@ -137,8 +137,8 @@ }, "Elastic.Transport": { "type": "Transitive", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==", + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==", "dependencies": { "Microsoft.CSharp": "4.7.0", "System.Buffers": "4.5.1", @@ -1589,7 +1589,7 @@ "elastic.clients.elasticsearch": { "type": "Project", "dependencies": { - "Elastic.Transport": "[0.4.16, )" + "Elastic.Transport": "[0.4.17, )" } }, "elastic.clients.elasticsearch.jsonnetserializer": { diff --git a/tests/Tests.Domain/packages.lock.json b/tests/Tests.Domain/packages.lock.json index 435dac2d613..2218b4c8269 100644 --- a/tests/Tests.Domain/packages.lock.json +++ b/tests/Tests.Domain/packages.lock.json @@ -57,8 +57,8 @@ }, "Elastic.Transport": { "type": "Transitive", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==", + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==", "dependencies": { "Microsoft.CSharp": "4.7.0", "System.Buffers": "4.5.1", @@ -1142,7 +1142,7 @@ "elastic.clients.elasticsearch": { "type": "Project", "dependencies": { - "Elastic.Transport": "[0.4.16, )" + "Elastic.Transport": "[0.4.17, )" } }, "tests.configuration": { diff --git a/tests/Tests/Tests.csproj b/tests/Tests/Tests.csproj index 710f08bb087..1ef2798dfcb 100644 --- a/tests/Tests/Tests.csproj +++ b/tests/Tests/Tests.csproj @@ -10,7 +10,7 @@ - + diff --git a/tests/Tests/packages.lock.json b/tests/Tests/packages.lock.json index 198e548e01a..0934f382780 100644 --- a/tests/Tests/packages.lock.json +++ b/tests/Tests/packages.lock.json @@ -31,11 +31,11 @@ }, "Elastic.Transport.VirtualizedCluster": { "type": "Direct", - "requested": "[0.4.16, )", - "resolved": "0.4.16", - "contentHash": "CGj8Y99V+80TICiUoeHTiSCVpa9pkvSwDSHIQxRDfJ0y6f84MdeTdUvMMJqcsoLyPt+20yNJBZ/LYmIw+YWa0Q==", + "requested": "[0.4.17, )", + "resolved": "0.4.17", + "contentHash": "YWuHBnbs6n3ogOFe73uqhcsoeQMAPaiosfGkb5MTK4wA/5XyGsM7g7kYdi7XmFw2oq80UhQYBwZk+436h0EhLQ==", "dependencies": { - "Elastic.Transport": "0.4.16" + "Elastic.Transport": "0.4.17" } }, "FSharp.Core": { @@ -195,8 +195,8 @@ }, "Elastic.Transport": { "type": "Transitive", - "resolved": "0.4.16", - "contentHash": "O2LHqnQTWAF0+cic9zYkZJ8m95cG9AnkRbwkRZogroWXZHh8oY5ewVsQsF+wwNHs/YWnNIBTq/7yqaFklBB/Wg==" + "resolved": "0.4.17", + "contentHash": "T8QGwTt3E+5b3YCkctyp+aUzJRZKiKZbbngCvell9tqhqfN4Po+Fbsw2ilX5Qm0JFnoIUzpIFJyTK6mCVf4rkg==" }, "EmptyFiles": { "type": "Transitive", @@ -1478,7 +1478,7 @@ "elastic.clients.elasticsearch": { "type": "Project", "dependencies": { - "Elastic.Transport": "[0.4.16, )" + "Elastic.Transport": "[0.4.17, )" } }, "elastic.clients.elasticsearch.jsonnetserializer": {