Skip to content

update api route for legacy to work in apim #143

update api route for legacy to work in apim

update api route for legacy to work in apim #143

Triggered via push October 22, 2024 08:34
Status Failure
Total duration 30d 0h 11m 52s
Artifacts

ci-cd.yaml

on: push
Internal test  /  Get version
4s
Internal test / Get version
Internal test  /  Publish
47s
Internal test / Publish
Internal test  /  Deploy
11m 15s
Internal test / Deploy
Internal staging  /  Get version
4s
Internal staging / Get version
Internal staging  /  Publish
44s
Internal staging / Publish
Internal staging  /  Deploy
0s
Internal staging / Deploy
staging review time expired
Production  /  Get version
Production / Get version
Production  /  Deploy
Production / Deploy
Production  /  Publish
Production / Publish
Release to git
0s
Release to git
Fit to window
Zoom out
Zoom in

Annotations

1 error and 16 warnings
Internal staging / Deploy
The deployment was rejected or didn't satisfy other protection rules.
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)'.
QA / Test application: src/Altinn.Correspondence.Persistence/DependencyInjection.cs#L43
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Internal test / Deploy
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 / Deploy
This deployment mode is not supported for subscription scoped deployments, this parameter will be ignored!
Internal test / Deploy
WARNING: The configuration value of bicep.use_binary_from_path has been set to 'false'.
Internal test / Deploy
This deployment mode is not supported for subscription scoped deployments, this parameter will be ignored!
Internal test / Deploy
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']
Internal test / Deploy
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']