@mojaloop/sdk-scheme-adapter 12.0.2 → 12.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +13 -0
- package/CHANGELOG.md +29 -0
- package/audit-resolve.json +20 -0
- package/package.json +5 -1
- package/src/ControlAgent/index.js +221 -0
- package/src/ControlServer/handlers.js +63 -0
- package/src/ControlServer/index.js +294 -0
- package/src/InboundServer/index.js +33 -1
- package/src/OutboundServer/index.js +15 -0
- package/src/TestServer/index.js +31 -0
- package/src/config.js +6 -0
- package/src/lib/model/OutboundBulkQuotesModel.js +3 -3
- package/src/lib/model/OutboundBulkTransfersModel.js +1 -1
- package/src/lib/model/OutboundRequestToPayModel.js +1 -1
- package/src/lib/model/OutboundRequestToPayTransferModel.js +9 -9
- package/src/lib/model/OutboundTransfersModel.js +1 -1
- package/src/lib/model/lib/shared.js +6 -5
- package/test/config/integration.env +9 -0
- package/test/unit/ControlClient.test.js +113 -0
- package/test/unit/ControlServer/events.js +41 -0
- package/test/unit/ControlServer/index.js +231 -0
- package/test/unit/ControlServer.test.js +126 -0
- package/test/unit/config.test.js +1 -0
- package/test/unit/index.test.js +1 -0
- package/test/unit/lib/model/OutboundTransfersModel.test.js +33 -0
- package/junit.xml +0 -515
package/junit.xml
DELETED
|
@@ -1,515 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<testsuites name="jest tests" tests="235" failures="0" errors="0" time="14.365">
|
|
3
|
-
<testsuite name="Proxy" errors="0" failures="0" skipped="0" timestamp="2022-04-14T02:09:04" time="7.575" tests="15">
|
|
4
|
-
<testcase classname="Proxy should return success POST response" name="Proxy should return success POST response" time="0.705">
|
|
5
|
-
</testcase>
|
|
6
|
-
<testcase classname="Proxy should return success PUT response" name="Proxy should return success PUT response" time="0.413">
|
|
7
|
-
</testcase>
|
|
8
|
-
<testcase classname="Proxy should return success GET response" name="Proxy should return success GET response" time="0.394">
|
|
9
|
-
</testcase>
|
|
10
|
-
<testcase classname="Proxy should return error response" name="Proxy should return error response" time="0.362">
|
|
11
|
-
</testcase>
|
|
12
|
-
<testcase classname="Proxy should forward by path regexp" name="Proxy should forward by path regexp" time="0.363">
|
|
13
|
-
</testcase>
|
|
14
|
-
<testcase classname="Proxy should forward by query params" name="Proxy should forward by query params" time="0.366">
|
|
15
|
-
</testcase>
|
|
16
|
-
<testcase classname="Proxy should not forward by query params" name="Proxy should not forward by query params" time="0.338">
|
|
17
|
-
</testcase>
|
|
18
|
-
<testcase classname="Proxy should forward by header params" name="Proxy should forward by header params" time="0.336">
|
|
19
|
-
</testcase>
|
|
20
|
-
<testcase classname="Proxy should not forward by header params" name="Proxy should not forward by header params" time="0.322">
|
|
21
|
-
</testcase>
|
|
22
|
-
<testcase classname="Proxy should forward by header values" name="Proxy should forward by header values" time="0.323">
|
|
23
|
-
</testcase>
|
|
24
|
-
<testcase classname="Proxy should forward using multi-match rule (path and headers)" name="Proxy should forward using multi-match rule (path and headers)" time="0.325">
|
|
25
|
-
</testcase>
|
|
26
|
-
<testcase classname="Proxy should not forward using multi-match rule (wrong headers)" name="Proxy should not forward using multi-match rule (wrong headers)" time="0.354">
|
|
27
|
-
</testcase>
|
|
28
|
-
<testcase classname="Proxy should forward using multi-match rule (query)" name="Proxy should forward using multi-match rule (query)" time="0.341">
|
|
29
|
-
</testcase>
|
|
30
|
-
<testcase classname="Proxy should forward using multi-match rule (headers)" name="Proxy should forward using multi-match rule (headers)" time="0.348">
|
|
31
|
-
</testcase>
|
|
32
|
-
<testcase classname="Proxy should handle binary response" name="Proxy should handle binary response" time="0.36">
|
|
33
|
-
</testcase>
|
|
34
|
-
</testsuite>
|
|
35
|
-
<testsuite name="Outbound Transfers API" errors="0" failures="0" skipped="0" timestamp="2022-04-14T02:09:04" time="7.654" tests="6">
|
|
36
|
-
<testcase classname="Outbound Transfers API POST /transfers fails validation on invalid request and gives detailed error message indicating source of failure" name="Outbound Transfers API POST /transfers fails validation on invalid request and gives detailed error message indicating source of failure" time="0.45">
|
|
37
|
-
</testcase>
|
|
38
|
-
<testcase classname="Outbound Transfers API POST /transfers should return success response" name="Outbound Transfers API POST /transfers should return success response" time="0.598">
|
|
39
|
-
</testcase>
|
|
40
|
-
<testcase classname="Outbound Transfers API POST /transfers should return timeout error response on party resolution" name="Outbound Transfers API POST /transfers should return timeout error response on party resolution" time="2.608">
|
|
41
|
-
</testcase>
|
|
42
|
-
<testcase classname="Outbound Transfers API POST /transfers should return mojaloop error response on party resolution" name="Outbound Transfers API POST /transfers should return mojaloop error response on party resolution" time="0.511">
|
|
43
|
-
</testcase>
|
|
44
|
-
<testcase classname="Outbound Transfers API GET /transfers should return COMMITTED transaction state" name="Outbound Transfers API GET /transfers should return COMMITTED transaction state" time="0.47">
|
|
45
|
-
</testcase>
|
|
46
|
-
<testcase classname="Outbound Transfers API GET /transfers should return transfer not found error" name="Outbound Transfers API GET /transfers should return transfer not found error" time="0.387">
|
|
47
|
-
</testcase>
|
|
48
|
-
</testsuite>
|
|
49
|
-
<testsuite name="Outbound Accounts API" errors="0" failures="0" skipped="0" timestamp="2022-04-14T02:09:04" time="7.876" tests="5">
|
|
50
|
-
<testcase classname="Outbound Accounts API POST /accounts should return success response" name="Outbound Accounts API POST /accounts should return success response" time="0.506">
|
|
51
|
-
</testcase>
|
|
52
|
-
<testcase classname="Outbound Accounts API POST /accounts should return success response with error info on invalid currency (1)" name="Outbound Accounts API POST /accounts should return success response with error info on invalid currency (1)" time="0.501">
|
|
53
|
-
</testcase>
|
|
54
|
-
<testcase classname="Outbound Accounts API POST /accounts should return success response with error info on errorInformation presence (2)" name="Outbound Accounts API POST /accounts should return success response with error info on errorInformation presence (2)" time="0.419">
|
|
55
|
-
</testcase>
|
|
56
|
-
<testcase classname="Outbound Accounts API POST /accounts should return timeout error response" name="Outbound Accounts API POST /accounts should return timeout error response" time="3.361">
|
|
57
|
-
</testcase>
|
|
58
|
-
<testcase classname="Outbound Accounts API POST /accounts should return mojaloop error response" name="Outbound Accounts API POST /accounts should return mojaloop error response" time="0.457">
|
|
59
|
-
</testcase>
|
|
60
|
-
</testsuite>
|
|
61
|
-
<testsuite name="outboundModel" errors="0" failures="0" skipped="0" timestamp="2022-04-14T02:09:04" time="8.78" tests="19">
|
|
62
|
-
<testcase classname="outboundModel initializes to starting state" name="outboundModel initializes to starting state" time="0.004">
|
|
63
|
-
</testcase>
|
|
64
|
-
<testcase classname="outboundModel executes all three transfer stages without halting when AUTO_ACCEPT_PARTY and AUTO_ACCEPT_QUOTES are true" name="outboundModel executes all three transfer stages without halting when AUTO_ACCEPT_PARTY and AUTO_ACCEPT_QUOTES are true" time="0.007">
|
|
65
|
-
</testcase>
|
|
66
|
-
<testcase classname="outboundModel uses quote response transfer amount for transfer prepare" name="outboundModel uses quote response transfer amount for transfer prepare" time="0.005">
|
|
67
|
-
</testcase>
|
|
68
|
-
<testcase classname="outboundModel test get transfer" name="outboundModel test get transfer" time="0.002">
|
|
69
|
-
</testcase>
|
|
70
|
-
<testcase classname="outboundModel resolves payee and halts when AUTO_ACCEPT_PARTY is false" name="outboundModel resolves payee and halts when AUTO_ACCEPT_PARTY is false" time="0.001">
|
|
71
|
-
</testcase>
|
|
72
|
-
<testcase classname="outboundModel halts after resolving payee, resumes and then halts after receiving quote response when AUTO_ACCEPT_PARTY is false and AUTO_ACCEPT_QUOTES is false" name="outboundModel halts after resolving payee, resumes and then halts after receiving quote response when AUTO_ACCEPT_PARTY is false and AUTO_ACCEPT_QUOTES is false" time="0.003">
|
|
73
|
-
</testcase>
|
|
74
|
-
<testcase classname="outboundModel halts and resumes after parties and quotes stages when AUTO_ACCEPT_PARTY is false and AUTO_ACCEPT_QUOTES is false" name="outboundModel halts and resumes after parties and quotes stages when AUTO_ACCEPT_PARTY is false and AUTO_ACCEPT_QUOTES is false" time="0.003">
|
|
75
|
-
</testcase>
|
|
76
|
-
<testcase classname="outboundModel uses payee party fspid for transfer prepare when config USE_QUOTE_SOURCE_FSP_AS_TRANSFER_PAYEE_FSP is false" name="outboundModel uses payee party fspid for transfer prepare when config USE_QUOTE_SOURCE_FSP_AS_TRANSFER_PAYEE_FSP is false" time="0.002">
|
|
77
|
-
</testcase>
|
|
78
|
-
<testcase classname="outboundModel uses quote response source fspid for transfer prepare when config USE_QUOTE_SOURCE_FSP_AS_TRANSFER_PAYEE_FSP is true" name="outboundModel uses quote response source fspid for transfer prepare when config USE_QUOTE_SOURCE_FSP_AS_TRANSFER_PAYEE_FSP is true" time="0.002">
|
|
79
|
-
</testcase>
|
|
80
|
-
<testcase classname="outboundModel pass quote response `expiration` deadline" name="outboundModel pass quote response `expiration` deadline" time="1.004">
|
|
81
|
-
</testcase>
|
|
82
|
-
<testcase classname="outboundModel pass transfer fulfills `expiration` deadline" name="outboundModel pass transfer fulfills `expiration` deadline" time="1.002">
|
|
83
|
-
</testcase>
|
|
84
|
-
<testcase classname="outboundModel pass all stages `expiration` deadlines" name="outboundModel pass all stages `expiration` deadlines" time="2.004">
|
|
85
|
-
</testcase>
|
|
86
|
-
<testcase classname="outboundModel fail on quote response `expiration` deadline" name="outboundModel fail on quote response `expiration` deadline" time="2.031">
|
|
87
|
-
</testcase>
|
|
88
|
-
<testcase classname="outboundModel fail on transfer fulfills `expiration` deadline" name="outboundModel fail on transfer fulfills `expiration` deadline" time="2.008">
|
|
89
|
-
</testcase>
|
|
90
|
-
<testcase classname="outboundModel Throws with mojaloop error in response body when party resolution error callback occurs" name="outboundModel Throws with mojaloop error in response body when party resolution error callback occurs" time="0.002">
|
|
91
|
-
</testcase>
|
|
92
|
-
<testcase classname="outboundModel Throws with mojaloop error in response body when quote request error callback occurs" name="outboundModel Throws with mojaloop error in response body when quote request error callback occurs" time="0.002">
|
|
93
|
-
</testcase>
|
|
94
|
-
<testcase classname="outboundModel Throws with mojaloop error in response body when transfer request error callback occurs" name="outboundModel Throws with mojaloop error in response body when transfer request error callback occurs" time="0.002">
|
|
95
|
-
</testcase>
|
|
96
|
-
<testcase classname="outboundModel Outbound server should use HTTPS if outbound mTLS enabled" name="outboundModel Outbound server should use HTTPS if outbound mTLS enabled" time="0">
|
|
97
|
-
</testcase>
|
|
98
|
-
<testcase classname="outboundModel Outbound server should use HTTP if outbound mTLS disabled" name="outboundModel Outbound server should use HTTP if outbound mTLS disabled" time="0">
|
|
99
|
-
</testcase>
|
|
100
|
-
</testsuite>
|
|
101
|
-
<testsuite name="QuotesModel" errors="0" failures="0" skipped="0" timestamp="2022-04-14T02:09:12" time="3.193" tests="20">
|
|
102
|
-
<testcase classname="QuotesModel create proper creation of model" name="QuotesModel create proper creation of model" time="0.004">
|
|
103
|
-
</testcase>
|
|
104
|
-
<testcase classname="QuotesModel getResponse should remap currentState" name="QuotesModel getResponse should remap currentState" time="0.001">
|
|
105
|
-
</testcase>
|
|
106
|
-
<testcase classname="QuotesModel getResponse should handle unexpected state" name="QuotesModel getResponse should handle unexpected state" time="0.001">
|
|
107
|
-
</testcase>
|
|
108
|
-
<testcase classname="QuotesModel channelName should validate input" name="QuotesModel channelName should validate input" time="0.001">
|
|
109
|
-
</testcase>
|
|
110
|
-
<testcase classname="QuotesModel channelName should generate proper channel name" name="QuotesModel channelName should generate proper channel name" time="0">
|
|
111
|
-
</testcase>
|
|
112
|
-
<testcase classname="QuotesModel generateKey should generate proper cache key" name="QuotesModel generateKey should generate proper cache key" time="0.001">
|
|
113
|
-
</testcase>
|
|
114
|
-
<testcase classname="QuotesModel generateKey should handle lack of quoteId param" name="QuotesModel generateKey should handle lack of quoteId param" time="0.032">
|
|
115
|
-
</testcase>
|
|
116
|
-
<testcase classname="QuotesModel onRequestAction should implement happy flow" name="QuotesModel onRequestAction should implement happy flow" time="0.004">
|
|
117
|
-
</testcase>
|
|
118
|
-
<testcase classname="QuotesModel onRequestAction should handle timeouts" name="QuotesModel onRequestAction should handle timeouts" time="3.003">
|
|
119
|
-
</testcase>
|
|
120
|
-
<testcase classname="QuotesModel onRequestAction should unsubscribe from cache in case when error happens in workflow run" name="QuotesModel onRequestAction should unsubscribe from cache in case when error happens in workflow run" time="0.001">
|
|
121
|
-
</testcase>
|
|
122
|
-
<testcase classname="QuotesModel onRequestAction should unsubscribe from cache in case when error happens Mojaloop requests" name="QuotesModel onRequestAction should unsubscribe from cache in case when error happens Mojaloop requests" time="0.001">
|
|
123
|
-
</testcase>
|
|
124
|
-
<testcase classname="QuotesModel run workflow start" name="QuotesModel run workflow start" time="0.001">
|
|
125
|
-
</testcase>
|
|
126
|
-
<testcase classname="QuotesModel run workflow succeeded" name="QuotesModel run workflow succeeded" time="0.001">
|
|
127
|
-
</testcase>
|
|
128
|
-
<testcase classname="QuotesModel run workflow errored" name="QuotesModel run workflow errored" time="0">
|
|
129
|
-
</testcase>
|
|
130
|
-
<testcase classname="QuotesModel run workflow handling errors" name="QuotesModel run workflow handling errors" time="0.001">
|
|
131
|
-
</testcase>
|
|
132
|
-
<testcase classname="QuotesModel run workflow should handle errors" name="QuotesModel run workflow should handle errors" time="0.001">
|
|
133
|
-
</testcase>
|
|
134
|
-
<testcase classname="QuotesModel run workflow should handle input validation for lack of quoteId param" name="QuotesModel run workflow should handle input validation for lack of quoteId param" time="0.001">
|
|
135
|
-
</testcase>
|
|
136
|
-
<testcase classname="QuotesModel run workflow should handle input validation for not quoteId & quote.quoteId be in sync" name="QuotesModel run workflow should handle input validation for not quoteId & quote.quoteId be in sync" time="0">
|
|
137
|
-
</testcase>
|
|
138
|
-
<testcase classname="QuotesModel run workflow should handle input validation for fspId param" name="QuotesModel run workflow should handle input validation for fspId param" time="0.001">
|
|
139
|
-
</testcase>
|
|
140
|
-
<testcase classname="QuotesModel loadFromCache should use PSM.loadFromCache properly" name="QuotesModel loadFromCache should use PSM.loadFromCache properly" time="0.001">
|
|
141
|
-
</testcase>
|
|
142
|
-
</testsuite>
|
|
143
|
-
<testsuite name="PartiesModel" errors="0" failures="0" skipped="0" timestamp="2022-04-14T02:09:12" time="3.185" tests="20">
|
|
144
|
-
<testcase classname="PartiesModel create proper creation of model" name="PartiesModel create proper creation of model" time="0.004">
|
|
145
|
-
</testcase>
|
|
146
|
-
<testcase classname="PartiesModel getResponse should remap currentState" name="PartiesModel getResponse should remap currentState" time="0.001">
|
|
147
|
-
</testcase>
|
|
148
|
-
<testcase classname="PartiesModel getResponse should handle unexpected state" name="PartiesModel getResponse should handle unexpected state" time="0.001">
|
|
149
|
-
</testcase>
|
|
150
|
-
<testcase classname="PartiesModel channelName should validate input" name="PartiesModel channelName should validate input" time="0.001">
|
|
151
|
-
</testcase>
|
|
152
|
-
<testcase classname="PartiesModel channelName should generate proper channel name" name="PartiesModel channelName should generate proper channel name" time="0">
|
|
153
|
-
</testcase>
|
|
154
|
-
<testcase classname="PartiesModel channelName should generate proper channel name when all params specified" name="PartiesModel channelName should generate proper channel name when all params specified" time="0.001">
|
|
155
|
-
</testcase>
|
|
156
|
-
<testcase classname="PartiesModel generateKey should generate proper cache key" name="PartiesModel generateKey should generate proper cache key" time="0">
|
|
157
|
-
</testcase>
|
|
158
|
-
<testcase classname="PartiesModel generateKey should handle lack of id param" name="PartiesModel generateKey should handle lack of id param" time="0.025">
|
|
159
|
-
</testcase>
|
|
160
|
-
<testcase classname="PartiesModel generateKey should handle all params" name="PartiesModel generateKey should handle all params" time="0">
|
|
161
|
-
</testcase>
|
|
162
|
-
<testcase classname="PartiesModel onRequestAction should implement happy flow" name="PartiesModel onRequestAction should implement happy flow" time="0.004">
|
|
163
|
-
</testcase>
|
|
164
|
-
<testcase classname="PartiesModel onRequestAction should handle timeouts" name="PartiesModel onRequestAction should handle timeouts" time="3.002">
|
|
165
|
-
</testcase>
|
|
166
|
-
<testcase classname="PartiesModel onRequestAction should unsubscribe from cache in case when error happens in workflow run" name="PartiesModel onRequestAction should unsubscribe from cache in case when error happens in workflow run" time="0.001">
|
|
167
|
-
</testcase>
|
|
168
|
-
<testcase classname="PartiesModel onRequestAction should unsubscribe from cache in case when error happens Mojaloop requests" name="PartiesModel onRequestAction should unsubscribe from cache in case when error happens Mojaloop requests" time="0.001">
|
|
169
|
-
</testcase>
|
|
170
|
-
<testcase classname="PartiesModel run workflow start" name="PartiesModel run workflow start" time="0.001">
|
|
171
|
-
</testcase>
|
|
172
|
-
<testcase classname="PartiesModel run workflow succeeded" name="PartiesModel run workflow succeeded" time="0.001">
|
|
173
|
-
</testcase>
|
|
174
|
-
<testcase classname="PartiesModel run workflow errored" name="PartiesModel run workflow errored" time="0">
|
|
175
|
-
</testcase>
|
|
176
|
-
<testcase classname="PartiesModel run workflow handling errors" name="PartiesModel run workflow handling errors" time="0.001">
|
|
177
|
-
</testcase>
|
|
178
|
-
<testcase classname="PartiesModel run workflow should handle errors" name="PartiesModel run workflow should handle errors" time="0.001">
|
|
179
|
-
</testcase>
|
|
180
|
-
<testcase classname="PartiesModel run workflow should handle input validation for id/subId params" name="PartiesModel run workflow should handle input validation for id/subId params" time="0.001">
|
|
181
|
-
</testcase>
|
|
182
|
-
<testcase classname="PartiesModel loadFromCache should use PSM.loadFromCache properly" name="PartiesModel loadFromCache should use PSM.loadFromCache properly" time="0.001">
|
|
183
|
-
</testcase>
|
|
184
|
-
</testsuite>
|
|
185
|
-
<testsuite name="TransfersModel" errors="0" failures="0" skipped="0" timestamp="2022-04-14T02:09:12" time="3.174" tests="20">
|
|
186
|
-
<testcase classname="TransfersModel create proper creation of model" name="TransfersModel create proper creation of model" time="0.004">
|
|
187
|
-
</testcase>
|
|
188
|
-
<testcase classname="TransfersModel getResponse should remap currentState" name="TransfersModel getResponse should remap currentState" time="0.001">
|
|
189
|
-
</testcase>
|
|
190
|
-
<testcase classname="TransfersModel getResponse should handle unexpected state" name="TransfersModel getResponse should handle unexpected state" time="0.001">
|
|
191
|
-
</testcase>
|
|
192
|
-
<testcase classname="TransfersModel channelName should validate input" name="TransfersModel channelName should validate input" time="0">
|
|
193
|
-
</testcase>
|
|
194
|
-
<testcase classname="TransfersModel channelName should generate proper channel name" name="TransfersModel channelName should generate proper channel name" time="0">
|
|
195
|
-
</testcase>
|
|
196
|
-
<testcase classname="TransfersModel generateKey should generate proper cache key" name="TransfersModel generateKey should generate proper cache key" time="0">
|
|
197
|
-
</testcase>
|
|
198
|
-
<testcase classname="TransfersModel generateKey should handle lack of transferId param" name="TransfersModel generateKey should handle lack of transferId param" time="0.024">
|
|
199
|
-
</testcase>
|
|
200
|
-
<testcase classname="TransfersModel onRequestAction should implement happy flow" name="TransfersModel onRequestAction should implement happy flow" time="0.004">
|
|
201
|
-
</testcase>
|
|
202
|
-
<testcase classname="TransfersModel onRequestAction should handle timeouts" name="TransfersModel onRequestAction should handle timeouts" time="3.003">
|
|
203
|
-
</testcase>
|
|
204
|
-
<testcase classname="TransfersModel onRequestAction should unsubscribe from cache in case when error happens in workflow run" name="TransfersModel onRequestAction should unsubscribe from cache in case when error happens in workflow run" time="0.002">
|
|
205
|
-
</testcase>
|
|
206
|
-
<testcase classname="TransfersModel onRequestAction should unsubscribe from cache in case when error happens Mojaloop requests" name="TransfersModel onRequestAction should unsubscribe from cache in case when error happens Mojaloop requests" time="0.001">
|
|
207
|
-
</testcase>
|
|
208
|
-
<testcase classname="TransfersModel run workflow start" name="TransfersModel run workflow start" time="0.001">
|
|
209
|
-
</testcase>
|
|
210
|
-
<testcase classname="TransfersModel run workflow succeeded" name="TransfersModel run workflow succeeded" time="0.001">
|
|
211
|
-
</testcase>
|
|
212
|
-
<testcase classname="TransfersModel run workflow errored" name="TransfersModel run workflow errored" time="0">
|
|
213
|
-
</testcase>
|
|
214
|
-
<testcase classname="TransfersModel run workflow handling errors" name="TransfersModel run workflow handling errors" time="0.002">
|
|
215
|
-
</testcase>
|
|
216
|
-
<testcase classname="TransfersModel run workflow should handle errors" name="TransfersModel run workflow should handle errors" time="0">
|
|
217
|
-
</testcase>
|
|
218
|
-
<testcase classname="TransfersModel run workflow should handle input validation for lack of transferId param" name="TransfersModel run workflow should handle input validation for lack of transferId param" time="0">
|
|
219
|
-
</testcase>
|
|
220
|
-
<testcase classname="TransfersModel run workflow should handle input validation for not transferId & transfer.transferId be in sync" name="TransfersModel run workflow should handle input validation for not transferId & transfer.transferId be in sync" time="0">
|
|
221
|
-
</testcase>
|
|
222
|
-
<testcase classname="TransfersModel run workflow should handle input validation for fspId param" name="TransfersModel run workflow should handle input validation for fspId param" time="0.001">
|
|
223
|
-
</testcase>
|
|
224
|
-
<testcase classname="TransfersModel loadFromCache should use PSM.loadFromCache properly" name="TransfersModel loadFromCache should use PSM.loadFromCache properly" time="0.001">
|
|
225
|
-
</testcase>
|
|
226
|
-
</testsuite>
|
|
227
|
-
<testsuite name="Test Server" errors="0" failures="0" skipped="0" timestamp="2022-04-14T02:09:13" time="3.461" tests="9">
|
|
228
|
-
<testcase classname="Test Server Inbound server and Test server construct cache with same parameters when provided same config" name="Test Server Inbound server and Test server construct cache with same parameters when provided same config" time="0.387">
|
|
229
|
-
</testcase>
|
|
230
|
-
<testcase classname="Test Server Health check" name="Test Server Health check" time="0.255">
|
|
231
|
-
</testcase>
|
|
232
|
-
<testcase classname="Test Server PUT /parties cache get and set use same value" name="Test Server PUT /parties cache get and set use same value" time="0.255">
|
|
233
|
-
</testcase>
|
|
234
|
-
<testcase classname="Test Server POST /quotes requests cache get and set use same value" name="Test Server POST /quotes requests cache get and set use same value" time="0.239">
|
|
235
|
-
</testcase>
|
|
236
|
-
<testcase classname="Test Server PUT /participants callbacks cache get and set use same value" name="Test Server PUT /participants callbacks cache get and set use same value" time="0.227">
|
|
237
|
-
</testcase>
|
|
238
|
-
<testcase classname="Test Server Subscribes to the keyevent set notification" name="Test Server Subscribes to the keyevent set notification" time="0.208">
|
|
239
|
-
</testcase>
|
|
240
|
-
<testcase classname="Test Server WebSocket /callbacks and / endpoint triggers send to client when callback received to inbound server" name="Test Server WebSocket /callbacks and / endpoint triggers send to client when callback received to inbound server" time="0.214">
|
|
241
|
-
</testcase>
|
|
242
|
-
<testcase classname="Test Server WebSocket /requests and / endpoint triggers send to client when callback received to inbound server" name="Test Server WebSocket /requests and / endpoint triggers send to client when callback received to inbound server" time="0.218">
|
|
243
|
-
</testcase>
|
|
244
|
-
<testcase classname="Test Server Websocket / endpoint receives both callbacks and requests" name="Test Server Websocket / endpoint receives both callbacks and requests" time="0.21">
|
|
245
|
-
</testcase>
|
|
246
|
-
</testsuite>
|
|
247
|
-
<testsuite name="index.js" errors="0" failures="0" skipped="0" timestamp="2022-04-14T02:09:17" time="0.781" tests="3">
|
|
248
|
-
<testcase classname="index.js WSO2 error events in OutboundServer propagate to top-level server" name="index.js WSO2 error events in OutboundServer propagate to top-level server" time="0.003">
|
|
249
|
-
</testcase>
|
|
250
|
-
<testcase classname="index.js WSO2 error events in InboundServer propagate to top-level server" name="index.js WSO2 error events in InboundServer propagate to top-level server" time="0">
|
|
251
|
-
</testcase>
|
|
252
|
-
<testcase classname="index.js Exports expected modules" name="index.js Exports expected modules" time="0.001">
|
|
253
|
-
</testcase>
|
|
254
|
-
</testsuite>
|
|
255
|
-
<testsuite name="AccountsModel" errors="0" failures="0" skipped="0" timestamp="2022-04-14T02:09:17" time="0.242" tests="3">
|
|
256
|
-
<testcase classname="AccountsModel initializes to starting state" name="AccountsModel initializes to starting state" time="0.003">
|
|
257
|
-
</testcase>
|
|
258
|
-
<testcase classname="AccountsModel create 100 accounts" name="AccountsModel create 100 accounts" time="0.005">
|
|
259
|
-
</testcase>
|
|
260
|
-
<testcase classname="AccountsModel create 20000 accounts" name="AccountsModel create 20000 accounts" time="0.112">
|
|
261
|
-
</testcase>
|
|
262
|
-
</testsuite>
|
|
263
|
-
<testsuite name="Inbound Server" errors="0" failures="0" skipped="0" timestamp="2022-04-14T02:09:04" time="13.346" tests="19">
|
|
264
|
-
<testcase classname="Inbound Server PUT /parties validates incoming JWS when VALIDATE_INBOUND_JWS and VALIDATE_INBOUND_PUT_PARTIES_JWS is true" name="Inbound Server PUT /parties validates incoming JWS when VALIDATE_INBOUND_JWS and VALIDATE_INBOUND_PUT_PARTIES_JWS is true" time="0.479">
|
|
265
|
-
</testcase>
|
|
266
|
-
<testcase classname="Inbound Server PUT /parties does not validate incoming JWS when VALIDATE_INBOUND_JWS is true and VALIDATE_INBOUND_PUT_PARTIES_JWS is false" name="Inbound Server PUT /parties does not validate incoming JWS when VALIDATE_INBOUND_JWS is true and VALIDATE_INBOUND_PUT_PARTIES_JWS is false" time="0.339">
|
|
267
|
-
</testcase>
|
|
268
|
-
<testcase classname="Inbound Server PUT /parties does not validate incoming JWS when VALIDATE_INBOUND_JWS is false and VALIDATE_INBOUND_PUT_PARTIES_JWS is false" name="Inbound Server PUT /parties does not validate incoming JWS when VALIDATE_INBOUND_JWS is false and VALIDATE_INBOUND_PUT_PARTIES_JWS is false" time="0.281">
|
|
269
|
-
</testcase>
|
|
270
|
-
<testcase classname="Inbound Server PUT /parties does not validate incoming JWS when VALIDATE_INBOUND_JWS is false and VALIDATE_INBOUND_PUT_PARTIES_JWS is true" name="Inbound Server PUT /parties does not validate incoming JWS when VALIDATE_INBOUND_JWS is false and VALIDATE_INBOUND_PUT_PARTIES_JWS is true" time="0.268">
|
|
271
|
-
</testcase>
|
|
272
|
-
<testcase classname="Inbound Server PUT /parties processes parties request with valid content-type headers successfully" name="Inbound Server PUT /parties processes parties request with valid content-type headers successfully" time="0.273">
|
|
273
|
-
</testcase>
|
|
274
|
-
<testcase classname="Inbound Server PUT /parties returns error on invalid parties content-type headers" name="Inbound Server PUT /parties returns error on invalid parties content-type headers" time="0.868">
|
|
275
|
-
</testcase>
|
|
276
|
-
<testcase classname="Inbound Server POST /quotes validates incoming JWS on other routes when VALIDATE_INBOUND_JWS is true and VALIDATE_INBOUND_PUT_PARTIES_JWS is false" name="Inbound Server POST /quotes validates incoming JWS on other routes when VALIDATE_INBOUND_JWS is true and VALIDATE_INBOUND_PUT_PARTIES_JWS is false" time="0.23">
|
|
277
|
-
</testcase>
|
|
278
|
-
<testcase classname="Inbound Server POST /quotes validates incoming JWS on other routes when VALIDATE_INBOUND_JWS is true and VALIDATE_INBOUND_PUT_PARTIES_JWS is true" name="Inbound Server POST /quotes validates incoming JWS on other routes when VALIDATE_INBOUND_JWS is true and VALIDATE_INBOUND_PUT_PARTIES_JWS is true" time="0.228">
|
|
279
|
-
</testcase>
|
|
280
|
-
<testcase classname="Inbound Server POST /quotes processes quotes request with valid content-type headers successfully" name="Inbound Server POST /quotes processes quotes request with valid content-type headers successfully" time="0.227">
|
|
281
|
-
</testcase>
|
|
282
|
-
<testcase classname="Inbound Server POST /quotes returns error on invalid quotes content-type headers" name="Inbound Server POST /quotes returns error on invalid quotes content-type headers" time="0.661">
|
|
283
|
-
</testcase>
|
|
284
|
-
<testcase classname="Inbound Server PUT /participants validates incoming JWS when VALIDATE_INBOUND_JWS is true" name="Inbound Server PUT /participants validates incoming JWS when VALIDATE_INBOUND_JWS is true" time="0.226">
|
|
285
|
-
</testcase>
|
|
286
|
-
<testcase classname="Inbound Server PUT /participants does not validate incoming JWS when VALIDATE_INBOUND_JWS is false " name="Inbound Server PUT /participants does not validate incoming JWS when VALIDATE_INBOUND_JWS is false " time="0.217">
|
|
287
|
-
</testcase>
|
|
288
|
-
<testcase classname="Inbound Server PUT /participants processes participants request with valid content-type headers successfully" name="Inbound Server PUT /participants processes participants request with valid content-type headers successfully" time="0.245">
|
|
289
|
-
</testcase>
|
|
290
|
-
<testcase classname="Inbound Server PUT /participants returns error on invalid participants content-type headers" name="Inbound Server PUT /participants returns error on invalid participants content-type headers" time="0.736">
|
|
291
|
-
</testcase>
|
|
292
|
-
<testcase classname="Inbound Server mTLS test Inbound server should use HTTPS if inbound mTLS enabled" name="Inbound Server mTLS test Inbound server should use HTTPS if inbound mTLS enabled" time="0.25">
|
|
293
|
-
</testcase>
|
|
294
|
-
<testcase classname="Inbound Server mTLS test Inbound server should use HTTP if inbound mTLS disabled" name="Inbound Server mTLS test Inbound server should use HTTP if inbound mTLS disabled" time="0.268">
|
|
295
|
-
</testcase>
|
|
296
|
-
<testcase classname="Inbound Server JWS verification keys updates server configuration when a new JWS verification key is added to the target monitored folder." name="Inbound Server JWS verification keys updates server configuration when a new JWS verification key is added to the target monitored folder." time="1.298">
|
|
297
|
-
</testcase>
|
|
298
|
-
<testcase classname="Inbound Server JWS verification keys updates server configuration when a new JWS verification key is removed from the target monitored folder." name="Inbound Server JWS verification keys updates server configuration when a new JWS verification key is removed from the target monitored folder." time="2.232">
|
|
299
|
-
</testcase>
|
|
300
|
-
<testcase classname="Inbound Server JWS verification keys updates server configuration when a new JWS verification key is changed in the target monitored folder." name="Inbound Server JWS verification keys updates server configuration when a new JWS verification key is changed in the target monitored folder." time="2.219">
|
|
301
|
-
</testcase>
|
|
302
|
-
</testsuite>
|
|
303
|
-
<testsuite name="Outbound API handlers:" errors="0" failures="0" skipped="0" timestamp="2022-04-14T02:09:18" time="0.167" tests="19">
|
|
304
|
-
<testcase classname="Outbound API handlers: POST /transfers returns correct error response body when model throws mojaloop error" name="Outbound API handlers: POST /transfers returns correct error response body when model throws mojaloop error" time="0.002">
|
|
305
|
-
</testcase>
|
|
306
|
-
<testcase classname="Outbound API handlers: POST /transfers uses correct extension list error code for response body statusCode when configured to do so" name="Outbound API handlers: POST /transfers uses correct extension list error code for response body statusCode when configured to do so" time="0">
|
|
307
|
-
</testcase>
|
|
308
|
-
<testcase classname="Outbound API handlers: PUT /transfers returns correct error response body when model throws mojaloop error" name="Outbound API handlers: PUT /transfers returns correct error response body when model throws mojaloop error" time="0.001">
|
|
309
|
-
</testcase>
|
|
310
|
-
<testcase classname="Outbound API handlers: POST /bulkTransfers returns correct error response body when model throws mojaloop error" name="Outbound API handlers: POST /bulkTransfers returns correct error response body when model throws mojaloop error" time="0.001">
|
|
311
|
-
</testcase>
|
|
312
|
-
<testcase classname="Outbound API handlers: POST /bulkTransfers uses correct extension list error code for response body statusCode when configured to do so" name="Outbound API handlers: POST /bulkTransfers uses correct extension list error code for response body statusCode when configured to do so" time="0.001">
|
|
313
|
-
</testcase>
|
|
314
|
-
<testcase classname="Outbound API handlers: POST /bulkQuotes returns correct error response body when model throws mojaloop error" name="Outbound API handlers: POST /bulkQuotes returns correct error response body when model throws mojaloop error" time="0.002">
|
|
315
|
-
</testcase>
|
|
316
|
-
<testcase classname="Outbound API handlers: POST /bulkQuotes uses correct extension list error code for response body statusCode when configured to do so" name="Outbound API handlers: POST /bulkQuotes uses correct extension list error code for response body statusCode when configured to do so" time="0.003">
|
|
317
|
-
</testcase>
|
|
318
|
-
<testcase classname="Outbound API handlers: POST /requestToPayTransfer returns correct error response body when model throws mojaloop error" name="Outbound API handlers: POST /requestToPayTransfer returns correct error response body when model throws mojaloop error" time="0.001">
|
|
319
|
-
</testcase>
|
|
320
|
-
<testcase classname="Outbound API handlers: POST /requestToPay returns correct error response body when model throws mojaloop error" name="Outbound API handlers: POST /requestToPay returns correct error response body when model throws mojaloop error" time="0">
|
|
321
|
-
</testcase>
|
|
322
|
-
<testcase classname="Outbound API handlers: GET /parties/{Type}/{ID}/{SubId} happy flow" name="Outbound API handlers: GET /parties/{Type}/{ID}/{SubId} happy flow" time="0.001">
|
|
323
|
-
</testcase>
|
|
324
|
-
<testcase classname="Outbound API handlers: GET /parties/{Type}/{ID}/{SubId} error flow" name="Outbound API handlers: GET /parties/{Type}/{ID}/{SubId} error flow" time="0">
|
|
325
|
-
</testcase>
|
|
326
|
-
<testcase classname="Outbound API handlers: GET /parties/{Type}/{ID} happy flow" name="Outbound API handlers: GET /parties/{Type}/{ID} happy flow" time="0">
|
|
327
|
-
</testcase>
|
|
328
|
-
<testcase classname="Outbound API handlers: GET /parties/{Type}/{ID} not found error flow" name="Outbound API handlers: GET /parties/{Type}/{ID} not found error flow" time="0.001">
|
|
329
|
-
</testcase>
|
|
330
|
-
<testcase classname="Outbound API handlers: GET /parties/{Type}/{ID} mojaloop error propagation for /parties/{Type}/{ID}" name="Outbound API handlers: GET /parties/{Type}/{ID} mojaloop error propagation for /parties/{Type}/{ID}" time="0">
|
|
331
|
-
</testcase>
|
|
332
|
-
<testcase classname="Outbound API handlers: GET /parties/{Type}/{ID} mojaloop error propagation for /parties/{Type}/{ID}/{SubId}" name="Outbound API handlers: GET /parties/{Type}/{ID} mojaloop error propagation for /parties/{Type}/{ID}/{SubId}" time="0.001">
|
|
333
|
-
</testcase>
|
|
334
|
-
<testcase classname="Outbound API handlers: POST /quotes happy flow" name="Outbound API handlers: POST /quotes happy flow" time="0">
|
|
335
|
-
</testcase>
|
|
336
|
-
<testcase classname="Outbound API handlers: POST /quotes mojaloop error propagation for /parties/{Type}/{ID}" name="Outbound API handlers: POST /quotes mojaloop error propagation for /parties/{Type}/{ID}" time="0.001">
|
|
337
|
-
</testcase>
|
|
338
|
-
<testcase classname="Outbound API handlers: POST /simpleTransfers happy flow" name="Outbound API handlers: POST /simpleTransfers happy flow" time="0">
|
|
339
|
-
</testcase>
|
|
340
|
-
<testcase classname="Outbound API handlers: POST /simpleTransfers mojaloop error propagation for /simpleTransfers" name="Outbound API handlers: POST /simpleTransfers mojaloop error propagation for /simpleTransfers" time="0.001">
|
|
341
|
-
</testcase>
|
|
342
|
-
</testsuite>
|
|
343
|
-
<testsuite name="inboundModel" errors="0" failures="0" skipped="0" timestamp="2022-04-14T02:09:18" time="0.165" tests="20">
|
|
344
|
-
<testcase classname="inboundModel quoteRequest calls `mojaloopRequests.putQuotes` with the expected arguments." name="inboundModel quoteRequest calls `mojaloopRequests.putQuotes` with the expected arguments." time="0.005">
|
|
345
|
-
</testcase>
|
|
346
|
-
<testcase classname="inboundModel quoteRequest adds a custom `expiration` property in case it is not defined." name="inboundModel quoteRequest adds a custom `expiration` property in case it is not defined." time="0.001">
|
|
347
|
-
</testcase>
|
|
348
|
-
<testcase classname="inboundModel bulkQuoteRequest calls mojaloopRequests.putBulkQuotes with the expected arguments." name="inboundModel bulkQuoteRequest calls mojaloopRequests.putBulkQuotes with the expected arguments." time="0.002">
|
|
349
|
-
</testcase>
|
|
350
|
-
<testcase classname="inboundModel bulkQuoteRequest adds a custom expiration property in case it is not defined." name="inboundModel bulkQuoteRequest adds a custom expiration property in case it is not defined." time="0.001">
|
|
351
|
-
</testcase>
|
|
352
|
-
<testcase classname="inboundModel transactionRequest calls `mojaloopRequests.putTransactionRequests` with the expected arguments." name="inboundModel transactionRequest calls `mojaloopRequests.putTransactionRequests` with the expected arguments." time="0.001">
|
|
353
|
-
</testcase>
|
|
354
|
-
<testcase classname="inboundModel authorizations calls `mojaloopRequests.putAuthorizations` with the expected arguments." name="inboundModel authorizations calls `mojaloopRequests.putAuthorizations` with the expected arguments." time="0.001">
|
|
355
|
-
</testcase>
|
|
356
|
-
<testcase classname="inboundModel transferPrepare: fail on quote `expiration` deadline." name="inboundModel transferPrepare: fail on quote `expiration` deadline." time="0.002">
|
|
357
|
-
</testcase>
|
|
358
|
-
<testcase classname="inboundModel transferPrepare: getTransfer should return COMMITTED transfer" name="inboundModel transferPrepare: getTransfer should return COMMITTED transfer" time="0.001">
|
|
359
|
-
</testcase>
|
|
360
|
-
<testcase classname="inboundModel transferPrepare: getTransfer should not return fulfillment from payer" name="inboundModel transferPrepare: getTransfer should not return fulfillment from payer" time="0.001">
|
|
361
|
-
</testcase>
|
|
362
|
-
<testcase classname="inboundModel transferPrepare: getTransfer should return not found error" name="inboundModel transferPrepare: getTransfer should return not found error" time="0.001">
|
|
363
|
-
</testcase>
|
|
364
|
-
<testcase classname="inboundModel transferPrepare: fail on transfer without quote." name="inboundModel transferPrepare: fail on transfer without quote." time="0">
|
|
365
|
-
</testcase>
|
|
366
|
-
<testcase classname="inboundModel transferPrepare: pass on transfer without quote." name="inboundModel transferPrepare: pass on transfer without quote." time="0">
|
|
367
|
-
</testcase>
|
|
368
|
-
<testcase classname="inboundModel transferPrepare: allow different transfer and transaction id" name="inboundModel transferPrepare: allow different transfer and transaction id" time="0.004">
|
|
369
|
-
</testcase>
|
|
370
|
-
<testcase classname="inboundModel prepareBulkTransfer: fail on bulk quote `expiration` deadline." name="inboundModel prepareBulkTransfer: fail on bulk quote `expiration` deadline." time="0.001">
|
|
371
|
-
</testcase>
|
|
372
|
-
<testcase classname="inboundModel prepareBulkTransfer: getBulkTransfer should return COMMITTED bulk transfer" name="inboundModel prepareBulkTransfer: getBulkTransfer should return COMMITTED bulk transfer" time="0.001">
|
|
373
|
-
</testcase>
|
|
374
|
-
<testcase classname="inboundModel prepareBulkTransfer: getBulkTransfer should not return fulfillment from payer" name="inboundModel prepareBulkTransfer: getBulkTransfer should not return fulfillment from payer" time="0.001">
|
|
375
|
-
</testcase>
|
|
376
|
-
<testcase classname="inboundModel prepareBulkTransfer: getBulkTransfer should return not found error" name="inboundModel prepareBulkTransfer: getBulkTransfer should return not found error" time="0.001">
|
|
377
|
-
</testcase>
|
|
378
|
-
<testcase classname="inboundModel prepareBulkTransfer: fail on bulk transfer without bulk quote." name="inboundModel prepareBulkTransfer: fail on bulk transfer without bulk quote." time="0">
|
|
379
|
-
</testcase>
|
|
380
|
-
<testcase classname="inboundModel prepareBulkTransfer: pass on bulk transfer without bulk quote." name="inboundModel prepareBulkTransfer: pass on bulk transfer without bulk quote." time="0.001">
|
|
381
|
-
</testcase>
|
|
382
|
-
<testcase classname="inboundModel sendNotificationToPayee: sends notification to fsp backend" name="inboundModel sendNotificationToPayee: sends notification to fsp backend" time="0.001">
|
|
383
|
-
</testcase>
|
|
384
|
-
</testsuite>
|
|
385
|
-
<testsuite name="Inbound API handlers:" errors="0" failures="0" skipped="0" timestamp="2022-04-14T02:09:18" time="0.165" tests="20">
|
|
386
|
-
<testcase classname="Inbound API handlers: POST /quotes calls `model.quoteRequest` with the expected arguments." name="Inbound API handlers: POST /quotes calls `model.quoteRequest` with the expected arguments." time="0.002">
|
|
387
|
-
</testcase>
|
|
388
|
-
<testcase classname="Inbound API handlers: GET /quotes calls `model.getQuoteRequest` with the expected arguments." name="Inbound API handlers: GET /quotes calls `model.getQuoteRequest` with the expected arguments." time="0.001">
|
|
389
|
-
</testcase>
|
|
390
|
-
<testcase classname="Inbound API handlers: PUT /quotes calls `QuotesModel.triggerDeferredJobSpy` with the expected arguments." name="Inbound API handlers: PUT /quotes calls `QuotesModel.triggerDeferredJobSpy` with the expected arguments." time="0.001">
|
|
391
|
-
</testcase>
|
|
392
|
-
<testcase classname="Inbound API handlers: POST /bulkQuotes calls `model.bulkQuoteRequest` with the expected arguments." name="Inbound API handlers: POST /bulkQuotes calls `model.bulkQuoteRequest` with the expected arguments." time="0.001">
|
|
393
|
-
</testcase>
|
|
394
|
-
<testcase classname="Inbound API handlers: PUT /bulkQuotes/{ID} calls `ctx.state.cache.publish` with the expected arguments." name="Inbound API handlers: PUT /bulkQuotes/{ID} calls `ctx.state.cache.publish` with the expected arguments." time="0.001">
|
|
395
|
-
</testcase>
|
|
396
|
-
<testcase classname="Inbound API handlers: PUT /bulkQuotes/{ID}/error calls `ctx.state.cache.publish` with the expected arguments." name="Inbound API handlers: PUT /bulkQuotes/{ID}/error calls `ctx.state.cache.publish` with the expected arguments." time="0.001">
|
|
397
|
-
</testcase>
|
|
398
|
-
<testcase classname="Inbound API handlers: GET /bulkQuotes/{ID} calls `model.getBulkQuote` with the expected arguments." name="Inbound API handlers: GET /bulkQuotes/{ID} calls `model.getBulkQuote` with the expected arguments." time="0.003">
|
|
399
|
-
</testcase>
|
|
400
|
-
<testcase classname="Inbound API handlers: POST /bulkTransfers calls `model.prepareBulkTransfer` with the expected arguments." name="Inbound API handlers: POST /bulkTransfers calls `model.prepareBulkTransfer` with the expected arguments." time="0.001">
|
|
401
|
-
</testcase>
|
|
402
|
-
<testcase classname="Inbound API handlers: PUT /bulkTransfers/{ID} calls `ctx.state.cache.publish` with the expected arguments." name="Inbound API handlers: PUT /bulkTransfers/{ID} calls `ctx.state.cache.publish` with the expected arguments." time="0">
|
|
403
|
-
</testcase>
|
|
404
|
-
<testcase classname="Inbound API handlers: PUT /bulkTransfers/{ID}/error calls `ctx.state.cache.publish` with the expected arguments." name="Inbound API handlers: PUT /bulkTransfers/{ID}/error calls `ctx.state.cache.publish` with the expected arguments." time="0.001">
|
|
405
|
-
</testcase>
|
|
406
|
-
<testcase classname="Inbound API handlers: GET /bulkTransfers/{ID} calls `model.getBulkTransfer` with the expected arguments." name="Inbound API handlers: GET /bulkTransfers/{ID} calls `model.getBulkTransfer` with the expected arguments." time="0.001">
|
|
407
|
-
</testcase>
|
|
408
|
-
<testcase classname="Inbound API handlers: POST /transactionRequests calls `model.transactionRequest` with the expected arguments." name="Inbound API handlers: POST /transactionRequests calls `model.transactionRequest` with the expected arguments." time="0.001">
|
|
409
|
-
</testcase>
|
|
410
|
-
<testcase classname="Inbound API handlers: GET /authorizations calls `model.authorizations` with the expected arguments." name="Inbound API handlers: GET /authorizations calls `model.authorizations` with the expected arguments." time="0.001">
|
|
411
|
-
</testcase>
|
|
412
|
-
<testcase classname="Inbound API handlers: PATCH /transfers/{ID} calls `model.sendNotificationToPayee with expected arguments" name="Inbound API handlers: PATCH /transfers/{ID} calls `model.sendNotificationToPayee with expected arguments" time="0.001">
|
|
413
|
-
</testcase>
|
|
414
|
-
<testcase classname="Inbound API handlers: PUT /parties/{Type}/{ID}[/{SubId}] calls `PartiesModel.triggerDeferredJobSpy` with the expected arguments." name="Inbound API handlers: PUT /parties/{Type}/{ID}[/{SubId}] calls `PartiesModel.triggerDeferredJobSpy` with the expected arguments." time="0">
|
|
415
|
-
</testcase>
|
|
416
|
-
<testcase classname="Inbound API handlers: PUT /parties/{Type}/{ID}[/{SubId}] calls `PartiesModel.triggerDeferredJobSpy` with the expected arguments when SubId param specified." name="Inbound API handlers: PUT /parties/{Type}/{ID}[/{SubId}] calls `PartiesModel.triggerDeferredJobSpy` with the expected arguments when SubId param specified." time="0.001">
|
|
417
|
-
</testcase>
|
|
418
|
-
<testcase classname="Inbound API handlers: PUT /transfers/{ID} calls `TransfersModel.triggerDeferredJobSpy` with the expected arguments." name="Inbound API handlers: PUT /transfers/{ID} calls `TransfersModel.triggerDeferredJobSpy` with the expected arguments." time="0">
|
|
419
|
-
</testcase>
|
|
420
|
-
<testcase classname="Inbound API handlers: PUT /transfers/{ID} calls `TransfersModel.triggerDeferredJobSpy` with the expected arguments when SubId param specified." name="Inbound API handlers: PUT /transfers/{ID} calls `TransfersModel.triggerDeferredJobSpy` with the expected arguments when SubId param specified." time="0.001">
|
|
421
|
-
</testcase>
|
|
422
|
-
<testcase classname="Inbound API handlers: PUT /transfers/{ID}/error calls `TransfersModel.triggerDeferredJobSpy` with the expected arguments." name="Inbound API handlers: PUT /transfers/{ID}/error calls `TransfersModel.triggerDeferredJobSpy` with the expected arguments." time="0">
|
|
423
|
-
</testcase>
|
|
424
|
-
<testcase classname="Inbound API handlers: PUT /transfers/{ID}/error calls `TransfersModel.triggerDeferredJobSpy` with the expected arguments when SubId param specified." name="Inbound API handlers: PUT /transfers/{ID}/error calls `TransfersModel.triggerDeferredJobSpy` with the expected arguments when SubId param specified." time="0.001">
|
|
425
|
-
</testcase>
|
|
426
|
-
</testsuite>
|
|
427
|
-
<testsuite name="config" errors="0" failures="0" skipped="0" timestamp="2022-04-14T02:09:18" time="0.189" tests="9">
|
|
428
|
-
<testcase classname="config correctly parses OUTBOUND_ERROR_STATUSCODE_EXTENSION_KEY when set" name="config correctly parses OUTBOUND_ERROR_STATUSCODE_EXTENSION_KEY when set" time="0.018">
|
|
429
|
-
</testcase>
|
|
430
|
-
<testcase classname="config correctly parses OUTBOUND_ERROR_STATUSCODE_EXTENSION_KEY when NOT set" name="config correctly parses OUTBOUND_ERROR_STATUSCODE_EXTENSION_KEY when NOT set" time="0.012">
|
|
431
|
-
</testcase>
|
|
432
|
-
<testcase classname="config correctly parses VALIDATE_INBOUND_PUT_PARTIES_JWS when NOT set" name="config correctly parses VALIDATE_INBOUND_PUT_PARTIES_JWS when NOT set" time="0.01">
|
|
433
|
-
</testcase>
|
|
434
|
-
<testcase classname="config correctly parses VALIDATE_INBOUND_PUT_PARTIES_JWS when set" name="config correctly parses VALIDATE_INBOUND_PUT_PARTIES_JWS when set" time="0.01">
|
|
435
|
-
</testcase>
|
|
436
|
-
<testcase classname="config return single cert content from IN_SERVER_CERT_PATH" name="config return single cert content from IN_SERVER_CERT_PATH" time="0.01">
|
|
437
|
-
</testcase>
|
|
438
|
-
<testcase classname="config return multiple cert content from IN_CA_CERT_PATH" name="config return multiple cert content from IN_CA_CERT_PATH" time="0.011">
|
|
439
|
-
</testcase>
|
|
440
|
-
<testcase classname="config should parse proxy config yaml file as json object" name="config should parse proxy config yaml file as json object" time="0.012">
|
|
441
|
-
</testcase>
|
|
442
|
-
<testcase classname="config should transform correctly resources versions to config" name="config should transform correctly resources versions to config" time="0.014">
|
|
443
|
-
</testcase>
|
|
444
|
-
<testcase classname="config should throw an err if the resource string is not correctly formed" name="config should throw an err if the resource string is not correctly formed" time="0.021">
|
|
445
|
-
</testcase>
|
|
446
|
-
</testsuite>
|
|
447
|
-
<testsuite name="PersistentStateMachine" errors="0" failures="0" skipped="0" timestamp="2022-04-14T02:09:18" time="0.152" tests="8">
|
|
448
|
-
<testcase classname="PersistentStateMachine module layout" name="PersistentStateMachine module layout" time="0.002">
|
|
449
|
-
</testcase>
|
|
450
|
-
<testcase classname="PersistentStateMachine create" name="PersistentStateMachine create" time="0.003">
|
|
451
|
-
</testcase>
|
|
452
|
-
<testcase classname="PersistentStateMachine onPendingTransition should throw error if not `error` transition" name="PersistentStateMachine onPendingTransition should throw error if not `error` transition" time="0.013">
|
|
453
|
-
</testcase>
|
|
454
|
-
<testcase classname="PersistentStateMachine onPendingTransition should not throw error if `error` transition called when `gogo` is pending" name="PersistentStateMachine onPendingTransition should not throw error if `error` transition called when `gogo` is pending" time="0.003">
|
|
455
|
-
</testcase>
|
|
456
|
-
<testcase classname="PersistentStateMachine loadFromCache should properly call cache.get, get expected data in `context.data` and setup state of machine" name="PersistentStateMachine loadFromCache should properly call cache.get, get expected data in `context.data` and setup state of machine" time="0.001">
|
|
457
|
-
</testcase>
|
|
458
|
-
<testcase classname="PersistentStateMachine loadFromCache should throw when received invalid data from `cache.get`" name="PersistentStateMachine loadFromCache should throw when received invalid data from `cache.get`" time="0.001">
|
|
459
|
-
</testcase>
|
|
460
|
-
<testcase classname="PersistentStateMachine loadFromCache should propagate error received from `cache.get`" name="PersistentStateMachine loadFromCache should propagate error received from `cache.get`" time="0">
|
|
461
|
-
</testcase>
|
|
462
|
-
<testcase classname="PersistentStateMachine saveToCache should rethrow error from cache.set" name="PersistentStateMachine saveToCache should rethrow error from cache.set" time="0.001">
|
|
463
|
-
</testcase>
|
|
464
|
-
</testsuite>
|
|
465
|
-
<testsuite name="outboundModel" errors="0" failures="0" skipped="0" timestamp="2022-04-14T02:09:18" time="0.141" tests="3">
|
|
466
|
-
<testcase classname="outboundModel initializes to starting state" name="outboundModel initializes to starting state" time="0.004">
|
|
467
|
-
</testcase>
|
|
468
|
-
<testcase classname="outboundModel executes all two stages without halting when AUTO_ACCEPT_PARTY is true" name="outboundModel executes all two stages without halting when AUTO_ACCEPT_PARTY is true" time="0.004">
|
|
469
|
-
</testcase>
|
|
470
|
-
<testcase classname="outboundModel resolves payee and halts when AUTO_ACCEPT_PARTY is false" name="outboundModel resolves payee and halts when AUTO_ACCEPT_PARTY is false" time="0.001">
|
|
471
|
-
</testcase>
|
|
472
|
-
</testsuite>
|
|
473
|
-
<testsuite name="outboundRequestToPayTransferModel" errors="0" failures="0" skipped="0" timestamp="2022-04-14T02:09:18" time="0.135" tests="2">
|
|
474
|
-
<testcase classname="outboundRequestToPayTransferModel initializes to starting state" name="outboundRequestToPayTransferModel initializes to starting state" time="0.003">
|
|
475
|
-
</testcase>
|
|
476
|
-
<testcase classname="outboundRequestToPayTransferModel executes all three transfer stages without halting when AUTO_ACCEPT_QUOTES and AUTO_ACCEPT_PARTY are true" name="outboundRequestToPayTransferModel executes all three transfer stages without halting when AUTO_ACCEPT_QUOTES and AUTO_ACCEPT_PARTY are true" time="0.006">
|
|
477
|
-
</testcase>
|
|
478
|
-
</testsuite>
|
|
479
|
-
<testsuite name="OutboundBulkQuotesModel" errors="0" failures="0" skipped="0" timestamp="2022-04-14T02:09:15" time="3.175" tests="6">
|
|
480
|
-
<testcase classname="OutboundBulkQuotesModel initializes to starting state" name="OutboundBulkQuotesModel initializes to starting state" time="0.003">
|
|
481
|
-
</testcase>
|
|
482
|
-
<testcase classname="OutboundBulkQuotesModel test get bulk quote" name="OutboundBulkQuotesModel test get bulk quote" time="0.003">
|
|
483
|
-
</testcase>
|
|
484
|
-
<testcase classname="OutboundBulkQuotesModel sends bulk quotes request with correct payload" name="OutboundBulkQuotesModel sends bulk quotes request with correct payload" time="0.003">
|
|
485
|
-
</testcase>
|
|
486
|
-
<testcase classname="OutboundBulkQuotesModel pass quote response `expiration` deadline" name="OutboundBulkQuotesModel pass quote response `expiration` deadline" time="1.001">
|
|
487
|
-
</testcase>
|
|
488
|
-
<testcase classname="OutboundBulkQuotesModel fail on quote response `expiration` deadline" name="OutboundBulkQuotesModel fail on quote response `expiration` deadline" time="2.029">
|
|
489
|
-
</testcase>
|
|
490
|
-
<testcase classname="OutboundBulkQuotesModel Throws with mojaloop error in response body when quote request error callback occurs" name="OutboundBulkQuotesModel Throws with mojaloop error in response body when quote request error callback occurs" time="0.002">
|
|
491
|
-
</testcase>
|
|
492
|
-
</testsuite>
|
|
493
|
-
<testsuite name="outboundBulkTransferModel" errors="0" failures="0" skipped="0" timestamp="2022-04-14T02:09:15" time="3.16" tests="6">
|
|
494
|
-
<testcase classname="outboundBulkTransferModel initializes to starting state" name="outboundBulkTransferModel initializes to starting state" time="0.003">
|
|
495
|
-
</testcase>
|
|
496
|
-
<testcase classname="outboundBulkTransferModel executes bulk transfer" name="outboundBulkTransferModel executes bulk transfer" time="0.004">
|
|
497
|
-
</testcase>
|
|
498
|
-
<testcase classname="outboundBulkTransferModel test get bulk transfer" name="outboundBulkTransferModel test get bulk transfer" time="0.002">
|
|
499
|
-
</testcase>
|
|
500
|
-
<testcase classname="outboundBulkTransferModel pass transfer fulfills `expiration` deadline" name="outboundBulkTransferModel pass transfer fulfills `expiration` deadline" time="1.002">
|
|
501
|
-
</testcase>
|
|
502
|
-
<testcase classname="outboundBulkTransferModel fail on transfer fulfills `expiration` deadline" name="outboundBulkTransferModel fail on transfer fulfills `expiration` deadline" time="2.017">
|
|
503
|
-
</testcase>
|
|
504
|
-
<testcase classname="outboundBulkTransferModel Throws with mojaloop error in response body when transfer request error callback occurs" name="outboundBulkTransferModel Throws with mojaloop error in response body when transfer request error callback occurs" time="0.001">
|
|
505
|
-
</testcase>
|
|
506
|
-
</testsuite>
|
|
507
|
-
<testsuite name="Cache" errors="0" failures="0" skipped="0" timestamp="2022-04-14T02:09:15" time="3.112" tests="3">
|
|
508
|
-
<testcase classname="Cache Makes connections to redis server for cache operations" name="Cache Makes connections to redis server for cache operations" time="0.002">
|
|
509
|
-
</testcase>
|
|
510
|
-
<testcase classname="Cache Makes subscriber callbacks on the correct channels when messages arrive" name="Cache Makes subscriber callbacks on the correct channels when messages arrive" time="0.003">
|
|
511
|
-
</testcase>
|
|
512
|
-
<testcase classname="Cache Unsubscribed callbacks do not get called when messages arrive" name="Cache Unsubscribed callbacks do not get called when messages arrive" time="3.003">
|
|
513
|
-
</testcase>
|
|
514
|
-
</testsuite>
|
|
515
|
-
</testsuites>
|