Skip to content

Add new person as user in organization #503

Add new person as user in organization

Add new person as user in organization #503

Triggered via pull request January 15, 2025 08:30
Status Success
Total duration 4m 30s
Artifacts
Continous Integration  /  Build
34s
Continous Integration / Build
Continous Integration  /  Test
41s
Continous Integration / Test
Continous Integration  /  Analyze
4m 17s
Continous Integration / Analyze
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
Continous Integration / Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Continous Integration / Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Continous Integration / Analyze: backend/src/Altinn.AccessManagement.UI/Altinn.AccessManagement.UI.Core/Services/UserService.cs#L17
Remove this unread private field '_logger' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
Continous Integration / Analyze: backend/src/Altinn.AccessManagement.UI/Altinn.AccessManagement.UI.Core/Services/UserService.cs#L32
Update this logger to use its enclosing type. (https://rules.sonarsource.com/csharp/RSPEC-6672)
Continous Integration / Analyze: backend/src/Altinn.AccessManagement.UI/Altinn.AccessManagement.UI.Integration/ClientUtils.cs#L10
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
Continous Integration / Analyze: backend/src/Altinn.AccessManagement.UI/Altinn.AccessManagement.UI.Integration/Clients/RegisterClient.cs#L68
Define a constant instead of using this literal 'application/json' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Continous Integration / Analyze: backend/src/Altinn.AccessManagement.UI/Altinn.AccessManagement.UI.Integration/ClientUtils.cs#L50
Don't use string interpolation in logging message templates. (https://rules.sonarsource.com/csharp/RSPEC-2629)
Continous Integration / Analyze: backend/src/Altinn.AccessManagement.UI/Altinn.AccessManagement.UI.Integration/Clients/RegisterClient.cs#L81
Either log this exception and handle it, or rethrow it with some contextual information. (https://rules.sonarsource.com/csharp/RSPEC-2139)
Continous Integration / Analyze: backend/src/Altinn.AccessManagement.UI/Altinn.AccessManagement.UI.Integration/Clients/RegisterClient.cs#L125
Either log this exception and handle it, or rethrow it with some contextual information. (https://rules.sonarsource.com/csharp/RSPEC-2139)
Continous Integration / Analyze: backend/src/Altinn.AccessManagement.UI/Altinn.AccessManagement.UI.Integration/Clients/RegisterClient.cs#L98
Remove the unused local variable 'responseContent'. (https://rules.sonarsource.com/csharp/RSPEC-1481)
Continous Integration / Analyze: backend/src/Altinn.AccessManagement.UI/Altinn.AccessManagement.UI.Integration/Clients/RegisterClient.cs#L122
Use PascalCase for named placeholders. (https://rules.sonarsource.com/csharp/RSPEC-6678)
Continous Integration / Analyze: backend/src/Altinn.AccessManagement.UI/Altinn.AccessManagement.UI.Integration/Clients/RegisterClient.cs#L78
Use PascalCase for named placeholders. (https://rules.sonarsource.com/csharp/RSPEC-6678)