Skip to content

Changed to use resource registry endpoint instead of bridge #4847

Changed to use resource registry endpoint instead of bridge

Changed to use resource registry endpoint instead of bridge #4847

Triggered via pull request November 13, 2023 07:56
Status Failure
Total duration 7m 32s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

designer-dotnet-test.yaml

on: pull_request
Matrix: Run dotnet build and test
Fit to window
Zoom out
Zoom in

Annotations

1 error and 30 warnings
Run dotnet build and test (windows-latest)
Process completed with exit code 1.
Run dotnet build and test (ubuntu-latest): backend/src/Designer/Models/ServiceResource.cs#L58
Non-nullable property 'ContactPoints' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run dotnet build and test (ubuntu-latest): backend/src/Designer/Program.cs#L152
'ApplicationInsightsLoggingBuilderExtensions.AddApplicationInsights(ILoggingBuilder, string)' is obsolete: 'InstrumentationKey based global ingestion is being deprecated. Use the AddApplicationInsights() overload which accepts Action<TelemetryConfiguration> and set TelemetryConfiguration.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.'
Run dotnet build and test (ubuntu-latest): backend/src/Designer/Program.cs#L216
'ApplicationInsightsExtensions.AddApplicationInsightsTelemetry(IServiceCollection, string)' is obsolete: 'InstrumentationKey based global ingestion is being deprecated. Use the AddApplicationInsightsTelemetry() overload which accepts Action<ApplicationInsightsServiceOptions> and set ApplicationInsightsServiceOptions.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.'
Run dotnet build and test (ubuntu-latest): backend/src/Designer/TypedHttpClients/Altinn2Metadata/Altinn2MetadataClient.cs#L60
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Run dotnet build and test (ubuntu-latest): backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L11
Non-nullable property 'Links' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run dotnet build and test (ubuntu-latest): backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L17
Non-nullable property 'DownloadUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run dotnet build and test (ubuntu-latest): backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L23
Non-nullable property 'GitUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run dotnet build and test (ubuntu-latest): backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L26
Non-nullable property 'HtmlUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run dotnet build and test (ubuntu-latest): backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L29
Non-nullable property 'LastCommitSha' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run dotnet build and test (ubuntu-latest): backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L32
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run dotnet build and test (macos-latest): backend/src/Designer/Program.cs#L152
'ApplicationInsightsLoggingBuilderExtensions.AddApplicationInsights(ILoggingBuilder, string)' is obsolete: 'InstrumentationKey based global ingestion is being deprecated. Use the AddApplicationInsights() overload which accepts Action<TelemetryConfiguration> and set TelemetryConfiguration.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.'
Run dotnet build and test (macos-latest): backend/src/Designer/Program.cs#L216
'ApplicationInsightsExtensions.AddApplicationInsightsTelemetry(IServiceCollection, string)' is obsolete: 'InstrumentationKey based global ingestion is being deprecated. Use the AddApplicationInsightsTelemetry() overload which accepts Action<ApplicationInsightsServiceOptions> and set ApplicationInsightsServiceOptions.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.'
Run dotnet build and test (macos-latest): backend/src/Designer/Models/ServiceResource.cs#L58
Non-nullable property 'ContactPoints' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run dotnet build and test (macos-latest): backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L11
Non-nullable property 'Links' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run dotnet build and test (macos-latest): backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L17
Non-nullable property 'DownloadUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run dotnet build and test (macos-latest): backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L23
Non-nullable property 'GitUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run dotnet build and test (macos-latest): backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L26
Non-nullable property 'HtmlUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run dotnet build and test (macos-latest): backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L29
Non-nullable property 'LastCommitSha' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run dotnet build and test (macos-latest): backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L32
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run dotnet build and test (macos-latest): backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L35
Non-nullable property 'Path' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run dotnet build and test (windows-latest): backend/src/Designer/TypedHttpClients/Altinn2Metadata/Altinn2MetadataClient.cs#L60
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Run dotnet build and test (windows-latest): backend/src/Designer/Program.cs#L152
'ApplicationInsightsLoggingBuilderExtensions.AddApplicationInsights(ILoggingBuilder, string)' is obsolete: 'InstrumentationKey based global ingestion is being deprecated. Use the AddApplicationInsights() overload which accepts Action<TelemetryConfiguration> and set TelemetryConfiguration.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.'
Run dotnet build and test (windows-latest): backend/src/Designer/Program.cs#L216
'ApplicationInsightsExtensions.AddApplicationInsightsTelemetry(IServiceCollection, string)' is obsolete: 'InstrumentationKey based global ingestion is being deprecated. Use the AddApplicationInsightsTelemetry() overload which accepts Action<ApplicationInsightsServiceOptions> and set ApplicationInsightsServiceOptions.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.'
Run dotnet build and test (windows-latest): backend/src/Designer/Models/ServiceResource.cs#L58
Non-nullable property 'ContactPoints' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run dotnet build and test (windows-latest): backend/src/Designer/Services/Implementation/ResourceRegistryService.cs#L232
The variable 'resources' is assigned but its value is never used
Run dotnet build and test (windows-latest): backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L11
Non-nullable property 'Links' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run dotnet build and test (windows-latest): backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L17
Non-nullable property 'DownloadUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run dotnet build and test (windows-latest): backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L23
Non-nullable property 'GitUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run dotnet build and test (windows-latest): backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L26
Non-nullable property 'HtmlUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Run dotnet build and test (windows-latest): backend/src/Designer/RepositoryClient/Model/ContentsResponse.cs#L29
Non-nullable property 'LastCommitSha' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.