chore(deps): major update dependency opensearch.client.jsonnetserializer to 2.0.0 - #199
Open
cheetahbot wants to merge 1 commit into
Open
chore(deps): major update dependency opensearch.client.jsonnetserializer to 2.0.0#199cheetahbot wants to merge 1 commit into
cheetahbot wants to merge 1 commit into
Conversation
✅
|
| Descriptor | Linter | Files | Fixed | Errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|
| csharpier | 20 | 1 | 0 | 15.2s | ||
| dotnet-format | yes | 1 | no | 0.78s | ||
| roslynator | 2 | 1 | 0 | 26.79s | ||
| ✅ DOCKERFILE | hadolint | 1 | 0 | 0 | 0.15s | |
| ✅ JSON | jsonlint | 4 | 0 | 0 | 0.14s | |
| prettier | 4 | 1 | 0 | 1.07s | ||
| markdownlint | 1 | 12 | 0 | 1.12s | ||
| ✅ MARKDOWN | markdown-table-formatter | 1 | 0 | 0 | 0.23s | |
| ✅ REPOSITORY | betterleaks | yes | no | no | 1.18s | |
| ✅ REPOSITORY | gitleaks | yes | no | no | 0.24s | |
| ✅ REPOSITORY | grype | yes | no | no | 58.64s | |
| ✅ REPOSITORY | secretlint | yes | no | no | 1.14s | |
| ✅ REPOSITORY | syft | yes | no | no | 2.34s | |
| ✅ REPOSITORY | trivy-sbom | yes | no | no | 0.5s | |
| ✅ REPOSITORY | trufflehog | yes | no | no | 4.42s | |
| ✅ XML | xmllint | 1 | 0 | 0 | 0.19s | |
| ✅ YAML | prettier | 1 | 0 | 0 | 0.34s | |
| ✅ YAML | v8r | 1 | 0 | 0 | 2.56s | |
| ✅ YAML | yamllint | 1 | 0 | 0 | 0.52s |
Detailed Issues
⚠️ CSHARP / csharpier - 1 error
Error ./src/Cheetah.WebApi.Test/Cheetah.WebApi.Test.csproj - Was not formatted.
----------------------------- Expected: Around Line 2 -----------------------------
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
----------------------------- Actual: Around Line 2 -----------------------------
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
Error ./src/Cheetah.WebApi/Cheetah.WebApi.csproj - Was not formatted.
----------------------------- Expected: Around Line 18 -----------------------------
<PackageReference Include="Cheetah.Kafka" Version="2.4.0-upgrade-to-dotnet-10-SNAPSHOT14" />
<PackageReference Include="Cheetah.OpenSearch" Version="2.0.0" />
<PackageReference Include="FluentValidation.AspNetCore" Version="11.3.1" />
----------------------------- Actual: Around Line 18 -----------------------------
<PackageReference Include="Cheetah.Kafka" Version="2.4.0-upgrade-to-dotnet-10-SNAPSHOT14" />
<PackageReference Include="Cheetah.OpenSearch" Version="2.0.0" />
<PackageReference Include="FluentValidation.AspNetCore" Version="11.3.1" />
Error ./src/Cheetah.WebApi/Infrastructure/Installers/KafkaInstaller.cs - Was not formatted.
----------------------------- Expected: Around Line 47 -----------------------------
x.SetValueDeserializer(_ => Deserializers.Utf8);
x.ConfigureClient(cfg =>
{
----------------------------- Actual: Around Line 47 -----------------------------
x.SetValueDeserializer(_ => Deserializers.Utf8);
x.ConfigureClient(cfg =>·
{
Error ./src/Cheetah.WebApi/Infrastructure/Installers/ServiceInstaller.cs - Was not formatted.
----------------------------- Expected: Around Line 38 -----------------------------
{
if (hostEnvironment.IsDevelopment())
{
----------------------------- Actual: Around Line 38 -----------------------------
{
if (hostEnvironment.IsDevelopment()) {
cfg.WithConnectionSettings(settings => {
Error ./src/Cheetah.WebApi/Presentation/Controllers/KafkaControllerV2.cs - Was not formatted.
----------------------------- Expected: Around Line 53 -----------------------------
var consumerOptions = new ConsumerOptions<Ignore, string>();
consumerOptions.ConfigureClient(cfg =>
{
----------------------------- Actual: Around Line 53 -----------------------------
var consumerOptions = new ConsumerOptions<Ignore, string>();
consumerOptions.ConfigureClient(cfg =>·
{
Error ./src/Cheetah.WebApi/Program.cs - Was not formatted.
----------------------------- Expected: Around Line 117 -----------------------------
Predicate = _ => true,
ResponseWriter = UIResponseWriter.WriteHealthCheckUIResponse,
}
----------------------------- Actual: Around Line 117 -----------------------------
Predicate = _ => true,
ResponseWriter = UIResponseWriter.WriteHealthCheckUIResponse
}
Checked 20 files in 14932ms.
⚠️ CSHARP / dotnet-format - 1 error
Welcome to .NET 10.0!
---------------------
SDK Version: 10.0.301
----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate, run 'dotnet dev-certs https --trust'
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
Unhandled exception: System.IO.FileNotFoundException: Could not find a MSBuild project file or solution file in ''. Specify which to use with the <workspace> argument.
at Microsoft.CodeAnalysis.Tools.Workspaces.MSBuildWorkspaceFinder.FindWorkspace(String searchDirectory, String workspacePath)
at Microsoft.CodeAnalysis.Tools.Workspaces.MSBuildWorkspaceFinder.FindWorkspace(String searchDirectory, String workspacePath)
at Microsoft.CodeAnalysis.Tools.FormatCommandCommon.ParseWorkspaceOptions(ParseResult parseResult, FormatOptions formatOptions)
at Microsoft.CodeAnalysis.Tools.Commands.RootFormatCommand.FormatCommandDefaultHandler.InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
at System.CommandLine.Invocation.InvocationPipeline.InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
⚠️ MARKDOWN / markdownlint - 12 errors
README.md:23:97 error MD034/no-bare-urls Bare URL used [Context: "http://localhost:9898"]
README.md:29:6 error MD034/no-bare-urls Bare URL used [Context: "https://docs.github.com/en/pac..."]
README.md:107:27 error MD034/no-bare-urls Bare URL used [Context: "https://localhost:1851/swagger"]
README.md:108:26 error MD034/no-bare-urls Bare URL used [Context: "http://localhost:1751/swagger"]
README.md:109:21 error MD034/no-bare-urls Bare URL used [Context: "https://localhost:1851/health"]
README.md:110:27 error MD034/no-bare-urls Bare URL used [Context: "http://localhost:1861/metrics"]
README.md:111:24 error MD034/no-bare-urls Bare URL used [Context: "https://localhost:1852/swagger..."]
README.md:148 error MD024/no-duplicate-heading Multiple headings with the same content [Context: "3. Access the Application"]
README.md:150:27 error MD034/no-bare-urls Bare URL used [Context: "https://localhost:1851/swagger"]
README.md:151:26 error MD034/no-bare-urls Bare URL used [Context: "http://localhost:1751/swagger"]
README.md:152:21 error MD034/no-bare-urls Bare URL used [Context: "https://localhost:1851/health"]
README.md:153:27 error MD034/no-bare-urls Bare URL used [Context: "http://localhost:1861/metrics"]
⚠️ JSON / prettier - 1 error
Checking formatting...
[warn] src/.config/dotnet-tools.json
[warn] src/Cheetah.WebApi/Properties/launchSettings.json
[warn] src/Cheetah.WebApi/appsettings.json
[warn] src/Cheetah.WebApi/swagger.json
[warn] Code style issues found in 4 files. Run Prettier with --write to fix.
⚠️ CSHARP / roslynator - 1 error
ould not be found (are you missing a using directive or an assembly reference?)
Presentation/Controllers/KafkaControllerV2.cs(52,39): error CS0246: The type or namespace name 'ConsumerOptions<,>' could not be found (are you missing a using directive or an assembly reference?)
Presentation/Controllers/KafkaControllerV2.cs(52,55): error CS0246: The type or namespace name 'Ignore' could not be found (are you missing a using directive or an assembly reference?)
Presentation/Controllers/KafkaControllerV2.cs(109,40): error CS0246: The type or namespace name 'Null' could not be found (are you missing a using directive or an assembly reference?)
Presentation/Controllers/KafkaControllerV2.cs(113,21): error CS0246: The type or namespace name 'Message<,>' could not be found (are you missing a using directive or an assembly reference?)
Presentation/Controllers/KafkaControllerV2.cs(113,29): error CS0246: The type or namespace name 'Null' could not be found (are you missing a using directive or an assembly reference?)
Infrastructure/Installers/KafkaInstaller.cs(23,18): error CS1061: 'IServiceCollection' does not contain a definition for 'AddCheetahKafka' and no accessible extension method 'AddCheetahKafka' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?)
Infrastructure/Installers/ServiceInstaller.cs(34,22): error CS1061: 'IServiceCollection' does not contain a definition for 'AddCheetahOpenSearch' and no accessible extension method 'AddCheetahOpenSearch' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?)
Core/Config/KafkaConsumerConfig.cs(5,18): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaConsumerConfig'
Core/Config/KafkaConsumerConfig.cs(7,29): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaConsumerConfig.Position'
Core/Config/KafkaConsumerConfig.cs(8,23): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaConsumerConfig.Topic'
Core/Config/KafkaConsumerConfig.cs(9,23): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaConsumerConfig.ConsumerName'
Core/Config/KafkaProducerConfig.cs(5,18): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaProducerConfig'
Core/Config/KafkaProducerConfig.cs(7,29): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaProducerConfig.Position'
Core/Config/KafkaProducerConfig.cs(8,23): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaProducerConfig.Topic'
Core/Config/KafkaProducerConfig.cs(9,23): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaProducerConfig.ProducerName'
Core/Config/PrometheusConfig.cs(3,18): warning CS1591: Missing XML comment for publicly visible type or member 'PrometheusConfig'
Core/Config/PrometheusConfig.cs(5,29): warning CS1591: Missing XML comment for publicly visible type or member 'PrometheusConfig.Position'
Core/Config/PrometheusConfig.cs(6,20): warning CS1591: Missing XML comment for publicly visible type or member 'PrometheusConfig.Port'
Core/Config/WebApiConfig.cs(9,18): warning CS1591: Missing XML comment for publicly visible type or member 'WebApiConfig'
Core/Config/WebApiConfig.cs(11,29): warning CS1591: Missing XML comment for publicly visible type or member 'WebApiConfig.Position'
Core/Models/DateAndValue.cs(5,14): warning CS1591: Missing XML comment for publicly visible type or member 'DateAndValue<T>'
Core/Models/DateAndValue.cs(7,27): warning CS1591: Missing XML comment for publicly visible type or member 'DateAndValue<T>.Date'
Core/Models/DateAndValue.cs(8,14): warning CS1591: Missing XML comment for publicly visible type or member 'DateAndValue<T>.Value'
Infrastructure/Installers/FluentValidationInstaller.cs(9,25): warning CS1591: Missing XML comment for publicly visible type or member 'FluentValidationInstaller'
Infrastructure/Installers/FluentValidationInstaller.cs(11,28): warning CS1591: Missing XML comment for publicly visible type or member 'FluentValidationInstaller.InstallFluentValidation(IServiceCollection)'
Infrastructure/Installers/HealthCheckInstaller.cs(6,25): warning CS1591: Missing XML comment for publicly visible type or member 'HealthCheckInstaller'
Infrastructure/Installers/HealthCheckInstaller.cs(8,28): warning CS1591: Missing XML comment for publicly visible type or member 'HealthCheckInstaller.InstallHealthChecks(IServiceCollection)'
Infrastructure/Installers/KafkaInstaller.cs(12,25): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaInstaller'
Infrastructure/Installers/KafkaInstaller.cs(14,28): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaInstaller.InstallKafka(IServiceCollection, IConfigurationRoot)'
Infrastructure/Installers/OpenApiInstaller.cs(16,25): warning CS1591: Missing XML comment for publicly visible type or member 'OpenApiInstaller'
Infrastructure/Installers/OpenApiInstaller.cs(18,28): warning CS1591: Missing XML comment for publicly visible type or member 'OpenApiInstaller.InstallOpenAPI(IServiceCollection)'
Infrastructure/Installers/ServiceInstaller.cs(13,25): warning CS1591: Missing XML comment for publicly visible type or member 'ServiceInstaller'
Infrastructure/Installers/ServiceInstaller.cs(15,28): warning CS1591: Missing XML comment for publicly visible type or member 'ServiceInstaller.InstallServices(IServiceCollection, IHostEnvironment, IConfigurationRoot)'
Presentation/Controllers/DefaultController.cs(6,14): warning CS1591: Missing XML comment for publicly visible type or member 'DefaultController'
Presentation/Controllers/DefaultController.cs(9,27): warning CS1591: Missing XML comment for publicly visible type or member 'DefaultController.RedirectToSwagger()'
Presentation/Controllers/ErrorController.cs(8,14): warning CS1591: Missing XML comment for publicly visible type or member 'ErrorController'
Presentation/Controllers/ErrorController.cs(11,26): warning CS1591: Missing XML comment for publicly visible type or member 'ErrorController.HandleErrorDevelopment(IHostEnvironment)'
Presentation/Controllers/ErrorController.cs(27,26): warning CS1591: Missing XML comment for publicly visible type or member 'ErrorController.HandleError()'
Presentation/Controllers/KafkaController.cs(28,16): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaController.KafkaController(IConsumer<Ignore, string>, IProducer<Null, string>, IOptions<KafkaProducerConfig>, ILogger<KafkaController>)'
Presentation/Controllers/KafkaControllerV2.cs(30,16): warning CS1591: Missing XML comment for publicly visible type or member 'KafkaController2.KafkaController2(IOptions<KafkaProducerConfig>, IOptions<KafkaConsumerConfig>, ILogger<KafkaController>, KafkaClientFactory)'
Presentation/Controllers/OpenSearchController.cs(15,18): warning CS1591: Missing XML comment for publicly visible type or member 'OpenSearchController'
Presentation/Controllers/OpenSearchController.cs(19,16): warning CS1591: Missing XML comment for publicly visible type or member 'OpenSearchController.OpenSearchController(IOpenSearchClient)'
Program.cs(21,18): warning CS1591: Missing XML comment for publicly visible type or member 'Program'
Program.cs(23,28): warning CS1591: Missing XML comment for publicly visible type or member 'Program.Main(string[])'
Analyzed project 'src/Cheetah.WebApi/Cheetah.WebApi.csproj' (in 4.1 s)
2 CS0103
6 CS0234
27 CS0246
2 CS1061
37 CS1591 Missing XML comment for publicly visible type or member
74 diagnostics found
(Truncated to last 8000 characters out of 13939)
Notices
📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)
See detailed reports in MegaLinter artifacts
Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)
- Documentation: Custom Flavors
- Command:
npx mega-linter-runner@9.6.0 --custom-flavor-setup --custom-flavor-linters CSHARP_DOTNET_FORMAT,CSHARP_CSHARPIER,CSHARP_ROSLYNATOR,DOCKERFILE_HADOLINT,JSON_JSONLINT,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_GITLEAKS,REPOSITORY_BETTERLEAKS,REPOSITORY_GRYPE,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,XML_XMLLINT,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

Show us your support by starring ⭐ the repository
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.8.0→2.0.0Release Notes
opensearch-project/opensearch-net (OpenSearch.Client.JsonNetSerializer)
v2.0.0Changed
IOpenSearchClientto return corresponding interfaces to better enable mocking & unit testing (#646)NeuralQuery'sModelIdto be optional (#917)AwsSigV4HttpConnectionby computing the SigV4 signature against public crypto primitives (System.Security.Cryptography) and the publicAWSSDKUtilshelpers instead of the version-unstable internalAmazon.Runtime.Internal.Auth.AWS4SignerAPI. Produced signatures are unchanged — verified byte-for-byte against the existing known-answer tests and AWS's published SigV4 reference vector (for allDateTimeKinds, since the previous internal signer also normalized the signing time to UTC). (#987)1.3and2.19(#984)Added
combined_fieldsquery (#956)MaxDistanceandMinScoretoKnnQuery(#917)Hostheader, allowing requests to be dispatched to a different host/port than they are signed for (e.g. SSH local port forwarding or connecting directly to a tunnel), see #978Removed
net461target (#256)FeaturesAPI which is not supported by OpenSearch from the low-level client (#331)IndexTemplateV2APIs in favour of theComposableIndexTemplateAPIs (#437)Fixed
ClusterManagerTimeoutandMasterTimeoutproperties from*TimeSpanoutin the low-level client (#332)StackOverflowExceptionwhen serializing aKnnVectorPropertyreturned from a customIPropertyVisitorviaAutoMap(#963)date_histogrambucketDependencies
System.Diagnostics.DiagnosticSourcefrom 6.0.1 to 8.0.1YamlDotNetfrom 16.0.0 to 16.3.0AWSSDK.Corefrom 3.7.400.11 to 4.0.7.4Fake.Core.SemVerfrom 6.1.0 to 6.1.3Bogusfrom 35.6.0 to 35.6.3Fake.Core.Environmentfrom 6.1.0 to 6.1.3FluentAssertionsfrom 6.12.0 to 8.5.0Microsoft.NET.Test.Sdkfrom 17.11.0 to 17.13.0Microsoft.TestPlatform.ObjectModelfrom 17.11.0 to 17.14.1BenchMarkDotNetfrom 0.13.12 to 0.15.0Fake.IO.FileSystemfrom 6.1.0 to 6.1.3Fake.IO.Zipfrom 6.1.0 to 6.1.3Fake.Tools.Gitfrom 6.1.0 to 6.1.3CSharpier.Corefrom 0.29.1 to 1.0.3Procfrom 0.8.1 to 0.9.1System.Text.Jsonfrom 8.0.4 to 8.0.6JunitXml.TestLoggerfrom 4.0.254 to 6.1.0FSharp.Corefrom 8.0.400 to 9.0.300JetBrains.Annotationsfrom 2024.2.0 to 2024.3.0Microsoft.Extensions.Caching.Memoryfrom 6.0.0 to 8.0.1xunitfrom 2.8.0 to 2.9.3System.Buffersfrom 4.5.1 to 4.6.1NSwag.Corefrom 14.1.0 to 14.4.0Argufrom 6.2.4 to 6.2.5SemanticVersioningfrom 2.0.2 to 3.0.0FSharp.Datafrom 6.4.0 to 6.6.0Octokitfrom 13.0.1 to 14.0.0Spectre.Consolefrom 0.49.1 to 0.50.0System.CommandLine.DragonFruitfrom 0.3.0-alpha.20371.2 to 0.3.0-alpha.21216.1DiffPlexfrom 1.7.2 to 1.8.0SharpYamlfrom 2.1.1 to 2.1.3System.CommandLinefrom 2.0.0-beta4.22272.1 to 2.0.0-beta6.25358.103Markdigfrom 0.41.2 to 0.41.3Configuration
📅 Schedule: (in timezone Europe/Copenhagen)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.