Skip to content

Feature/cardano test - #2601

Merged
simonredfern merged 34 commits into
OpenBankProject:developfrom
hongwei1:feature/cardanoTest
Aug 25, 2025
Merged

Feature/cardano test#2601
simonredfern merged 34 commits into
OpenBankProject:developfrom
hongwei1:feature/cardanoTest

Conversation

@hongwei1

Copy link
Copy Markdown
Contributor

No description provided.

hongwei1 added 30 commits July 17, 2025 17:49
…t enhancements and new JSON structures

- Added new API version v6.0.0 with updated Cardano transaction request handling.
- Introduced new JSON case classes for Cardano payment and transaction request bodies.
- Updated existing references from v5.1.0 to v6.0.0 in relevant files.
- Implemented tests for Cardano transaction requests, including various scenarios for validation and error handling.
…re/cardanoTest

# Conflicts:
#	obp-api/src/main/scala/code/bankconnectors/cardano/CardanoConnector_vJun2025.scala
- Added support for the new API version v6.0.0, including the introduction of ResourceDocs600.
- Updated Boot.scala and OBPRestHelper.scala to enable version v6.0.0.
- Enhanced validation logic to include v6.0.0 in the API methods.
- Implemented new test cases for Cardano transaction requests in the V600ServerSetup.
- Refactored existing code to ensure compatibility with the new API version.
….0.0 and later versions

- Updated the isAutoValidate method to automatically support API versions v4.0.0 and later.
- Improved version comparison logic to handle version strings more robustly.
- Ensured compatibility with existing validation mechanisms while extending functionality.
…lper

- Added a new test suite for the isAutoValidate method to cover various scenarios including validation flags and version comparisons.
- Ensured comprehensive testing for API versions v4.0.0 and later, including edge cases for malformed version strings.
- Improved code structure and readability in the OBPRestHelperTest class.
# Conflicts:
#	.gitignore
#	obp-api/src/main/scala/code/api/v5_1_0/APIMethods510.scala
…ength

- Introduced `alterMappedTransactionRequestFieldsLengthMigration` method to handle migration logic.
- Created `MigrationOfMappedTransactionRequestFieldsLength` object to define SQL alterations for currency and account routing fields.
- Updated `MappedTransactionRequest` fields to support longer lengths for currency and account identifiers.
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarQube Cloud

@simonredfern
simonredfern merged commit 4d60b8a into OpenBankProject:develop Aug 25, 2025
1 of 2 checks 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.

2 participants