Skip to content

FINERACT-2751: Implement interoperation transfer query - #6261

Open
shubhamchaudhary29 wants to merge 1 commit into
apache:developfrom
shubhamchaudhary29:FINERACT-2751-query-interoperation-transfer
Open

FINERACT-2751: Implement interoperation transfer query#6261
shubhamchaudhary29 wants to merge 1 commit into
apache:developfrom
shubhamchaudhary29:FINERACT-2751-query-interoperation-transfer

Conversation

@shubhamchaudhary29

Copy link
Copy Markdown
Contributor

Jira: https://issues.apache.org/jira/browse/FINERACT-2751

Problem

GET /interoperation/transactions/{transactionCode}/transfers/{transferCode} previously returned no result because an Interoperation transfer did not retain a durable association to its transaction code.

Change

Adds a small tenant-scoped interop_transfer lookup record containing only the transaction code, transfer code, action state, and latest completion timestamp. Successful PREPARE, CREATE/COMMIT, and RELEASE actions create or update that exact pair in their existing transaction. The GET endpoint performs an exact-pair lookup and returns 404 for an unknown or mismatched pair.

The endpoint permission is corrected from READ_INTERQUOTE to READ_INTERTRANSFER.

Migration and compatibility

The additive Liquibase migration creates a composite unique constraint on (transaction_code, transfer_code). Existing transfer behavior and the response route/schema are preserved. Legacy transfers cannot be backfilled reliably because their transaction-code association was never durably stored; therefore, they return 404.

Tests and checks

  • Added Interoperation integration coverage for prepared and committed transfer lookup, response fields/completed timestamp, unknown pairs, and both mismatch directions.
  • :fineract-provider:compileJava completed during focused compilation.
  • git diff --check passed.

The full Interoperation integration test and complete quality matrix have not completed locally in this environment; GitHub CI will be monitored and any branch-caused failure will be fixed.

Scope exclusions

No PaymentDetail or m_payment_detail changes, quote/transaction-request persistence, audit-command queries, broad refactoring, dependencies, CI workflow changes, or historical backfill are included.

@shubhamchaudhary29
shubhamchaudhary29 force-pushed the FINERACT-2751-query-interoperation-transfer branch from 4d09b54 to 0a9c086 Compare August 11, 2026 17:44
@shubhamchaudhary29
shubhamchaudhary29 marked this pull request as ready for review August 11, 2026 18:00
@shubhamchaudhary29

Copy link
Copy Markdown
Contributor Author

Hi maintainers, the workflows for this PR are currently blocked with action_required,
and no CI jobs have executed. Could someone with write access please approve and run the workflows? I’ll address any branch-caused failures once CI runs. Thank you.

@shubhamchaudhary29

Copy link
Copy Markdown
Contributor Author

@adamsaghy can you please approve the workflows, i did some changes for the conflicts.
wanted to check if any ci faliures left.

@shubhamchaudhary29
shubhamchaudhary29 force-pushed the FINERACT-2751-query-interoperation-transfer branch from 4cafc3f to f3d3fb9 Compare August 13, 2026 11:04
@shubhamchaudhary29

Copy link
Copy Markdown
Contributor Author

hi @adamsaghy , all the CI faliures happened because of the added PRs (thats what i think), but i think it should work out. please approve the workflow

@shubhamchaudhary29

Copy link
Copy Markdown
Contributor Author

hi @adamsaghy, can you please review this pr. thanks

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.

1 participant