Add an endpoint to synchronize the KKR database with updates from the change log #499
Annotations
10 errors and 11 warnings
Build & Test:
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:
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:
test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonRepositoryTests.cs#L71
Argument 2: cannot convert from 'method group' to 'int'
|
Build & Test:
test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonRepositoryTests.cs#L73
foreach statement cannot operate on variables of type 'Result<ImmutableList<Person>, bool>' because 'Result<ImmutableList<Person>, bool>' does not contain a public instance or extension definition for 'GetEnumerator'
|
Build & Test:
test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonRepositoryTests.cs#L88
Argument 1: cannot convert from 'Altinn.Profile.Core.Result<System.Collections.Immutable.ImmutableList<Altinn.Profile.Integrations.Entities.Person>, bool>' to 'System.Collections.IEnumerable'
|
Build & Test:
test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonRepositoryTests.cs#L98
Argument 1: cannot convert from 'Altinn.Profile.Core.Result<System.Collections.Immutable.ImmutableList<Altinn.Profile.Integrations.Entities.Person>, bool>' to 'System.Collections.IEnumerable'
|
Build & Test:
test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonRepositoryTests.cs#L108
Argument 1: cannot convert from 'Altinn.Profile.Core.Result<System.Collections.Immutable.ImmutableList<Altinn.Profile.Integrations.Entities.Person>, bool>' to 'System.Collections.IEnumerable'
|
Build & Test:
test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonRepositoryTests.cs#L120
'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:
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:
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:
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:
src/Altinn.Profile/Controllers/UsersController.cs#L69
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
|
Build & Test:
src/Altinn.Profile/Controllers/UsersController.cs#L46
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
|
Build & Test:
src/Altinn.Profile/Controllers/UsersController.cs#L110
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
|
Build & Test:
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:
src/Altinn.Profile/Controllers/UserProfileInternalController.cs#L89
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
|
Build & Test:
src/Altinn.Profile/Controllers/UserProfileInternalController.cs#L48
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
|
Build & Test:
src/Altinn.Profile/Controllers/UserContactPointController.cs#L57
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
|
Build & Test:
src/Altinn.Profile/Controllers/UserContactPointController.cs#L37
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
|
Build & Test:
src/Altinn.Profile/Controllers/UnitContactPointController.cs#L36
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
|
Upload test results
No files were found with the provided path: **/TestResults/*.trx. No artifacts will be uploaded.
|
Loading