Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the all-packages group across 1 directory with 3 updates #171

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 6, 2024

Bumps the all-packages group with 3 updates in the /UKHO.D365CallbackDistributorStub.API directory: NUnit3TestAdapter, Azure.Core and Swashbuckle.AspNetCore.

Updates NUnit3TestAdapter from 4.5.0 to 4.6.0

Release notes

Sourced from NUnit3TestAdapter's releases.

V4.6.0

See release notes

Commits

Updates Azure.Core from 1.40.0 to 1.42.0

Release notes

Sourced from Azure.Core's releases.

Azure.Core_1.42.0

1.42.0 (2024-08-01)

Other Changes

  • Improved memory performance for Event Source formatting #43947
  • Upgraded dependency on System.Text.Encodings.Web to 6.0.0
  • Upgraded dependency on Microsoft.Bcl.AsyncInterfaces to 6.0.0

Azure.Core_1.41.0

1.41.0 (2024-07-11)

Bugs Fixed

  • Fixed an issue that could result in BearerTokenAuthenticationPolicy fails to refresh a token, resulting in a OperationCanceledException (#44882).
  • Fixed case where a GeoJSON string could not be deserialized when the BoundingBox JSON value ("bbox") was set explicitly to null (#44835).
Commits
  • 1135456 Preparation for release of Azure.Core and System.ClientModel (#45308)
  • 3af3178 Increment package version after release of Azure.Messaging.ServiceBus (#45283)
  • 670b536 chore: v1.5.0 release prep (#45243)
  • 5eb73cd Conversations SDK - Update readme and add support for sovereign clouds (#45291)
  • 9e7f50e Generate and implement Maps Search V2 (#43536)
  • d15d4aa [AzureMonitorDistro] Read APPLICATIONINSIGHTS_CONNECTION_STRING from IConfigu...
  • 4503f47 Prepare for v12.9.1 release (#45290)
  • ede7138 [Storage] Add Changelog for fixing "BlobContainerClient constructor to set cl...
  • e9e3639 SDK For Azure.AI.Language.Text (#45126)
  • 44a61f9 Increment package version after release of Azure.Core.Amqp (#45265)
  • Additional commits viewable in compare view

Updates Swashbuckle.AspNetCore from 6.6.2 to 6.7.0

Release notes

Sourced from Swashbuckle.AspNetCore's releases.

v6.7.0

What's Changed

New Contributors

Full Changelog: domaindrivendev/Swashbuckle.AspNetCore@v6.6.2...v6.7.0

Commits
  • 531c4c0 Use HttpMethods.IsGet()
  • f2ed1aa Remove build from CodeQL
  • 6417588 Bump github/codeql-action from 3.25.13 to 3.25.15
  • 9b9d2ad Bump actions/attest-build-provenance from 1.3.3 to 1.4.0 (#2998)
  • ca59f40 Bump ossf/scorecard-action from 2.3.3 to 2.4.0 (#2997)
  • 55ca891 Bump github/codeql-action from 3.25.12 to 3.25.13 (#2994)
  • 85fefe4 Support non-nullable types as required (#2803)
  • 3553751 Support [JsonRequired] (#2988)
  • fdb7d6b Support generics and overloads for XML comments (#2982)
  • f85abd4 Bump github/codeql-action from 3.25.11 to 3.25.12 (#2984)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot requested review from rockydevnet and a team as code owners August 6, 2024 15:20
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 6, 2024
@HugoBurgess
Copy link
Contributor

@dependabot recreate

Bumps the all-packages group with 3 updates in the /UKHO.D365CallbackDistributorStub.API directory: [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter), [Azure.Core](https://github.com/Azure/azure-sdk-for-net) and [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore).


Updates `NUnit3TestAdapter` from 4.5.0 to 4.6.0
- [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases)
- [Commits](nunit/nunit3-vs-adapter@V4.5.0...V4.6.0)

Updates `Azure.Core` from 1.40.0 to 1.42.0
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](Azure/azure-sdk-for-net@Azure.Core_1.40.0...Azure.Core_1.42.0)

Updates `Swashbuckle.AspNetCore` from 6.6.2 to 6.7.0
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](domaindrivendev/Swashbuckle.AspNetCore@v6.6.2...v6.7.0)

---
updated-dependencies:
- dependency-name: NUnit3TestAdapter
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Azure.Core
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Swashbuckle.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/nuget/UKHO.D365CallbackDistributorStub.API/all-packages-c075d24ea1 branch from 8bbdfb1 to 360b047 Compare August 6, 2024 15:24
Copy link
Contributor

@HugoBurgess HugoBurgess left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

@HugoBurgess HugoBurgess merged commit e931a0b into main Aug 6, 2024
3 checks passed
@HugoBurgess HugoBurgess deleted the dependabot/nuget/UKHO.D365CallbackDistributorStub.API/all-packages-c075d24ea1 branch August 6, 2024 16:04
richardAhz added a commit that referenced this pull request Aug 7, 2024
* Use correct variable library for QA (#137)

* Update Azure subscription for deployment (#160)

* Update Azure subscription for deployment

Updated the Azure subscription in `azure-pipelines.yml` from "UKHO-APIM-SOLAS-NonLive" to "UKHO-APIM-SOLAS-Live", shifting deployment to the live environment.

* NVD suppressions

* Abzu-164809 - Add event publish delay configuration (#164)

This commit introduces a new configuration for controlling the delay before publishing events, aiming to enhance the flexibility and reliability of the event processing system. The key changes include:

- Updated `appsettings.json` to include `EventProcessorConfiguration` with a `ScsEventPublishDelayInSeconds` property, initially set to 2, later updated to 10 seconds.
- Modified `ScsEventProcessor.cs` and `ScsEventProcessorTest.cs` to utilize the new configuration, adding necessary `using` directives, a private configuration field, and adjusting the constructor to accept the configuration as a parameter. Also, implemented logic to calculate the delay in milliseconds, ensuring it falls within defined min and max bounds.
- Added `EventProcessorConfiguration.cs` class to define the configuration structure.
- Updated `Startup.cs` to bind the new configuration to the `EventProcessorConfiguration` class, making it available through dependency injection.
- Enhanced testing by adding new test cases in `ScsEventProcessorTest.cs` and `EventProcessorBaseTest.cs` to verify the behavior of the event processor with different configured delays and the successful delay of event publication, respectively.

* Abzu-commented out unuseful asserts (#169)

* Replace obsolete packages and uplift to .NET 8 (#170)

* Td/abzu 137905 app insights upgrade2 (#118)

* Bump the all-packages group (#114)

Bumps the all-packages group in /UKHO.ExternalNotificationService.API with 1 update: [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest).


Updates `Microsoft.NET.Test.Sdk` from 17.8.0 to 17.9.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.8.0...v17.9.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump the all-packages group (#115)

Bumps the all-packages group in /UKHO.D365CallbackDistributorStub.API with 1 update: [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest).


Updates `Microsoft.NET.Test.Sdk` from 17.8.0 to 17.9.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.8.0...v17.9.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Abzu 137905 - update App Insights (#116)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Develop merge (#119)

* Bump the all-packages group (#114)

Bumps the all-packages group in /UKHO.ExternalNotificationService.API with 1 update: [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest).


Updates `Microsoft.NET.Test.Sdk` from 17.8.0 to 17.9.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.8.0...v17.9.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump the all-packages group (#115)

Bumps the all-packages group in /UKHO.D365CallbackDistributorStub.API with 1 update: [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest).


Updates `Microsoft.NET.Test.Sdk` from 17.8.0 to 17.9.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.8.0...v17.9.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Abzu 137905 - update App Insights (#116)

* Update .NET SDK to 6.0.419 (#117)

* Update .NET SDK

Update .NET SDK to version 6.0.419.

---
updated-dependencies:
- dependency-name: Microsoft.NET.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Bump .NET NuGet packages with 6 updates

Bump .NET NuGet packages with 6 updates:

Update Microsoft.AspNetCore.Authentication.JwtBearer from 6.0.26 to 6.0.27.
Update Microsoft.AspNetCore.HeaderPropagation from 6.0.26 to 6.0.27.
Update Microsoft.AspNetCore.Mvc.NewtonsoftJson from 6.0.26 to 6.0.27.
Update Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions from 6.0.26 to 6.0.27.
Update Microsoft.Extensions.Http.Polly from 6.0.26 to 6.0.27.
Update Microsoft.Extensions.Logging.AzureAppServices from 6.0.26 to 6.0.27.

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Authentication.JwtBearer
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.AspNetCore.HeaderPropagation
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.AspNetCore.Mvc.NewtonsoftJson
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Extensions.Http.Polly
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Extensions.Logging.AzureAppServices
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Dev/abzu 143974 dependabot updates (#121)

* Bump the all-packages group (#114)

Bumps the all-packages group in /UKHO.ExternalNotificationService.API with 1 update: [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest).


Updates `Microsoft.NET.Test.Sdk` from 17.8.0 to 17.9.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.8.0...v17.9.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump the all-packages group (#115)

Bumps the all-packages group in /UKHO.D365CallbackDistributorStub.API with 1 update: [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest).


Updates `Microsoft.NET.Test.Sdk` from 17.8.0 to 17.9.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.8.0...v17.9.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Abzu 137905 - update App Insights (#116)

* Update .NET SDK to 6.0.419 (#117)

* Update .NET SDK

Update .NET SDK to version 6.0.419.

---
updated-dependencies:
- dependency-name: Microsoft.NET.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Bump .NET NuGet packages with 6 updates

Bump .NET NuGet packages with 6 updates:

Update Microsoft.AspNetCore.Authentication.JwtBearer from 6.0.26 to 6.0.27.
Update Microsoft.AspNetCore.HeaderPropagation from 6.0.26 to 6.0.27.
Update Microsoft.AspNetCore.Mvc.NewtonsoftJson from 6.0.26 to 6.0.27.
Update Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions from 6.0.26 to 6.0.27.
Update Microsoft.Extensions.Http.Polly from 6.0.26 to 6.0.27.
Update Microsoft.Extensions.Logging.AzureAppServices from 6.0.26 to 6.0.27.

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Authentication.JwtBearer
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.AspNetCore.HeaderPropagation
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.AspNetCore.Mvc.NewtonsoftJson
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Extensions.Http.Polly
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Extensions.Logging.AzureAppServices
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Bump the all-packages group in /UKHO.ExternalNotificationService.API with 3 updates (#120)

* Bump the all-packages group

Bumps the all-packages group in /UKHO.ExternalNotificationService.API with 3 updates: [Azure.Extensions.AspNetCore.Configuration.Secrets](https://github.com/Azure/azure-sdk-for-net), [Azure.Security.KeyVault.Secrets](https://github.com/Azure/azure-sdk-for-net) and [Azure.Messaging.EventGrid](https://github.com/Azure/azure-sdk-for-net).


Updates `Azure.Extensions.AspNetCore.Configuration.Secrets` from 1.3.0 to 1.3.1
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](Azure/azure-sdk-for-net@Azure.Extensions.AspNetCore.Configuration.Secrets_1.3.0...Azure.Extensions.AspNetCore.Configuration.Secrets_1.3.1)

Updates `Azure.Security.KeyVault.Secrets` from 4.5.0 to 4.6.0
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](Azure/azure-sdk-for-net@Azure.Security.KeyVault.Secrets_4.5.0...Azure.Security.KeyVault.Secrets_4.6.0)

Updates `Azure.Messaging.EventGrid` from 4.21.0 to 4.22.0
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](Azure/azure-sdk-for-net@Azure.Messaging.EventGrid_4.21.0...Azure.Messaging.EventGrid_4.22.0)

---
updated-dependencies:
- dependency-name: Azure.Extensions.AspNetCore.Configuration.Secrets
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Azure.Security.KeyVault.Secrets
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Azure.Messaging.EventGrid
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update packages

* Remove unused suppression

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: HugoBurgess <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Remove depricated azure packages from API

* Remove obsolete Microsoft.Azure.EventGrid from Common

* First attempt migrate Microsoft.Azure.Management.EventGrid to
Azure.ResourceManager.EventGrid

* fixing DeadLetter callback test

* Re organise code

* Remove comments and tidy

* Updated Stub
Removed NewtonSoft references

* Remove CustomCloudEvent from functional tests

* Reset stub back to old version

* fix missing  newtonsoft package

* Remove secrets again

Removed newtonsoft from most of the api code

Remove secrets

Removed newtonsoft from most of the api code

* Json convert problem in health check

* System.Text.Json my not be able to deserialize dynamic

* Fix json dynamic conversion issue

* Fix and tidy json dynamic issue

* ConvertObjectTo needs to convert JsonElement.

* Abzu-103814-Replaced default ubuntu pool with Mare Nectaris (#130) (#131)

* Update API Packages

* Add JsonSerializerOptions set to case insensative

* Minor Package updates

* Add JsonOptions CaseInsensitive = true

* add serialization options CaseInsensitive = true

* Update CustomCloudEvent and DistributorRequest
Remove CustomCloudEvent dependency on EventGridEvent.
DistributorRequst.StatusCode properly cased

* Add check that the stub return is ok
Something has changed

* Add JsonPropertyName attribute

* Set test EventBodyData method attributes to camelcCase

* Add serializeOptions to base controller which will be applied to incoming data.

* add serializeoptions to ConvertObjectTo

* Add JsonSerializerOptions to FssEventDataMapping

* Alter Failing Test, not a fix

* Add more checks

* More checks added

* Remove Tracing code

* Remove newtonsoft from common, Tidy and trace DeadLetterCallback

* Add Json Options to ScsEventDataMapping
Remove tracing from DeadLetterCallback
Update Assert that stubRequest was successful
Mark WebJobHelper Deserializer for review

* Add trace to DeadLetterCallback test

* Remove newtonsoft from API and related FTs

* LoggingMiddleware add protected blocks to redact
comment out trace from DeadLetterCallback

* Remove trace from  DeadLetterCallback

* Remove dependency on Microsoft.Azure.EventGrid
Remove dependency on Newtonsoft

* Remove reference to Newtonsoft

* Remove comments

* First attempt at uplifting to .NET 8
stub no longer uses startup.cs

* Enable nullable at a global level

* Update Azure.Identity and Microsoft.Identity.Client

* Update all Packages

* address Dereference of possible null reference warning

* Suspend a test assertion in SubscritionControllerTest.cs

* Remove nullable warnings
Fix SubscriptionControllerTest to include CorrelationId

* Set class property default values

* Update NVD
Set Class Properties to default
Resolve other null reference issues

* Fix failed test

* Remove sdk update based on Global entry
FssEventData contained classes instantiated by default
Cache serialization options and ignore some nulls

* Remove  null reference issues

* Added new process methods to reduce the serialization effort

* Comment out methods
Remove null issues
update unit tests for code additions

* Remove Comments and null reference issues
Change Headers.Add to Headers.Append

* Use Headers.Append instead of Headers.Add

* Remove Comments

* This commit includes several updates to improve code readability. Commented out code in `CustomCloudEvent.cs` and `DistributorRequest.cs` has been removed. Method summaries have been added or updated in `FssEventValidationAndMappingService.cs`, `EventProcessorBase.cs`, `AzureEventGridDomainService.cs`, `EventSubscriptionConfiguration.cs`, and `SubscriptionServiceData.cs` to provide additional context and explanation.

* Remove comments and commented code.

* Remove Dotnet 6.0 reference

* Updating NVD Suppression

* Updating NVD Suppressions

* Updating NVD Suppressions

* Update NVD Suppressions

* Checking Terraform staging and stub_service slots .Net version

* Update NVD Suppression

* Update Nuget packages

* Update Nuget packages and NVD suppression

* Update NVD Suppressions

* Update NVD Suppressions

* Update stub packages

* Update NVD Suppressions

* Update NVD Suppression

* Update NVD Suppression

* Update NVD Suppression

* Update NVD Suppressions

* Update NVD Suppression

* Update NVD Suppression

* Update NVD Suppression

* Update Webapp/main.tf to net 8 for staging and stub_webapp_service

* Added clear queue endpoint to stub

* Merge main hotfixes into develop (#168)

* Use correct variable library for QA (#137)

* Update Azure subscription for deployment (#160)

* Update Azure subscription for deployment

Updated the Azure subscription in `azure-pipelines.yml` from "UKHO-APIM-SOLAS-NonLive" to "UKHO-APIM-SOLAS-Live", shifting deployment to the live environment.

* NVD suppressions

* Abzu-164809 - Add event publish delay configuration (#164)

This commit introduces a new configuration for controlling the delay before publishing events, aiming to enhance the flexibility and reliability of the event processing system. The key changes include:

- Updated `appsettings.json` to include `EventProcessorConfiguration` with a `ScsEventPublishDelayInSeconds` property, initially set to 2, later updated to 10 seconds.
- Modified `ScsEventProcessor.cs` and `ScsEventProcessorTest.cs` to utilize the new configuration, adding necessary `using` directives, a private configuration field, and adjusting the constructor to accept the configuration as a parameter. Also, implemented logic to calculate the delay in milliseconds, ensuring it falls within defined min and max bounds.
- Added `EventProcessorConfiguration.cs` class to define the configuration structure.
- Updated `Startup.cs` to bind the new configuration to the `EventProcessorConfiguration` class, making it available through dependency injection.
- Enhanced testing by adding new test cases in `ScsEventProcessorTest.cs` and `EventProcessorBaseTest.cs` to verify the behavior of the event processor with different configured delays and the successful delay of event publication, respectively.

* Refactor event processing and add JSON package

- Updated `System.Text.Json` package from version '8.0.0' to version `8.0.4` to remove  vulnerabilities in `UKHO.ExternalNotificationService.API.FunctionalTests`, `UKHO.ExternalNotificationService.API`, and `UKHO.ExternalNotificationService.SubscriptionService`.
- Re-introduce the following code, removed due to manual merge correction;
- Initialized `_errors` list in `ScsEventProcessor.cs` to an empty list to avoid null reference exceptions when adding errors.
- Refactored event data processing in `ScsEventProcessor.cs` for improved robustness. This includes changing the method of converting `customCloudEvent` to `CloudEventCandidate<ScsEventData>` and updating the validation and mapping processes to handle non-null `candidate.Data`.

* Refactor event data mapping methods

Updated the `ScsEventProcessorTest.cs` in the `UKHO.ExternalNotificationService.API.UnitTests.Services` namespace to enhance event data mapping and conversion. Replaced `_fakeScsEventValidationAndMappingService.ScsEventDataMapping` with `_fakeScsEventValidationAndMappingService.MapToCloudEvent` for improved event data to cloud event format mapping. Also, switched from `_fakeAzureEventGridDomainService.JsonDeserialize<ScsEventData>` to `_fakeAzureEventGridDomainService.ConvertObjectTo<ScsEventData>` for a more flexible JSON to `ScsEventData` conversion approach.

* Refine assertion in ScsEventProcessorTest

Updated the assertion in a test method within ScsEventProcessorTest.cs to check if `result.Errors` is `Empty` rather than `null`. This adjustment ensures the test accurately verifies the absence of errors, accommodating both null and empty scenarios.

* Refactor code and update package dependencies in `UKHO.ExternalNotificationService.API.FunctionalTests.csproj`

- Removed `Microsoft.Azure.EventGrid.Models` namespace usage from `CustomCloudEvent.cs`, indicating a shift away from the `Microsoft.Azure.EventGrid` package for this file.
- Microsoft.AspNetCore.Mvc.Core ` version `2.2.5` has been deprecated as it is legacy and is no longer maintained. Replaced with Microsoft.AspNetCore.Mvc.Testing version '8.0.7'
- Removed  `Microsoft.Azure.EventGrid` version `3.2.1` , this package is obsolete as of 3/31/2023 and not used.

- Updated `Azure.Storage.Queues` to `12.19.0`
- Updated `Microsoft.Extensions.Configuration.Binder` to `8.0.2`
- Updated `Microsoft.NET.Test.Sdk` to `17.10.0`

* Refactor status code assertions in tests

Updated assertions in `DeadLetterCallbackToD365Test.cs` to enhance readability and type safety by replacing direct integer comparisons with `HttpStatusCode.OK` enum comparisons. This change affects two sections within the `UKHO.ExternalNotificationService.API.FunctionalTests.FunctionalTests` namespace, making the code more maintainable and the intent clearer. Original assertions are commented out for reference, marked with `// rhz`.

* attempting to get more info for test failure

* Looking into test failure

* Testing failing test

* Temporarily disable parts of DeadLetterCallbackToD365Test

Commented out initialization, HTTP request, deserialization, and assertions in DeadLetterCallbackToD365Test.cs. These changes are intended to temporarily disable certain parts of the test until they can be fixed, as indicated by the comment `// rhz - Disabled until the test is fixed.`.

* Clarify reason for disabled test in DeadLetterCallbackToD365Test

Updated the comment for the disabled HTTP request and response
validation test in DeadLetterCallbackToD365Test.cs. The new
comment explains that the code is removed until the correct
response can be determined, replacing the previous comment
which suggested a temporary disablement. The actual commented-
out code remains unchanged.

---------

Co-authored-by: HugoBurgess <[email protected]>
Co-authored-by: JiviteshT <[email protected]>

* Remove duplicated tests

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: HugoBurgess <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: HugoBurgess <[email protected]>
Co-authored-by: JiviteshT <[email protected]>
Co-authored-by: onesixtyfourth <[email protected]>

* Bump the all-packages group across 1 directory with 3 updates (#171)

* Bump the all-packages group across 1 directory with 3 updates

Bumps the all-packages group with 3 updates in the /UKHO.D365CallbackDistributorStub.API directory: [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter), [Azure.Core](https://github.com/Azure/azure-sdk-for-net) and [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore).


Updates `NUnit3TestAdapter` from 4.5.0 to 4.6.0
- [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases)
- [Commits](nunit/nunit3-vs-adapter@V4.5.0...V4.6.0)

Updates `Azure.Core` from 1.40.0 to 1.42.0
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](Azure/azure-sdk-for-net@Azure.Core_1.40.0...Azure.Core_1.42.0)

Updates `Swashbuckle.AspNetCore` from 6.6.2 to 6.7.0
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](domaindrivendev/Swashbuckle.AspNetCore@v6.6.2...v6.7.0)

---
updated-dependencies:
- dependency-name: NUnit3TestAdapter
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Azure.Core
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Swashbuckle.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>

* Remove unused suppressions

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: HugoBurgess <[email protected]>

* Bump the all-packages group across 1 directory with 22 updates (#172)

* Bump the all-packages group across 1 directory with 22 updates

Bumps the all-packages group with 22 updates in the /UKHO.ExternalNotificationService.API directory:

| Package | From | To |
| --- | --- | --- |
| [Azure.Storage.Queues](https://github.com/Azure/azure-sdk-for-net) | `12.18.0` | `12.19.1` |
| [Microsoft.Identity.Client](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet) | `4.61.3` | `4.62.0` |
| [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) | `17.9.0` | `17.10.0` |
| [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter) | `4.5.0` | `4.6.0` |
| [coverlet.msbuild](https://github.com/coverlet-coverage/coverlet) | `6.0.1` | `6.0.2` |
| [FakeItEasy](https://github.com/FakeItEasy/FakeItEasy) | `8.2.0` | `8.3.0` |
| [Elastic.Apm](https://github.com/elastic/apm-agent-dotnet) | `1.27.0` | `1.28.0` |
| [Elastic.Apm.AspNetCore](https://github.com/elastic/apm-agent-dotnet) | `1.27.0` | `1.28.0` |
| [Elastic.Apm](https://github.com/elastic/apm-agent-dotnet) | `1.27.0` | `1.28.0` |
| [FluentValidation](https://github.com/JeremySkinner/fluentvalidation) | `11.9.1` | `11.9.2` |
| [Microsoft.AspNetCore.Authentication.JwtBearer](https://github.com/dotnet/aspnetcore) | `8.0.4` | `8.0.7` |
| [Microsoft.AspNetCore.HeaderPropagation](https://github.com/dotnet/aspnetcore) | `8.0.4` | `8.0.7` |
| [Microsoft.Extensions.Logging.AzureAppServices](https://github.com/dotnet/aspnetcore) | `8.0.4` | `8.0.7` |
| [Azure.Messaging.EventGrid](https://github.com/Azure/azure-sdk-for-net) | `4.24.0` | `4.24.1` |
| [Azure.Messaging.EventHubs](https://github.com/Azure/azure-sdk-for-net) | `5.11.3` | `5.11.5` |
| [Azure.Storage.Blobs](https://github.com/Azure/azure-sdk-for-net) | `12.20.0` | `12.21.1` |
| [Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions](https://github.com/dotnet/aspnetcore) | `8.0.6` | `8.0.7` |
| [Elastic.Apm.Azure.Storage](https://github.com/elastic/apm-agent-dotnet) | `1.27.0` | `1.28.0` |
| [Elastic.Apm](https://github.com/elastic/apm-agent-dotnet) | `1.27.0` | `1.28.0` |
| [Microsoft.Azure.WebJobs](https://github.com/Azure/azure-webjobs-sdk) | `3.0.39` | `3.0.41` |
| [Microsoft.Azure.WebJobs.Extensions.Storage](https://github.com/Azure/azure-sdk-for-net) | `5.3.0` | `5.3.1` |
| [Azure.Storage.Blobs](https://github.com/Azure/azure-sdk-for-net) | `12.20.0` | `12.21.0` |
| [Azure.Storage.Queues](https://github.com/Azure/azure-sdk-for-net) | `12.18.0` | `12.19.0` |
| [Microsoft.Azure.WebJobs.Host.Storage](https://github.com/Azure/azure-webjobs-sdk) | `5.0.0` | `5.0.1` |
| [Microsoft.Azure.WebJobs](https://github.com/Azure/azure-webjobs-sdk) | `3.0.39` | `3.0.41` |
| [Microsoft.Azure.WebJobs.Logging.ApplicationInsights](https://github.com/Azure/azure-webjobs-sdk) | `3.0.35` | `3.0.41` |
| [Microsoft.Extensions.Http.Polly](https://github.com/dotnet/aspnetcore) | `8.0.6` | `8.0.7` |



Updates `Azure.Storage.Queues` from 12.18.0 to 12.19.1
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](Azure/azure-sdk-for-net@Azure.Storage.Queues_12.18.0...Azure.Storage.Queues_12.19.1)

Updates `Microsoft.Identity.Client` from 4.61.3 to 4.62.0
- [Release notes](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/releases)
- [Changelog](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/blob/main/CHANGELOG.md)
- [Commits](AzureAD/microsoft-authentication-library-for-dotnet@4.61.3...4.62.0)

Updates `Microsoft.NET.Test.Sdk` from 17.9.0 to 17.10.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.9.0...v17.10.0)

Updates `NUnit3TestAdapter` from 4.5.0 to 4.6.0
- [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases)
- [Commits](nunit/nunit3-vs-adapter@V4.5.0...V4.6.0)

Updates `coverlet.msbuild` from 6.0.1 to 6.0.2
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](coverlet-coverage/coverlet@v6.0.1...v6.0.2)

Updates `FakeItEasy` from 8.2.0 to 8.3.0
- [Release notes](https://github.com/FakeItEasy/FakeItEasy/releases)
- [Commits](FakeItEasy/FakeItEasy@8.2.0...8.3.0)

Updates `Elastic.Apm` from 1.27.0 to 1.28.0
- [Release notes](https://github.com/elastic/apm-agent-dotnet/releases)
- [Changelog](https://github.com/elastic/apm-agent-dotnet/blob/main/CHANGELOG.asciidoc)
- [Commits](elastic/apm-agent-dotnet@v1.27.0...v1.28.0)

Updates `Elastic.Apm.AspNetCore` from 1.27.0 to 1.28.0
- [Release notes](https://github.com/elastic/apm-agent-dotnet/releases)
- [Changelog](https://github.com/elastic/apm-agent-dotnet/blob/main/CHANGELOG.asciidoc)
- [Commits](elastic/apm-agent-dotnet@v1.27.0...v1.28.0)

Updates `Elastic.Apm` from 1.27.0 to 1.28.0
- [Release notes](https://github.com/elastic/apm-agent-dotnet/releases)
- [Changelog](https://github.com/elastic/apm-agent-dotnet/blob/main/CHANGELOG.asciidoc)
- [Commits](elastic/apm-agent-dotnet@v1.27.0...v1.28.0)

Updates `FluentValidation` from 11.9.1 to 11.9.2
- [Release notes](https://github.com/JeremySkinner/fluentvalidation/releases)
- [Changelog](https://github.com/FluentValidation/FluentValidation/blob/main/Changelog.txt)
- [Commits](FluentValidation/FluentValidation@11.9.1...11.9.2)

Updates `Microsoft.AspNetCore.Authentication.JwtBearer` from 8.0.4 to 8.0.7
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](dotnet/aspnetcore@v8.0.4...v8.0.7)

Updates `Microsoft.AspNetCore.HeaderPropagation` from 8.0.4 to 8.0.7
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](dotnet/aspnetcore@v8.0.4...v8.0.7)

Updates `Microsoft.Extensions.Logging.AzureAppServices` from 8.0.4 to 8.0.7
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](dotnet/aspnetcore@v8.0.4...v8.0.7)

Updates `Azure.Messaging.EventGrid` from 4.24.0 to 4.24.1
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](Azure/azure-sdk-for-net@Azure.Messaging.EventGrid_4.24.0...Azure.Messaging.EventGrid_4.24.1)

Updates `Azure.Messaging.EventHubs` from 5.11.3 to 5.11.5
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](Azure/azure-sdk-for-net@Azure.Messaging.EventHubs_5.11.3...Azure.Messaging.EventHubs_5.11.5)

Updates `Azure.Storage.Blobs` from 12.20.0 to 12.21.1
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](Azure/azure-sdk-for-net@Azure.Storage.Blobs_12.20.0...Azure.Storage.Blobs_12.21.1)

Updates `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions` from 8.0.6 to 8.0.7
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](dotnet/aspnetcore@v8.0.6...v8.0.7)

Updates `Elastic.Apm.Azure.Storage` from 1.27.0 to 1.28.0
- [Release notes](https://github.com/elastic/apm-agent-dotnet/releases)
- [Changelog](https://github.com/elastic/apm-agent-dotnet/blob/main/CHANGELOG.asciidoc)
- [Commits](elastic/apm-agent-dotnet@v1.27.0...v1.28.0)

Updates `Elastic.Apm` from 1.27.0 to 1.28.0
- [Release notes](https://github.com/elastic/apm-agent-dotnet/releases)
- [Changelog](https://github.com/elastic/apm-agent-dotnet/blob/main/CHANGELOG.asciidoc)
- [Commits](elastic/apm-agent-dotnet@v1.27.0...v1.28.0)

Updates `Microsoft.Azure.WebJobs` from 3.0.39 to 3.0.41
- [Release notes](https://github.com/Azure/azure-webjobs-sdk/releases)
- [Commits](Azure/azure-webjobs-sdk@v3.0.39...v3.0.41)

Updates `Microsoft.Azure.WebJobs.Extensions.Storage` from 5.3.0 to 5.3.1
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](Azure/azure-sdk-for-net@Microsoft.Azure.WebJobs.Extensions.Storage_5.3.0...Microsoft.Azure.WebJobs.Extensions.Storage_5.3.1)

Updates `Azure.Storage.Blobs` from 12.20.0 to 12.21.0
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](Azure/azure-sdk-for-net@Azure.Storage.Blobs_12.20.0...Azure.Storage.Blobs_12.21.1)

Updates `Azure.Storage.Queues` from 12.18.0 to 12.19.0
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](Azure/azure-sdk-for-net@Azure.Storage.Queues_12.18.0...Azure.Storage.Queues_12.19.1)

Updates `Microsoft.Azure.WebJobs.Host.Storage` from 5.0.0 to 5.0.1
- [Release notes](https://github.com/Azure/azure-webjobs-sdk/releases)
- [Commits](https://github.com/Azure/azure-webjobs-sdk/commits)

Updates `Microsoft.Azure.WebJobs` from 3.0.39 to 3.0.41
- [Release notes](https://github.com/Azure/azure-webjobs-sdk/releases)
- [Commits](Azure/azure-webjobs-sdk@v3.0.39...v3.0.41)

Updates `Microsoft.Azure.WebJobs.Logging.ApplicationInsights` from 3.0.35 to 3.0.41
- [Release notes](https://github.com/Azure/azure-webjobs-sdk/releases)
- [Commits](Azure/azure-webjobs-sdk@v3.0.35...v3.0.41)

Updates `Microsoft.Extensions.Http.Polly` from 8.0.6 to 8.0.7
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](dotnet/aspnetcore@v8.0.6...v8.0.7)

---
updated-dependencies:
- dependency-name: Azure.Storage.Queues
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Microsoft.Identity.Client
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: NUnit3TestAdapter
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: coverlet.msbuild
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: FakeItEasy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Elastic.Apm
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Elastic.Apm.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Elastic.Apm
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: FluentValidation
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.AspNetCore.Authentication.JwtBearer
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.AspNetCore.HeaderPropagation
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging.AzureAppServices
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Azure.Messaging.EventGrid
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Azure.Messaging.EventHubs
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Azure.Storage.Blobs
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Elastic.Apm.Azure.Storage
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Elastic.Apm
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Microsoft.Azure.WebJobs
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Azure.WebJobs.Extensions.Storage
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Azure.Storage.Blobs
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Azure.Storage.Queues
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Microsoft.Azure.WebJobs.Host.Storage
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Azure.WebJobs
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Azure.WebJobs.Logging.ApplicationInsights
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Http.Polly
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>

* Consolidate packages

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: HugoBurgess <[email protected]>
Co-authored-by: HugoBurgess <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: HugoBurgess <[email protected]>
Co-authored-by: JiviteshT <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: HugoBurgess <[email protected]>
Co-authored-by: onesixtyfourth <[email protected]>
JiviteshT added a commit that referenced this pull request Feb 12, 2025
* Td/abzu 137905 app insights upgrade2 (#118)

* Bump the all-packages group (#114)

Bumps the all-packages group in /UKHO.ExternalNotificationService.API with 1 update: [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest).


Updates `Microsoft.NET.Test.Sdk` from 17.8.0 to 17.9.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.8.0...v17.9.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump the all-packages group (#115)

Bumps the all-packages group in /UKHO.D365CallbackDistributorStub.API with 1 update: [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest).


Updates `Microsoft.NET.Test.Sdk` from 17.8.0 to 17.9.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.8.0...v17.9.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Abzu 137905 - update App Insights (#116)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Develop merge (#119)

* Bump the all-packages group (#114)

Bumps the all-packages group in /UKHO.ExternalNotificationService.API with 1 update: [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest).


Updates `Microsoft.NET.Test.Sdk` from 17.8.0 to 17.9.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.8.0...v17.9.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump the all-packages group (#115)

Bumps the all-packages group in /UKHO.D365CallbackDistributorStub.API with 1 update: [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest).


Updates `Microsoft.NET.Test.Sdk` from 17.8.0 to 17.9.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.8.0...v17.9.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Abzu 137905 - update App Insights (#116)

* Update .NET SDK to 6.0.419 (#117)

* Update .NET SDK

Update .NET SDK to version 6.0.419.

---
updated-dependencies:
- dependency-name: Microsoft.NET.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Bump .NET NuGet packages with 6 updates

Bump .NET NuGet packages with 6 updates:

Update Microsoft.AspNetCore.Authentication.JwtBearer from 6.0.26 to 6.0.27.
Update Microsoft.AspNetCore.HeaderPropagation from 6.0.26 to 6.0.27.
Update Microsoft.AspNetCore.Mvc.NewtonsoftJson from 6.0.26 to 6.0.27.
Update Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions from 6.0.26 to 6.0.27.
Update Microsoft.Extensions.Http.Polly from 6.0.26 to 6.0.27.
Update Microsoft.Extensions.Logging.AzureAppServices from 6.0.26 to 6.0.27.

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Authentication.JwtBearer
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.AspNetCore.HeaderPropagation
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.AspNetCore.Mvc.NewtonsoftJson
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Extensions.Http.Polly
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Extensions.Logging.AzureAppServices
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Dev/abzu 143974 dependabot updates (#121)

* Bump the all-packages group (#114)

Bumps the all-packages group in /UKHO.ExternalNotificationService.API with 1 update: [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest).


Updates `Microsoft.NET.Test.Sdk` from 17.8.0 to 17.9.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.8.0...v17.9.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump the all-packages group (#115)

Bumps the all-packages group in /UKHO.D365CallbackDistributorStub.API with 1 update: [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest).


Updates `Microsoft.NET.Test.Sdk` from 17.8.0 to 17.9.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.8.0...v17.9.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Abzu 137905 - update App Insights (#116)

* Update .NET SDK to 6.0.419 (#117)

* Update .NET SDK

Update .NET SDK to version 6.0.419.

---
updated-dependencies:
- dependency-name: Microsoft.NET.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Bump .NET NuGet packages with 6 updates

Bump .NET NuGet packages with 6 updates:

Update Microsoft.AspNetCore.Authentication.JwtBearer from 6.0.26 to 6.0.27.
Update Microsoft.AspNetCore.HeaderPropagation from 6.0.26 to 6.0.27.
Update Microsoft.AspNetCore.Mvc.NewtonsoftJson from 6.0.26 to 6.0.27.
Update Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions from 6.0.26 to 6.0.27.
Update Microsoft.Extensions.Http.Polly from 6.0.26 to 6.0.27.
Update Microsoft.Extensions.Logging.AzureAppServices from 6.0.26 to 6.0.27.

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Authentication.JwtBearer
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.AspNetCore.HeaderPropagation
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.AspNetCore.Mvc.NewtonsoftJson
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Extensions.Http.Polly
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Extensions.Logging.AzureAppServices
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Bump the all-packages group in /UKHO.ExternalNotificationService.API with 3 updates (#120)

* Bump the all-packages group

Bumps the all-packages group in /UKHO.ExternalNotificationService.API with 3 updates: [Azure.Extensions.AspNetCore.Configuration.Secrets](https://github.com/Azure/azure-sdk-for-net), [Azure.Security.KeyVault.Secrets](https://github.com/Azure/azure-sdk-for-net) and [Azure.Messaging.EventGrid](https://github.com/Azure/azure-sdk-for-net).


Updates `Azure.Extensions.AspNetCore.Configuration.Secrets` from 1.3.0 to 1.3.1
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Extensions.AspNetCore.Configuration.Secrets_1.3.0...Azure.Extensions.AspNetCore.Configuration.Secrets_1.3.1)

Updates `Azure.Security.KeyVault.Secrets` from 4.5.0 to 4.6.0
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Security.KeyVault.Secrets_4.5.0...Azure.Security.KeyVault.Secrets_4.6.0)

Updates `Azure.Messaging.EventGrid` from 4.21.0 to 4.22.0
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Messaging.EventGrid_4.21.0...Azure.Messaging.EventGrid_4.22.0)

---
updated-dependencies:
- dependency-name: Azure.Extensions.AspNetCore.Configuration.Secrets
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Azure.Security.KeyVault.Secrets
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Azure.Messaging.EventGrid
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update packages

* Remove unused suppression

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: HugoBurgess <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Remove depricated azure packages from API

* Remove obsolete Microsoft.Azure.EventGrid from Common

* First attempt migrate Microsoft.Azure.Management.EventGrid to
Azure.ResourceManager.EventGrid

* fixing DeadLetter callback test

* Re organise code

* Remove comments and tidy

* Updated Stub
Removed NewtonSoft references

* Remove CustomCloudEvent from functional tests

* Reset stub back to old version

* fix missing  newtonsoft package

* Remove secrets again

Removed newtonsoft from most of the api code

Remove secrets

Removed newtonsoft from most of the api code

* Json convert problem in health check

* System.Text.Json my not be able to deserialize dynamic

* Fix json dynamic conversion issue

* Fix and tidy json dynamic issue

* ConvertObjectTo needs to convert JsonElement.

* Abzu-103814-Replaced default ubuntu pool with Mare Nectaris (#130) (#131)

* Update API Packages

* Add JsonSerializerOptions set to case insensative

* Minor Package updates

* Add JsonOptions CaseInsensitive = true

* add serialization options CaseInsensitive = true

* Update CustomCloudEvent and DistributorRequest
Remove CustomCloudEvent dependency on EventGridEvent.
DistributorRequst.StatusCode properly cased

* Add check that the stub return is ok
Something has changed

* Add JsonPropertyName attribute

* Set test EventBodyData method attributes to camelcCase

* Add serializeOptions to base controller which will be applied to incoming data.

* add serializeoptions to ConvertObjectTo

* Add JsonSerializerOptions to FssEventDataMapping

* Alter Failing Test, not a fix

* Add more checks

* More checks added

* Remove Tracing code

* Remove newtonsoft from common, Tidy and trace DeadLetterCallback

* Add Json Options to ScsEventDataMapping
Remove tracing from DeadLetterCallback
Update Assert that stubRequest was successful
Mark WebJobHelper Deserializer for review

* Add trace to DeadLetterCallback test

* Remove newtonsoft from API and related FTs

* LoggingMiddleware add protected blocks to redact
comment out trace from DeadLetterCallback

* Remove trace from  DeadLetterCallback

* Remove dependency on Microsoft.Azure.EventGrid
Remove dependency on Newtonsoft

* Remove reference to Newtonsoft

* Remove comments

* First attempt at uplifting to .NET 8
stub no longer uses startup.cs

* Enable nullable at a global level

* Update Azure.Identity and Microsoft.Identity.Client

* Update all Packages

* address Dereference of possible null reference warning

* Suspend a test assertion in SubscritionControllerTest.cs

* Remove nullable warnings
Fix SubscriptionControllerTest to include CorrelationId

* Set class property default values

* Update NVD
Set Class Properties to default
Resolve other null reference issues

* Fix failed test

* Remove sdk update based on Global entry
FssEventData contained classes instantiated by default
Cache serialization options and ignore some nulls

* Remove  null reference issues

* Added new process methods to reduce the serialization effort

* Comment out methods
Remove null issues
update unit tests for code additions

* Remove Comments and null reference issues
Change Headers.Add to Headers.Append

* Use Headers.Append instead of Headers.Add

* Remove Comments

* This commit includes several updates to improve code readability. Commented out code in `CustomCloudEvent.cs` and `DistributorRequest.cs` has been removed. Method summaries have been added or updated in `FssEventValidationAndMappingService.cs`, `EventProcessorBase.cs`, `AzureEventGridDomainService.cs`, `EventSubscriptionConfiguration.cs`, and `SubscriptionServiceData.cs` to provide additional context and explanation.

* Remove comments and commented code.

* Remove Dotnet 6.0 reference

* Updating NVD Suppression

* Updating NVD Suppressions

* Updating NVD Suppressions

* Update NVD Suppressions

* Checking Terraform staging and stub_service slots .Net version

* Update NVD Suppression

* Update Nuget packages

* Update Nuget packages and NVD suppression

* Update NVD Suppressions

* Update NVD Suppressions

* Update stub packages

* Update NVD Suppressions

* Update NVD Suppression

* Update NVD Suppression

* Update NVD Suppression

* Update NVD Suppressions

* Update NVD Suppression

* Update NVD Suppression

* Update NVD Suppression

* Update Webapp/main.tf to net 8 for staging and stub_webapp_service

* Added clear queue endpoint to stub

* Merge main hotfixes into develop (#168)

* Use correct variable library for QA (#137)

* Update Azure subscription for deployment (#160)

* Update Azure subscription for deployment

Updated the Azure subscription in `azure-pipelines.yml` from "UKHO-APIM-SOLAS-NonLive" to "UKHO-APIM-SOLAS-Live", shifting deployment to the live environment.

* NVD suppressions

* Abzu-164809 - Add event publish delay configuration (#164)

This commit introduces a new configuration for controlling the delay before publishing events, aiming to enhance the flexibility and reliability of the event processing system. The key changes include:

- Updated `appsettings.json` to include `EventProcessorConfiguration` with a `ScsEventPublishDelayInSeconds` property, initially set to 2, later updated to 10 seconds.
- Modified `ScsEventProcessor.cs` and `ScsEventProcessorTest.cs` to utilize the new configuration, adding necessary `using` directives, a private configuration field, and adjusting the constructor to accept the configuration as a parameter. Also, implemented logic to calculate the delay in milliseconds, ensuring it falls within defined min and max bounds.
- Added `EventProcessorConfiguration.cs` class to define the configuration structure.
- Updated `Startup.cs` to bind the new configuration to the `EventProcessorConfiguration` class, making it available through dependency injection.
- Enhanced testing by adding new test cases in `ScsEventProcessorTest.cs` and `EventProcessorBaseTest.cs` to verify the behavior of the event processor with different configured delays and the successful delay of event publication, respectively.

* Refactor event processing and add JSON package

- Updated `System.Text.Json` package from version '8.0.0' to version `8.0.4` to remove  vulnerabilities in `UKHO.ExternalNotificationService.API.FunctionalTests`, `UKHO.ExternalNotificationService.API`, and `UKHO.ExternalNotificationService.SubscriptionService`.
- Re-introduce the following code, removed due to manual merge correction;
- Initialized `_errors` list in `ScsEventProcessor.cs` to an empty list to avoid null reference exceptions when adding errors.
- Refactored event data processing in `ScsEventProcessor.cs` for improved robustness. This includes changing the method of converting `customCloudEvent` to `CloudEventCandidate<ScsEventData>` and updating the validation and mapping processes to handle non-null `candidate.Data`.

* Refactor event data mapping methods

Updated the `ScsEventProcessorTest.cs` in the `UKHO.ExternalNotificationService.API.UnitTests.Services` namespace to enhance event data mapping and conversion. Replaced `_fakeScsEventValidationAndMappingService.ScsEventDataMapping` with `_fakeScsEventValidationAndMappingService.MapToCloudEvent` for improved event data to cloud event format mapping. Also, switched from `_fakeAzureEventGridDomainService.JsonDeserialize<ScsEventData>` to `_fakeAzureEventGridDomainService.ConvertObjectTo<ScsEventData>` for a more flexible JSON to `ScsEventData` conversion approach.

* Refine assertion in ScsEventProcessorTest

Updated the assertion in a test method within ScsEventProcessorTest.cs to check if `result.Errors` is `Empty` rather than `null`. This adjustment ensures the test accurately verifies the absence of errors, accommodating both null and empty scenarios.

* Refactor code and update package dependencies in `UKHO.ExternalNotificationService.API.FunctionalTests.csproj`

- Removed `Microsoft.Azure.EventGrid.Models` namespace usage from `CustomCloudEvent.cs`, indicating a shift away from the `Microsoft.Azure.EventGrid` package for this file.
- Microsoft.AspNetCore.Mvc.Core ` version `2.2.5` has been deprecated as it is legacy and is no longer maintained. Replaced with Microsoft.AspNetCore.Mvc.Testing version '8.0.7'
- Removed  `Microsoft.Azure.EventGrid` version `3.2.1` , this package is obsolete as of 3/31/2023 and not used.

- Updated `Azure.Storage.Queues` to `12.19.0`
- Updated `Microsoft.Extensions.Configuration.Binder` to `8.0.2`
- Updated `Microsoft.NET.Test.Sdk` to `17.10.0`

* Refactor status code assertions in tests

Updated assertions in `DeadLetterCallbackToD365Test.cs` to enhance readability and type safety by replacing direct integer comparisons with `HttpStatusCode.OK` enum comparisons. This change affects two sections within the `UKHO.ExternalNotificationService.API.FunctionalTests.FunctionalTests` namespace, making the code more maintainable and the intent clearer. Original assertions are commented out for reference, marked with `// rhz`.

* attempting to get more info for test failure

* Looking into test failure

* Testing failing test

* Temporarily disable parts of DeadLetterCallbackToD365Test

Commented out initialization, HTTP request, deserialization, and assertions in DeadLetterCallbackToD365Test.cs. These changes are intended to temporarily disable certain parts of the test until they can be fixed, as indicated by the comment `// rhz - Disabled until the test is fixed.`.

* Clarify reason for disabled test in DeadLetterCallbackToD365Test

Updated the comment for the disabled HTTP request and response
validation test in DeadLetterCallbackToD365Test.cs. The new
comment explains that the code is removed until the correct
response can be determined, replacing the previous comment
which suggested a temporary disablement. The actual commented-
out code remains unchanged.

---------

Co-authored-by: HugoBurgess <[email protected]>
Co-authored-by: JiviteshT <[email protected]>

* Sync Develop with Main branch (#173)

* Use correct variable library for QA (#137)

* Update Azure subscription for deployment (#160)

* Update Azure subscription for deployment

Updated the Azure subscription in `azure-pipelines.yml` from "UKHO-APIM-SOLAS-NonLive" to "UKHO-APIM-SOLAS-Live", shifting deployment to the live environment.

* NVD suppressions

* Abzu-164809 - Add event publish delay configuration (#164)

This commit introduces a new configuration for controlling the delay before publishing events, aiming to enhance the flexibility and reliability of the event processing system. The key changes include:

- Updated `appsettings.json` to include `EventProcessorConfiguration` with a `ScsEventPublishDelayInSeconds` property, initially set to 2, later updated to 10 seconds.
- Modified `ScsEventProcessor.cs` and `ScsEventProcessorTest.cs` to utilize the new configuration, adding necessary `using` directives, a private configuration field, and adjusting the constructor to accept the configuration as a parameter. Also, implemented logic to calculate the delay in milliseconds, ensuring it falls within defined min and max bounds.
- Added `EventProcessorConfiguration.cs` class to define the configuration structure.
- Updated `Startup.cs` to bind the new configuration to the `EventProcessorConfiguration` class, making it available through dependency injection.
- Enhanced testing by adding new test cases in `ScsEventProcessorTest.cs` and `EventProcessorBaseTest.cs` to verify the behavior of the event processor with different configured delays and the successful delay of event publication, respectively.

* Abzu-commented out unuseful asserts (#169)

* Replace obsolete packages and uplift to .NET 8 (#170)

* Td/abzu 137905 app insights upgrade2 (#118)

* Bump the all-packages group (#114)

Bumps the all-packages group in /UKHO.ExternalNotificationService.API with 1 update: [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest).


Updates `Microsoft.NET.Test.Sdk` from 17.8.0 to 17.9.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.8.0...v17.9.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump the all-packages group (#115)

Bumps the all-packages group in /UKHO.D365CallbackDistributorStub.API with 1 update: [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest).


Updates `Microsoft.NET.Test.Sdk` from 17.8.0 to 17.9.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.8.0...v17.9.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Abzu 137905 - update App Insights (#116)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Develop merge (#119)

* Bump the all-packages group (#114)

Bumps the all-packages group in /UKHO.ExternalNotificationService.API with 1 update: [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest).


Updates `Microsoft.NET.Test.Sdk` from 17.8.0 to 17.9.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.8.0...v17.9.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump the all-packages group (#115)

Bumps the all-packages group in /UKHO.D365CallbackDistributorStub.API with 1 update: [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest).


Updates `Microsoft.NET.Test.Sdk` from 17.8.0 to 17.9.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.8.0...v17.9.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Abzu 137905 - update App Insights (#116)

* Update .NET SDK to 6.0.419 (#117)

* Update .NET SDK

Update .NET SDK to version 6.0.419.

---
updated-dependencies:
- dependency-name: Microsoft.NET.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Bump .NET NuGet packages with 6 updates

Bump .NET NuGet packages with 6 updates:

Update Microsoft.AspNetCore.Authentication.JwtBearer from 6.0.26 to 6.0.27.
Update Microsoft.AspNetCore.HeaderPropagation from 6.0.26 to 6.0.27.
Update Microsoft.AspNetCore.Mvc.NewtonsoftJson from 6.0.26 to 6.0.27.
Update Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions from 6.0.26 to 6.0.27.
Update Microsoft.Extensions.Http.Polly from 6.0.26 to 6.0.27.
Update Microsoft.Extensions.Logging.AzureAppServices from 6.0.26 to 6.0.27.

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Authentication.JwtBearer
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.AspNetCore.HeaderPropagation
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.AspNetCore.Mvc.NewtonsoftJson
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Extensions.Http.Polly
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Extensions.Logging.AzureAppServices
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Dev/abzu 143974 dependabot updates (#121)

* Bump the all-packages group (#114)

Bumps the all-packages group in /UKHO.ExternalNotificationService.API with 1 update: [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest).


Updates `Microsoft.NET.Test.Sdk` from 17.8.0 to 17.9.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.8.0...v17.9.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump the all-packages group (#115)

Bumps the all-packages group in /UKHO.D365CallbackDistributorStub.API with 1 update: [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest).


Updates `Microsoft.NET.Test.Sdk` from 17.8.0 to 17.9.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.8.0...v17.9.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Abzu 137905 - update App Insights (#116)

* Update .NET SDK to 6.0.419 (#117)

* Update .NET SDK

Update .NET SDK to version 6.0.419.

---
updated-dependencies:
- dependency-name: Microsoft.NET.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Bump .NET NuGet packages with 6 updates

Bump .NET NuGet packages with 6 updates:

Update Microsoft.AspNetCore.Authentication.JwtBearer from 6.0.26 to 6.0.27.
Update Microsoft.AspNetCore.HeaderPropagation from 6.0.26 to 6.0.27.
Update Microsoft.AspNetCore.Mvc.NewtonsoftJson from 6.0.26 to 6.0.27.
Update Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions from 6.0.26 to 6.0.27.
Update Microsoft.Extensions.Http.Polly from 6.0.26 to 6.0.27.
Update Microsoft.Extensions.Logging.AzureAppServices from 6.0.26 to 6.0.27.

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Authentication.JwtBearer
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.AspNetCore.HeaderPropagation
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.AspNetCore.Mvc.NewtonsoftJson
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Extensions.Http.Polly
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Extensions.Logging.AzureAppServices
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Bump the all-packages group in /UKHO.ExternalNotificationService.API with 3 updates (#120)

* Bump the all-packages group

Bumps the all-packages group in /UKHO.ExternalNotificationService.API with 3 updates: [Azure.Extensions.AspNetCore.Configuration.Secrets](https://github.com/Azure/azure-sdk-for-net), [Azure.Security.KeyVault.Secrets](https://github.com/Azure/azure-sdk-for-net) and [Azure.Messaging.EventGrid](https://github.com/Azure/azure-sdk-for-net).


Updates `Azure.Extensions.AspNetCore.Configuration.Secrets` from 1.3.0 to 1.3.1
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Extensions.AspNetCore.Configuration.Secrets_1.3.0...Azure.Extensions.AspNetCore.Configuration.Secrets_1.3.1)

Updates `Azure.Security.KeyVault.Secrets` from 4.5.0 to 4.6.0
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Security.KeyVault.Secrets_4.5.0...Azure.Security.KeyVault.Secrets_4.6.0)

Updates `Azure.Messaging.EventGrid` from 4.21.0 to 4.22.0
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Messaging.EventGrid_4.21.0...Azure.Messaging.EventGrid_4.22.0)

---
updated-dependencies:
- dependency-name: Azure.Extensions.AspNetCore.Configuration.Secrets
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Azure.Security.KeyVault.Secrets
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Azure.Messaging.EventGrid
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update packages

* Remove unused suppression

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: HugoBurgess <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Remove depricated azure packages from API

* Remove obsolete Microsoft.Azure.EventGrid from Common

* First attempt migrate Microsoft.Azure.Management.EventGrid to
Azure.ResourceManager.EventGrid

* fixing DeadLetter callback test

* Re organise code

* Remove comments and tidy

* Updated Stub
Removed NewtonSoft references

* Remove CustomCloudEvent from functional tests

* Reset stub back to old version

* fix missing  newtonsoft package

* Remove secrets again

Removed newtonsoft from most of the api code

Remove secrets

Removed newtonsoft from most of the api code

* Json convert problem in health check

* System.Text.Json my not be able to deserialize dynamic

* Fix json dynamic conversion issue

* Fix and tidy json dynamic issue

* ConvertObjectTo needs to convert JsonElement.

* Abzu-103814-Replaced default ubuntu pool with Mare Nectaris (#130) (#131)

* Update API Packages

* Add JsonSerializerOptions set to case insensative

* Minor Package updates

* Add JsonOptions CaseInsensitive = true

* add serialization options CaseInsensitive = true

* Update CustomCloudEvent and DistributorRequest
Remove CustomCloudEvent dependency on EventGridEvent.
DistributorRequst.StatusCode properly cased

* Add check that the stub return is ok
Something has changed

* Add JsonPropertyName attribute

* Set test EventBodyData method attributes to camelcCase

* Add serializeOptions to base controller which will be applied to incoming data.

* add serializeoptions to ConvertObjectTo

* Add JsonSerializerOptions to FssEventDataMapping

* Alter Failing Test, not a fix

* Add more checks

* More checks added

* Remove Tracing code

* Remove newtonsoft from common, Tidy and trace DeadLetterCallback

* Add Json Options to ScsEventDataMapping
Remove tracing from DeadLetterCallback
Update Assert that stubRequest was successful
Mark WebJobHelper Deserializer for review

* Add trace to DeadLetterCallback test

* Remove newtonsoft from API and related FTs

* LoggingMiddleware add protected blocks to redact
comment out trace from DeadLetterCallback

* Remove trace from  DeadLetterCallback

* Remove dependency on Microsoft.Azure.EventGrid
Remove dependency on Newtonsoft

* Remove reference to Newtonsoft

* Remove comments

* First attempt at uplifting to .NET 8
stub no longer uses startup.cs

* Enable nullable at a global level

* Update Azure.Identity and Microsoft.Identity.Client

* Update all Packages

* address Dereference of possible null reference warning

* Suspend a test assertion in SubscritionControllerTest.cs

* Remove nullable warnings
Fix SubscriptionControllerTest to include CorrelationId

* Set class property default values

* Update NVD
Set Class Properties to default
Resolve other null reference issues

* Fix failed test

* Remove sdk update based on Global entry
FssEventData contained classes instantiated by default
Cache serialization options and ignore some nulls

* Remove  null reference issues

* Added new process methods to reduce the serialization effort

* Comment out methods
Remove null issues
update unit tests for code additions

* Remove Comments and null reference issues
Change Headers.Add to Headers.Append

* Use Headers.Append instead of Headers.Add

* Remove Comments

* This commit includes several updates to improve code readability. Commented out code in `CustomCloudEvent.cs` and `DistributorRequest.cs` has been removed. Method summaries have been added or updated in `FssEventValidationAndMappingService.cs`, `EventProcessorBase.cs`, `AzureEventGridDomainService.cs`, `EventSubscriptionConfiguration.cs`, and `SubscriptionServiceData.cs` to provide additional context and explanation.

* Remove comments and commented code.

* Remove Dotnet 6.0 reference

* Updating NVD Suppression

* Updating NVD Suppressions

* Updating NVD Suppressions

* Update NVD Suppressions

* Checking Terraform staging and stub_service slots .Net version

* Update NVD Suppression

* Update Nuget packages

* Update Nuget packages and NVD suppression

* Update NVD Suppressions

* Update NVD Suppressions

* Update stub packages

* Update NVD Suppressions

* Update NVD Suppression

* Update NVD Suppression

* Update NVD Suppression

* Update NVD Suppressions

* Update NVD Suppression

* Update NVD Suppression

* Update NVD Suppression

* Update Webapp/main.tf to net 8 for staging and stub_webapp_service

* Added clear queue endpoint to stub

* Merge main hotfixes into develop (#168)

* Use correct variable library for QA (#137)

* Update Azure subscription for deployment (#160)

* Update Azure subscription for deployment

Updated the Azure subscription in `azure-pipelines.yml` from "UKHO-APIM-SOLAS-NonLive" to "UKHO-APIM-SOLAS-Live", shifting deployment to the live environment.

* NVD suppressions

* Abzu-164809 - Add event publish delay configuration (#164)

This commit introduces a new configuration for controlling the delay before publishing events, aiming to enhance the flexibility and reliability of the event processing system. The key changes include:

- Updated `appsettings.json` to include `EventProcessorConfiguration` with a `ScsEventPublishDelayInSeconds` property, initially set to 2, later updated to 10 seconds.
- Modified `ScsEventProcessor.cs` and `ScsEventProcessorTest.cs` to utilize the new configuration, adding necessary `using` directives, a private configuration field, and adjusting the constructor to accept the configuration as a parameter. Also, implemented logic to calculate the delay in milliseconds, ensuring it falls within defined min and max bounds.
- Added `EventProcessorConfiguration.cs` class to define the configuration structure.
- Updated `Startup.cs` to bind the new configuration to the `EventProcessorConfiguration` class, making it available through dependency injection.
- Enhanced testing by adding new test cases in `ScsEventProcessorTest.cs` and `EventProcessorBaseTest.cs` to verify the behavior of the event processor with different configured delays and the successful delay of event publication, respectively.

* Refactor event processing and add JSON package

- Updated `System.Text.Json` package from version '8.0.0' to version `8.0.4` to remove  vulnerabilities in `UKHO.ExternalNotificationService.API.FunctionalTests`, `UKHO.ExternalNotificationService.API`, and `UKHO.ExternalNotificationService.SubscriptionService`.
- Re-introduce the following code, removed due to manual merge correction;
- Initialized `_errors` list in `ScsEventProcessor.cs` to an empty list to avoid null reference exceptions when adding errors.
- Refactored event data processing in `ScsEventProcessor.cs` for improved robustness. This includes changing the method of converting `customCloudEvent` to `CloudEventCandidate<ScsEventData>` and updating the validation and mapping processes to handle non-null `candidate.Data`.

* Refactor event data mapping methods

Updated the `ScsEventProcessorTest.cs` in the `UKHO.ExternalNotificationService.API.UnitTests.Services` namespace to enhance event data mapping and conversion. Replaced `_fakeScsEventValidationAndMappingService.ScsEventDataMapping` with `_fakeScsEventValidationAndMappingService.MapToCloudEvent` for improved event data to cloud event format mapping. Also, switched from `_fakeAzureEventGridDomainService.JsonDeserialize<ScsEventData>` to `_fakeAzureEventGridDomainService.ConvertObjectTo<ScsEventData>` for a more flexible JSON to `ScsEventData` conversion approach.

* Refine assertion in ScsEventProcessorTest

Updated the assertion in a test method within ScsEventProcessorTest.cs to check if `result.Errors` is `Empty` rather than `null`. This adjustment ensures the test accurately verifies the absence of errors, accommodating both null and empty scenarios.

* Refactor code and update package dependencies in `UKHO.ExternalNotificationService.API.FunctionalTests.csproj`

- Removed `Microsoft.Azure.EventGrid.Models` namespace usage from `CustomCloudEvent.cs`, indicating a shift away from the `Microsoft.Azure.EventGrid` package for this file.
- Microsoft.AspNetCore.Mvc.Core ` version `2.2.5` has been deprecated as it is legacy and is no longer maintained. Replaced with Microsoft.AspNetCore.Mvc.Testing version '8.0.7'
- Removed  `Microsoft.Azure.EventGrid` version `3.2.1` , this package is obsolete as of 3/31/2023 and not used.

- Updated `Azure.Storage.Queues` to `12.19.0`
- Updated `Microsoft.Extensions.Configuration.Binder` to `8.0.2`
- Updated `Microsoft.NET.Test.Sdk` to `17.10.0`

* Refactor status code assertions in tests

Updated assertions in `DeadLetterCallbackToD365Test.cs` to enhance readability and type safety by replacing direct integer comparisons with `HttpStatusCode.OK` enum comparisons. This change affects two sections within the `UKHO.ExternalNotificationService.API.FunctionalTests.FunctionalTests` namespace, making the code more maintainable and the intent clearer. Original assertions are commented out for reference, marked with `// rhz`.

* attempting to get more info for test failure

* Looking into test failure

* Testing failing test

* Temporarily disable parts of DeadLetterCallbackToD365Test

Commented out initialization, HTTP request, deserialization, and assertions in DeadLetterCallbackToD365Test.cs. These changes are intended to temporarily disable certain parts of the test until they can be fixed, as indicated by the comment `// rhz - Disabled until the test is fixed.`.

* Clarify reason for disabled test in DeadLetterCallbackToD365Test

Updated the comment for the disabled HTTP request and response
validation test in DeadLetterCallbackToD365Test.cs. The new
comment explains that the code is removed until the correct
response can be determined, replacing the previous comment
which suggested a temporary disablement. The actual commented-
out code remains unchanged.

---------

Co-authored-by: HugoBurgess <[email protected]>
Co-authored-by: JiviteshT <[email protected]>

* Remove duplicated tests

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: HugoBurgess <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: HugoBurgess <[email protected]>
Co-authored-by: JiviteshT <[email protected]>
Co-authored-by: onesixtyfourth <[email protected]>

* Bump the all-packages group across 1 directory with 3 updates (#171)

* Bump the all-packages group across 1 directory with 3 updates

Bumps the all-packages group with 3 updates in the /UKHO.D365CallbackDistributorStub.API directory: [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter), [Azure.Core](https://github.com/Azure/azure-sdk-for-net) and [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore).


Updates `NUnit3TestAdapter` from 4.5.0 to 4.6.0
- [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases)
- [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V4.5.0...V4.6.0)

Updates `Azure.Core` from 1.40.0 to 1.42.0
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Core_1.40.0...Azure.Core_1.42.0)

Updates `Swashbuckle.AspNetCore` from 6.6.2 to 6.7.0
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.6.2...v6.7.0)

---
updated-dependencies:
- dependency-name: NUnit3TestAdapter
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Azure.Core
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Swashbuckle.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>

* Remove unused suppressions

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: HugoBurgess <[email protected]>

* Bump the all-packages group across 1 directory with 22 updates (#172)

* Bump the all-packages group across 1 directory with 22 updates

Bumps the all-packages group with 22 updates in the /UKHO.ExternalNotificationService.API directory:

| Package | From | To |
| --- | --- | --- |
| [Azure.Storage.Queues](https://github.com/Azure/azure-sdk-for-net) | `12.18.0` | `12.19.1` |
| [Microsoft.Identity.Client](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet) | `4.61.3` | `4.62.0` |
| [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) | `17.9.0` | `17.10.0` |
| [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter) | `4.5.0` | `4.6.0` |
| [coverlet.msbuild](https://github.com/coverlet-coverage/coverlet) | `6.0.1` | `6.0.2` |
| [FakeItEasy](https://github.com/FakeItEasy/FakeItEasy) | `8.2.0` | `8.3.0` |
| [Elastic.Apm](https://github.com/elastic/apm-agent-dotnet) | `1.27.0` | `1.28.0` |
| [Elastic.Apm.AspNetCore](https://github.com/elastic/apm-agent-dotnet) | `1.27.0` | `1.28.0` |
| [Elastic.Apm](https://github.com/elastic/apm-agent-dotnet) | `1.27.0` | `1.28.0` |
| [FluentValidation](https://github.com/JeremySkinner/fluentvalidation) | `11.9.1` | `11.9.2` |
| [Microsoft.AspNetCore.Authentication.JwtBearer](https://github.com/dotnet/aspnetcore) | `8.0.4` | `8.0.7` |
| [Microsoft.AspNetCore.HeaderPropagation](https://github.com/dotnet/aspnetcore) | `8.0.4` | `8.0.7` |
| [Microsoft.Extensions.Logging.AzureAppServices](https://github.com/dotnet/aspnetcore) | `8.0.4` | `8.0.7` |
| [Azure.Messaging.EventGrid](https://github.com/Azure/azure-sdk-for-net) | `4.24.0` | `4.24.1` |
| [Azure.Messaging.EventHubs](https://github.com/Azure/azure-sdk-for-net) | `5.11.3` | `5.11.5` |
| [Azure.Storage.Blobs](https://github.com/Azure/azure-sdk-for-net) | `12.20.0` | `12.21.1` |
| [Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions](https://github.com/dotnet/aspnetcore) | `8.0.6` | `8.0.7` |
| [Elastic.Apm.Azure.Storage](https://github.com/elastic/apm-agent-dotnet) | `1.27.0` | `1.28.0` |
| [Elastic.Apm](https://github.com/elastic/apm-agent-dotnet) | `1.27.0` | `1.28.0` |
| [Microsoft.Azure.WebJobs](https://github.com/Azure/azure-webjobs-sdk) | `3.0.39` | `3.0.41` |
| [Microsoft.Azure.WebJobs.Extensions.Storage](https://github.com/Azure/azure-sdk-for-net) | `5.3.0` | `5.3.1` |
| [Azure.Storage.Blobs](https://github.com/Azure/azure-sdk-for-net) | `12.20.0` | `12.21.0` |
| [Azure.Storage.Queues](https://github.com/Azure/azure-sdk-for-net) | `12.18.0` | `12.19.0` |
| [Microsoft.Azure.WebJobs.Host.Storage](https://github.com/Azure/azure-webjobs-sdk) | `5.0.0` | `5.0.1` |
| [Microsoft.Azure.WebJobs](https://github.com/Azure/azure-webjobs-sdk) | `3.0.39` | `3.0.41` |
| [Microsoft.Azure.WebJobs.Logging.ApplicationInsights](https://github.com/Azure/azure-webjobs-sdk) | `3.0.35` | `3.0.41` |
| [Microsoft.Extensions.Http.Polly](https://github.com/dotnet/aspnetcore) | `8.0.6` | `8.0.7` |



Updates `Azure.Storage.Queues` from 12.18.0 to 12.19.1
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Storage.Queues_12.18.0...Azure.Storage.Queues_12.19.1)

Updates `Microsoft.Identity.Client` from 4.61.3 to 4.62.0
- [Release notes](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/releases)
- [Changelog](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/blob/main/CHANGELOG.md)
- [Commits](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/compare/4.61.3...4.62.0)

Updates `Microsoft.NET.Test.Sdk` from 17.9.0 to 17.10.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.9.0...v17.10.0)

Updates `NUnit3TestAdapter` from 4.5.0 to 4.6.0
- [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases)
- [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V4.5.0...V4.6.0)

Updates `coverlet.msbuild` from 6.0.1 to 6.0.2
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](https://github.com/coverlet-coverage/coverlet/compare/v6.0.1...v6.0.2)

Updates `FakeItEasy` from 8.2.0 to 8.3.0
- [Release notes](https://github.com/FakeItEasy/FakeItEasy/releases)
- [Commits](https://github.com/FakeItEasy/FakeItEasy/compare/8.2.0...8.3.0)

Updates `Elastic.Apm` from 1.27.0 to 1.28.0
- [Release notes](https://github.com/elastic/apm-agent-dotnet/releases)
- [Changelog](https://github.com/elastic/apm-agent-dotnet/blob/main/CHANGELOG.asciidoc)
- [Commits](https://github.com/elastic/apm-agent-dotnet/compare/v1.27.0...v1.28.0)

Updates `Elastic.Apm.AspNetCore` from 1.27.0 to 1.28.0
- [Release notes](https://github.com/elastic/apm-agent-dotnet/releases)
- [Changelog](https://github.com/elastic/apm-agent-dotnet/blob/main/CHANGELOG.asciidoc)
- [Commits](https://github.com/elastic/apm-agent-dotnet/compare/v1.27.0...v1.28.0)

Updates `Elastic.Apm` from 1.27.0 to 1.28.0
- [Release notes](https://github.com/elastic/apm-agent-dotnet/releases)
- [Changelog](https://github.com/elastic/apm-agent-dotnet/blob/main/CHANGELOG.asciidoc)
- [Commits](https://github.com/elastic/apm-agent-dotnet/compare/v1.27.0...v1.28.0)

Updates `FluentValidation` from 11.9.1 to 11.9.2
- [Release notes](https://github.com/JeremySkinner/fluentvalidation/releases)
- [Changelog](https://github.com/FluentValidation/FluentValidation/blob/main/Changelog.txt)
- [Commits](https://github.com/JeremySkinner/fluentvalidation/compare/11.9.1...11.9.2)

Updates `Microsoft.AspNetCore.Authentication.JwtBearer` from 8.0.4 to 8.0.7
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.4...v8.0.7)

Updates `Microsoft.AspNetCore.HeaderPropagation` from 8.0.4 to 8.0.7
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.4...v8.0.7)

Updates `Microsoft.Extensions.Logging.AzureAppServices` from 8.0.4 to 8.0.7
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.4...v8.0.7)

Updates `Azure.Messaging.EventGrid` from 4.24.0 to 4.24.1
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Messaging.EventGrid_4.24.0...Azure.Messaging.EventGrid_4.24.1)

Updates `Azure.Messaging.EventHubs` from 5.11.3 to 5.11.5
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Messaging.EventHubs_5.11.3...Azure.Messaging.EventHubs_5.11.5)

Updates `Azure.Storage.Blobs` from 12.20.0 to 12.21.1
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Storage.Blobs_12.20.0...Azure.Storage.Blobs_12.21.1)

Updates `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions` from 8.0.6 to 8.0.7
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.6...v8.0.7)

Updates `Elastic.Apm.Azure.Storage` from 1.27.0 to 1.28.0
- [Release notes](https://github.com/elastic/apm-agent-dotnet/releases)
- [Changelog](https://github.com/elastic/apm-agent-dotnet/blob/main/CHANGELOG.asciidoc)
- [Commits](https://github.com/elastic/apm-agent-dotnet/compare/v1.27.0...v1.28.0)

Updates `Elastic.Apm` from 1.27.0 to 1.28.0
- [Release notes](https://github.com/elastic/apm-agent-dotnet/releases)
- [Changelog](https://github.com/elastic/apm-agent-dotnet/blob/main/CHANGELOG.asciidoc)
- [Commits](https://github.com/elastic/apm-agent-dotnet/compare/v1.27.0...v1.28.0)

Updates `Microsoft.Azure.WebJobs` from 3.0.39 to 3.0.41
- [Release notes](https://github.com/Azure/azure-webjobs-sdk/releases)
- [Commits](https://github.com/Azure/azure-webjobs-sdk/compare/v3.0.39...v3.0.41)

Updates `Microsoft.Azure.WebJobs.Extensions.Storage` from 5.3.0 to 5.3.1
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Microsoft.Azure.WebJobs.Extensions.Storage_5.3.0...Microsoft.Azure.WebJobs.Extensions.Storage_5.3.1)

Updates `Azure.Storage.Blobs` from 12.20.0 to 12.21.0
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Storage.Blobs_12.20.0...Azure.Storage.Blobs_12.21.1)

Updates `Azure.Storage.Queues` from 12.18.0 to 12.19.0
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Storage.Queues_12.18.0...Azure.Storage.Queues_12.19.1)

Updates `Microsoft.Azure.WebJobs.Host.Storage` from 5.0.0 to 5.0.1
- [Release notes](https://github.com/Azure/azure-webjobs-sdk/releases)
- [Commits](https://github.com/Azure/azure-webjobs-sdk/commits)

Updates `Microsoft.Azure.WebJobs` from 3.0.39 to 3.0.41
- [Release notes](https://github.com/Azure/azure-webjobs-sdk/releases)
- [Commits](https://github.com/Azure/azure-webjobs-sdk/compare/v3.0.39...v3.0.41)

Updates `Microsoft.Azure.WebJobs.Logging.ApplicationInsights` from 3.0.35 to 3.0.41
- [Release notes](https://github.com/Azure/azure-webjobs-sdk/releases)
- [Commits](https://github.com/Azure/azure-webjobs-sdk/compare/v3.0.35...v3.0.41)

Updates `Microsoft.Extensions.Http.Polly` from 8.0.6 to 8.0.7
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.6...v8.0.7)

---
updated-dependencies:
- dependency-name: Azure.Storage.Queues
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Microsoft.Identity.Client
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: NUnit3TestAdapter
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: coverlet.msbuild
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: FakeItEasy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Elastic.Apm
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Elastic.Apm.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Elastic.Apm
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: FluentValidation
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.AspNetCore.Authentication.JwtBearer
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.AspNetCore.HeaderPropagation
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging.AzureAppServices
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Azure.Messaging.EventGrid
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Azure.Messaging.EventHubs
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Azure.Storage.Blobs
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Elastic.Apm.Azure.Storage
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Elastic.Apm
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Microsoft.Azure.WebJobs
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Azure.WebJobs.Extensions.Storage
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Azure.Storage.Blobs
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Azure.Storage.Queues
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: Microsoft.Azure.WebJobs.Host.Storage
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Azure.WebJobs
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Azure.WebJobs.Logging.ApplicationInsights
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Http.Polly
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
...

Signed-off-by: dependabot[bot] <[email protected]>

* Consolidate packages

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: HugoBurgess <[email protected]>
Co-authored-by: HugoBurgess <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: HugoBurgess <[email protected]>
Co-authored-by: JiviteshT <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: HugoBurgess <[email protected]>
Co-authored-by: onesixtyfourth <[email protected]>

* Add ADDS monitoring and Elastic APM integration (#177)

- Added `ADDSMonitoringEnabled` setting in `appsettings.json`.
- Updated `ScsEventProcessor` to use `IConfiguration` and `IAddsMonitoringService`.
- Implemented conditional ADDS monit…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant