Commit Graph

15003 Commits

Author SHA1 Message Date
simonredfern
5d04c207c4 Merge remote-tracking branch 'upstream/develop' into develop 2026-02-02 23:07:55 +01:00
simonredfern
c6f4df7a03 DBUtil for MS SQL Server handling of NVARCHAR (JDBC type -9) 2026-02-02 23:07:18 +01:00
Simon Redfern
a7c227859d
Merge pull request #2678 from simonredfern/develop
sqlTimeStamp
2026-02-02 16:08:58 +01:00
simonredfern
fa630e1aa0 Merge remote-tracking branch 'upstream/develop' into develop 2026-02-02 16:07:23 +01:00
simonredfern
e273c3fa46 Introducing sqlTimestamp for better database (especially ms sql server)
compatibility.
2026-02-02 14:29:02 +01:00
Simon Redfern
20181881ad
Merge pull request #2677 from simonredfern/develop
Popular Endpoints
2026-02-01 10:36:08 +01:00
simonredfern
8aeff20915 Adding Popular Endpoints 2026-02-01 09:18:42 +01:00
Simon Redfern
2cedb7b9b2
Merge pull request #2 from OpenBankProject/develop
Merge pull request #2676 from simonredfern/develop
2026-01-30 17:27:18 +01:00
Simon Redfern
66e32a4a3c
Merge pull request #2676 from simonredfern/develop
Feature: Featured collections. Fixing examples in v6.0.0 Transactions.
2026-01-30 13:18:38 +01:00
simonredfern
0d4cfe6570 Merge remote-tracking branch 'upstream/develop' into develop 2026-01-30 13:14:33 +01:00
simonredfern
5d353c80f6 Feature: Featured API collections endpoints 2026-01-30 13:12:52 +01:00
Simon Redfern
2f2401ed1c
Merge pull request #2669 from hongwei1/feature/addedTechnolegyField
Feature/added technolegy field
2026-01-30 12:21:25 +01:00
Simon Redfern
8900d60ead
Merge pull request #2675 from simonredfern/develop
v6.0.0 get transactions, get OIDC client and verify
2026-01-30 09:25:03 +01:00
simonredfern
7cec58749c Added getOidcClient 2026-01-30 00:12:18 +01:00
simonredfern
742aa06fee isSuperAdmin has canVerifyOidcClient 2026-01-29 23:25:47 +01:00
simonredfern
eed7992437 Adding extra logging in checkExternalUserViaConnector and
valUniqueExternally
2026-01-29 22:38:48 +01:00
simonredfern
ceb0e81561 Adding /oidc/clients/verify to v6.0.0 2026-01-29 22:38:14 +01:00
simonredfern
4a83014cab Merge remote-tracking branch 'upstream/develop' into develop 2026-01-29 20:40:27 +01:00
simonredfern
35ee6fc5a2 v6.0.0 get transactions 2026-01-29 20:39:32 +01:00
tesobe-daniel
278f810b27
Merge pull request #2674 from tawoe/gh-action-code-clean
gh actions code clean
2026-01-29 16:30:19 +01:00
hongwei
30f83680a6 refactor/(api): replace hardcoded technology strings with constants
Use TECHNOLOGY_LIFTWEB and TECHNOLOGY_HTTP4S constants from Constant object
instead of inline string literals "lift" and "http4s" across codebase.
This improves maintainability and reduces risk of typos.
2026-01-29 14:50:07 +01:00
simonredfern
4ffb8dcdf4 version 6.0.0 banks bank_id, bank_code, full_name 2026-01-29 14:31:24 +01:00
simonredfern
78229c8fa6 Added v6.0.0 of GET bank GET banks which return bank_id rather than id 2026-01-29 13:13:21 +01:00
tawoe
7d00c791ff enable container creation via repo variable 2026-01-29 11:40:32 +01:00
tawoe
5611dfcbbd gh actions code clean 2026-01-29 10:56:52 +01:00
Simon Redfern
d8f74e456a
Merge pull request #2672 from simonredfern/develop
connector health check
2026-01-29 10:24:10 +01:00
simonredfern
dc53c9367b Adding GET /system/connectors/stored_procedure_vDec2019/health 2026-01-29 05:03:39 +01:00
simonredfern
2731a4954b show warning at boot for Super admin users. 2026-01-28 21:46:49 +01:00
simonredfern
af36601d76 Allow CanVerifyUserCredentials for isSuperAdmin 2026-01-28 21:40:23 +01:00
simonredfern
5489dccc2c Fix Verify User Credential tests 2026-01-28 21:12:16 +01:00
simonredfern
90dcd76d5f Tests for Verify User Credentials 2026-01-28 17:12:01 +01:00
simonredfern
e3ae001ac5 Added POST /users/verify-credentials 2026-01-28 17:00:00 +01:00
Simon Redfern
75adf7d0ab
Merge pull request #2670 from simonredfern/develop
Updating introductory system documentation md
2026-01-28 16:52:13 +01:00
simonredfern
69c8970c27 Merge remote-tracking branch 'upstream/develop' into develop 2026-01-28 16:09:28 +01:00
simonredfern
3c40b81f28 Updating introductory_system_documenation.md regarding updated endpoints
in v6.0.0
2026-01-28 16:05:06 +01:00
hongwei
747d761c9b feature/(http4s): handle errors in executeAndRespond and improve error parsing
Refactor executeAndRespond to properly handle exceptions from Future and convert them to HTTP responses using ErrorResponseConverter. This ensures consistent error handling across HTTP4S endpoints.

Simplify error response creation by parsing APIFailureNewStyle exceptions from JSON message instead of direct type matching, making error handling more robust.

Update API version validation in Http4s700 to use NewStyle.function.tryons and Helper.booleanToFuture for consistent error handling patterns.

Adjust test to use proper error message constant for invalid API version.
2026-01-28 16:00:57 +01:00
hongwei
b6c7360a2d Merge remote-tracking branch 'Simon/develop' into feature/addedTechnolegyField 2026-01-28 15:36:18 +01:00
hongwei
54a1552643 test/ add tests for http4s-only resource docs and version validation
Add integration tests to verify that the /resource-docs endpoint returns only http4s technology endpoints and rejects requests for non-v7 API versions. This ensures proper filtering and version handling in the http4s routes.
2026-01-28 15:23:44 +01:00
hongwei
b29f21232e refactor/(api): use ApiVersion constants instead of hardcoded strings
- Replace hardcoded API version strings with ApiVersion constants in JSON factories and API methods
- Add new ApiVersion constants for Bahrain OBF and AU Open Banking
- Update test to use ApiVersion constants for version strings
- Ensure consistency and maintainability across API version references
2026-01-28 14:49:40 +01:00
hongwei
8e52e20c86 refactor/(api): use ApiShortVersions constant for v7.0.0 version
Replace hardcoded "v7.0.0" string with ApiShortVersions.`v7.0.0`.toString in ResourceDocMiddleware and update test files accordingly to use the constant. This ensures consistency and easier maintenance when API version references need to be updated.
2026-01-28 14:25:06 +01:00
hongwei
558ee1d404 feature/(resource-docs): include technology field in API documentation
Add `technology` field to `implemented_by` JSON to indicate whether an endpoint is implemented using lift or http4s. The field is included only when `includeTechnologyInResponse` is true, which is set for API versions 6.0.0 and 7.0.0. This helps API consumers understand the underlying implementation technology.

Update tests to verify technology field presence/absence based on API version. Also improve test setup robustness by making user and account creation idempotent, and update build dependencies to support http4s and pekko.
2026-01-28 14:01:29 +01:00
karmaking
c365b6afb2 Merge branch 'develop' of https://github.com/OpenBankProject/OBP-API into develop 2026-01-28 11:50:09 +01:00
karmaking
31b7a3a3ce update build pipeline 2026-01-28 11:46:51 +01:00
Simon Redfern
ac1530fb2f
Merge pull request #2668 from hongwei1/refactor/tweakedActions
reafactor/ ci: expand branch pattern to include all branches
2026-01-28 10:54:56 +01:00
hongwei
a97c8d6ffb reafactor/ ci: expand branch pattern to include all branches
The previous branch pattern excluded some branches unintentionally. Adding '**' ensures all branches are matched except 'develop'.
2026-01-28 09:41:29 +01:00
Simon Redfern
a81e208cb1
Merge pull request #2665 from hongwei1/develop
test/added tests for V700
2026-01-27 16:30:40 +01:00
Simon Redfern
61c83581ac
Merge pull request #2659 from constantine2nd/develop
Merge conflicts resolved, HTTP4S
2026-01-27 16:25:50 +01:00
Simon Redfern
8ab316b492
Merge pull request #2666 from simonredfern/develop
Making dynamic entities more snake_case
2026-01-26 15:46:40 +01:00
hongwei
5ff7b299a6 refactor/(resource-docs): enforce canReadResourceDoc role via middleware
Move role-based authorization for resource-docs endpoint from endpoint implementation to ResourceDocMiddleware. This ensures consistent authentication handling across all endpoints and removes duplicate authorization logic.

The middleware now checks the `resource_docs_requires_role` property and enforces the `canReadResourceDoc` role when enabled. Tests are updated to verify proper 403 responses with missing role messages.
2026-01-26 14:29:54 +01:00
hongwei
73b9ecb591 Merge remote-tracking branch 'Marko/develop' into develop 2026-01-26 13:56:51 +01:00