From 10398c3b823222a1c186a6a0f9e4291bfa8d29e5 Mon Sep 17 00:00:00 2001 From: Tukaram96 <129823364+Tukaram96@users.noreply.github.com> Date: Mon, 25 Nov 2024 16:31:09 +0530 Subject: [PATCH] Dev s100/feature/188105 publish unitofsaleupdated event if no actions generated (#262) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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] 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] * 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] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: HugoBurgess <128484816+HugoBurgess@users.noreply.github.com> Co-authored-by: rushdynajath * 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] 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] 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] 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] 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] * 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 Co-authored-by: rushikeshkhopatkar Co-authored-by: Pooja More Co-authored-by: rushikeshkhopatkar Co-authored-by: Amogh Lanke * 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] 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] * 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] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: HugoBurgess <128484816+HugoBurgess@users.noreply.github.com> Co-authored-by: rushdynajath --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: HugoBurgess <128484816+HugoBurgess@users.noreply.github.com> * 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 Co-authored-by: rushikeshkhopatkar * 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] 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] * 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] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: HugoBurgess <128484816+HugoBurgess@users.noreply.github.com> Co-authored-by: rushdynajath * 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] 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] 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] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: HugoBurgess <128484816+HugoBurgess@users.noreply.github.com> * 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 Co-authored-by: rushdynajath Co-authored-by: Vishal14583 <61726015+Vishal14583@users.noreply.github.com> * 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] 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] * 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] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: HugoBurgess <128484816+HugoBurgess@users.noreply.github.com> Co-authored-by: rushdynajath * 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] 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] 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: al… * AB#180087 Moved retry policy from eesclient to program.cs * 180087 - Code refcatoring changes AB#180087 AB#182328 * AB#185613 Resolved the existing ut * 180087 - code refcatoring changes AB#180087 AB#182328 * 180087 - Files renames as per code review comments AB#180087 AB#182328 * 180087 - Fixed UT AB#180087 AB#182328 * AB#188105 addedd code changes * AB#188105 fixed failing UTs * AB#185613 Code changes * 180087 - Added Unit Tests AB#180087 AB#182324 * 180087 - Removed ExcludeFromCodeCoverage * AB#185613 Removed status code from retry to avoid snyk issue * AB#185613 Snyk issue analsys * AB#185613 Snyk issue analysis * AB#188105 Added unit test cases * AB#185613 Added unit test cases for sap call back controller * AB#185613 Added uts for services * AB#185613 Updated polly implementation for snyk issue * AB#185613 Snyk issue analysis * AB#185613 Reverted snyk issue eventId changes * AB#185617 Updated implementation for * AB#185613 Added FTs * AB#185613 Added fields in appsettings file * AB#185613 Updated loglevel for snyk issue in retryPolicyProvider * AB#185613 Minor changes * AB#185613 tried solution for snyk issue * 185613-snyk issue workaround AB#185613 * 185613-removed log to check synk issue AB#185613 * AB#185613 reverted changes related to snyk issue * AB#185613 tried workaround for snyk issue * AB#185613 tried workaround fro snyk issue * AB#185613 tried workaround for snyk issue * AB#185613 tried workaround for snyk issue * AB#185613 tried workaround for snyk issue * AB#185613 Minor change in SapStub * AB#185613 tried workaround for snyk issue * AB#185613modify ut for sap callback controller and service * 185613-dummy invalid key value moved to appsettings.json instead of hardcoded value to resolve snyk issue AB#185613 * 185613-removed corrid from log AB#185613 * AB#185613 Resolved review comment * AB#185613 Fixed failing UTs * AB#185613 Fixed failing uts * AB#185613 added format to date time * 185613-snyk issue workaround * 185613-program.cs changes for snyk issue * 185613-log updated AB#185613 * 185613-retrypolicyprovider updated * 185613-removed log * AB#185613 Snyk issue trial * AB#185613 Reverted changes for logger * AB#185613 snyk issue workaround * AB#185613 Snyk issue workaround * AB#185613 Some changes around naming convention * AB#185613 added scope for class * AB#185613 refactored code * AB#185613 Resolved review comments * 185613-few code uplifting in functional test project AB#185613 * AB#185613-removed hardcoded guid * AB#185613 removed unused service file * AB#188105 Resolved review comments as suggested --------- Signed-off-by: dependabot[bot] Co-authored-by: Pooja More Co-authored-by: Prasad Rasal Co-authored-by: gaurav15233 <94171198+gaurav15233@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: HugoBurgess <128484816+HugoBurgess@users.noreply.github.com> Co-authored-by: rushdynajath Co-authored-by: dependabot[bot] Co-authored-by: pravinvarade10801 <124246537+pravinvarade10801@users.noreply.github.com> Co-authored-by: Vishal Dukare Co-authored-by: rushikeshkhopatkar Co-authored-by: rushikeshkhopatkar Co-authored-by: Amogh Lanke Co-authored-by: Vishal14583 <61726015+Vishal14583@users.noreply.github.com> Co-authored-by: Gaurav Mejari Co-authored-by: Pooja More <135319691+pooja15131@users.noreply.github.com> Co-authored-by: Pravin Varade Co-authored-by: Tukaram Pandhare Co-authored-by: ankush365 --- .../Handlers/S100EventHandler.cs | 34 +++++-- .../S100TestData/SapXmlWithNoActions.xml | Bin 0 -> 1294 bytes .../Handlers/S100EventHandlerTests.cs | 85 ++++++++++++++++-- .../UKHO.ERPFacade.API.UnitTests.csproj | 3 + 4 files changed, 106 insertions(+), 16 deletions(-) create mode 100644 tests/UKHO.ERPFacade.API.UnitTests/ERPTestData/S100TestData/SapXmlWithNoActions.xml diff --git a/src/UKHO.ERPFacade.API/Handlers/S100EventHandler.cs b/src/UKHO.ERPFacade.API/Handlers/S100EventHandler.cs index a38a4a1c..781465a5 100644 --- a/src/UKHO.ERPFacade.API/Handlers/S100EventHandler.cs +++ b/src/UKHO.ERPFacade.API/Handlers/S100EventHandler.cs @@ -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; @@ -25,13 +26,15 @@ public class S100EventHandler : IEventHandler private readonly IBaseXmlTransformer _baseXmlTransformer; private readonly ISapClient _sapClient; private readonly IOptions _sapConfig; + private readonly IS100UnitOfSaleUpdatedEventPublishingService _s100UnitOfSaleUpdatedEventPublishingService; public S100EventHandler([FromKeyedServices("S100XmlTransformer")] IBaseXmlTransformer baseXmlTransformer, ILogger logger, IAzureTableReaderWriter azureTableReaderWriter, IAzureBlobReaderWriter azureBlobReaderWriter, ISapClient sapClient, - IOptions sapConfig) + IOptions sapConfig, + IS100UnitOfSaleUpdatedEventPublishingService s100UnitOfSaleUpdatedEventPublishingService) { _logger = logger; _baseXmlTransformer = baseXmlTransformer; @@ -39,6 +42,7 @@ public S100EventHandler([FromKeyedServices("S100XmlTransformer")] IBaseXmlTransf _azureBlobReaderWriter = azureBlobReaderWriter; _sapClient = sapClient; _sapConfig = sapConfig; + _s100UnitOfSaleUpdatedEventPublishingService = s100UnitOfSaleUpdatedEventPublishingService; } public async Task ProcessEventAsync(BaseCloudEvent baseCloudEvent) @@ -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 { { "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 { { "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 { { "RequestDateTime", DateTime.UtcNow } }); + } } } } diff --git a/tests/UKHO.ERPFacade.API.UnitTests/ERPTestData/S100TestData/SapXmlWithNoActions.xml b/tests/UKHO.ERPFacade.API.UnitTests/ERPTestData/S100TestData/SapXmlWithNoActions.xml new file mode 100644 index 0000000000000000000000000000000000000000..73f5ac7719e50e908beefb6f56f5a519dcb8cec6 GIT binary patch literal 1294 zcmb`HTTk0i5QOI$ssADByRk{2C01I*ov4IVTqMLx6-c;9#6dWr?Vm6Gc8&2#2=Ice z_&B?BW@qQD{rIn?HT}_0x2owu1KlgvjYi7!O`o--MJ22?GMO%j_sM3u^6W%oT`B_g z1ysALf?=ed?v!d9tg+q_xnr$8)ylx6JXFtIFZ%xz2%WF8Zo!^*^MRxe+p#-M;K24;1EfQtT@6RcB=+ zc9%oHV)`gttx+{}cEiu&Z;&kzXZnRRd+O>ZPaUo6n6<3~?GOuQqG>NUKNxb3cgj|!~D)$zXG|g<&8&)o=A5guEd+VT& z(a^=qBXlIr@LG00*CB7jCSBO6Y{OwQT}Ry#mvv*BW-)IunVya_C3Mu#S6J!+OO>C` zV!rO8<3vAvW~_c0o4+G;q3vCC+zs3LT5gufuxHOxIy)EDychl(_N|$&@WxxdOR1*c Mkm=m)cd6j`4>Gd28vp _fakeSapConfig; - + private IS100UnitOfSaleUpdatedEventPublishingService _fakeS100UnitOfSaleUpdatedEventPublishingService; [SetUp] public void Setup() { @@ -46,8 +47,8 @@ public void Setup() _fakeBaseXmlTransformer = A.Fake(); _fakeSapClient = A.Fake(); _fakeSapConfig = A.Fake>(); - - _fakes100EventHandler = new S100EventHandler(_fakeBaseXmlTransformer, _fakeLogger, _fakeAzureTableReaderWriter, _fakeAzureBlobReaderWriter, _fakeSapClient, _fakeSapConfig); + _fakeS100UnitOfSaleUpdatedEventPublishingService = A.Fake(); + _fakes100EventHandler = new S100EventHandler(_fakeBaseXmlTransformer, _fakeLogger, _fakeAzureTableReaderWriter, _fakeAzureBlobReaderWriter, _fakeSapClient, _fakeSapConfig, _fakeS100UnitOfSaleUpdatedEventPublishingService); } [Test] @@ -110,5 +111,71 @@ public void WhenSapRespondsWith401Unauthorized_ThenS100EventHandlerRaiseAnExcept A.CallTo(() => _fakeAzureTableReaderWriter.UpdateEntityAsync(A.Ignored, A.Ignored, A>.Ignored)).MustNotHaveHappened(); } + + [Test] + public void WhenValidEventReceivedWithNoSAPAction_ThenS100EventHandlerPublishTheUnitOfsaleUpdatedEventToEesSuccessfully() + { + var fakeS100EventDataJson = JObject.Parse(@"{""data"":{""correlationId"":""123""}}"); + var fakeS100EventData = JsonConvert.DeserializeObject(fakeS100EventDataJson.ToString()); + + var sapXml = TestHelper.ReadFileData("ERPTestData\\S100TestData\\SapXmlWithNoActions.xml"); + XmlDocument xmlDocument = new XmlDocument(); + xmlDocument.LoadXml(sapXml); + + A.CallTo(() => _fakeBaseXmlTransformer.BuildXmlPayload(A.Ignored, A.Ignored)).Returns(xmlDocument); + A.CallTo(() => _fakeS100UnitOfSaleUpdatedEventPublishingService.PublishEvent(A.Ignored, A.Ignored)).Returns(Result.Success()); + + + _ = _fakes100EventHandler.ProcessEventAsync(fakeS100EventData); + + A.CallTo(_fakeLogger).Where(call => call.Method.Name == "Log" + && call.GetArgument(0) == LogLevel.Information + && call.GetArgument(1) == EventIds.S100EventProcessingStarted.ToEventId() + && call.GetArgument>>(2)!.ToDictionary(c => c.Key, c => c.Value)["{OriginalFormat}"].ToString() == "S-100 data content published event processing started.").MustHaveHappenedOnceExactly(); + + A.CallTo(() => _fakeAzureTableReaderWriter.UpsertEntityAsync(A.Ignored)).MustHaveHappened(); + + A.CallTo(_fakeLogger).Where(call => call.Method.Name == "Log" + && call.GetArgument(0) == LogLevel.Information + && call.GetArgument(1) == EventIds.S100EventEntryAddedInAzureTable.ToEventId() + && call.GetArgument>>(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(0) == LogLevel.Information + && call.GetArgument(1) == EventIds.S100EventJsonStoredInAzureBlobContainer.ToEventId() + && call.GetArgument>>(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.Ignored, A.Ignored, A.Ignored)).MustHaveHappened(2, Times.Exactly); + + A.CallTo(_fakeLogger).Where(call => call.Method.Name == "Log" + && call.GetArgument(0) == LogLevel.Information + && call.GetArgument(1) == EventIds.S100EventXMLStoredInAzureBlobContainer.ToEventId() + && call.GetArgument>>(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.Ignored, A.Ignored, A>.Ignored)).MustHaveHappened(); + + A.CallTo(_fakeLogger).Where(call => call.Method.Name == "Log" + && call.GetArgument(0) == LogLevel.Information + && call.GetArgument(1) == EventIds.UnitOfSaleUpdatedEventPublished.ToEventId() + && call.GetArgument>>(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.Ignored, A.Ignored, A.Ignored, A.Ignored, A.Ignored)).MustNotHaveHappened(); + } + + [Test] + public void WhenValidEventReceivedWithNoSAPAction_ThenS100EventHandlerPublishTheUnitOfsaleUpdatedEventToEesFailed() + { + var fakeS100EventDataJson = JObject.Parse(@"{""data"":{""correlationId"":""123""}}"); + var fakeS100EventData = JsonConvert.DeserializeObject(fakeS100EventDataJson.ToString()); + var sapXml = TestHelper.ReadFileData("ERPTestData\\S100TestData\\SapXmlWithNoActions.xml"); + XmlDocument xmlDocument = new XmlDocument(); + xmlDocument.LoadXml(sapXml); + + A.CallTo(() => _fakeBaseXmlTransformer.BuildXmlPayload(A.Ignored, A.Ignored)).Returns(xmlDocument); + A.CallTo(() => _fakeS100UnitOfSaleUpdatedEventPublishingService.PublishEvent(A.Ignored, A.Ignored)).Returns(Result.Failure("Internal Server Error")); + + Assert.ThrowsAsync(() => _fakes100EventHandler.ProcessEventAsync(fakeS100EventData)) + .Message.Should().Be("Error occurred while publishing S-100 unit of sale updated event to EES."); + } } } diff --git a/tests/UKHO.ERPFacade.API.UnitTests/UKHO.ERPFacade.API.UnitTests.csproj b/tests/UKHO.ERPFacade.API.UnitTests/UKHO.ERPFacade.API.UnitTests.csproj index 30027548..5b894b31 100644 --- a/tests/UKHO.ERPFacade.API.UnitTests/UKHO.ERPFacade.API.UnitTests.csproj +++ b/tests/UKHO.ERPFacade.API.UnitTests/UKHO.ERPFacade.API.UnitTests.csproj @@ -69,6 +69,9 @@ Always + + Always + Always