Skip to content

Make Authorization service more testable by passing ClaimsPrincipal a… #206

Make Authorization service more testable by passing ClaimsPrincipal a…

Make Authorization service more testable by passing ClaimsPrincipal a… #206

Triggered via push November 19, 2024 10:22
Status Failure
Total duration 30d 0h 13m 43s
Artifacts

ci-cd.yaml

on: push
Internal staging
0s
Internal staging
staging review time expired
Production
0s
Production
Release to git
0s
Release to git
Fit to window
Zoom out
Zoom in

Annotations

1 error and 14 warnings
Internal staging
The deployment was rejected or didn't satisfy other protection rules.
QA / Test application: src/Altinn.Correspondence.Core/Models/Entities/Party.cs#L28
Non-nullable property 'OrgNumber' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
QA / Test application: src/Altinn.Correspondence.Core/Models/Entities/Party.cs#L33
Non-nullable property 'SSN' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
QA / Test application: src/Altinn.Correspondence.Core/Models/Entities/Party.cs#L38
Non-nullable property 'UnitType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
QA / Test application: src/Altinn.Correspondence.Core/Models/Entities/Party.cs#L43
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
QA / Test application: src/Altinn.Correspondence.Core/Models/Entities/Party.cs#L58
Non-nullable property 'ChildParties' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
QA / Test application: src/Altinn.Correspondence.Core/Models/Entities/AttachmentEntity.cs#L19
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
QA / Test application: src/Altinn.Correspondence.Core/Services/Mappers/DialogportenText.cs#L31
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(Altinn.Correspondence.Core.Dialogporten.Mappers.DialogportenTextType)7' is not covered.
QA / Test application: src/Altinn.Correspondence.Core/Services/Mappers/DialogportenText.cs#L41
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(Altinn.Correspondence.Core.Dialogporten.Mappers.DialogportenTextType)7' is not covered.
QA / Test application: src/Altinn.Correspondence.Core/Services/Mappers/DialogportenText.cs#L51
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(Altinn.Correspondence.Core.Dialogporten.Mappers.DialogportenTextType)7' is not covered.
QA / Test application: src/Altinn.Correspondence.Persistence/Repositories/AttachmentRepository.cs#L62
Nullability of reference types in return type of 'Task<List<AttachmentEntity?>> AttachmentRepository.GetAttachmentsByCorrespondence(Guid correspondenceId, CancellationToken cancellationToken)' doesn't match implicitly implemented member 'Task<List<AttachmentEntity>> IAttachmentRepository.GetAttachmentsByCorrespondence(Guid correspondenceId, CancellationToken cancellationToken)'.
Internal test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Internal test
This deployment mode is not supported for subscription scoped deployments, this parameter will be ignored!
Internal test
WARNING: The configuration value of bicep.use_binary_from_path has been set to 'false'.
Internal test
Unexpected input(s) 'region', 'environment', valid inputs are ['AZURE_CLIENT_ID', 'AZURE_TENANT_ID', 'AZURE_SUBSCRIPTION_ID', 'AZURE_ENVIRONMENT_KEY_VAULT_NAME', 'AZURE_NAME_PREFIX', 'AZURE_STORAGE_ACCOUNT_NAME']