feat: [SRTP-1375] New mock policies compliant to EPC standard in SEND#237
Open
luigidemarco-ship-it wants to merge 5 commits intomainfrom
Open
feat: [SRTP-1375] New mock policies compliant to EPC standard in SEND#237luigidemarco-ship-it wants to merge 5 commits intomainfrom
luigidemarco-ship-it wants to merge 5 commits intomainfrom
Conversation
michele-fucito
approved these changes
Feb 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SRTP-1375: New Mock for Send - Changes Summary
List of changes
This branch introduces improvements to the SRTP mock policy for EPC operations. The main changes include:
src/srtp/api/test/mock_policy_epc.xmlwith improved policy logic and formatting (144 insertions, 42 deletions)The changes focus on implementing a new mock endpoint for the send operation with refined conditional logic and error handling.
Motivation and context
This change is required to support testing of EPC (Electronic Payment Channel) mock operations with more accurate and flexible policy configurations. The improvements enable better simulation of real-world scenarios, improved error handling, and more precise response code management for the mock send API.
The mock policy now includes enhanced request/response handling that better reflects production behavior while maintaining the ability to test edge cases and error conditions.
Type of changes
Env to apply
Does this introduce a change to production resources with possible user impact?
This is a mock/test configuration change only, with no impact on production resources.
Does this introduce an unwanted change on infrastructure? Check terraform plan execution result
The changes are limited to test policy configuration and do not introduce any unwanted infrastructure modifications.
Other information
SRTP-1375-new-mock-for-send35e7aac: SRTP-1375 New mock3eeb35b: policies written94d7a25: Improved policycd4a33a: Merge branch 'main' into SRTP-1375-new-mock-for-sendsrc/srtp/api/test/mock_policy_epc.xml(144 insertions, 42 deletions)If PR is partially applied, why? (reserved to maintainers)
N/A - Not applicable for this PR.