Skip to content

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

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 #511

Triggered via pull request October 21, 2024 14:40
Status Failure
Total duration 2m 9s
Artifacts 1

build-and-analyze.yml

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

Annotations

3 errors and 10 warnings
Build, test & analyze
Invalid request. Only 65535 characters are allowed; 416167 were supplied. - https://docs.github.com/rest/checks/runs#create-a-check-run
Build, test & analyze
At least one failing test was found
Build, test & analyze
Process completed with exit code 1.
Build, test & analyze: src/Altinn.Profile/appsettings.json#L16
"pwd" detected here, make sure this is not a hard-coded credential. (https://rules.sonarsource.com/csharp/RSPEC-2068)
Build, test & analyze: src/Altinn.Profile/appsettings.json#L17
"pwd" 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 21 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
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#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#L110
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Build, test & analyze: src/Altinn.Profile/Controllers/UnitContactPointController.cs#L36
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Build, test & analyze: src/Altinn.Profile/Controllers/UserContactPointController.cs#L37
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Build, test & analyze: src/Altinn.Profile/Controllers/UserContactPointController.cs#L57
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Build, test & analyze: src/Altinn.Profile/Models/UserProfileLookup.cs#L17
Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting. (https://rules.sonarsource.com/csharp/RSPEC-6964)

Artifacts

Produced during runtime
Name Size
TestResults
71.1 KB