Skip to content

Commit

Permalink
Update Elastic.Transport dependency (#8134) (#8136)
Browse files Browse the repository at this point in the history
Co-authored-by: Florian Bernd <[email protected]>
  • Loading branch information
github-actions[bot] and flobernd authored Apr 17, 2024
1 parent a15e417 commit f796fd0
Show file tree
Hide file tree
Showing 15 changed files with 95 additions and 101 deletions.
6 changes: 3 additions & 3 deletions benchmarks/Benchmarks/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
},
"Elastic.Transport": {
"type": "Transitive",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"System.Diagnostics.DiagnosticSource": "8.0.0",
"System.Text.Json": "8.0.0"
Expand Down Expand Up @@ -1196,7 +1196,7 @@
"elastic.clients.elasticsearch": {
"type": "Project",
"dependencies": {
"Elastic.Transport": "[0.4.18, )"
"Elastic.Transport": "[0.4.19, )"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions benchmarks/Profiling/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
},
"Elastic.Transport": {
"type": "Transitive",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"System.Diagnostics.DiagnosticSource": "8.0.0",
"System.Text.Json": "8.0.0"
Expand Down Expand Up @@ -122,7 +122,7 @@
"elastic.clients.elasticsearch": {
"type": "Project",
"dependencies": {
"Elastic.Transport": "[0.4.18, )"
"Elastic.Transport": "[0.4.19, )"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
},
"Elastic.Transport": {
"type": "Transitive",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"Microsoft.CSharp": "4.7.0",
"System.Buffers": "4.5.1",
Expand Down Expand Up @@ -185,7 +185,7 @@
"elastic.clients.elasticsearch": {
"type": "Project",
"dependencies": {
"Elastic.Transport": "[0.4.18, )"
"Elastic.Transport": "[0.4.19, )"
}
}
},
Expand Down Expand Up @@ -234,8 +234,8 @@
},
"Elastic.Transport": {
"type": "Transitive",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"Microsoft.CSharp": "4.7.0",
"System.Buffers": "4.5.1",
Expand Down Expand Up @@ -381,7 +381,7 @@
"elastic.clients.elasticsearch": {
"type": "Project",
"dependencies": {
"Elastic.Transport": "[0.4.18, )"
"Elastic.Transport": "[0.4.19, )"
}
}
},
Expand Down Expand Up @@ -421,8 +421,8 @@
},
"Elastic.Transport": {
"type": "Transitive",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"Microsoft.CSharp": "4.7.0",
"System.Buffers": "4.5.1",
Expand Down Expand Up @@ -560,7 +560,7 @@
"elastic.clients.elasticsearch": {
"type": "Project",
"dependencies": {
"Elastic.Transport": "[0.4.18, )"
"Elastic.Transport": "[0.4.19, )"
}
}
},
Expand Down Expand Up @@ -600,8 +600,8 @@
},
"Elastic.Transport": {
"type": "Transitive",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"System.Diagnostics.DiagnosticSource": "8.0.0",
"System.Text.Json": "8.0.0"
Expand Down Expand Up @@ -691,7 +691,7 @@
"elastic.clients.elasticsearch": {
"type": "Project",
"dependencies": {
"Elastic.Transport": "[0.4.18, )"
"Elastic.Transport": "[0.4.19, )"
}
}
},
Expand Down Expand Up @@ -731,8 +731,8 @@
},
"Elastic.Transport": {
"type": "Transitive",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA=="
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg=="
},
"Microsoft.Build.Tasks.Git": {
"type": "Transitive",
Expand Down Expand Up @@ -788,7 +788,7 @@
"elastic.clients.elasticsearch": {
"type": "Project",
"dependencies": {
"Elastic.Transport": "[0.4.18, )"
"Elastic.Transport": "[0.4.19, )"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<Nullable>annotations</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Elastic.Transport" Version="0.4.18" />
<PackageReference Include="Elastic.Transport" Version="0.4.19" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.3.44">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
Expand Down
30 changes: 15 additions & 15 deletions src/Elastic.Clients.Elasticsearch.Serverless/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
},
"Elastic.Transport": {
"type": "Direct",
"requested": "[0.4.18, )",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"requested": "[0.4.19, )",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"Microsoft.CSharp": "4.7.0",
"System.Buffers": "4.5.1",
Expand Down Expand Up @@ -205,9 +205,9 @@
},
"Elastic.Transport": {
"type": "Direct",
"requested": "[0.4.18, )",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"requested": "[0.4.19, )",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"Microsoft.CSharp": "4.7.0",
"System.Buffers": "4.5.1",
Expand Down Expand Up @@ -396,9 +396,9 @@
},
"Elastic.Transport": {
"type": "Direct",
"requested": "[0.4.18, )",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"requested": "[0.4.19, )",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"Microsoft.CSharp": "4.7.0",
"System.Buffers": "4.5.1",
Expand Down Expand Up @@ -570,9 +570,9 @@
},
"Elastic.Transport": {
"type": "Direct",
"requested": "[0.4.18, )",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"requested": "[0.4.19, )",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"System.Diagnostics.DiagnosticSource": "8.0.0",
"System.Text.Json": "8.0.0"
Expand Down Expand Up @@ -696,9 +696,9 @@
},
"Elastic.Transport": {
"type": "Direct",
"requested": "[0.4.18, )",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA=="
"requested": "[0.4.19, )",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg=="
},
"Microsoft.NETFramework.ReferenceAssemblies": {
"type": "Direct",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<Nullable>annotations</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Elastic.Transport" Version="0.4.18" />
<PackageReference Include="Elastic.Transport" Version="0.4.19" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.3.44">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
Expand Down
30 changes: 15 additions & 15 deletions src/Elastic.Clients.Elasticsearch/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
},
"Elastic.Transport": {
"type": "Direct",
"requested": "[0.4.18, )",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"requested": "[0.4.19, )",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"Microsoft.CSharp": "4.7.0",
"System.Buffers": "4.5.1",
Expand Down Expand Up @@ -205,9 +205,9 @@
},
"Elastic.Transport": {
"type": "Direct",
"requested": "[0.4.18, )",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"requested": "[0.4.19, )",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"Microsoft.CSharp": "4.7.0",
"System.Buffers": "4.5.1",
Expand Down Expand Up @@ -396,9 +396,9 @@
},
"Elastic.Transport": {
"type": "Direct",
"requested": "[0.4.18, )",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"requested": "[0.4.19, )",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"Microsoft.CSharp": "4.7.0",
"System.Buffers": "4.5.1",
Expand Down Expand Up @@ -570,9 +570,9 @@
},
"Elastic.Transport": {
"type": "Direct",
"requested": "[0.4.18, )",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"requested": "[0.4.19, )",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"System.Diagnostics.DiagnosticSource": "8.0.0",
"System.Text.Json": "8.0.0"
Expand Down Expand Up @@ -696,9 +696,9 @@
},
"Elastic.Transport": {
"type": "Direct",
"requested": "[0.4.18, )",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA=="
"requested": "[0.4.19, )",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg=="
},
"Microsoft.NETFramework.ReferenceAssemblies": {
"type": "Direct",
Expand Down
2 changes: 1 addition & 1 deletion src/Playground/Playground.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<ItemGroup>
<PackageReference Include="Moq" Version="4.18.2" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="Elastic.Transport" Version="0.4.18" />
<PackageReference Include="Elastic.Transport" Version="0.4.19" />
</ItemGroup>

<ItemGroup>
Expand Down
24 changes: 9 additions & 15 deletions src/Playground/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,15 @@
// See the LICENSE file in the project root for more information.

using Elastic.Clients.Elasticsearch;
using Elastic.Clients.Elasticsearch.Aggregations;
using Elastic.Clients.Elasticsearch.IndexManagement;
using Elastic.Clients.Elasticsearch.Mapping;
using Elastic.Transport;
using Moq;
using Playground;

var client = new ElasticsearchClient();

var resp = client.Search<Person>();

var adj = resp.Aggregations!.GetAdjacencyMatrix("test");
var firstAdj = adj!.Buckets.First();
var firstAdjSub = firstAdj.GetBoxplot("sub");

var mis = resp.Aggregations!.GetMissing("test");
var misSub = mis!.GetBoxplot("sub");
var settings = new ElasticsearchClientSettings(new Uri("https://primary.es.europe-west3.gcp.cloud.es.io"))
.Authentication(new BasicAuthentication("elastic", "Oov35Wtxj5DzpZNzYAzFb0KZ"))
.DisableDirectStreaming()
.EnableDebugMode(cd =>
{
//var request = System.Text.Encoding.Default.GetString(cd.RequestBodyInBytes);
Console.WriteLine(cd.DebugInformation);
});

var client = new ElasticsearchClient(settings);
10 changes: 5 additions & 5 deletions src/Playground/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
},
"Elastic.Transport": {
"type": "Direct",
"requested": "[0.4.18, )",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"requested": "[0.4.19, )",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"System.Diagnostics.DiagnosticSource": "8.0.0",
"System.Text.Json": "8.0.0"
Expand Down Expand Up @@ -145,7 +145,7 @@
"elastic.clients.elasticsearch": {
"type": "Project",
"dependencies": {
"Elastic.Transport": "[0.4.18, )"
"Elastic.Transport": "[0.4.19, )"
}
},
"elastic.clients.elasticsearch.jsonnetserializer": {
Expand All @@ -158,7 +158,7 @@
"elastic.clients.elasticsearch.serverless": {
"type": "Project",
"dependencies": {
"Elastic.Transport": "[0.4.18, )"
"Elastic.Transport": "[0.4.19, )"
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions tests/Tests.ClusterLauncher/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
},
"Elastic.Transport": {
"type": "Transitive",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA==",
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg==",
"dependencies": {
"System.Diagnostics.DiagnosticSource": "8.0.0",
"System.Text.Json": "8.0.0"
Expand Down Expand Up @@ -1278,7 +1278,7 @@
"elastic.clients.elasticsearch": {
"type": "Project",
"dependencies": {
"Elastic.Transport": "[0.4.18, )"
"Elastic.Transport": "[0.4.19, )"
}
},
"elastic.clients.elasticsearch.jsonnetserializer": {
Expand Down Expand Up @@ -1395,8 +1395,8 @@
},
"Elastic.Transport": {
"type": "Transitive",
"resolved": "0.4.18",
"contentHash": "Q9nGgYxB0r1jTkUf8zWbFKLk5JHliZhVU6vukdMLHLH/1EBKQvHzPahkrnV8KsvGOPFFqFAVOhQvaxpjXuS3TA=="
"resolved": "0.4.19",
"contentHash": "QsFtfHJi/DJDH4Gh602Y+hVTWS5KdpUPpRHxU57OSwty/nSDd/xRymThuIRgH5UxnSFVmQMEslyFtP7BkLFgmg=="
},
"FluentAssertions": {
"type": "Transitive",
Expand Down Expand Up @@ -2581,7 +2581,7 @@
"elastic.clients.elasticsearch": {
"type": "Project",
"dependencies": {
"Elastic.Transport": "[0.4.18, )"
"Elastic.Transport": "[0.4.19, )"
}
},
"elastic.clients.elasticsearch.jsonnetserializer": {
Expand Down
Loading

0 comments on commit f796fd0

Please sign in to comment.