Skip to content

Add an endpoint to synchronize the KKR database with updates from the change log #489

Add an endpoint to synchronize the KKR database with updates from the change log

Add an endpoint to synchronize the KKR database with updates from the change log #489

Triggered via pull request October 15, 2024 06:34
Status Success
Total duration 1m 36s
Artifacts 1

build-and-analyze.yml

on: pull_request
Build, test & analyze
1m 26s
Build, test & analyze
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build, test & analyze: src/Altinn.Profile.Integrations/ContactDetailsHttpClient.cs#L98
Either log this exception and handle it, or rethrow it with some contextual information. (https://rules.sonarsource.com/csharp/RSPEC-2139)
Build, test & analyze: src/Altinn.Profile.Integrations/Services/ChangesLogService.cs#L37
Use a constructor overloads that allows a more meaningful exception message to be provided. (https://rules.sonarsource.com/csharp/RSPEC-3928)
Build, test & analyze: src/Altinn.Profile.Integrations/ContactDetailsHttpClient.cs#L39
Rename parameter 'margin' to 'startIndex' to match the interface declaration. (https://rules.sonarsource.com/csharp/RSPEC-927)
Build, test & analyze: src/Altinn.Profile.Integrations/ServiceCollectionExtensions.cs#L86
Change this condition so that it does not always evaluate to 'False'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
Build, test & analyze: src/Altinn.Profile/appsettings.json#L14
"password" detected here, make sure this is not a hard-coded credential. (https://rules.sonarsource.com/csharp/RSPEC-2068)
Build, test & analyze: src/Altinn.Profile/Program.cs#L1
Refactor this top-level file to reduce its Cognitive Complexity from 23 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build, test & analyze: src/Altinn.Profile/Controllers/UsersController.cs#L69
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Build, test & analyze: src/Altinn.Profile/Controllers/UsersController.cs#L46
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Build, test & analyze: src/Altinn.Profile/Controllers/UsersController.cs#L110
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)

Artifacts

Produced during runtime
Name Size
TestResults
29.4 KB