Skip to content

Add "AddUrl" to WireMockContainerBuilder to support grpc #462

Add "AddUrl" to WireMockContainerBuilder to support grpc

Add "AddUrl" to WireMockContainerBuilder to support grpc #462

Triggered via pull request January 28, 2025 06:06
Status Success
Total duration 7m 43s
Artifacts

ci.yml

on: pull_request
Run Tests on Windows
7m 30s
Run Tests on Windows
Run Tests on Linux
2m 40s
Run Tests on Linux
Fit to window
Zoom out
Zoom in

Annotations

22 warnings
Run Tests on Linux
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run Tests on Linux: src/WireMock.Net.Aspire/WireMockServerArguments.cs#L108
Remove the unused private method 'Add'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
Run Tests on Linux: src/WireMock.Net.Aspire/WireMockServerLifecycleHook.cs#L15
Dispose 'cts' when it is no longer needed. (https://rules.sonarsource.com/csharp/RSPEC-2930)
Run Tests on Linux: src/WireMock.Net.Aspire/WireMockServerLifecycleHook.cs#L11
Dispose '_shutdownCts' when it is no longer needed. (https://rules.sonarsource.com/csharp/RSPEC-2930)
Run Tests on Linux: test/WireMock.Net.Aspire.TestAppHost/WeatherForecastApiMock.cs#L5
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
Run Tests on Linux: test/WireMock.Net.Aspire.Tests/Facts/DockerIsRunningInLinuxContainerModeFact.cs#L5
Make this class name end with 'Attribute'. (https://rules.sonarsource.com/csharp/RSPEC-3376)
Run Tests on Linux: test/WireMock.Net.Aspire.Tests/Facts/DockerIsRunningInLinuxContainerModeFact.cs#L5
Specify AttributeUsage on 'DockerIsRunningInLinuxContainerModeFact' to improve readability, even though it inherits it from its base type. (https://rules.sonarsource.com/csharp/RSPEC-3993)
Run Tests on Linux: test/WireMock.Net.TestWebApplication/Program.cs#L8
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
Run Tests on Linux: test/WireMock.Net.TestWebApplication/Program.cs#L37
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
Run Tests on Linux: test/WireMock.Net.TestWebApplication/Program.cs#L44
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
Run Tests on Linux: src/WireMock.Net.Abstractions/Admin/Mappings/EncodingModel.cs#L19
Non-nullable property 'EncodingName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run Tests on Linux: src/WireMock.Net.Abstractions/Admin/Mappings/EncodingModel.cs#L24
Non-nullable property 'WebName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run Tests on Linux: src/WireMock.Net.Abstractions/Admin/Requests/LogRequestModel.cs#L18
Non-nullable property 'ClientIP' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run Tests on Linux: src/WireMock.Net.Abstractions/Admin/Requests/LogRequestModel.cs#L28
Non-nullable property 'Path' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run Tests on Linux: src/WireMock.Net.Abstractions/Admin/Requests/LogRequestModel.cs#L33
Non-nullable property 'AbsolutePath' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run Tests on Linux: src/WireMock.Net.Abstractions/Admin/Requests/LogRequestModel.cs#L38
Non-nullable property 'Url' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run Tests on Linux: src/WireMock.Net.Abstractions/Admin/Requests/LogRequestModel.cs#L43
Non-nullable property 'AbsoluteUrl' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run Tests on Linux: src/WireMock.Net.Abstractions/Admin/Requests/LogRequestModel.cs#L58
Non-nullable property 'Method' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run Tests on Linux: src/WireMock.Net.Abstractions/Admin/Requests/LogRequestMatchModel.cs#L50
Non-nullable property 'MatchDetails' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run Tests on Linux: src/WireMock.Net.Abstractions/Admin/Mappings/MappingModel.cs#L63
Non-nullable property 'Request' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Run Tests on Linux: src/WireMock.Net.TUnit/TUnitWireMockLogger.cs#L54
Rename parameter 'formatString' to 'message' to match the interface declaration. (https://rules.sonarsource.com/csharp/RSPEC-927)