Skip to content

Abzu - Fix file transformation and package update#197

Merged
martyn-fewtrell merged 15 commits intomainfrom
Feature/Abzu-fix-file-transformation
Nov 21, 2024
Merged

Abzu - Fix file transformation and package update#197
martyn-fewtrell merged 15 commits intomainfrom
Feature/Abzu-fix-file-transformation

Conversation

@martyn-fewtrell
Copy link
Copy Markdown
Contributor

PR Classification

Code cleanup and dependency updates.

PR Summary

This pull request updates YAML configuration files to modify FileTransform@2 tasks and upgrades several package versions across multiple project files.

  • Updated continuous-dacpac-app-deployment.yml, continuous-deployment.yml, and continuous-testing.yml to replace enableXmlTransform with xmlTransformationRules.
  • Added a suppression entry for System.Text.Json version 9.0.0 in NVDSuppressions.xml.
  • Upgraded multiple package versions in UKHO.MaritimeSafetyInformation.Common.csproj.
  • Upgraded multiple package versions in UKHO.MaritimeSafetyInformation.Web.csproj.
  • Upgraded multiple package versions in UKHO.MaritimeSafetyInformationAdmin.Web.csproj.

Updated the CmdLine task version from 1 to 2, which may include
improvements or changes in functionality. Replaced the filename
input with the script input to align with the updated task
version's requirements or best practices.
Replaced `enableXmlTransform` with `xmlTransformationRules` and added `jsonTargetFiles` parameter in `continuous-dacpac-app-deployment.yml`, `continuous-deployment.yml`, and `continuous-testing.yml` files for better configuration management.
Updated the following packages in `UKHO.MaritimeSafetyInformation.Common.csproj`:
- `Microsoft.EntityFrameworkCore` from 8.0.10 to 9.0.0
- `Microsoft.EntityFrameworkCore.SqlServer` from 8.0.10 to 9.0.0
- `Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions` from 8.0.10 to 9.0.0
- `Microsoft.Identity.Web.UI` from 3.2.2 to 3.4.0
- `System.Security.Cryptography.Xml` from 8.0.2 to 9.0.0
- `System.Text.Json` from 8.0.5 to 9.0.0
- `Microsoft.Identity.Client` from 4.66.1 to 4.66.2
- `System.Security.Cryptography.ProtectedData` from 8.0.0 to 9.0.0
Upgraded Microsoft.Identity.Web.UI from 3.2.2 to 3.4.0 and
Microsoft.Identity.Client from 4.66.1 to 4.66.2 in
UKHO.MaritimeSafetyInformation.Common.csproj. These updates
include bug fixes, performance improvements, or new features.
Updated `System.Security.Cryptography.Xml` from 8.0.2 to 9.0.0.
Updated `System.Security.Cryptography.ProtectedData` from 8.0.0 to 9.0.0 in `UKHO.MaritimeSafetyInformation.Common.csproj`.
Updated Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions from 8.0.10 to 9.0.0 to leverage new features and improvements.
Updated System.Text.Json from 8.0.5 to 9.0.0 for enhancements and bug fixes.
Updated NuGet package references in UKHO.MaritimeSafetyInformation.Common.csproj:
- Microsoft.EntityFrameworkCore from 8.0.10 to 9.0.0
- Microsoft.EntityFrameworkCore.SqlServer from 8.0.10 to 9.0.0
Updated Microsoft.EntityFrameworkCore package in UKHO.MaritimeSafetyInformation.Common.csproj from version 8.0.10 to 8.0.11. This update may include bug fixes, performance improvements, or new features.
Updated the following NuGet packages:
- FluentValidation from 11.10.0 to 11.11.0
- Microsoft.AspNetCore.Authentication.JwtBearer from 8.0.10 to 8.0.11
- Microsoft.AspNetCore.HeaderPropagation from 8.0.10 to 8.0.11
- Microsoft.Extensions.Logging.AzureAppServices from 8.0.10 to 9.0.0
- Swashbuckle.AspNetCore from 6.9.0 to 7.0.0
Updated the following package references in `UKHO.MaritimeSafetyInformationAdmin.Web.csproj`:
- `Microsoft.AspNetCore.Authentication.JwtBearer` from `8.0.10` to `8.0.11`
- `Microsoft.AspNetCore.HeaderPropagation` from `8.0.10` to `8.0.11`
- `Microsoft.Extensions.Logging.AzureAppServices` from `8.0.10` to `9.0.0`
- `Swashbuckle.AspNetCore` from `6.9.0` to `7.0.0`
Modified the `xmlTransformationRules` input parameter for the `FileTransform@2` task to an empty string (`''`) across multiple YAML files. This change affects the following tasks:
- "File Transform: WebAppSettings" in `continuous-dacpac-app-deployment.yml`
- "File Transform: Admin-WebAppSettings" in `continuous-dacpac-app-deployment.yml`
- "File Transform: Msi Config" in `continuous-deployment.yml`
- "File Transform: integrationtests" in `continuous-testing.yml`
- "File Transform" in `continuous-testing.yml` (within the `Tests` directory)
Added a new suppression entry for the package `System.Text.Json`
version 9.0.0 in the `NVDSuppressions.xml` file. This entry
suppresses the vulnerability identified by `CVE-2024-43485`.
Notes indicate that this is the current version and will be
updated with the next release.
@martyn-fewtrell martyn-fewtrell requested review from a team and rockydevnet as code owners November 21, 2024 11:39
Copy link
Copy Markdown
Contributor

@hukho hukho left a comment

Choose a reason for hiding this comment

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

Looks good

@martyn-fewtrell martyn-fewtrell merged commit 30aae99 into main Nov 21, 2024
@martyn-fewtrell martyn-fewtrell deleted the Feature/Abzu-fix-file-transformation branch November 21, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants