Skip to content

Commit

Permalink
Dev s100/feature/188105 publish unitofsaleupdated event if no actions…
Browse files Browse the repository at this point in the history
… generated (#262)

* 180087 - Implementation to consume EES endpoint to publish unitofsaleupdated event AB#180087 AB#182323

* 180087 - Implementation to consume EES endpoint to publish unitofsaleupdated event AB#180087 AB#182323

* AB#185613 validate sap callback and publish

* 180087 - Updated configuration setting AB#180087 AB#182323

* 180087 - removed unused namespaces AB#180087 AB#182323

* AB#185613 Resolved few review comments

* Merge main into devs100 (#257)

* Bump System.Runtime.Caching in /src/UKHO.ERPFacade.Common (#199)

Bumps [System.Runtime.Caching](https://github.com/dotnet/runtime) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

---
updated-dependencies:
- dependency-name: System.Runtime.Caching
  dependency-type: direct:production
...

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

* Bump the all-packages group with 4 updates (#196)

* Bump the all-packages group with 4 updates

Bumps the all-packages group with 4 updates: [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore), [SoapCore](https://github.com/DigDes/SoapCore), [RestSharp](https://github.com/restsharp/RestSharp) and [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net).


Updates `Swashbuckle.AspNetCore` from 6.8.0 to 6.8.1
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.8.0...v6.8.1)

Updates `SoapCore` from 1.1.0.49 to 1.1.0.51
- [Release notes](https://github.com/DigDes/SoapCore/releases)
- [Commits](https://github.com/DigDes/SoapCore/compare/v1.1.0.49...v1.1.0.51)

Updates `RestSharp` from 112.0.0 to 112.1.0
- [Release notes](https://github.com/restsharp/RestSharp/releases)
- [Commits](https://github.com/restsharp/RestSharp/compare/112.0.0...112.1.0)

Updates `WireMock.Net` from 1.6.5 to 1.6.6
- [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases)
- [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md)
- [Commits](https://github.com/WireMock-Net/WireMock.Net/compare/1.6.5...1.6.6)

---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: SoapCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: RestSharp
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: WireMock.Net
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
...

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

* Add suppression for CVE-2024-43483 in System.Runtime.Caching

* Add suppression for CVE-2022-34716 in System.Security.Cryptography.Xml

---------

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: rushdynajath <[email protected]>

* Bump System.Text.Json from 8.0.4 to 8.0.5 in /src/UKHO.ERPFacade.API (#200)

Bumps [System.Text.Json](https://github.com/dotnet/runtime) from 8.0.4 to 8.0.5.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.4...v8.0.5)

---
updated-dependencies:
- dependency-name: System.Text.Json
  dependency-type: direct:production
...

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

* Bump System.Text.Json in /src/UKHO.ERPFacade.CleanUp.WebJob (#207)

Bumps [System.Text.Json](https://github.com/dotnet/runtime) from 8.0.4 to 8.0.5.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.4...v8.0.5)

---
updated-dependencies:
- dependency-name: System.Text.Json
  dependency-type: direct:production
...

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

* Refactor Azure Pipelines YAML to streamline permit configuration vari… (#211)

* Refactor Azure Pipelines YAML to streamline permit configuration variables

* Add PermitDecryptionHardwareId to Azure Pipelines configuration

* Bump the all-packages group with 20 updates (#212)

Bumps the all-packages group with 20 updates:

| Package | From | To |
| --- | --- | --- |
| [Elastic.Apm.NetCoreAll](https://github.com/elastic/apm-agent-dotnet) | `1.29.0` | `1.30.0` |
| [Microsoft.AspNetCore.Authentication.JwtBearer](https://github.com/dotnet/aspnetcore) | `6.0.33` | `6.0.35` |
| [Microsoft.AspNetCore.HeaderPropagation](https://github.com/dotnet/aspnetcore) | `6.0.33` | `6.0.35` |
| [Microsoft.AspNetCore.Mvc.NewtonsoftJson](https://github.com/dotnet/aspnetcore) | `6.0.33` | `6.0.35` |
| [Microsoft.Extensions.Diagnostics.HealthChecks](https://github.com/dotnet/aspnetcore) | `8.0.8` | `8.0.10` |
| [Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions](https://github.com/dotnet/aspnetcore) | `8.0.8` | `8.0.10` |
| [Microsoft.Extensions.Logging.Abstractions](https://github.com/dotnet/runtime) | `8.0.1` | `8.0.2` |
| [Microsoft.Extensions.Logging.AzureAppServices](https://github.com/dotnet/aspnetcore) | `8.0.8` | `8.0.10` |
| [Microsoft.Extensions.Configuration.Json](https://github.com/dotnet/runtime) | `8.0.0` | `8.0.1` |
| [System.Text.Json](https://github.com/dotnet/runtime) | `8.0.4` | `8.0.5` |
| [Microsoft.Extensions.Logging](https://github.com/dotnet/runtime) | `8.0.0` | `8.0.1` |
| [Microsoft.Extensions.DependencyInjection](https://github.com/dotnet/runtime) | `8.0.0` | `8.0.1` |
| [Microsoft.Extensions.Logging.Console](https://github.com/dotnet/runtime) | `8.0.0` | `8.0.1` |
| [Microsoft.Extensions.Logging.Debug](https://github.com/dotnet/runtime) | `8.0.0` | `8.0.1` |
| [Azure.Storage.Blobs](https://github.com/Azure/azure-sdk-for-net) | `12.22.1` | `12.22.2` |
| [Azure.Storage.Queues](https://github.com/Azure/azure-sdk-for-net) | `12.20.0` | `12.20.1` |
| [Microsoft.Extensions.Http](https://github.com/dotnet/runtime) | `8.0.0` | `8.0.1` |
| [Microsoft.Extensions.Http.Polly](https://github.com/dotnet/aspnetcore) | `8.0.8` | `8.0.10` |
| [Microsoft.Azure.WebJobs.Extensions.Storage](https://github.com/Azure/azure-sdk-for-net) | `5.3.2` | `5.3.3` |
| [Microsoft.Extensions.Hosting](https://github.com/dotnet/runtime) | `8.0.0` | `8.0.1` |


Updates `Elastic.Apm.NetCoreAll` from 1.29.0 to 1.30.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.29.0...v1.30.0)

Updates `Microsoft.AspNetCore.Authentication.JwtBearer` from 6.0.33 to 6.0.35
- [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/v6.0.33...v6.0.35)

Updates `Microsoft.AspNetCore.HeaderPropagation` from 6.0.33 to 6.0.35
- [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/v6.0.33...v6.0.35)

Updates `Microsoft.AspNetCore.Mvc.NewtonsoftJson` from 6.0.33 to 6.0.35
- [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/v6.0.33...v6.0.35)

Updates `Microsoft.Extensions.Diagnostics.HealthChecks` from 8.0.8 to 8.0.10
- [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.8...v8.0.10)

Updates `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions` from 8.0.8 to 8.0.10
- [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.8...v8.0.10)

Updates `Microsoft.Extensions.Logging.Abstractions` from 8.0.1 to 8.0.2
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.1...v8.0.2)

Updates `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions` from 8.0.8 to 8.0.10
- [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.8...v8.0.10)

Updates `Microsoft.Extensions.Logging.Abstractions` from 8.0.1 to 8.0.2
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.1...v8.0.2)

Updates `Microsoft.Extensions.Logging.AzureAppServices` from 8.0.8 to 8.0.10
- [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.8...v8.0.10)

Updates `Microsoft.Extensions.Configuration.Json` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `System.Text.Json` from 8.0.4 to 8.0.5
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.4...v8.0.5)

Updates `Microsoft.Extensions.Logging` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.DependencyInjection` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Logging.Abstractions` from 8.0.1 to 8.0.2
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.1...v8.0.2)

Updates `Microsoft.Extensions.Logging.Console` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Logging.Abstractions` from 8.0.1 to 8.0.2
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.1...v8.0.2)

Updates `Microsoft.Extensions.Logging` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.DependencyInjection` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `System.Text.Json` from 8.0.4 to 8.0.5
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.4...v8.0.5)

Updates `System.Text.Json` from 8.0.4 to 8.0.5
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.4...v8.0.5)

Updates `Microsoft.Extensions.Configuration.Json` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `System.Text.Json` from 8.0.4 to 8.0.5
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.4...v8.0.5)

Updates `Microsoft.Extensions.DependencyInjection` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Logging.Debug` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Logging.Abstractions` from 8.0.1 to 8.0.2
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.1...v8.0.2)

Updates `Microsoft.Extensions.Logging` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.DependencyInjection` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Azure.Storage.Blobs` from 12.22.1 to 12.22.2
- [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.22.1...Azure.Storage.Blobs_12.22.2)

Updates `Azure.Storage.Queues` from 12.20.0 to 12.20.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.20.0...Azure.Storage.Queues_12.20.1)

Updates `Microsoft.Extensions.Http` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Logging.Abstractions` from 8.0.1 to 8.0.2
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.1...v8.0.2)

Updates `Microsoft.Extensions.Logging` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.DependencyInjection` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Http.Polly` from 8.0.8 to 8.0.10
- [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.8...v8.0.10)

Updates `Microsoft.Extensions.Http` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Logging.Abstractions` from 8.0.1 to 8.0.2
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.1...v8.0.2)

Updates `Microsoft.Extensions.Logging` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.DependencyInjection` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Azure.WebJobs.Extensions.Storage` from 5.3.2 to 5.3.3
- [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.2...Microsoft.Azure.WebJobs.Extensions.Storage_5.3.3)

Updates `Microsoft.Extensions.Hosting` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Configuration.Json` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `System.Text.Json` from 8.0.4 to 8.0.5
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.4...v8.0.5)

Updates `Microsoft.Extensions.DependencyInjection` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Logging.Abstractions` from 8.0.1 to 8.0.2
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.1...v8.0.2)

Updates `Microsoft.Extensions.Logging` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Logging.Console` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Logging.Debug` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

---
updated-dependencies:
- dependency-name: Elastic.Apm.NetCoreAll
  dependency-type: direct:production
  update-type: version-update:semver-minor
  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.AspNetCore.Mvc.NewtonsoftJson
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Diagnostics.HealthChecks
  dependency-type: direct:production
  update-type: version-update:semver-patch
  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: Microsoft.Extensions.Logging.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  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: Microsoft.Extensions.Logging.Abstractions
  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: Microsoft.Extensions.Configuration.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: System.Text.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.DependencyInjection
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging.Console
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.DependencyInjection
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: System.Text.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: System.Text.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Configuration.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: System.Text.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.DependencyInjection
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging.Debug
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.DependencyInjection
  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-patch
  dependency-group: all-packages
- dependency-name: Azure.Storage.Queues
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Http
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.DependencyInjection
  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
- dependency-name: Microsoft.Extensions.Http
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.DependencyInjection
  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: Microsoft.Extensions.Hosting
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Configuration.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: System.Text.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.DependencyInjection
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging.Console
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging.Debug
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
...

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

* Release/pipeline prod (#218)

* Add dependency on PreProdDeploy stage for Livedeploy

* Add Permit Decryption Hardware ID and Azure AD configurations to pipeline

* update main

* Refactor Azure Pipelines YAML to remove unused variable for EnterpriseEventServiceConfiguration

* Update NVDSuppressions.xml

add suppression

* Update NVDSuppressions.xml

add suppression

* Update NVDSuppressions.xml

remove zero match

* Update NVDSuppressions.xml

remove zero referane

* Bump the all-packages group with 5 updates (#221)

Bumps the all-packages group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [Azure.Identity](https://github.com/Azure/azure-sdk-for-net) | `1.12.1` | `1.13.0` |
| [Azure.Security.KeyVault.Secrets](https://github.com/Azure/azure-sdk-for-net) | `4.6.0` | `4.7.0` |
| [Microsoft.Identity.Client](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet) | `4.65.0` | `4.66.0` |
| [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) | `6.8.1` | `6.9.0` |
| [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net) | `1.6.6` | `1.6.7` |


Updates `Azure.Identity` from 1.12.1 to 1.13.0
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Identity_1.12.1...Azure.Identity_1.13.0)

Updates `Azure.Security.KeyVault.Secrets` from 4.6.0 to 4.7.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.6.0...Azure.Security.KeyVault.Secrets_4.7.0)

Updates `Microsoft.Identity.Client` from 4.65.0 to 4.66.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.65.0...4.66.0)

Updates `Swashbuckle.AspNetCore` from 6.8.1 to 6.9.0
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.8.1...v6.9.0)

Updates `WireMock.Net` from 1.6.6 to 1.6.7
- [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases)
- [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md)
- [Commits](https://github.com/WireMock-Net/WireMock.Net/compare/1.6.6...1.6.7)

---
updated-dependencies:
- dependency-name: Azure.Identity
  dependency-type: direct:production
  update-type: version-update:semver-minor
  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: Microsoft.Identity.Client
  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
- dependency-name: WireMock.Net
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
...

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

* Suppression (#226)

* Merge dev into main (#237)

* feat: Update Azure Pipelines configuration for vNextIATDeploy and E2EDeploy stages (#183)

Update the `azure-pipelines.yml` file to modify the conditions for the `vNextIATDeploy` and `E2EDeploy` stages. The conditions now check for successful builds and the source branch being either `main`, `release/*`, or `develop`. This change improves the deployment process for the vNext IAT and E2E stages.

Co-authored-by: dependabot[bot] <[email protected]>

* add deployment condition to IAT (#185)

* feat: Update Azure Pipelines configuration for vNextIATDeploy and E2EDeploy stages

* Update Azure Pipelines configuration for vNextIATDeploy and E2EDeploy stages

* clean up

* Update Azure Pipelines configuration for vNextIATDeploy and E2EDeploy stages

* Update Azure Pipelines configuration for vNextIATDeploy and E2EDeploy stages

* Merge branch 'main' into develop

* 177261 implement updated sap action rules (#195)

* 177261-implement sap action rules  AB#177261 AB#177486 AB#177487

* 177261-exception handling and logging AB#177261 AB#177486

* 177261-code uplifting AB#177261

* 177261-null check of unit of sale added in case of change and update actions AB#177261 AB#177490

* 177261-code uplifted and few warnings resolved AB#177261

* 177261-code refactoring AB#177261 AB#177490

* 177725-schema changes for enccontentpublished v2.2 event AB#177725

* 177261-added new logs and uplifted few existings logs AB#177261

* 177261-exception logs updated AB#177261

* 177261-unit test added for enc content sap message builder AB#177261 AB#177491

* 177261-unit test cases fixed AB#177261 AB#177491

* 177261-Wiremock changes AB#177261

* 177261-unit test added for enccontent sap message builder AB#177261 AB#177491

* 177261-logging middleware uplifted to resolve app insight exception logging issue AB#177261

* 177261-minor issue fixed AB#177261

* 177261-unit test updated AB#177261 AB#177491

* 177261-rule updated for additional coverage action AB#177261

* 177261-vulnerabilities  fixed AB#177261

* 177261 Vulnerabilities fixed #AB177261

* 177261 Vulnerable dependencies fixed #AB177261

* 177261-unit test updated for enc content sap builder. AB#177261 AB#177491

* 177261 Removed stop command for SAP mock - AB#177261

* 177261 Reverted changes to SAP Mock AB #177261

* 177261 UTs modified to improve code coverage #AB177261

* 177261-code coverage improvement based on stryker AB#177261

* 177261 - Updated existing FTs' as per new rules and new payload schema. Added new FT's to validate mandatory attributes in the payload. AB#177261

* 177261 - Updated appsettings - AB#177261

* 177261 passed key vault url for FTs AB#177261

* 177261 - removed permit key section form appsettings AB#177261

* 177261 UTs added to improve code coverage AB#177261

* 177261-code refactoring AB#177261

* Removing keyvaulturl variable from YAML AB#177261

* 177261 - changed code for fetching keyvault secrets AB#177261

* 177261-minor change AB#177261

* 177261-updated mock service proj file AB#177261

* 177261-ukhoweeknumber issue fixed AB#177261

* 177261-Added FT for Re-issue scenario AB#177261

* 177261-changed property of input file to Copy always AB#177261

* 177902-exception logs formatting issue fix AB#177902

* 177261 Fixed UTs post refactoring error logs

* 177902-Exception logs format fixed AB#177902

* 177261 Updated expected xml files AB#177261

* 177261 - Resolved review comments AB#177261

* 177261-code review comments fixed AB#177261 AB#181398

* updated correlationid

* 177261-minor code review comment fixed AB#177261 AB#181398

* 177261-code review comments resolved in FT's AB#177261

* 177261-Updated payload and xml for Reissue scenario as per the latest updated payload AB#177261

---------

Co-authored-by: Vishal Dukare <[email protected]>
Co-authored-by: rushikeshkhopatkar <[email protected]>
Co-authored-by: Pooja More <[email protected]>
Co-authored-by: rushikeshkhopatkar <[email protected]>
Co-authored-by: Amogh Lanke <[email protected]>

* Merge main into dev (#205)

* Bump System.Runtime.Caching in /src/UKHO.ERPFacade.Common (#199)

Bumps [System.Runtime.Caching](https://github.com/dotnet/runtime) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

---
updated-dependencies:
- dependency-name: System.Runtime.Caching
  dependency-type: direct:production
...

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

* Bump the all-packages group with 4 updates (#196)

* Bump the all-packages group with 4 updates

Bumps the all-packages group with 4 updates: [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore), [SoapCore](https://github.com/DigDes/SoapCore), [RestSharp](https://github.com/restsharp/RestSharp) and [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net).


Updates `Swashbuckle.AspNetCore` from 6.8.0 to 6.8.1
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.8.0...v6.8.1)

Updates `SoapCore` from 1.1.0.49 to 1.1.0.51
- [Release notes](https://github.com/DigDes/SoapCore/releases)
- [Commits](https://github.com/DigDes/SoapCore/compare/v1.1.0.49...v1.1.0.51)

Updates `RestSharp` from 112.0.0 to 112.1.0
- [Release notes](https://github.com/restsharp/RestSharp/releases)
- [Commits](https://github.com/restsharp/RestSharp/compare/112.0.0...112.1.0)

Updates `WireMock.Net` from 1.6.5 to 1.6.6
- [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases)
- [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md)
- [Commits](https://github.com/WireMock-Net/WireMock.Net/compare/1.6.5...1.6.6)

---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: SoapCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: RestSharp
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: WireMock.Net
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
...

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

* Add suppression for CVE-2024-43483 in System.Runtime.Caching

* Add suppression for CVE-2022-34716 in System.Security.Cryptography.Xml

---------

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: rushdynajath <[email protected]>

---------

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]>

* ADDS live issue fix for item tag in xml payload (#209)

* issue fix around item tag

* Updated item tag in expected XMLs

---------

Co-authored-by: Vishal Dukare <[email protected]>
Co-authored-by: rushikeshkhopatkar <[email protected]>

* Merge main into develop 11_10 (#210)

* Bump System.Runtime.Caching in /src/UKHO.ERPFacade.Common (#199)

Bumps [System.Runtime.Caching](https://github.com/dotnet/runtime) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

---
updated-dependencies:
- dependency-name: System.Runtime.Caching
  dependency-type: direct:production
...

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

* Bump the all-packages group with 4 updates (#196)

* Bump the all-packages group with 4 updates

Bumps the all-packages group with 4 updates: [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore), [SoapCore](https://github.com/DigDes/SoapCore), [RestSharp](https://github.com/restsharp/RestSharp) and [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net).


Updates `Swashbuckle.AspNetCore` from 6.8.0 to 6.8.1
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.8.0...v6.8.1)

Updates `SoapCore` from 1.1.0.49 to 1.1.0.51
- [Release notes](https://github.com/DigDes/SoapCore/releases)
- [Commits](https://github.com/DigDes/SoapCore/compare/v1.1.0.49...v1.1.0.51)

Updates `RestSharp` from 112.0.0 to 112.1.0
- [Release notes](https://github.com/restsharp/RestSharp/releases)
- [Commits](https://github.com/restsharp/RestSharp/compare/112.0.0...112.1.0)

Updates `WireMock.Net` from 1.6.5 to 1.6.6
- [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases)
- [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md)
- [Commits](https://github.com/WireMock-Net/WireMock.Net/compare/1.6.5...1.6.6)

---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: SoapCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: RestSharp
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: WireMock.Net
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
...

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

* Add suppression for CVE-2024-43483 in System.Runtime.Caching

* Add suppression for CVE-2022-34716 in System.Security.Cryptography.Xml

---------

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: rushdynajath <[email protected]>

* Bump System.Text.Json from 8.0.4 to 8.0.5 in /src/UKHO.ERPFacade.API (#200)

Bumps [System.Text.Json](https://github.com/dotnet/runtime) from 8.0.4 to 8.0.5.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.4...v8.0.5)

---
updated-dependencies:
- dependency-name: System.Text.Json
  dependency-type: direct:production
...

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

* Bump System.Text.Json in /src/UKHO.ERPFacade.CleanUp.WebJob (#207)

Bumps [System.Text.Json](https://github.com/dotnet/runtime) from 8.0.4 to 8.0.5.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.4...v8.0.5)

---
updated-dependencies:
- dependency-name: System.Text.Json
  dependency-type: direct:production
...

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

* Refactor Azure Pipelines YAML to streamline permit configuration vari… (#211)

* Refactor Azure Pipelines YAML to streamline permit configuration variables

* Add PermitDecryptionHardwareId to Azure Pipelines configuration

---------

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]>

* 181621 adds live defect fix permit decryption failure (#208)

* 181621-permit decryption failure issue fixed AB#181621

* 181621-Added FT for permit decryption failure AB#181621

* 181621-code refactored AB#181621

---------

Co-authored-by: rushikeshkhopatkar <[email protected]>
Co-authored-by: rushdynajath <[email protected]>
Co-authored-by: Vishal14583 <[email protected]>

* Dependabot main into developement14 10 (#214)

* Bump System.Runtime.Caching in /src/UKHO.ERPFacade.Common (#199)

Bumps [System.Runtime.Caching](https://github.com/dotnet/runtime) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

---
updated-dependencies:
- dependency-name: System.Runtime.Caching
  dependency-type: direct:production
...

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

* Bump the all-packages group with 4 updates (#196)

* Bump the all-packages group with 4 updates

Bumps the all-packages group with 4 updates: [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore), [SoapCore](https://github.com/DigDes/SoapCore), [RestSharp](https://github.com/restsharp/RestSharp) and [WireMock.Net](https://github.com/WireMock-Net/WireMock.Net).


Updates `Swashbuckle.AspNetCore` from 6.8.0 to 6.8.1
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.8.0...v6.8.1)

Updates `SoapCore` from 1.1.0.49 to 1.1.0.51
- [Release notes](https://github.com/DigDes/SoapCore/releases)
- [Commits](https://github.com/DigDes/SoapCore/compare/v1.1.0.49...v1.1.0.51)

Updates `RestSharp` from 112.0.0 to 112.1.0
- [Release notes](https://github.com/restsharp/RestSharp/releases)
- [Commits](https://github.com/restsharp/RestSharp/compare/112.0.0...112.1.0)

Updates `WireMock.Net` from 1.6.5 to 1.6.6
- [Release notes](https://github.com/WireMock-Net/WireMock.Net/releases)
- [Changelog](https://github.com/WireMock-Net/WireMock.Net/blob/master/CHANGELOG.md)
- [Commits](https://github.com/WireMock-Net/WireMock.Net/compare/1.6.5...1.6.6)

---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: SoapCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: RestSharp
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-packages
- dependency-name: WireMock.Net
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
...

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

* Add suppression for CVE-2024-43483 in System.Runtime.Caching

* Add suppression for CVE-2022-34716 in System.Security.Cryptography.Xml

---------

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: rushdynajath <[email protected]>

* Bump System.Text.Json from 8.0.4 to 8.0.5 in /src/UKHO.ERPFacade.API (#200)

Bumps [System.Text.Json](https://github.com/dotnet/runtime) from 8.0.4 to 8.0.5.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.4...v8.0.5)

---
updated-dependencies:
- dependency-name: System.Text.Json
  dependency-type: direct:production
...

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

* Bump System.Text.Json in /src/UKHO.ERPFacade.CleanUp.WebJob (#207)

Bumps [System.Text.Json](https://github.com/dotnet/runtime) from 8.0.4 to 8.0.5.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.4...v8.0.5)

---
updated-dependencies:
- dependency-name: System.Text.Json
  dependency-type: direct:production
...

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

* Refactor Azure Pipelines YAML to streamline permit configuration vari… (#211)

* Refactor Azure Pipelines YAML to streamline permit configuration variables

* Add PermitDecryptionHardwareId to Azure Pipelines configuration

* Bump the all-packages group with 20 updates (#212)

Bumps the all-packages group with 20 updates:

| Package | From | To |
| --- | --- | --- |
| [Elastic.Apm.NetCoreAll](https://github.com/elastic/apm-agent-dotnet) | `1.29.0` | `1.30.0` |
| [Microsoft.AspNetCore.Authentication.JwtBearer](https://github.com/dotnet/aspnetcore) | `6.0.33` | `6.0.35` |
| [Microsoft.AspNetCore.HeaderPropagation](https://github.com/dotnet/aspnetcore) | `6.0.33` | `6.0.35` |
| [Microsoft.AspNetCore.Mvc.NewtonsoftJson](https://github.com/dotnet/aspnetcore) | `6.0.33` | `6.0.35` |
| [Microsoft.Extensions.Diagnostics.HealthChecks](https://github.com/dotnet/aspnetcore) | `8.0.8` | `8.0.10` |
| [Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions](https://github.com/dotnet/aspnetcore) | `8.0.8` | `8.0.10` |
| [Microsoft.Extensions.Logging.Abstractions](https://github.com/dotnet/runtime) | `8.0.1` | `8.0.2` |
| [Microsoft.Extensions.Logging.AzureAppServices](https://github.com/dotnet/aspnetcore) | `8.0.8` | `8.0.10` |
| [Microsoft.Extensions.Configuration.Json](https://github.com/dotnet/runtime) | `8.0.0` | `8.0.1` |
| [System.Text.Json](https://github.com/dotnet/runtime) | `8.0.4` | `8.0.5` |
| [Microsoft.Extensions.Logging](https://github.com/dotnet/runtime) | `8.0.0` | `8.0.1` |
| [Microsoft.Extensions.DependencyInjection](https://github.com/dotnet/runtime) | `8.0.0` | `8.0.1` |
| [Microsoft.Extensions.Logging.Console](https://github.com/dotnet/runtime) | `8.0.0` | `8.0.1` |
| [Microsoft.Extensions.Logging.Debug](https://github.com/dotnet/runtime) | `8.0.0` | `8.0.1` |
| [Azure.Storage.Blobs](https://github.com/Azure/azure-sdk-for-net) | `12.22.1` | `12.22.2` |
| [Azure.Storage.Queues](https://github.com/Azure/azure-sdk-for-net) | `12.20.0` | `12.20.1` |
| [Microsoft.Extensions.Http](https://github.com/dotnet/runtime) | `8.0.0` | `8.0.1` |
| [Microsoft.Extensions.Http.Polly](https://github.com/dotnet/aspnetcore) | `8.0.8` | `8.0.10` |
| [Microsoft.Azure.WebJobs.Extensions.Storage](https://github.com/Azure/azure-sdk-for-net) | `5.3.2` | `5.3.3` |
| [Microsoft.Extensions.Hosting](https://github.com/dotnet/runtime) | `8.0.0` | `8.0.1` |


Updates `Elastic.Apm.NetCoreAll` from 1.29.0 to 1.30.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.29.0...v1.30.0)

Updates `Microsoft.AspNetCore.Authentication.JwtBearer` from 6.0.33 to 6.0.35
- [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/v6.0.33...v6.0.35)

Updates `Microsoft.AspNetCore.HeaderPropagation` from 6.0.33 to 6.0.35
- [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/v6.0.33...v6.0.35)

Updates `Microsoft.AspNetCore.Mvc.NewtonsoftJson` from 6.0.33 to 6.0.35
- [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/v6.0.33...v6.0.35)

Updates `Microsoft.Extensions.Diagnostics.HealthChecks` from 8.0.8 to 8.0.10
- [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.8...v8.0.10)

Updates `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions` from 8.0.8 to 8.0.10
- [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.8...v8.0.10)

Updates `Microsoft.Extensions.Logging.Abstractions` from 8.0.1 to 8.0.2
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.1...v8.0.2)

Updates `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions` from 8.0.8 to 8.0.10
- [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.8...v8.0.10)

Updates `Microsoft.Extensions.Logging.Abstractions` from 8.0.1 to 8.0.2
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.1...v8.0.2)

Updates `Microsoft.Extensions.Logging.AzureAppServices` from 8.0.8 to 8.0.10
- [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.8...v8.0.10)

Updates `Microsoft.Extensions.Configuration.Json` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `System.Text.Json` from 8.0.4 to 8.0.5
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.4...v8.0.5)

Updates `Microsoft.Extensions.Logging` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.DependencyInjection` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Logging.Abstractions` from 8.0.1 to 8.0.2
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.1...v8.0.2)

Updates `Microsoft.Extensions.Logging.Console` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Logging.Abstractions` from 8.0.1 to 8.0.2
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.1...v8.0.2)

Updates `Microsoft.Extensions.Logging` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.DependencyInjection` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `System.Text.Json` from 8.0.4 to 8.0.5
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.4...v8.0.5)

Updates `System.Text.Json` from 8.0.4 to 8.0.5
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.4...v8.0.5)

Updates `Microsoft.Extensions.Configuration.Json` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `System.Text.Json` from 8.0.4 to 8.0.5
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.4...v8.0.5)

Updates `Microsoft.Extensions.DependencyInjection` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Logging.Debug` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Logging.Abstractions` from 8.0.1 to 8.0.2
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.1...v8.0.2)

Updates `Microsoft.Extensions.Logging` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.DependencyInjection` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Azure.Storage.Blobs` from 12.22.1 to 12.22.2
- [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.22.1...Azure.Storage.Blobs_12.22.2)

Updates `Azure.Storage.Queues` from 12.20.0 to 12.20.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.20.0...Azure.Storage.Queues_12.20.1)

Updates `Microsoft.Extensions.Http` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Logging.Abstractions` from 8.0.1 to 8.0.2
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.1...v8.0.2)

Updates `Microsoft.Extensions.Logging` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.DependencyInjection` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Http.Polly` from 8.0.8 to 8.0.10
- [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.8...v8.0.10)

Updates `Microsoft.Extensions.Http` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Logging.Abstractions` from 8.0.1 to 8.0.2
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.1...v8.0.2)

Updates `Microsoft.Extensions.Logging` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.DependencyInjection` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Azure.WebJobs.Extensions.Storage` from 5.3.2 to 5.3.3
- [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.2...Microsoft.Azure.WebJobs.Extensions.Storage_5.3.3)

Updates `Microsoft.Extensions.Hosting` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Configuration.Json` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `System.Text.Json` from 8.0.4 to 8.0.5
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.4...v8.0.5)

Updates `Microsoft.Extensions.DependencyInjection` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Logging.Abstractions` from 8.0.1 to 8.0.2
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.1...v8.0.2)

Updates `Microsoft.Extensions.Logging` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Logging.Console` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Logging.Debug` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

---
updated-dependencies:
- dependency-name: Elastic.Apm.NetCoreAll
  dependency-type: direct:production
  update-type: version-update:semver-minor
  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.AspNetCore.Mvc.NewtonsoftJson
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Diagnostics.HealthChecks
  dependency-type: direct:production
  update-type: version-update:semver-patch
  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: Microsoft.Extensions.Logging.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  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: Microsoft.Extensions.Logging.Abstractions
  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: Microsoft.Extensions.Configuration.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: System.Text.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.DependencyInjection
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging.Console
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.DependencyInjection
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: System.Text.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: System.Text.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Configuration.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: System.Text.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.DependencyInjection
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging.Debug
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.DependencyInjection
  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-patch
  dependency-group: all-packages
- dependency-name: Azure.Storage.Queues
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Http
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-packages
- dependency-name: Microsoft.Extensions.Logging.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  depen…
  • Loading branch information
19 people authored Nov 25, 2024
1 parent 361f460 commit 10398c3
Show file tree
Hide file tree
Showing 4 changed files with 106 additions and 16 deletions.
34 changes: 27 additions & 7 deletions src/UKHO.ERPFacade.API/Handlers/S100EventHandler.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using UKHO.ERPFacade.API.Services.EventPublishingServices;
using UKHO.ERPFacade.API.XmlTransformers;
using UKHO.ERPFacade.Common.Configuration;
using UKHO.ERPFacade.Common.Constants;
Expand All @@ -25,20 +26,23 @@ public class S100EventHandler : IEventHandler
private readonly IBaseXmlTransformer _baseXmlTransformer;
private readonly ISapClient _sapClient;
private readonly IOptions<SapConfiguration> _sapConfig;
private readonly IS100UnitOfSaleUpdatedEventPublishingService _s100UnitOfSaleUpdatedEventPublishingService;

public S100EventHandler([FromKeyedServices("S100XmlTransformer")] IBaseXmlTransformer baseXmlTransformer,
ILogger<S100EventHandler> logger,
IAzureTableReaderWriter azureTableReaderWriter,
IAzureBlobReaderWriter azureBlobReaderWriter,
ISapClient sapClient,
IOptions<SapConfiguration> sapConfig)
IOptions<SapConfiguration> sapConfig,
IS100UnitOfSaleUpdatedEventPublishingService s100UnitOfSaleUpdatedEventPublishingService)
{
_logger = logger;
_baseXmlTransformer = baseXmlTransformer;
_azureTableReaderWriter = azureTableReaderWriter;
_azureBlobReaderWriter = azureBlobReaderWriter;
_sapClient = sapClient;
_sapConfig = sapConfig;
_s100UnitOfSaleUpdatedEventPublishingService = s100UnitOfSaleUpdatedEventPublishingService;
}

public async Task ProcessEventAsync(BaseCloudEvent baseCloudEvent)
Expand Down Expand Up @@ -71,17 +75,33 @@ public async Task ProcessEventAsync(BaseCloudEvent baseCloudEvent)

_logger.LogInformation(EventIds.S100EventXMLStoredInAzureBlobContainer.ToEventId(), "S-100 data content published event xml payload is stored in azure blob container.");

var response = await _sapClient.PostEventData(sapPayload, _sapConfig.Value.SapEndpointForS100Event, _sapConfig.Value.SapServiceOperationForS100Event, _sapConfig.Value.SapUsernameForS100Event, _sapConfig.Value.SapPasswordForS100Event);

if (!response.IsSuccessStatusCode)
if (sapPayload.DocumentElement != null && int.TryParse(sapPayload.SelectSingleNode(XmlTemplateInfo.XpathNoOfActions).InnerText, out int actionCount) && actionCount <= 0)
{
throw new ERPFacadeException(EventIds.S100RequestToSapFailedException.ToEventId(), $"An error occurred while sending S-100 data content to SAP. | {response.StatusCode}");
var result = await _s100UnitOfSaleUpdatedEventPublishingService.PublishEvent(baseCloudEvent, s100EventData.CorrelationId);

if (!result.IsSuccess)
{
_logger.LogError(EventIds.ErrorOccurredWhilePublishingUnitOfSaleUpdatedEventToEes.ToEventId(), "Error occurred while publishing S-100 unit of sale updated event to EES. | Status:{status}", result.Error);
throw new ERPFacadeException(EventIds.ErrorOccurredWhilePublishingUnitOfSaleUpdatedEventToEes.ToEventId(), "Error occurred while publishing S-100 unit of sale updated event to EES.");
}

_logger.LogInformation(EventIds.UnitOfSaleUpdatedEventPublished.ToEventId(), "The unit of sale updated event published to EES successfully.");

await _azureTableReaderWriter.UpdateEntityAsync(PartitionKeys.S100PartitionKey, s100EventData.CorrelationId, new Dictionary<string, object> { { "RequestDateTime", DateTime.UtcNow }, { "Status", Status.Complete.ToString() }, { "EventPublishedDateTime", DateTime.UtcNow } });
}
else
{
var response = await _sapClient.PostEventData(sapPayload, _sapConfig.Value.SapEndpointForS100Event, _sapConfig.Value.SapServiceOperationForS100Event, _sapConfig.Value.SapUsernameForS100Event, _sapConfig.Value.SapPasswordForS100Event);

_logger.LogInformation(EventIds.S100EventUpdateSentToSap.ToEventId(), "S-100 data content has been sent to SAP successfully.");
if (!response.IsSuccessStatusCode)
{
throw new ERPFacadeException(EventIds.S100RequestToSapFailedException.ToEventId(), $"An error occurred while sending S-100 data content to SAP. | {response.StatusCode}");
}

await _azureTableReaderWriter.UpdateEntityAsync(eventEntity.PartitionKey, eventEntity.RowKey, new Dictionary<string, object> { { "RequestDateTime", DateTime.UtcNow } });
_logger.LogInformation(EventIds.S100EventUpdateSentToSap.ToEventId(), "S-100 data content has been sent to SAP successfully.");

await _azureTableReaderWriter.UpdateEntityAsync(eventEntity.PartitionKey, eventEntity.RowKey, new Dictionary<string, object> { { "RequestDateTime", DateTime.UtcNow } });
}
}
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net;
using System.Net.Http;
using System.Xml;
using Azure.Data.Tables;
using FakeItEasy;
Expand All @@ -13,16 +12,18 @@
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using UKHO.ERPFacade.API.Handlers;
using UKHO.ERPFacade.API.Services.EventPublishingServices;
using UKHO.ERPFacade.API.UnitTests.Common;
using UKHO.ERPFacade.API.XmlTransformers;
using UKHO.ERPFacade.Common.Configuration;
using UKHO.ERPFacade.Common.Constants;
using UKHO.ERPFacade.Common.Exceptions;
using UKHO.ERPFacade.Common.HttpClients;
using UKHO.ERPFacade.Common.Logging;
using UKHO.ERPFacade.Common.Models;
using UKHO.ERPFacade.Common.Models.CloudEvents;
using UKHO.ERPFacade.Common.Models.CloudEvents.S100Event;
using UKHO.ERPFacade.Common.Operations.IO.Azure;
using UKHO.ERPFacade.API.UnitTests.Common;
using UKHO.ERPFacade.Common.Constants;
using UKHO.ERPFacade.Common.Exceptions;

namespace UKHO.ERPFacade.API.UnitTests.Handlers
{
Expand All @@ -36,7 +37,7 @@ public class S100EventHandlerTests
private IBaseXmlTransformer _fakeBaseXmlTransformer;
private ISapClient _fakeSapClient;
private IOptions<SapConfiguration> _fakeSapConfig;

private IS100UnitOfSaleUpdatedEventPublishingService _fakeS100UnitOfSaleUpdatedEventPublishingService;
[SetUp]
public void Setup()
{
Expand All @@ -46,8 +47,8 @@ public void Setup()
_fakeBaseXmlTransformer = A.Fake<IBaseXmlTransformer>();
_fakeSapClient = A.Fake<ISapClient>();
_fakeSapConfig = A.Fake<IOptions<SapConfiguration>>();

_fakes100EventHandler = new S100EventHandler(_fakeBaseXmlTransformer, _fakeLogger, _fakeAzureTableReaderWriter, _fakeAzureBlobReaderWriter, _fakeSapClient, _fakeSapConfig);
_fakeS100UnitOfSaleUpdatedEventPublishingService = A.Fake<IS100UnitOfSaleUpdatedEventPublishingService>();
_fakes100EventHandler = new S100EventHandler(_fakeBaseXmlTransformer, _fakeLogger, _fakeAzureTableReaderWriter, _fakeAzureBlobReaderWriter, _fakeSapClient, _fakeSapConfig, _fakeS100UnitOfSaleUpdatedEventPublishingService);
}

[Test]
Expand Down Expand Up @@ -110,5 +111,71 @@ public void WhenSapRespondsWith401Unauthorized_ThenS100EventHandlerRaiseAnExcept

A.CallTo(() => _fakeAzureTableReaderWriter.UpdateEntityAsync(A<string>.Ignored, A<string>.Ignored, A<Dictionary<string, object>>.Ignored)).MustNotHaveHappened();
}

[Test]
public void WhenValidEventReceivedWithNoSAPAction_ThenS100EventHandlerPublishTheUnitOfsaleUpdatedEventToEesSuccessfully()
{
var fakeS100EventDataJson = JObject.Parse(@"{""data"":{""correlationId"":""123""}}");
var fakeS100EventData = JsonConvert.DeserializeObject<BaseCloudEvent>(fakeS100EventDataJson.ToString());

var sapXml = TestHelper.ReadFileData("ERPTestData\\S100TestData\\SapXmlWithNoActions.xml");
XmlDocument xmlDocument = new XmlDocument();
xmlDocument.LoadXml(sapXml);

A.CallTo(() => _fakeBaseXmlTransformer.BuildXmlPayload(A<S100EventData>.Ignored, A<string>.Ignored)).Returns(xmlDocument);
A.CallTo(() => _fakeS100UnitOfSaleUpdatedEventPublishingService.PublishEvent(A<BaseCloudEvent>.Ignored, A<string>.Ignored)).Returns(Result.Success());


_ = _fakes100EventHandler.ProcessEventAsync(fakeS100EventData);

A.CallTo(_fakeLogger).Where(call => call.Method.Name == "Log"
&& call.GetArgument<LogLevel>(0) == LogLevel.Information
&& call.GetArgument<EventId>(1) == EventIds.S100EventProcessingStarted.ToEventId()
&& call.GetArgument<IEnumerable<KeyValuePair<string, object>>>(2)!.ToDictionary(c => c.Key, c => c.Value)["{OriginalFormat}"].ToString() == "S-100 data content published event processing started.").MustHaveHappenedOnceExactly();

A.CallTo(() => _fakeAzureTableReaderWriter.UpsertEntityAsync(A<ITableEntity>.Ignored)).MustHaveHappened();

A.CallTo(_fakeLogger).Where(call => call.Method.Name == "Log"
&& call.GetArgument<LogLevel>(0) == LogLevel.Information
&& call.GetArgument<EventId>(1) == EventIds.S100EventEntryAddedInAzureTable.ToEventId()
&& call.GetArgument<IEnumerable<KeyValuePair<string, object>>>(2)!.ToDictionary(c => c.Key, c => c.Value)["{OriginalFormat}"].ToString() == "S-100 data content published event entry added in azure table.").MustHaveHappenedOnceExactly();

A.CallTo(_fakeLogger).Where(call => call.Method.Name == "Log"
&& call.GetArgument<LogLevel>(0) == LogLevel.Information
&& call.GetArgument<EventId>(1) == EventIds.S100EventJsonStoredInAzureBlobContainer.ToEventId()
&& call.GetArgument<IEnumerable<KeyValuePair<string, object>>>(2)!.ToDictionary(c => c.Key, c => c.Value)["{OriginalFormat}"].ToString() == "S-100 data content published event json payload is stored in azure blob container.").MustHaveHappenedOnceExactly();

A.CallTo(() => _fakeAzureBlobReaderWriter.UploadEventAsync(A<string>.Ignored, A<string>.Ignored, A<string>.Ignored)).MustHaveHappened(2, Times.Exactly);

A.CallTo(_fakeLogger).Where(call => call.Method.Name == "Log"
&& call.GetArgument<LogLevel>(0) == LogLevel.Information
&& call.GetArgument<EventId>(1) == EventIds.S100EventXMLStoredInAzureBlobContainer.ToEventId()
&& call.GetArgument<IEnumerable<KeyValuePair<string, object>>>(2)!.ToDictionary(c => c.Key, c => c.Value)["{OriginalFormat}"].ToString() == "S-100 data content published event xml payload is stored in azure blob container.").MustHaveHappenedOnceExactly();

A.CallTo(() => _fakeAzureTableReaderWriter.UpdateEntityAsync(A<string>.Ignored, A<string>.Ignored, A<Dictionary<string, object>>.Ignored)).MustHaveHappened();

A.CallTo(_fakeLogger).Where(call => call.Method.Name == "Log"
&& call.GetArgument<LogLevel>(0) == LogLevel.Information
&& call.GetArgument<EventId>(1) == EventIds.UnitOfSaleUpdatedEventPublished.ToEventId()
&& call.GetArgument<IEnumerable<KeyValuePair<string, object>>>(2)!.ToDictionary(c => c.Key, c => c.Value)["{OriginalFormat}"].ToString() == "The unit of sale updated event published to EES successfully.").MustHaveHappenedOnceExactly();

A.CallTo(() => _fakeSapClient.PostEventData(A<XmlDocument>.Ignored, A<string>.Ignored, A<string>.Ignored, A<string>.Ignored, A<string>.Ignored)).MustNotHaveHappened();
}

[Test]
public void WhenValidEventReceivedWithNoSAPAction_ThenS100EventHandlerPublishTheUnitOfsaleUpdatedEventToEesFailed()
{
var fakeS100EventDataJson = JObject.Parse(@"{""data"":{""correlationId"":""123""}}");
var fakeS100EventData = JsonConvert.DeserializeObject<BaseCloudEvent>(fakeS100EventDataJson.ToString());
var sapXml = TestHelper.ReadFileData("ERPTestData\\S100TestData\\SapXmlWithNoActions.xml");
XmlDocument xmlDocument = new XmlDocument();
xmlDocument.LoadXml(sapXml);

A.CallTo(() => _fakeBaseXmlTransformer.BuildXmlPayload(A<S100EventData>.Ignored, A<string>.Ignored)).Returns(xmlDocument);
A.CallTo(() => _fakeS100UnitOfSaleUpdatedEventPublishingService.PublishEvent(A<BaseCloudEvent>.Ignored, A<string>.Ignored)).Returns(Result.Failure("Internal Server Error"));

Assert.ThrowsAsync<ERPFacadeException>(() => _fakes100EventHandler.ProcessEventAsync(fakeS100EventData))
.Message.Should().Be("Error occurred while publishing S-100 unit of sale updated event to EES.");
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@
<None Update="ERPTestData\ReplaceCellWithNoUnitOfSaleHavingTypeIsUnit.JSON">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="ERPTestData\S100TestData\SapXmlWithNoActions.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="ERPTestData\S100TestData\ChangeProduct.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
Expand Down

0 comments on commit 10398c3

Please sign in to comment.