feat: enable disabling pre-startup logging #550
Annotations
23 warnings
Check sln files
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build and Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build and Test:
src/Altinn.Authorization.ServiceDefaults/src/ServiceDefaults/Microsoft.Extensions.Hosting/AltinnPreStartLogger.cs#L51
Missing XML comment for publicly visible type or member 'AltinnPreStartLogger.Log(string, string)'
|
Build and Test:
src/Altinn.Authorization.ServiceDefaults/src/ServiceDefaults/Microsoft.Extensions.Hosting/AltinnPreStartLogger.cs#L58
Missing XML comment for publicly visible type or member 'AltinnPreStartLogger.Log(ref AltinnPreStartLogger.LogHandler)'
|
Build and Test:
src/Altinn.Authorization.ServiceDefaults/src/ServiceDefaults/Microsoft.Extensions.Hosting/AltinnPreStartLogger.cs#L51
Missing XML comment for publicly visible type or member 'AltinnPreStartLogger.Log(string, string)'
|
Build and Test:
src/Altinn.Authorization.ServiceDefaults/src/ServiceDefaults/Microsoft.Extensions.Hosting/AltinnPreStartLogger.cs#L58
Missing XML comment for publicly visible type or member 'AltinnPreStartLogger.Log(ref AltinnPreStartLogger.LogHandler)'
|
Build and Test:
src/Altinn.Authorization.ServiceDefaults/test/ServiceDefaults.Npgsql.Tests/DatabaseTestsBase.AppContext.Builder.cs#L182
'YuniqlDatabaseMigratorExtensions.AddYuniqlMigrations(INpgsqlDatabaseBuilder, Action<YuniqlDatabaseMigratorOptions>)' is obsolete: 'Use overload with serviceKey'
|
Build and Test:
src/Altinn.Authorization.ServiceDefaults/test/ServiceDefaults.Npgsql.Tests/DatabaseTestsBase.AppContext.Builder.cs#L182
'YuniqlDatabaseMigratorExtensions.AddYuniqlMigrations(INpgsqlDatabaseBuilder, Action<YuniqlDatabaseMigratorOptions>)' is obsolete: 'Use overload with serviceKey'
|
Build and Test:
src/Altinn.Authorization.ServiceDefaults/src/ServiceDefaults/Microsoft.Extensions.Hosting/AltinnPreStartLogger.cs#L51
Missing XML comment for publicly visible type or member 'AltinnPreStartLogger.Log(string, string)'
|
Build and Test:
src/Altinn.Authorization.ServiceDefaults/src/ServiceDefaults/Microsoft.Extensions.Hosting/AltinnPreStartLogger.cs#L58
Missing XML comment for publicly visible type or member 'AltinnPreStartLogger.Log(ref AltinnPreStartLogger.LogHandler)'
|
Build and Test:
src/Altinn.Authorization.ServiceDefaults/src/ServiceDefaults/Microsoft.Extensions.Hosting/AltinnPreStartLogger.cs#L51
Missing XML comment for publicly visible type or member 'AltinnPreStartLogger.Log(string, string)'
|
Build and Test:
src/Altinn.Authorization.ServiceDefaults/src/ServiceDefaults/Microsoft.Extensions.Hosting/AltinnPreStartLogger.cs#L58
Missing XML comment for publicly visible type or member 'AltinnPreStartLogger.Log(ref AltinnPreStartLogger.LogHandler)'
|
Analyze
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Analyze:
src/Altinn.Authorization.ProblemDetails/src/ProblemDetails.Abstractions/ProblemExtensionData.cs#L534
Remove unused constructor of private type 'ProblemExtensionDataDebuggerProxy'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
|
Analyze:
src/Altinn.Authorization.ProblemDetails/src/ProblemDetails.Abstractions/ErrorCode.cs#L17
'ISpanFormattable' implements 'IFormattable' so 'IFormattable' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
|
Analyze:
src/Altinn.Authorization.ProblemDetails/src/ProblemDetails.Abstractions/ProblemExtensionData.cs#L19
'IReadOnlyCollection<KeyValuePair<string, string>>' implements 'IEnumerable<KeyValuePair<string, string>>' so 'IEnumerable<KeyValuePair<string, string>>' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
|
Analyze:
src/Altinn.Authorization.ProblemDetails/src/ProblemDetails.Abstractions/ProblemExtensionData.cs#L20
'IReadOnlyDictionary<string, string>' implements 'IReadOnlyCollection<KeyValuePair<string, string>>' so 'IReadOnlyCollection<KeyValuePair<string, string>>' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
|
Analyze:
src/Altinn.Authorization.ProblemDetails/src/ProblemDetails.Abstractions/ProblemExtensionData.cs#L404
'ICollection<string>' implements 'IEnumerable<string>' so 'IEnumerable<string>' can be removed from the inheritance list. (https://rules.sonarsource.com/csharp/RSPEC-1939)
|
Analyze:
src/Altinn.Authorization.ProblemDetails/src/ProblemDetails.Abstractions/ProblemExtensionData.cs#L550
Refactor 'Contents' into a method, properties should not copy collections. (https://rules.sonarsource.com/csharp/RSPEC-2365)
|
Analyze:
src/Altinn.Authorization.ProblemDetails/src/ProblemDetails.Abstractions/StdValidationErrors.cs#L25
Rename this property to not shadow the outer class' member with the same name. (https://rules.sonarsource.com/csharp/RSPEC-3218)
|
Analyze:
src/Altinn.Authorization.ProblemDetails/src/ProblemDetails.Abstractions/StdProblemDescriptors.cs#L33
Rename this property to not shadow the outer class' member with the same name. (https://rules.sonarsource.com/csharp/RSPEC-3218)
|
Analyze:
src/Altinn.Authorization.ProblemDetails/src/ProblemDetails.Abstractions/ValidationProblemInstance.cs#L20
Remove this argument from the method call; it hides the caller information. (https://rules.sonarsource.com/csharp/RSPEC-3236)
|
Analyze:
src/Altinn.Authorization.ProblemDetails/src/ProblemDetails.Abstractions/Result.cs#L137
Extract this nested ternary operation into an independent statement. (https://rules.sonarsource.com/csharp/RSPEC-3358)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
binlog
|
6.83 MB |
|
packages
|
5.79 MB |
|