Skip to content

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

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

Triggered via pull request October 14, 2024 15:48
Status Failure
Total duration 1m 6s
Artifacts

build-and-analyze.yml

on: pull_request
Build, test & analyze
57s
Build, test & analyze
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
Build, test & analyze: src/Altinn.Profile/UseCases/ContactDetailsRetriever.cs#L39
The type or namespace name 'UserContactPointLookup' could not be found (are you missing a using directive or an assembly reference?)
Build, test & analyze: src/Altinn.Profile/UseCases/IContactDetailsRetriever.cs#L21
The type or namespace name 'UserContactPointLookup' could not be found (are you missing a using directive or an assembly reference?)
Build, test & analyze: src/Altinn.Profile/UseCases/PersonContactDetailsRetriever.cs#L36
'PersonContactDetails' is an ambiguous reference between 'Altinn.Profile.Models.PersonContactDetails' and 'Altinn.Profile.Integrations.Entities.PersonContactDetails'
Build, test & analyze: src/Altinn.Profile/Controllers/ContactDetailsController.cs#L53
The type or namespace name 'UserContactPointLookup' could not be found (are you missing a using directive or an assembly reference?)
Build, test & analyze: src/Altinn.Profile/UseCases/PersonContactDetailsRetriever.cs#L58
'PersonContactDetailsLookupResult' is an ambiguous reference between 'Altinn.Profile.Models.PersonContactDetailsLookupResult' and 'Altinn.Profile.Integrations.Entities.PersonContactDetailsLookupResult'
Build, test & analyze: src/Altinn.Profile/UseCases/PersonContactDetailsRetriever.cs#L76
'PersonContactDetailsLookupResult' is an ambiguous reference between 'Altinn.Profile.Models.PersonContactDetailsLookupResult' and 'Altinn.Profile.Integrations.Entities.PersonContactDetailsLookupResult'
Build, test & analyze: src/Altinn.Profile/UseCases/PersonContactDetailsRetriever.cs#L16
'PersonContactDetailsRetriever' does not implement interface member 'IPersonContactDetailsRetriever.RetrieveAsync(PersonContactDetailsLookupCriteria)'. 'PersonContactDetailsRetriever.RetrieveAsync(PersonContactDetailsLookupCriteria)' cannot implement 'IPersonContactDetailsRetriever.RetrieveAsync(PersonContactDetailsLookupCriteria)' because it does not have the matching return type of 'Task<Result<PersonContactDetailsLookupResult, bool>>'.
Build, test & analyze: src/Altinn.Profile/Controllers/ContactDetailsInternalController.cs#L52
The type or namespace name 'UserContactPointLookup' could not be found (are you missing a using directive or an assembly reference?)
Build, test & analyze: src/Altinn.Profile/UseCases/ContactDetailsRetriever.cs#L39
The type or namespace name 'UserContactPointLookup' could not be found (are you missing a using directive or an assembly reference?)
Build, test & analyze: src/Altinn.Profile/UseCases/IContactDetailsRetriever.cs#L21
The type or namespace name 'UserContactPointLookup' could not be found (are you missing a using directive or an assembly reference?)
Build, test & analyze: src/Altinn.Profile.Integrations/ContactDetailsHttpClient.cs#L96
The variable 'ex' is declared but never used
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#L96
Add logic to this catch clause or eliminate it and rethrow the exception automatically. (https://rules.sonarsource.com/csharp/RSPEC-2737)
Build, test & analyze: src/Altinn.Profile.Integrations/ContactDetailsHttpClient.cs#L41
ArgumentException constructor arguments have been inverted. (https://rules.sonarsource.com/csharp/RSPEC-3928)
Build, test & analyze: src/Altinn.Profile.Integrations/ContactDetailsHttpClient.cs#L46
ArgumentException constructor arguments have been inverted. (https://rules.sonarsource.com/csharp/RSPEC-3928)
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.Integrations/ContactDetailsHttpClient.cs#L96
The variable 'ex' is declared but never used
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
No files were found with the provided path: **/TestResults/*.trx. No artifacts will be uploaded.