Skip to content

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

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

Triggered via pull request October 17, 2024 11:37
Status Failure
Total duration 1m 13s
Artifacts

build-and-analyze.yml

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

Annotations

10 errors and 11 warnings
Build, test & analyze: test/Altinn.Profile.Tests/Profile.Integrations/PersonContactPreferencesProfileTests.cs#L34
The type or namespace name 'PersonContactPreferences' could not be found (are you missing a using directive or an assembly reference?)
Build, test & analyze: test/Altinn.Profile.Tests/Profile.Integrations/PersonContactPreferencesProfileTests.cs#L51
The type or namespace name 'PersonContactPreferences' could not be found (are you missing a using directive or an assembly reference?)
Build, test & analyze: test/Altinn.Profile.Tests/Profile.Integrations/PersonContactPreferencesProfileTests.cs#L68
The type or namespace name 'PersonContactPreferences' could not be found (are you missing a using directive or an assembly reference?)
Build, test & analyze: test/Altinn.Profile.Tests/Profile.Integrations/PersonContactPreferencesProfileTests.cs#L84
The type or namespace name 'PersonContactPreferences' could not be found (are you missing a using directive or an assembly reference?)
Build, test & analyze: test/Altinn.Profile.Tests/Profile.Integrations/PersonContactPreferencesProfileTests.cs#L97
The type or namespace name 'PersonContactPreferences' could not be found (are you missing a using directive or an assembly reference?)
Build, test & analyze: test/Altinn.Profile.Tests/Profile.Integrations/PersonContactPreferencesProfileTests.cs#L117
The type or namespace name 'PersonContactPreferences' could not be found (are you missing a using directive or an assembly reference?)
Build, test & analyze: test/Altinn.Profile.Tests/Profile.Integrations/PersonContactDetailsRetrieverTests.cs#L79
The type or namespace name 'PersonContactPreferences' could not be found (are you missing a using directive or an assembly reference?)
Build, test & analyze: test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonRepositoryTests.cs#L33
There is no argument given that corresponds to the required parameter 'contextFactory' of 'PersonRepository.PersonRepository(IMapper, IDbContextFactory<ProfileDbContext>)'
Build, test & analyze: test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonRepositoryTests.cs#L54
'Result<ImmutableList<Person>, bool>' does not contain a definition for 'FirstOrDefault' and no accessible extension method 'FirstOrDefault' accepting a first argument of type 'Result<ImmutableList<Person>, bool>' could be found (are you missing a using directive or an assembly reference?)
Build, test & analyze: test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonRepositoryTests.cs#L71
Argument 2: cannot convert from 'method group' to 'int'
Build, test & analyze: src/Altinn.Profile.Integrations/Mappings/PersonMappingProfile.cs#L17
Refactor this constructor to reduce its Cognitive Complexity from 22 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
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)
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)
Build, test & analyze: src/Altinn.Profile/Controllers/UserProfileInternalController.cs#L48
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
Build, test & analyze: src/Altinn.Profile/Controllers/UserProfileInternalController.cs#L89
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
No files were found with the provided path: **/TestResults/*.trx. No artifacts will be uploaded.