Skip to content

chore: sync fork with upstream master - #4

Merged
Dan Jake Neal (DanJakeNeal) merged 11 commits into
masterfrom
chore/sync-upstream-master
Jul 27, 2026
Merged

chore: sync fork with upstream master#4
Dan Jake Neal (DanJakeNeal) merged 11 commits into
masterfrom
chore/sync-upstream-master

Conversation

@DanJakeNeal

Copy link
Copy Markdown

Summary

Brings the fork up to date with finlabsuk/open-banking-connector, which it was ten commits behind. The merge was clean with no conflicts, as the fork carries no content changes of its own.

  • Upgrades the solution to .NET 10 and rewrites the web app Dockerfile to match.
  • Removes SQLite support, touching DatabaseSettings, DbProvider and the integration tests.
  • Updates the HSBC, NatWest sandbox, Tide and Coutts bank profiles.
  • Accepts single-value arrays for certain DCR fields, and extends the VRP refund converter for the v4.0 API.
Details for AI reviewers

Upstream commits included

Commit Subject
4e9afbef Upgrade to .NET 10
f6ac7f9f Update HSBC
f48bf5d9 Remove support for SQLite
fc13e040 Extend DomesticVrpRefundConverter to support v4.0 API
04bc206f Update NatWest sandboxes
1de29ed1 [DCR] Accept single-value array for certain fields
f3665015 Update Tide
9b5162f4 Update Coutts
7ce65a02 [Docs] Update docs
46808d51 Update Dockerfile for .NET 10

Merge shape

The fork's five commits ahead of upstream are all merge commits from previous sync PRs; git diff upstream/master...origin/master is empty, so there is no fork-specific content to preserve. Merged with --no-ff rather than fast-forwarded because of those merge commits.

Points worth attention

  • The SQLite removal deletes SqliteDbContext and drops a DbProvider enum member. Deployments run MongoDB, so no configuration should be affected, but anything pinning DbProvider by ordinal would be.
  • test/OpenBanking.Library.Connector.IntegrationTests/Persistence/DomesticConsentRepoTests.cs is deleted upstream as part of that removal.
  • The .NET 10 upgrade changes the base images in src/OpenBanking.WebApp.Connector/Dockerfile, so the next image build will differ substantially from the 18.2.0 currently deployed.
  • SingleOrArrayConverter is new in OpenBanking.Library.BankApiModels/Json, applied to OBRegistrationProperties1 across v3.1, v3.2 and v3.3.

Not included

A separate commit adding the GCP Artifact Registry push to the web app workflow is held back from this branch, pending a token with the workflow scope. It will follow as its own PR.

Copilot AI review requested due to automatic review settings July 27, 2026 11:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR syncs the fork with upstream finlabsuk/open-banking-connector (previously ~10 commits behind), bringing in upstream platform/runtime upgrades, database-provider changes, bank profile updates, and related model/converter improvements across the connector, web app, tests, and documentation.

Changes:

  • Upgrade projects and container build/runtime to .NET 10, along with dependency bumps and API versioning updates.
  • Remove SQLite support across configuration, persistence, startup wiring, and tests (moving integration tests to EF Core InMemory).
  • Update bank profiles (HSBC/NatWest/Tide/Coutts) and extend JSON model handling (single-or-array DCR fields; VRP refund converter for v4.0).

Reviewed changes

Copilot reviewed 37 out of 37 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
test/OpenBanking.Library.Connector.UnitTests/OpenBanking.Library.Connector.UnitTests.csproj Move unit tests to net10.0 and bump test dependencies.
test/OpenBanking.Library.Connector.IntegrationTests/Persistence/DomesticConsentRepoTests.cs Remove obsolete integration test file tied to SQLite persistence.
test/OpenBanking.Library.Connector.IntegrationTests/OpenBanking.Library.Connector.IntegrationTests.csproj Move integration tests to net10.0, add EF Core InMemory.
test/OpenBanking.Library.Connector.IntegrationTests/DbTest.cs Replace in-memory SQLite with EF Core InMemory-backed context for tests.
test/OpenBanking.Library.Connector.Benchmarks/OpenBanking.Library.Connector.Benchmarks.csproj Move benchmarks to net10.0.
test/OpenBanking.Library.Connector.BankTests/OpenBanking.Library.Connector.BankTests.csproj Move bank tests to net10.0 and bump web/test dependencies.
test/OpenBanking.Library.Connector.BankTests/appsettings.Development.json Remove SQLite connection string from bank test settings.
src/OpenBanking.WebApp.Connector/OpenBanking.WebApp.Connector.csproj Move web app to net10.0 and bump web app/package versions.
src/OpenBanking.WebApp.Connector/Dockerfile Update build/runtime images to .NET 10 and adjust build-stage env.
src/OpenBanking.WebApp.Connector/appsettings.Development.json Remove SQLite connection string from web app dev settings.
src/OpenBanking.Library.Connector/Services/DbConnectionString.cs Remove SQLite branch from provider-based connection string handling.
src/OpenBanking.Library.Connector/Persistence/SqliteDbContext.cs Delete SQLite EF Core context implementation.
src/OpenBanking.Library.Connector/Persistence/DbProvider.cs Remove Sqlite enum member.
src/OpenBanking.Library.Connector/OpenBanking.Library.Connector.csproj Move connector library to net10.0 and update dependencies; drop EFCore.Sqlite.
src/OpenBanking.Library.Connector/Models/Persistent/Configuration/Management/BankRegistration.cs Remove SQLite-specific DateTimeOffset conversion.
src/OpenBanking.Library.Connector/Models/Configuration/DatabaseSettings.cs Remove SQLite defaults from provider-keyed settings dictionaries.
src/OpenBanking.Library.Connector/BankProfiles/Generators/TideGenerator.cs Update Tide profile settings for registration endpoints.
src/OpenBanking.Library.Connector/BankProfiles/Generators/NatWestGenerator.cs Update NatWest/Coutts sandbox behaviours and VRP refund options.
src/OpenBanking.Library.Connector/BankProfiles/Generators/HsbcGenerator.cs Adjust HSBC VRP auth code grant behaviour defaults.
src/OpenBanking.Library.Connector.Web/OpenBanking.Library.Connector.Web.csproj Move connector web library to net10.0.
src/OpenBanking.Library.Connector.GenericHost/OpenBanking.Library.Connector.GenericHost.csproj Move generic host to net10.0 and bump hosting/telemetry deps.
src/OpenBanking.Library.Connector.GenericHost/HostedServices/StartupTasksHostedService.cs Remove SQLite startup tasks and related wiring.
src/OpenBanking.Library.Connector.GenericHost/Extensions/ServiceCollectionExtensions.cs Remove SQLite DI configuration branch.
src/OpenBanking.Library.BankApiModels/UkObRw/V4p0/NSwagVrp/Models/NSwagModels.cs Apply VRP refund converter for v4.0 refund model property.
src/OpenBanking.Library.BankApiModels/UkObRw/V3p1p11/NSwagVrp/Models/NSwagModels.cs Update VRP refund converter usage to generic converter.
src/OpenBanking.Library.BankApiModels/UkObDcr/V3p3/Models/OBRegistrationProperties1.cs Add single-or-array JSON converter for specific DCR enum fields.
src/OpenBanking.Library.BankApiModels/UkObDcr/V3p2/Models/OBRegistrationProperties1.cs Add single-or-array JSON converter for specific DCR enum fields.
src/OpenBanking.Library.BankApiModels/UkObDcr/V3p1/Models/OBRegistrationProperties1.cs Add single-or-array JSON converter for specific DCR enum fields.
src/OpenBanking.Library.BankApiModels/OpenBanking.Library.BankApiModels.csproj Move BankApiModels to net10.0 and bump dependencies.
src/OpenBanking.Library.BankApiModels/Json/SingleOrArrayConverter.cs Introduce converter to accept single-value arrays for select DCR fields.
src/OpenBanking.Library.BankApiModels/Json/DomesticVrpRefundConverter.cs Generalize VRP refund converter to a typed/generic converter and support new API shapes.
docs/configuration/database-settings.md Update docs to remove SQLite provider references and defaults.
docs/apis/variable-recurring-payments/openapi-vrp.json Bump published OpenAPI doc version to 21.0.0.
docs/apis/payment-initiation/openapi-pisp.json Bump published OpenAPI doc version to 21.0.0.
docs/apis/management/openapi-manage.json Bump published OpenAPI doc version to 21.0.0.
docs/apis/auth-contexts/openapi-auth.json Bump published OpenAPI doc version to 21.0.0.
docs/apis/account-and-transaction/openapi-aisp.json Bump published OpenAPI doc version to 21.0.0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@DanJakeNeal
Dan Jake Neal (DanJakeNeal) merged commit 15a486e into master Jul 27, 2026
1 check passed
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.

4 participants