Add an endpoint to synchronize the KKR database with updates from the change log #431
Annotations
10 errors and 10 warnings
Autobuild:
test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonRepositoryTests.cs#L33
There is no argument given that corresponds to the required parameter 'mapper' of 'PersonRepository.PersonRepository(ILogger<PersonRepository>, IMapper, ProfileDbContext, IDbContextFactory<ProfileDbContext>)'
|
Autobuild:
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?)
|
Autobuild:
test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonRepositoryTests.cs#L71
Argument 2: cannot convert from 'method group' to 'int'
|
Autobuild:
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'
|
Autobuild:
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'
|
Autobuild:
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'
|
Autobuild:
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'
|
Autobuild:
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?)
|
Autobuild:
test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonServiceTests.cs#L297
'Result<IPersonContactPreferences, bool>' does not contain a definition for 'IsReserved' and no accessible extension method 'IsReserved' accepting a first argument of type 'Result<IPersonContactPreferences, bool>' could be found (are you missing a using directive or an assembly reference?)
|
Autobuild:
test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonServiceTests.cs#L298
'Result<IPersonContactPreferences, bool>' does not contain a definition for 'Email' and no accessible extension method 'Email' accepting a first argument of type 'Result<IPersonContactPreferences, bool>' could be found (are you missing a using directive or an assembly reference?)
|
Autobuild:
src/Altinn.Profile.Integrations/Services/PersonService.cs#L35
Parameter 'metadataRepository' has no matching param tag in the XML comment for 'PersonService.PersonService(IMapper, IPersonRepository, IMetadataRepository, INationalIdentityNumberChecker, IContactRegisterService)' (but other parameters do)
|
Autobuild:
src/Altinn.Profile.Integrations/Services/PersonService.cs#L35
Parameter 'changesLogService' has no matching param tag in the XML comment for 'PersonService.PersonService(IMapper, IPersonRepository, IMetadataRepository, INationalIdentityNumberChecker, IContactRegisterService)' (but other parameters do)
|
Autobuild:
src/Altinn.Profile.Integrations/ServiceCollectionExtensions.cs#L71
Single line comment should begin with a space (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1005.md)
|
Autobuild:
test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonServiceTests.cs#L29
Non-nullable field '_personService' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
Autobuild:
test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonServiceTests.cs#L27
Field 'PersonServiceTests._personService' is never assigned to, and will always have its default value null
|
Autobuild:
test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonServiceTests.cs#L252
Do not use Assert.Null() on value type 'Result<IPersonContactPreferences, bool>'. Remove this assert. (https://xunit.net/xunit.analyzers/rules/xUnit2002)
|
Autobuild:
test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonServiceTests.cs#L322
Do not use Assert.Null() on value type 'Result<IPersonContactPreferences, bool>'. Remove this assert. (https://xunit.net/xunit.analyzers/rules/xUnit2002)
|
Autobuild:
test/Altinn.Profile.Tests/Profile.Integrations/Person/PersonServiceTests.cs#L296
Do not use Assert.NotNull() on value type 'Result<IPersonContactPreferences, bool>'. Remove this assert. (https://xunit.net/xunit.analyzers/rules/xUnit2002)
|
Autobuild:
src/Altinn.Profile.Integrations/Services/PersonService.cs#L35
Parameter 'metadataRepository' has no matching param tag in the XML comment for 'PersonService.PersonService(IMapper, IPersonRepository, IMetadataRepository, INationalIdentityNumberChecker, IContactRegisterService)' (but other parameters do)
|
Autobuild:
src/Altinn.Profile.Integrations/Services/PersonService.cs#L35
Parameter 'changesLogService' has no matching param tag in the XML comment for 'PersonService.PersonService(IMapper, IPersonRepository, IMetadataRepository, INationalIdentityNumberChecker, IContactRegisterService)' (but other parameters do)
|
Loading