ml-testing-toolkit 18.13.0

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.
Files changed (319) hide show
  1. package/.dockerignore +10 -0
  2. package/.grype.yaml +16 -0
  3. package/.ncurc.yaml +9 -0
  4. package/.nvmrc +1 -0
  5. package/.versionrc.js +16 -0
  6. package/CHANGELOG.md +504 -0
  7. package/CODEOWNERS +30 -0
  8. package/Dockerfile +42 -0
  9. package/Dockerfile-newman +13 -0
  10. package/LICENSE.md +9 -0
  11. package/README.md +119 -0
  12. package/assets/diagrams/architectural/architectural-diagram.svg +3 -0
  13. package/assets/diagrams/flow/flow-diagram.svg +3 -0
  14. package/assets/images/Sample-Response-Failure.png +0 -0
  15. package/assets/images/Screenshot 2020-04-16 at 22.58.04.png +0 -0
  16. package/assets/images/TLS-Enabled-on-Environment.png +0 -0
  17. package/assets/images/adapter-mutual-tls-enabled.png +0 -0
  18. package/assets/images/add-additional-input-values.png +0 -0
  19. package/assets/images/add-condition-button.png +0 -0
  20. package/assets/images/add-new-assertion.png +0 -0
  21. package/assets/images/add-new-input-value.png +0 -0
  22. package/assets/images/add-new-input-variable.png +0 -0
  23. package/assets/images/additional-transfers.png +0 -0
  24. package/assets/images/api-provisioning-add-new-api-confirmation.png +0 -0
  25. package/assets/images/api-provisioning-file-input-window.png +0 -0
  26. package/assets/images/api-provisioning-list-apis-view.png +0 -0
  27. package/assets/images/api-provisioning-menu-item.png +0 -0
  28. package/assets/images/apply_and_restart.jpg +0 -0
  29. package/assets/images/assess-request-or-response.png +0 -0
  30. package/assets/images/assess-response-equation-save.png +0 -0
  31. package/assets/images/assess-response-equation.png +0 -0
  32. package/assets/images/assess-response-status.png +0 -0
  33. package/assets/images/building-new-rules-file.png +0 -0
  34. package/assets/images/callback-rules-screen.png +0 -0
  35. package/assets/images/configurable-parameter-assertion.png +0 -0
  36. package/assets/images/configurable-parameter-currency.png +0 -0
  37. package/assets/images/configurable-parameter.png +0 -0
  38. package/assets/images/connection-manager-ui-opening.png +0 -0
  39. package/assets/images/create-inbound-user-simulator.png +0 -0
  40. package/assets/images/creating-new-rule-file.png +0 -0
  41. package/assets/images/dfsp-client-cacert.png +0 -0
  42. package/assets/images/dfsp-client-submit.png +0 -0
  43. package/assets/images/dfsp-client.png +0 -0
  44. package/assets/images/dfsp-p2p-happy-path.png +0 -0
  45. package/assets/images/dfsp-server-cacert.png +0 -0
  46. package/assets/images/dfsp-server-cert.png +0 -0
  47. package/assets/images/download-report.png +0 -0
  48. package/assets/images/drive_have_not_been_shared.jpg +0 -0
  49. package/assets/images/event-response-options.png +0 -0
  50. package/assets/images/expand-monitoring-messages.png +0 -0
  51. package/assets/images/fixed-response-sample.png +0 -0
  52. package/assets/images/header-selection.png +0 -0
  53. package/assets/images/heap_error_windows.jpg +0 -0
  54. package/assets/images/hosted-mode-docker-compose-intro.png +0 -0
  55. package/assets/images/hub-client-cert.png +0 -0
  56. package/assets/images/import-template.png +0 -0
  57. package/assets/images/inbound-requests-environment.png +0 -0
  58. package/assets/images/inbound-requests-scripts.png +0 -0
  59. package/assets/images/jws-certificate-submit.png +0 -0
  60. package/assets/images/jws-certificate.png +0 -0
  61. package/assets/images/jws-certs-keys.png +0 -0
  62. package/assets/images/jws-hub-certs-keys.png +0 -0
  63. package/assets/images/local-enable-jws-publickey.png +0 -0
  64. package/assets/images/local-mutual-tls-enabled.png +0 -0
  65. package/assets/images/local_drives_to_be_available.jpg +0 -0
  66. package/assets/images/mcm-environment-opening.png +0 -0
  67. package/assets/images/menu-items.png +0 -0
  68. package/assets/images/mock-response-sample.png +0 -0
  69. package/assets/images/monitoring-initial-state.png +0 -0
  70. package/assets/images/monitoring-messages.png +0 -0
  71. package/assets/images/new-empty-assertion.png +0 -0
  72. package/assets/images/opened-imported-template.png +0 -0
  73. package/assets/images/opening-default-settings.png +0 -0
  74. package/assets/images/opening-sync-response-rules.png +0 -0
  75. package/assets/images/opening-view.png +0 -0
  76. package/assets/images/outbound-display-opening-hub.png +0 -0
  77. package/assets/images/outbound-display-opening.png +0 -0
  78. package/assets/images/override-with-environment-variable.png +0 -0
  79. package/assets/images/populate-with-sample-body.png +0 -0
  80. package/assets/images/resource-selection.png +0 -0
  81. package/assets/images/rule-builder-select-api.png +0 -0
  82. package/assets/images/sample-condition-add-configurable-params.png +0 -0
  83. package/assets/images/sample-condition.png +0 -0
  84. package/assets/images/sample-editor.png +0 -0
  85. package/assets/images/sample-request.png +0 -0
  86. package/assets/images/sample-test-assertion.png +0 -0
  87. package/assets/images/send-transfer.png +0 -0
  88. package/assets/images/sending-single-test-case-1.png +0 -0
  89. package/assets/images/sending-single-test-case-2.png +0 -0
  90. package/assets/images/sending-test-cases.png +0 -0
  91. package/assets/images/server-certificates-submitted.png +0 -0
  92. package/assets/images/simulator-response.png +0 -0
  93. package/assets/images/simulator-scheme-adapter-endpoint.png +0 -0
  94. package/assets/images/summarized-view-of-rule.png +0 -0
  95. package/assets/images/template-window.png +0 -0
  96. package/assets/images/test-case-editor-console-log.png +0 -0
  97. package/assets/images/test-case-editor-environment-state.png +0 -0
  98. package/assets/images/test-case-editor-scripts.png +0 -0
  99. package/assets/images/test-case-editor.png +0 -0
  100. package/assets/images/testcase-definition-download.png +0 -0
  101. package/assets/images/testcase-definition-edit-meta-info.png +0 -0
  102. package/assets/images/testing-toolkit-mojaloop-testing-toolkit-endpoint.png +0 -0
  103. package/assets/images/tls-hub-certs-keys.png +0 -0
  104. package/assets/images/tls-jws-enabled-on-environment.png +0 -0
  105. package/assets/images/updated-sample-body-data.png +0 -0
  106. package/assets/images/using-configurable-parameter.png +0 -0
  107. package/assets/images/validation-rules-screen.png +0 -0
  108. package/assets/images/view-response.png +0 -0
  109. package/audit-ci.jsonc +7 -0
  110. package/connection-manager/docker-compose.yml +55 -0
  111. package/database/docker-compose.yml +16 -0
  112. package/docker/hosted-mode/docker-compose.yaml +107 -0
  113. package/docker/hosted-mode/keycloak/keycloak-realm.json +2298 -0
  114. package/docker/hosted-mode/mongo-init.sh +1 -0
  115. package/docker/hosted-mode-tls/docker-compose.yaml +171 -0
  116. package/docker/hosted-mode-tls/keycloak/keycloak-realm.json +2298 -0
  117. package/docker/hosted-mode-tls/mongo-init.sh +1 -0
  118. package/docker-compose.yml +62 -0
  119. package/documents/Mojaloop-Testing-Toolkit.md +296 -0
  120. package/documents/RULES_ENGINE.md +403 -0
  121. package/documents/User-Guide-API-Provisioning.md +121 -0
  122. package/documents/User-Guide-CLI.md +218 -0
  123. package/documents/User-Guide-Connection-Manager.md +282 -0
  124. package/documents/User-Guide-Frequently-Asked-Questions.md +39 -0
  125. package/documents/User-Guide-Hosted-Mode-Docker-Compose.md +110 -0
  126. package/documents/User-Guide-Installation.md +163 -0
  127. package/documents/User-Guide-Mojaloop-Testing-Toolkit.md +642 -0
  128. package/documents/User-Guide-OAuth-Server-Deployment.md +283 -0
  129. package/documents/User-Guide-Onboarding-DFSP.md +197 -0
  130. package/documents/User-Guide-Onboarding-HUB.md +191 -0
  131. package/documents/User-Guide.md +53 -0
  132. package/examples/collections/dfsp/p2p_failed_tests.json +7161 -0
  133. package/examples/collections/dfsp/p2p_fx_happy_path.json +502 -0
  134. package/examples/collections/dfsp/p2p_happy_path.json +350 -0
  135. package/examples/collections/dfsp/p2p_happy_path_extended.json +6106 -0
  136. package/examples/collections/dfsp/p2p_happy_path_jws.json +511 -0
  137. package/examples/collections/dfsp/p2p_payee_assertions_websocket.json +441 -0
  138. package/examples/collections/dfsp/sample.json +5029 -0
  139. package/examples/collections/dfsp/transaction_request_service.json +240 -0
  140. package/examples/collections/fxp/FXP.json +264 -0
  141. package/examples/collections/fxp/SDK_backend.json +98 -0
  142. package/examples/collections/fxp/SDK_outbound.json +163 -0
  143. package/examples/collections/hub/hub_01_p2p_happy_path/hub_p2p_receive_quote.json +400 -0
  144. package/examples/collections/hub/hub_01_p2p_happy_path/hub_p2p_send_quote.json +395 -0
  145. package/examples/collections/hub/hub_02_block_transfer/hub_block_transfer.json +393 -0
  146. package/examples/collections/hub/hub_03_funds_in_out/hub_funds_in.json +224 -0
  147. package/examples/collections/hub/hub_03_funds_in_out/hub_funds_out.json +780 -0
  148. package/examples/collections/hub/hub_04_settlements/hub_settlements.json +3138 -0
  149. package/examples/collections/hub/hub_05_transfer_negative_scenarios/hub_transfer_negative_payee_abort.json +475 -0
  150. package/examples/collections/hub/hub_05_transfer_negative_scenarios/hub_transfer_negative_payee_invalid_fulfillment.json +370 -0
  151. package/examples/collections/hub/hub_05_transfer_negative_scenarios/hub_transfer_negative_transfer_timeout.json +262 -0
  152. package/examples/collections/hub/hub_06_transaction_requests_service/hub_trs_authorizations.json +117 -0
  153. package/examples/collections/hub/hub_06_transaction_requests_service/hub_trs_error_framework.json +591 -0
  154. package/examples/collections/hub/hub_06_transaction_requests_service/hub_trs_received_state.json +379 -0
  155. package/examples/collections/hub/hub_06_transaction_requests_service/hub_trs_reject_state.json +361 -0
  156. package/examples/collections/hub/hub_07_quoting_service.json +525 -0
  157. package/examples/collections/hub/hub_08_participant_inactive_stop_transfers.json +706 -0
  158. package/examples/collections/hub/hub_09_duplicate_handling_transfers.json +1377 -0
  159. package/examples/collections/hub/hub_10_on_us_transfers.json +245 -0
  160. package/examples/collections/hub/hub_11_accented_and_spl_chars.json +629 -0
  161. package/examples/collections/hub/hub_12_fspiop_version_1.1.json +646 -0
  162. package/examples/collections/hub/hub_13_bulk_transfers.json +1857 -0
  163. package/examples/collections/iso20022/self_referencing_iso20022.json +926 -0
  164. package/examples/collections/provisioning/testingtoolkitdfsp.json +904 -0
  165. package/examples/environments/dfsp_local_environment.json +46 -0
  166. package/examples/environments/hub_local_environment.json +57 -0
  167. package/jest.config.js +17 -0
  168. package/package.json +199 -0
  169. package/sbom-v18.12.4.csv +1553 -0
  170. package/secrets/keygen.sh +5 -0
  171. package/secrets/privatekey.pem +27 -0
  172. package/secrets/publickey.cer +21 -0
  173. package/secrets/tls/01.pem +132 -0
  174. package/secrets/tls/createSecrets.sh +20 -0
  175. package/secrets/tls/hub_client.csr +32 -0
  176. package/secrets/tls/hub_client_cacert.pem +35 -0
  177. package/secrets/tls/hub_client_cakey.pem +52 -0
  178. package/secrets/tls/hub_client_key.key +52 -0
  179. package/secrets/tls/hub_server.csr +31 -0
  180. package/secrets/tls/hub_server_cacert.pem +35 -0
  181. package/secrets/tls/hub_server_cakey.pem +52 -0
  182. package/secrets/tls/hub_server_cert.pem +132 -0
  183. package/secrets/tls/hub_server_key.key +52 -0
  184. package/secrets/tls/index.txt +1 -0
  185. package/secrets/tls/index.txt.attr +1 -0
  186. package/secrets/tls/openssl-client.cnf +36 -0
  187. package/secrets/tls/openssl-clientca.cnf +71 -0
  188. package/secrets/tls/openssl-server.cnf +39 -0
  189. package/secrets/tls/openssl-serverca.cnf +71 -0
  190. package/secrets/tls/serial.txt +1 -0
  191. package/spec_files/api_definitions/als_admin_1.1/api_spec.yaml +804 -0
  192. package/spec_files/api_definitions/central_admin_1.0/api_spec.yaml +1850 -0
  193. package/spec_files/api_definitions/central_admin_1.0/response_map.json +96 -0
  194. package/spec_files/api_definitions/central_admin_old_9.3/api_spec.yaml +2467 -0
  195. package/spec_files/api_definitions/central_admin_old_9.3/response_map.json +96 -0
  196. package/spec_files/api_definitions/fspiop_1.0/api_spec.yaml +4187 -0
  197. package/spec_files/api_definitions/fspiop_1.0/callback_map.json +568 -0
  198. package/spec_files/api_definitions/fspiop_1.0/mockRef.json +79 -0
  199. package/spec_files/api_definitions/fspiop_1.0/trigger_templates/transaction_request_followup.json +126 -0
  200. package/spec_files/api_definitions/fspiop_1.0/trigger_templates/transaction_request_followup_quotes_only.json +97 -0
  201. package/spec_files/api_definitions/fspiop_1.1/api_spec.yaml +3778 -0
  202. package/spec_files/api_definitions/fspiop_1.1/callback_map.json +568 -0
  203. package/spec_files/api_definitions/fspiop_1.1/mockRef.json +79 -0
  204. package/spec_files/api_definitions/fspiop_1.1/trigger_templates/transaction_request_followup.json +125 -0
  205. package/spec_files/api_definitions/fspiop_2.0/api_spec.yaml +4839 -0
  206. package/spec_files/api_definitions/fspiop_2.0/callback_map.json +716 -0
  207. package/spec_files/api_definitions/fspiop_2.0/mockRef.json +79 -0
  208. package/spec_files/api_definitions/fspiop_2.0/trigger_templates/transaction_request_followup.json +125 -0
  209. package/spec_files/api_definitions/fspiop_2.0_iso20022/api_spec.yaml +8331 -0
  210. package/spec_files/api_definitions/fspiop_2.0_iso20022/callback_map.json +508 -0
  211. package/spec_files/api_definitions/fspiop_2.0_iso20022/mockRef.json +66 -0
  212. package/spec_files/api_definitions/fx-api_2.0/api_spec.yaml +1768 -0
  213. package/spec_files/api_definitions/fx-api_2.0/callback_map.json +188 -0
  214. package/spec_files/api_definitions/fx-api_2.0/mockRef.json +83 -0
  215. package/spec_files/api_definitions/mojaloop_sdk_outbound_scheme_adapter_1.0/api_spec.yaml +2612 -0
  216. package/spec_files/api_definitions/mojaloop_sdk_outbound_scheme_adapter_1.0/mockRef.json +22 -0
  217. package/spec_files/api_definitions/mojaloop_sdk_outbound_scheme_adapter_1.0/response_map.json +35 -0
  218. package/spec_files/api_definitions/mojaloop_simulator_0.1/api_spec.yaml +225 -0
  219. package/spec_files/api_definitions/mojaloop_simulator_sim_1.4/api_spec.yaml +1087 -0
  220. package/spec_files/api_definitions/mojaloop_simulator_sim_1.4/mockRef.json +75 -0
  221. package/spec_files/api_definitions/mojaloop_simulator_sim_1.4/response_map.json +55 -0
  222. package/spec_files/api_definitions/payment_manager_1.4/api_spec.yaml +1389 -0
  223. package/spec_files/api_definitions/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets_2.1/api_spec.yaml +2834 -0
  224. package/spec_files/api_definitions/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets_2.1/api_spec.yaml +3449 -0
  225. package/spec_files/api_definitions/settlements_1.0/api_spec.yaml +983 -0
  226. package/spec_files/api_definitions/settlements_1.0/mockRef.json +38 -0
  227. package/spec_files/api_definitions/settlements_1.0/response_map.json +34 -0
  228. package/spec_files/api_definitions/settlements_2.0/api_spec.yaml +1001 -0
  229. package/spec_files/api_definitions/settlements_2.0/mockRef.json +38 -0
  230. package/spec_files/api_definitions/settlements_2.0/response_map.json +34 -0
  231. package/spec_files/api_definitions/thirdparty_sdk_outbound_0.1/api_spec.yaml +2139 -0
  232. package/spec_files/reports/templates/newman/html_template.html +1202 -0
  233. package/spec_files/reports/templates/newman/pdf_template.html +790 -0
  234. package/spec_files/reports/templates/testcase_definition/table_view.html +1602 -0
  235. package/spec_files/rules_callback/config.json +3 -0
  236. package/spec_files/rules_callback/default.json +2698 -0
  237. package/spec_files/rules_callback/p2p-limit.json +129 -0
  238. package/spec_files/rules_forward/config.json +3 -0
  239. package/spec_files/rules_forward/default.json +482 -0
  240. package/spec_files/rules_response/config.json +3 -0
  241. package/spec_files/rules_response/default.json +295 -0
  242. package/spec_files/rules_validation/config.json +3 -0
  243. package/spec_files/rules_validation/default.json +1 -0
  244. package/spec_files/rules_validation/p2p-limit.json +55 -0
  245. package/spec_files/system_config.json +175 -0
  246. package/spec_files/user_config.json +109 -0
  247. package/src/index.js +67 -0
  248. package/src/lib/MyEventEmitter.js +54 -0
  249. package/src/lib/api-management.js +143 -0
  250. package/src/lib/api-routes/config.js +83 -0
  251. package/src/lib/api-routes/history.js +139 -0
  252. package/src/lib/api-routes/keycloak.js +54 -0
  253. package/src/lib/api-routes/longpolling.js +70 -0
  254. package/src/lib/api-routes/oauth2.js +149 -0
  255. package/src/lib/api-routes/objectstore.js +53 -0
  256. package/src/lib/api-routes/openapi.js +224 -0
  257. package/src/lib/api-routes/outbound.js +134 -0
  258. package/src/lib/api-routes/reports.js +72 -0
  259. package/src/lib/api-routes/rules.js +356 -0
  260. package/src/lib/api-routes/samples.js +92 -0
  261. package/src/lib/api-routes/server-logs.js +44 -0
  262. package/src/lib/api-routes/settings.js +71 -0
  263. package/src/lib/api-server.js +135 -0
  264. package/src/lib/arrayStore.js +101 -0
  265. package/src/lib/callbackHandler.js +201 -0
  266. package/src/lib/config.js +177 -0
  267. package/src/lib/configuration-providers/mb-connection-manager.js +625 -0
  268. package/src/lib/db/adapters/dbAdapter.js +184 -0
  269. package/src/lib/db/dfspMockUsers.js +64 -0
  270. package/src/lib/db/models/mongoDBWrapper.js +78 -0
  271. package/src/lib/eventListenerClient/inboundEventListener.js +176 -0
  272. package/src/lib/fileAdapter.js +57 -0
  273. package/src/lib/httpAgentStore.js +135 -0
  274. package/src/lib/importExport.js +186 -0
  275. package/src/lib/jws/JwsSigning.js +141 -0
  276. package/src/lib/loadSamples.js +128 -0
  277. package/src/lib/logger.js +20 -0
  278. package/src/lib/longpollingEmitter.js +56 -0
  279. package/src/lib/metrics.js +51 -0
  280. package/src/lib/mocking/custom-functions/generic.js +57 -0
  281. package/src/lib/mocking/middleware-functions/ilpModel.js +238 -0
  282. package/src/lib/mocking/middleware-functions/quotesAssociation.js +75 -0
  283. package/src/lib/mocking/middleware-functions/transactionRequestsService.js +78 -0
  284. package/src/lib/mocking/openApiDefinitionsModel.js +64 -0
  285. package/src/lib/mocking/openApiMockHandler.js +466 -0
  286. package/src/lib/mocking/openApiRulesEngine.js +492 -0
  287. package/src/lib/mocking/openApiVersionTools.js +136 -0
  288. package/src/lib/mocking/transformers/fspiopToISO20022.js +230 -0
  289. package/src/lib/mocking/transformers/index.js +41 -0
  290. package/src/lib/notificationEmitter.js +64 -0
  291. package/src/lib/oauth/KeycloakHelper.js +220 -0
  292. package/src/lib/oauth/LoginService.js +133 -0
  293. package/src/lib/oauth/OAuthHelper.js +181 -0
  294. package/src/lib/oauth/OAuthValidator.js +118 -0
  295. package/src/lib/oauth/Wso2Client.js +64 -0
  296. package/src/lib/objectStore/inMemoryImpl.js +50 -0
  297. package/src/lib/objectStore/objectStoreInterface.js +51 -0
  298. package/src/lib/objectStore.js +122 -0
  299. package/src/lib/report-generator/generator.js +126 -0
  300. package/src/lib/report-generator/helpers.js +154 -0
  301. package/src/lib/requestLogger.js +190 -0
  302. package/src/lib/resources/wso2carbon-publickey.cert +20 -0
  303. package/src/lib/rulesEngine.js +95 -0
  304. package/src/lib/rulesEngineModel.js +463 -0
  305. package/src/lib/scripting-engines/postman-sandbox.js +142 -0
  306. package/src/lib/scripting-engines/vm-javascript-sandbox.js +294 -0
  307. package/src/lib/server-logs/adapters/elastic-search.js +102 -0
  308. package/src/lib/server-logs/adapters/grafana.js +0 -0
  309. package/src/lib/server-logs/index.js +75 -0
  310. package/src/lib/socket-server.js +55 -0
  311. package/src/lib/storageAdapter.js +109 -0
  312. package/src/lib/test-outbound/TestCaseRunner.js +173 -0
  313. package/src/lib/test-outbound/getTracing.js +19 -0
  314. package/src/lib/test-outbound/outbound-initiator.js +1107 -0
  315. package/src/lib/uniqueIdGenerator.js +35 -0
  316. package/src/lib/utils.js +89 -0
  317. package/src/lib/utilsInternal.js +56 -0
  318. package/src/lib/webSocketClient/WebSocketClientManager.js +197 -0
  319. package/src/server.js +218 -0
package/.dockerignore ADDED
@@ -0,0 +1,10 @@
1
+ coverage/
2
+ node_modules/
3
+ .dockerignore
4
+ .eslintignore
5
+ .git/
6
+ .gitignore
7
+ Dockerfile
8
+ LICENSE
9
+ README.md
10
+ .circleci/
package/.grype.yaml ADDED
@@ -0,0 +1,16 @@
1
+ ignore:
2
+ # Ignore cross-spawn vulnerabilities by CVE ID due to false positive
3
+ # as grype looks at package-lock.json where it shows versions with
4
+ # vulnerabilities, npm ls shows only 7.0.6 verion is used
5
+
6
+
7
+ # Set output format defaults
8
+ output:
9
+ - "table"
10
+ - "json"
11
+
12
+ # Modify your CircleCI job to check critical count
13
+ search:
14
+ scope: "squashed"
15
+ quiet: false
16
+ check-for-app-update: false
package/.ncurc.yaml ADDED
@@ -0,0 +1,9 @@
1
+ ## Add a TODO comment indicating the reason for each rejected dependency upgrade added to this list, and what should be done to resolve it (i.e. handle it through a story, etc).
2
+ reject: [
3
+ "chai", # version 5 uses only ESM
4
+ "postman-collection",
5
+ "postman-sandbox",
6
+ "jest",
7
+ "@types/jest"
8
+ ]
9
+
package/.nvmrc ADDED
@@ -0,0 +1 @@
1
+ 22.15.1
package/.versionrc.js ADDED
@@ -0,0 +1,16 @@
1
+ module.exports = {
2
+ header: '# Changelog: [mojaloop/thirdparty-api-svc](https://github.com/mojaloop/thirdparty-api-svc)',
3
+ types: [
4
+ {"type": "feat", "section": "Features"},
5
+ {"type": "fix", "section": "Bug Fixes"},
6
+ {"type": "docs", "section": "Documentation"},
7
+ {"type": "style", "section": "Styling"},
8
+ {"type": "refactor", "section": "Refactors"},
9
+ {"type": "perf", "section": "Performance"},
10
+ {"type": "test", "section": "Tests"},
11
+ {"type": "build", "section": "Build System"},
12
+ {"type": "ci", "section": "CI"},
13
+ {"type": "chore", "section": "Chore"},
14
+ {"type": "revert", "section": "Reverts"}
15
+ ]
16
+ }
package/CHANGELOG.md ADDED
@@ -0,0 +1,504 @@
1
+ # Changelog: [mojaloop/thirdparty-api-svc](https://github.com/mojaloop/thirdparty-api-svc)
2
+ ## [18.13.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.12.4...v18.13.0) (2025-07-30)
3
+
4
+
5
+ ### Features
6
+
7
+ * bump up the node version to v22.15.1 ([#321](https://github.com/mojaloop/ml-testing-toolkit/issues/321)) ([0b9a0ba](https://github.com/mojaloop/ml-testing-toolkit/commit/0b9a0bac706799c610668faa5c1759f96eca25f0))
8
+
9
+
10
+ ### Chore
11
+
12
+ * add initial sbom ([#331](https://github.com/mojaloop/ml-testing-toolkit/issues/331)) ([2ce2a51](https://github.com/mojaloop/ml-testing-toolkit/commit/2ce2a510705554c7a018bbcbd9b84837010eb16b))
13
+ * fix vuls and update deps ([#329](https://github.com/mojaloop/ml-testing-toolkit/issues/329)) ([bc1cd2a](https://github.com/mojaloop/ml-testing-toolkit/commit/bc1cd2aa16e7807832d591c0611a388020f659e9))
14
+
15
+ ### [18.12.4](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.12.3...v18.12.4) (2025-05-01)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * implement retry logic in outbound initiator ([#319](https://github.com/mojaloop/ml-testing-toolkit/issues/319)) ([36c8b2f](https://github.com/mojaloop/ml-testing-toolkit/commit/36c8b2f1eca313f7e1eecdd0f1b6d497830b1123))
21
+
22
+ ### [18.12.3](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.12.2...v18.12.3) (2025-04-22)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * include a time period for the trace URL ([#318](https://github.com/mojaloop/ml-testing-toolkit/issues/318)) ([e34b73f](https://github.com/mojaloop/ml-testing-toolkit/commit/e34b73fffaf74ccfe3dc052625cd2d0800add67b))
28
+
29
+ ### [18.12.2](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.12.1...v18.12.2) (2025-04-17)
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * fix report show failed only ([#315](https://github.com/mojaloop/ml-testing-toolkit/issues/315)) ([c1f6307](https://github.com/mojaloop/ml-testing-toolkit/commit/c1f6307239d4c89ad64452a02da5cd71e7717de7))
35
+
36
+ ### [18.12.1](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.12.0...v18.12.1) (2025-04-17)
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * mongo index ([#314](https://github.com/mojaloop/ml-testing-toolkit/issues/314)) ([cad00b4](https://github.com/mojaloop/ml-testing-toolkit/commit/cad00b4798c830ae7c105a1a698b16844394c31f))
42
+
43
+ ## [18.12.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.11.5...v18.12.0) (2025-04-10)
44
+
45
+
46
+ ### Features
47
+
48
+ * enhance user config loading functions, tracing and mocking ([#313](https://github.com/mojaloop/ml-testing-toolkit/issues/313)) ([39b8f70](https://github.com/mojaloop/ml-testing-toolkit/commit/39b8f70157f44a29b96de82bfaef0d405da7bcf9))
49
+
50
+ ### [18.11.5](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.11.4...v18.11.5) (2025-04-09)
51
+
52
+
53
+ ### Chore
54
+
55
+ * alter failed only function ([#312](https://github.com/mojaloop/ml-testing-toolkit/issues/312)) ([040c403](https://github.com/mojaloop/ml-testing-toolkit/commit/040c4032556b6fa143064bb0bc308a491ded9e87))
56
+
57
+ ### [18.11.4](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.11.3...v18.11.4) (2025-04-09)
58
+
59
+
60
+ ### Chore
61
+
62
+ * update report template with failed test filter ([#311](https://github.com/mojaloop/ml-testing-toolkit/issues/311)) ([27bdc6e](https://github.com/mojaloop/ml-testing-toolkit/commit/27bdc6ece555cca2ccc297fdf7d5b8db21afb3bd))
63
+
64
+ ### [18.11.3](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.11.2...v18.11.3) (2025-04-02)
65
+
66
+
67
+ ### Bug Fixes
68
+
69
+ * transformed payload incase of http failure ([#309](https://github.com/mojaloop/ml-testing-toolkit/issues/309)) ([ce01a7f](https://github.com/mojaloop/ml-testing-toolkit/commit/ce01a7f42900047791c925ff295dbb43f015e577))
70
+
71
+ ### [18.11.2](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.11.1...v18.11.2) (2025-03-27)
72
+
73
+
74
+ ### Chore
75
+
76
+ * **csi-1321:** update deps ([#307](https://github.com/mojaloop/ml-testing-toolkit/issues/307)) ([5ee715e](https://github.com/mojaloop/ml-testing-toolkit/commit/5ee715e6217939591e875bc2293cf1e7bb4f424f))
77
+
78
+ ### [18.11.1](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.11.0...v18.11.1) (2025-03-26)
79
+
80
+
81
+ ### Bug Fixes
82
+
83
+ * generate numeric parent-id ([#308](https://github.com/mojaloop/ml-testing-toolkit/issues/308)) ([8c140fc](https://github.com/mojaloop/ml-testing-toolkit/commit/8c140fcc3c419864de02db3ddd9b277c8e2023f0))
84
+
85
+ ## [18.11.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.10.1...v18.11.0) (2025-03-24)
86
+
87
+
88
+ ### Features
89
+
90
+ * refactor ([#305](https://github.com/mojaloop/ml-testing-toolkit/issues/305)) ([cefa40c](https://github.com/mojaloop/ml-testing-toolkit/commit/cefa40c05023df40f0d4baa22645f52b9e20f6d2))
91
+
92
+ ### [18.10.1](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.10.0...v18.10.1) (2025-03-24)
93
+
94
+
95
+ ### Bug Fixes
96
+
97
+ * datetime property ([#306](https://github.com/mojaloop/ml-testing-toolkit/issues/306)) ([e63939c](https://github.com/mojaloop/ml-testing-toolkit/commit/e63939c68016377886f84b4bf6b78ffbd8967fe1))
98
+
99
+ ## [18.10.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.9.2...v18.10.0) (2025-03-21)
100
+
101
+
102
+ ### Features
103
+
104
+ * various improvements ([#304](https://github.com/mojaloop/ml-testing-toolkit/issues/304)) ([4154ffa](https://github.com/mojaloop/ml-testing-toolkit/commit/4154ffa26f8a1a99b1c8cb3a8d8671be72dbed60))
105
+
106
+ ### [18.9.2](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.9.1...v18.9.2) (2025-03-14)
107
+
108
+
109
+ ### Bug Fixes
110
+
111
+ * update trace-id link to open in Grafana and increase trace ID length ([#303](https://github.com/mojaloop/ml-testing-toolkit/issues/303)) ([ad7dac5](https://github.com/mojaloop/ml-testing-toolkit/commit/ad7dac51ac6abf8ae11e982bbb0076ff236bbcf2))
112
+
113
+ ### [18.9.1](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.9.0...v18.9.1) (2025-03-14)
114
+
115
+
116
+ ### Chore
117
+
118
+ * add kleyow to code owners ([cb31789](https://github.com/mojaloop/ml-testing-toolkit/commit/cb31789acdf2e77ef3cadd04b9b30babda1cf853))
119
+
120
+ ## [18.9.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.8.0...v18.9.0) (2025-03-14)
121
+
122
+
123
+ ### Features
124
+
125
+ * added durations and timestamps ([#302](https://github.com/mojaloop/ml-testing-toolkit/issues/302)) ([aee9e14](https://github.com/mojaloop/ml-testing-toolkit/commit/aee9e14fbf234995abd8bbe633f47b962fc4460a))
126
+
127
+ ## [18.8.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.7.6...v18.8.0) (2025-03-13)
128
+
129
+
130
+ ### Features
131
+
132
+ * improve reports ([#301](https://github.com/mojaloop/ml-testing-toolkit/issues/301)) ([4e9280e](https://github.com/mojaloop/ml-testing-toolkit/commit/4e9280e2b1efb1c4cd4ea5dea51d51d48db2521c))
133
+
134
+ ### [18.7.6](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.7.5...v18.7.6) (2025-03-12)
135
+
136
+
137
+ ### Chore
138
+
139
+ * error message ([#300](https://github.com/mojaloop/ml-testing-toolkit/issues/300)) ([c8dd7e0](https://github.com/mojaloop/ml-testing-toolkit/commit/c8dd7e0c68ebac35ce47b5ea367246f20b405372))
140
+
141
+ ### [18.7.5](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.7.4...v18.7.5) (2025-02-25)
142
+
143
+
144
+ ### Chore
145
+
146
+ * maintenance updates ([#299](https://github.com/mojaloop/ml-testing-toolkit/issues/299)) ([eeff34a](https://github.com/mojaloop/ml-testing-toolkit/commit/eeff34aad774c809fca451cafa5add63271e7b3d))
147
+
148
+ ### [18.7.4](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.7.3...v18.7.4) (2025-02-03)
149
+
150
+
151
+ ### Bug Fixes
152
+
153
+ * generate correct traceparent ([#294](https://github.com/mojaloop/ml-testing-toolkit/issues/294)) ([9aae1ee](https://github.com/mojaloop/ml-testing-toolkit/commit/9aae1eebd7cd27d820314add9b6617a733b4f1ff))
154
+
155
+ ### [18.7.3](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.7.2...v18.7.3) (2025-01-31)
156
+
157
+
158
+ ### Chore
159
+
160
+ * run testCases with empty executionOrder in parallel mode ([#293](https://github.com/mojaloop/ml-testing-toolkit/issues/293)) ([5e49e0e](https://github.com/mojaloop/ml-testing-toolkit/commit/5e49e0ead364469426a077d4f4a33d10fdbf2a76))
161
+
162
+ ### [18.7.2](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.7.1...v18.7.2) (2025-01-29)
163
+
164
+
165
+ ### Bug Fixes
166
+
167
+ * rollback content type header changes because it's breaking some tests ( [#4034](https://github.com/mojaloop/ml-testing-toolkit/issues/4034)) ([#292](https://github.com/mojaloop/ml-testing-toolkit/issues/292)) ([6a3de7f](https://github.com/mojaloop/ml-testing-toolkit/commit/6a3de7fb5042ad6d91bcc5f945b9f2f327b4d527))
168
+
169
+ ### [18.7.1](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.7.0...v18.7.1) (2025-01-28)
170
+
171
+
172
+ ### Chore
173
+
174
+ * update dependencies and remove request-promise-native ([#291](https://github.com/mojaloop/ml-testing-toolkit/issues/291)) ([2ff3452](https://github.com/mojaloop/ml-testing-toolkit/commit/2ff3452b602529e080180a3a9caa45c12dc56cd0))
175
+
176
+ ## [18.7.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.6.2...v18.7.0) (2025-01-28)
177
+
178
+
179
+ ### Features
180
+
181
+ * **csi-706:** added testCases executionOrder support to be able to run in parallel ([#290](https://github.com/mojaloop/ml-testing-toolkit/issues/290)) ([f7b30d6](https://github.com/mojaloop/ml-testing-toolkit/commit/f7b30d69fa79a749dbe435488f16f9163dc6559d))
182
+
183
+ ### [18.6.2](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.6.1...v18.6.2) (2025-01-22)
184
+
185
+
186
+ ### Bug Fixes
187
+
188
+ * content type default header ([#4034](https://github.com/mojaloop/ml-testing-toolkit/issues/4034)) ([#289](https://github.com/mojaloop/ml-testing-toolkit/issues/289)) ([c29ea4d](https://github.com/mojaloop/ml-testing-toolkit/commit/c29ea4d67628411358374e6bacd63cf147420762))
189
+
190
+ ### [18.6.1](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.6.0...v18.6.1) (2025-01-20)
191
+
192
+
193
+ ### Bug Fixes
194
+
195
+ * **csi-973:** ttk report fixes ([#287](https://github.com/mojaloop/ml-testing-toolkit/issues/287)) ([f17413c](https://github.com/mojaloop/ml-testing-toolkit/commit/f17413c6cd912753a2adaa7de4a8c854d7c4c8a2))
196
+
197
+ ## [18.6.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.5.1...v18.6.0) (2025-01-20)
198
+
199
+
200
+ ### Features
201
+
202
+ * **csi-1019:** add db connection string support ([#288](https://github.com/mojaloop/ml-testing-toolkit/issues/288)) ([0918232](https://github.com/mojaloop/ml-testing-toolkit/commit/09182327361d6d439cb9a821cd0411f0e2affe4b))
203
+
204
+
205
+ ### Chore
206
+
207
+ * **moja-tools-bot:** update license file ([#266](https://github.com/mojaloop/ml-testing-toolkit/issues/266)) ([c30f389](https://github.com/mojaloop/ml-testing-toolkit/commit/c30f389dd613ea457920701d6b227aac40212925))
208
+
209
+ ### [18.5.1](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.5.0...v18.5.1) (2024-11-18)
210
+
211
+
212
+ ### Bug Fixes
213
+
214
+ * metrics tags ([#280](https://github.com/mojaloop/ml-testing-toolkit/issues/280)) ([931b636](https://github.com/mojaloop/ml-testing-toolkit/commit/931b6364de841102974e1d2278a4e75f1772cdca))
215
+
216
+ ## [18.5.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.4.3...v18.5.0) (2024-11-14)
217
+
218
+
219
+ ### Features
220
+
221
+ * add metrics middleware and integrate with outbound send ([#279](https://github.com/mojaloop/ml-testing-toolkit/issues/279)) ([af581cd](https://github.com/mojaloop/ml-testing-toolkit/commit/af581cdab7e1c77d318abef09583b3d7afa47933))
222
+
223
+ ### [18.4.3](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.4.2...v18.4.3) (2024-11-06)
224
+
225
+
226
+ ### Bug Fixes
227
+
228
+ * ilp regresssion ([#278](https://github.com/mojaloop/ml-testing-toolkit/issues/278)) ([5048060](https://github.com/mojaloop/ml-testing-toolkit/commit/5048060084bb0b2198a8bc6c4026d73dac330894))
229
+
230
+ ### [18.4.2](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.4.1...v18.4.2) (2024-11-05)
231
+
232
+
233
+ ### Bug Fixes
234
+
235
+ * patch transfer transformation ([#277](https://github.com/mojaloop/ml-testing-toolkit/issues/277)) ([246de38](https://github.com/mojaloop/ml-testing-toolkit/commit/246de383767fa19aa8765551f04d5b7e0d0993cd))
236
+
237
+ ### [18.4.1](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.4.0...v18.4.1) (2024-11-05)
238
+
239
+
240
+ ### Bug Fixes
241
+
242
+ * fulfilment ([#276](https://github.com/mojaloop/ml-testing-toolkit/issues/276)) ([b880975](https://github.com/mojaloop/ml-testing-toolkit/commit/b88097552f44bc60a19d9586e39fdd9e04f241b9))
243
+
244
+ ## [18.4.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.3.0...v18.4.0) (2024-11-05)
245
+
246
+
247
+ ### Features
248
+
249
+ * script http out transformation ([#275](https://github.com/mojaloop/ml-testing-toolkit/issues/275)) ([0de9ab3](https://github.com/mojaloop/ml-testing-toolkit/commit/0de9ab357f99c6e8736030d23451cbfb0d218865))
250
+
251
+ ## [18.3.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.2.5...v18.3.0) (2024-11-04)
252
+
253
+
254
+ ### Features
255
+
256
+ * transformation inbound event ([#273](https://github.com/mojaloop/ml-testing-toolkit/issues/273)) ([692bcc3](https://github.com/mojaloop/ml-testing-toolkit/commit/692bcc30f5cef771b84aa2b5a63f584b272e23f0))
257
+
258
+ ### [18.2.5](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.2.4...v18.2.5) (2024-11-01)
259
+
260
+
261
+ ### Bug Fixes
262
+
263
+ * api spec ([f336f41](https://github.com/mojaloop/ml-testing-toolkit/commit/f336f41588e1cba24e8de3ec39df51abf25d6edf))
264
+
265
+ ### [18.2.4](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.2.3...v18.2.4) (2024-10-31)
266
+
267
+
268
+ ### Chore
269
+
270
+ * update api ([#272](https://github.com/mojaloop/ml-testing-toolkit/issues/272)) ([8d34579](https://github.com/mojaloop/ml-testing-toolkit/commit/8d34579b211ea8652719ccd6a83322179ceb13b5))
271
+
272
+ ### [18.2.3](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.2.2...v18.2.3) (2024-10-31)
273
+
274
+
275
+ ### Bug Fixes
276
+
277
+ * transform iso put quotes ([#271](https://github.com/mojaloop/ml-testing-toolkit/issues/271)) ([cb9a299](https://github.com/mojaloop/ml-testing-toolkit/commit/cb9a2997df17fd2c14494ae31b3e264f578ee564))
278
+
279
+ ### [18.2.2](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.2.1...v18.2.2) (2024-10-30)
280
+
281
+
282
+ ### Chore
283
+
284
+ * add transform for ttk put requests ([#270](https://github.com/mojaloop/ml-testing-toolkit/issues/270)) ([a3cf90e](https://github.com/mojaloop/ml-testing-toolkit/commit/a3cf90ece22361452a03073dc266d87ebf01b325))
285
+
286
+ ### [18.2.1](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.2.0...v18.2.1) (2024-10-29)
287
+
288
+
289
+ ### Chore
290
+
291
+ * dep update ([#268](https://github.com/mojaloop/ml-testing-toolkit/issues/268)) ([9f5c98e](https://github.com/mojaloop/ml-testing-toolkit/commit/9f5c98e4513175b041b0545bd50c522f83347c42))
292
+
293
+ ## [18.2.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.1.0...v18.2.0) (2024-10-25)
294
+
295
+
296
+ ### Bug Fixes
297
+
298
+ * transformation issues ([#265](https://github.com/mojaloop/ml-testing-toolkit/issues/265)) ([8469fba](https://github.com/mojaloop/ml-testing-toolkit/commit/8469fba7af91ff30cdb5e0474af43036395a8080))
299
+
300
+ ## [18.1.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v18.0.0...v18.1.0) (2024-10-24)
301
+
302
+
303
+ ### Features
304
+
305
+ * **csi-785:** used unified ilp version ([#267](https://github.com/mojaloop/ml-testing-toolkit/issues/267)) ([2270291](https://github.com/mojaloop/ml-testing-toolkit/commit/22702917dfa7bf598b640049515294606f29168e))
306
+
307
+ ## [18.0.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v17.3.1...v18.0.0) (2024-10-15)
308
+
309
+
310
+ ### Features
311
+
312
+ * test case payload transformation iso20022 ([#263](https://github.com/mojaloop/ml-testing-toolkit/issues/263)) ([01ed888](https://github.com/mojaloop/ml-testing-toolkit/commit/01ed888c38a4ccebb3e6180b8d9217df8a55c87c))
313
+
314
+ ### [17.3.1](https://github.com/mojaloop/ml-testing-toolkit/compare/v17.3.0...v17.3.1) (2024-09-30)
315
+
316
+
317
+ ### Bug Fixes
318
+
319
+ * uuid/ulid regex ([#264](https://github.com/mojaloop/ml-testing-toolkit/issues/264)) ([6b143dd](https://github.com/mojaloop/ml-testing-toolkit/commit/6b143dd178bccaa5e211a5bb537e3deb4a42c3af))
320
+
321
+ ## [17.3.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v17.2.3...v17.3.0) (2024-09-26)
322
+
323
+
324
+ ### Features
325
+
326
+ * add ULID support ([#259](https://github.com/mojaloop/ml-testing-toolkit/issues/259)) ([dc7ae28](https://github.com/mojaloop/ml-testing-toolkit/commit/dc7ae280b76250d9014072696e656fa20114d497))
327
+
328
+ ### [17.2.3](https://github.com/mojaloop/ml-testing-toolkit/compare/v17.2.2...v17.2.3) (2024-07-05)
329
+
330
+
331
+ ### Bug Fixes
332
+
333
+ * update node modules ([#256](https://github.com/mojaloop/ml-testing-toolkit/issues/256)) ([18e3bf9](https://github.com/mojaloop/ml-testing-toolkit/commit/18e3bf987cec5a1df158f27d354208c36c8ed722))
334
+
335
+ ### [17.2.2](https://github.com/mojaloop/ml-testing-toolkit/compare/v17.2.1...v17.2.2) (2024-06-18)
336
+
337
+
338
+ ### Bug Fixes
339
+
340
+ * fixed broken document links ([#255](https://github.com/mojaloop/ml-testing-toolkit/issues/255)) ([12cc0b7](https://github.com/mojaloop/ml-testing-toolkit/commit/12cc0b77166d4b9e94461633e435b1115c5983ec))
341
+
342
+ ### [17.2.1](https://github.com/mojaloop/ml-testing-toolkit/compare/v17.2.0...v17.2.1) (2024-06-11)
343
+
344
+
345
+ ### Bug Fixes
346
+
347
+ * env vars in delay ([#253](https://github.com/mojaloop/ml-testing-toolkit/issues/253)) ([c994b4e](https://github.com/mojaloop/ml-testing-toolkit/commit/c994b4e7f4d2ccdecff42f565cbde805eae276b5))
348
+
349
+ ## [17.2.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v17.1.1...v17.2.0) (2024-04-01)
350
+
351
+
352
+ ### Features
353
+
354
+ * implement sync test case execution ([#252](https://github.com/mojaloop/ml-testing-toolkit/issues/252)) ([52310c9](https://github.com/mojaloop/ml-testing-toolkit/commit/52310c9866e48a4056534620cb6a4c8727ff6f2a))
355
+
356
+ ### [17.1.1](https://github.com/mojaloop/ml-testing-toolkit/compare/v17.1.0...v17.1.1) (2024-02-29)
357
+
358
+
359
+ ### Chore
360
+
361
+ * **mojaloop/#3759:** fix participant subid callback maps in fspiop ([#251](https://github.com/mojaloop/ml-testing-toolkit/issues/251)) ([e1e6b6c](https://github.com/mojaloop/ml-testing-toolkit/commit/e1e6b6ca31ba665fcbefe7dfc7e27ee41e69cf26))
362
+
363
+ ## [17.1.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v17.0.0...v17.1.0) (2024-02-28)
364
+
365
+
366
+ ### Features
367
+
368
+ * **3953:** added FSPIOP FX APIs v.2, SDK backend/outbound v2.1 to TTK; removed outdated fx-api_2.0 ([#248](https://github.com/mojaloop/ml-testing-toolkit/issues/248)) ([6edbade](https://github.com/mojaloop/ml-testing-toolkit/commit/6edbade2215f291d13c7249a5d69fba26e7e7662))
369
+
370
+ ## [17.0.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v16.1.2...v17.0.0) (2023-10-03)
371
+
372
+
373
+ ### CI
374
+
375
+ * **mojaloop/#3458:** fix license scan ([#247](https://github.com/mojaloop/ml-testing-toolkit/issues/247)) ([651cca6](https://github.com/mojaloop/ml-testing-toolkit/commit/651cca6ac5043dc589d390f1eacd26f7cba7b417))
376
+
377
+ ### [16.1.2](https://github.com/mojaloop/ml-testing-toolkit/compare/v16.1.1...v16.1.2) (2023-10-02)
378
+
379
+
380
+ ### Chore
381
+
382
+ * **mojaloop/#3458:** nodejs upgrade ([#244](https://github.com/mojaloop/ml-testing-toolkit/issues/244)) ([6f45c21](https://github.com/mojaloop/ml-testing-toolkit/commit/6f45c21819804389de82a58ece103c701f1e8d7c)), closes [mojaloop/#3458](https://github.com/mojaloop/project/issues/3458)
383
+
384
+ ### [16.1.1](https://github.com/mojaloop/ml-testing-toolkit/compare/v16.1.0...v16.1.1) (2023-03-31)
385
+
386
+
387
+ ### Bug Fixes
388
+
389
+ * **mojaloop/#3176:** add short for skipping cb before validation ([#242](https://github.com/mojaloop/ml-testing-toolkit/issues/242)) ([8c8dd99](https://github.com/mojaloop/ml-testing-toolkit/commit/8c8dd9944bac86cbb9c08532a359320ce97f7eba)), closes [mojaloop/#3176](https://github.com/mojaloop/project/issues/3176)
390
+
391
+ ## [16.1.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v16.0.1...v16.1.0) (2023-03-30)
392
+
393
+
394
+ ### Features
395
+
396
+ * **mojaloop/#3176:** add no response callback option ([#240](https://github.com/mojaloop/ml-testing-toolkit/issues/240)) ([a709608](https://github.com/mojaloop/ml-testing-toolkit/commit/a70960878fcd00ec6efb5574d9e20e4cf58f4b2f)), closes [mojaloop/#3176](https://github.com/mojaloop/project/issues/3176)
397
+
398
+ ### [16.0.1](https://github.com/mojaloop/ml-testing-toolkit/compare/v16.0.0...v16.0.1) (2023-03-29)
399
+
400
+
401
+ ### Bug Fixes
402
+
403
+ * **mojaloop/3256:** mongodb password spl chars ([#239](https://github.com/mojaloop/ml-testing-toolkit/issues/239)) ([c4a56ad](https://github.com/mojaloop/ml-testing-toolkit/commit/c4a56adedb067f7298eb2061bb0d46e0766c2b8b))
404
+
405
+ ## [16.0.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v15.7.0...v16.0.0) (2023-03-01)
406
+
407
+
408
+ ### ⚠ BREAKING CHANGES
409
+
410
+ * **mojaloop/#3130:** alter db config and allow password env setting (#237)
411
+
412
+ ### Features
413
+
414
+ * **mojaloop/#3130:** alter db config and allow password env setting ([#237](https://github.com/mojaloop/ml-testing-toolkit/issues/237)) ([578c714](https://github.com/mojaloop/ml-testing-toolkit/commit/578c7146b837ef4566a75401775c16d1e8a55221)), closes [mojaloop/#3130](https://github.com/mojaloop/project/issues/3130)
415
+
416
+ ## [15.7.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v15.6.3...v15.7.0) (2023-02-03)
417
+
418
+
419
+ ### Features
420
+
421
+ * **mojaloop/#3075:** add config option to configure socket io ([#232](https://github.com/mojaloop/ml-testing-toolkit/issues/232)) ([8252111](https://github.com/mojaloop/ml-testing-toolkit/commit/8252111ae483d189be34e21859937f37466f0124)), closes [mojaloop/#3075](https://github.com/mojaloop/project/issues/3075)
422
+
423
+ ### [15.6.3](https://github.com/mojaloop/ml-testing-toolkit/compare/v15.6.2...v15.6.3) (2023-01-10)
424
+
425
+
426
+ ### Bug Fixes
427
+
428
+ * fix config async changes ([#229](https://github.com/mojaloop/ml-testing-toolkit/issues/229)) ([25d1336](https://github.com/mojaloop/ml-testing-toolkit/commit/25d1336bb0ccb2b60851533569a8b874b3d62c20))
429
+
430
+ ### [15.6.2](https://github.com/mojaloop/ml-testing-toolkit/compare/v15.6.1...v15.6.2) (2023-01-06)
431
+
432
+
433
+ ### Bug Fixes
434
+
435
+ * fix config fetching for monitoring payload condition ([#228](https://github.com/mojaloop/ml-testing-toolkit/issues/228)) ([f18b081](https://github.com/mojaloop/ml-testing-toolkit/commit/f18b08194ed5fe49d58cec8cd76f618482a20eb9))
436
+
437
+ ### [15.6.1](https://github.com/mojaloop/ml-testing-toolkit/compare/v15.6.0...v15.6.1) (2023-01-05)
438
+
439
+
440
+ ### Bug Fixes
441
+
442
+ * **mojaloop/3076:** refactor break on error ([#227](https://github.com/mojaloop/ml-testing-toolkit/issues/227)) ([5d8ef19](https://github.com/mojaloop/ml-testing-toolkit/commit/5d8ef19b5782507f7af691154d4b7587ee60a082))
443
+
444
+ ## [15.6.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v15.5.0...v15.6.0) (2022-12-16)
445
+
446
+
447
+ ### Features
448
+
449
+ * **mojaloop/3060:** add list reports endpoint ([#226](https://github.com/mojaloop/ml-testing-toolkit/issues/226)) ([9495f98](https://github.com/mojaloop/ml-testing-toolkit/commit/9495f989d333b9334b9bf325324d048209e245e8))
450
+
451
+ ## [15.5.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v15.4.0...v15.5.0) (2022-12-15)
452
+
453
+
454
+ ### Features
455
+
456
+ * **mojaloop/3058:** added report save option ([#224](https://github.com/mojaloop/ml-testing-toolkit/issues/224)) ([f4d5033](https://github.com/mojaloop/ml-testing-toolkit/commit/f4d5033d2b850bd17db51edda0755789139be0ff))
457
+
458
+ ## [15.4.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v15.3.0...v15.4.0) (2022-12-14)
459
+
460
+
461
+ ### Features
462
+
463
+ * **mojaloop/#3033:** add rule import and export ([#225](https://github.com/mojaloop/ml-testing-toolkit/issues/225)) ([4cb58be](https://github.com/mojaloop/ml-testing-toolkit/commit/4cb58bea628a74e3741ea89d3fa906eef352a45d)), closes [mojaloop/#3033](https://github.com/mojaloop/project/issues/3033)
464
+
465
+ ## [15.3.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v15.2.1...v15.3.0) (2022-12-07)
466
+
467
+
468
+ ### Features
469
+
470
+ * **mojaloop/2890:** redesigned ttk definition report ([#223](https://github.com/mojaloop/ml-testing-toolkit/issues/223)) ([eb87fa6](https://github.com/mojaloop/ml-testing-toolkit/commit/eb87fa60476410d063c1ee3b38605514d43e78ce))
471
+
472
+ ### [15.2.1](https://github.com/mojaloop/ml-testing-toolkit/compare/v15.2.0...v15.2.1) (2022-11-07)
473
+
474
+
475
+ ### Bug Fixes
476
+
477
+ * parameterized the inbound request size ([#221](https://github.com/mojaloop/ml-testing-toolkit/issues/221)) ([ad8226a](https://github.com/mojaloop/ml-testing-toolkit/commit/ad8226ae048de0ea5e1b51e80fed82fc6d7c91c5))
478
+
479
+ ## [15.2.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v15.1.0...v15.2.0) (2022-10-31)
480
+
481
+
482
+ ### Features
483
+
484
+ * **mojaloop/2997:** dynamic ttk rules and request mutation ([#219](https://github.com/mojaloop/ml-testing-toolkit/issues/219)) ([1374c24](https://github.com/mojaloop/ml-testing-toolkit/commit/1374c24d2b6f6d08b247f349922f42dffc07e999))
485
+
486
+ ## [15.1.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v15.0.0...v15.1.0) (2022-08-24)
487
+
488
+
489
+ ### Features
490
+
491
+ * **mojaloop/2814:** added moja sim inbound api ([#218](https://github.com/mojaloop/ml-testing-toolkit/issues/218)) ([0b877af](https://github.com/mojaloop/ml-testing-toolkit/commit/0b877af8f1d0cb27d17e29c62eb1c7b7219d23ac))
492
+
493
+ ## [15.0.0](https://github.com/mojaloop/ml-testing-toolkit/compare/v14.2.0...v15.0.0) (2022-07-28)
494
+
495
+
496
+ ### ⚠ BREAKING CHANGES
497
+
498
+ * **mojaloop/#2092:** Major version bump for node v16 LTS support, re-structuring of project directories to align to core Mojaloop repositories and docker image now uses `/opt/app` instead of `/opt/mojaloop-testing-toolkit` which will impact config mounts, and changed the port number from 5000 to 4040 which will impact the values in TTK environment files used in test executions and helm values files used in K8S deployments.
499
+
500
+ Major version bump since this is a big upgrade.
501
+
502
+ ### Features
503
+
504
+ * **mojaloop/#2092:** upgraded node version and refactored postman functional tests ([#215](https://github.com/mojaloop/ml-testing-toolkit/issues/215)) ([4ac6f40](https://github.com/mojaloop/ml-testing-toolkit/commit/4ac6f407a1ca274efb930ea99846c96790ca2d8a)), closes [mojaloop/#2092](https://github.com/mojaloop/project/issues/2092)
package/CODEOWNERS ADDED
@@ -0,0 +1,30 @@
1
+ # Each line is a file pattern followed by one or more owners.
2
+ ## These owners will be the default owners for everything in
3
+ ## the repo. Unless a later match takes precedence,
4
+ ## @global-owner1 and @global-owner2 will be requested for
5
+ ## review when someone opens a pull request.
6
+ #* @global-owner1 @global-owner2
7
+ * @vijayg10 @elnyry-sam-k @bushjames @shashi165 @gibaros @kleyow
8
+ ## Order is important; the last matching pattern takes the most
9
+ ## precedence. When someone opens a pull request that only
10
+ ## modifies JS files, only @js-owner and not the global
11
+ ## owner(s) will be requested for a review.
12
+ # *.js @js-owner
13
+ ## You can also use email addresses if you prefer. They'll be
14
+ ## used to look up users just like we do for commit author
15
+ ## emails.
16
+ #*.go docs@example.com
17
+ # In this example, @doctocat owns any files in the build/logs
18
+ # directory at the root of the repository and any of its
19
+ # subdirectories.
20
+ # /build/logs/ @doctocat
21
+ ## The `docs/*` pattern will match files like
22
+ ## `docs/getting-started.md` but not further nested files like
23
+ ## `docs/build-app/troubleshooting.md`.
24
+ # docs/* docs@example.com
25
+ ## In this example, @octocat owns any file in an apps directory
26
+ ## anywhere in your repository.
27
+ #apps/ @octocat
28
+ ## In this example, @doctocat owns any file in the `/docs`
29
+ ## directory in the root of your repository.
30
+ #/docs/ @doctocat
package/Dockerfile ADDED
@@ -0,0 +1,42 @@
1
+ # Arguments
2
+ ARG NODE_VERSION=lts-alpine
3
+
4
+ # NOTE: Ensure you set NODE_VERSION Build Argument as follows...
5
+ #
6
+ # export NODE_VERSION="$(cat .nvmrc)-alpine" \
7
+ # docker build \
8
+ # --build-arg NODE_VERSION=$NODE_VERSION \
9
+ # -t mojaloop/sdk-scheme-adapter:local \
10
+ # . \
11
+ #
12
+
13
+ # Build Image
14
+ FROM node:${NODE_VERSION} AS builder
15
+
16
+ WORKDIR /opt/app
17
+
18
+ RUN apk add --no-cache -t build-dependencies make gcc g++ python3 libtool openssl-dev autoconf automake \
19
+ && cd $(npm root -g)/npm
20
+
21
+ COPY package.json package-lock.json* /opt/app/
22
+ RUN npm ci
23
+
24
+ COPY src /opt/app/src
25
+ COPY spec_files /opt/app/spec_files
26
+ COPY examples /opt/app/examples
27
+ RUN mkdir /opt/app/uploads
28
+
29
+ FROM node:${NODE_VERSION}
30
+ WORKDIR /opt/app
31
+
32
+ # Create a non-root user: ml-user
33
+ RUN adduser -D ml-user
34
+ USER ml-user
35
+
36
+ COPY --chown=ml-user --from=builder /opt/app .
37
+ RUN npm prune --production
38
+
39
+ EXPOSE 4040
40
+ EXPOSE 5050
41
+
42
+ CMD ["npm", "run", "start"]
@@ -0,0 +1,13 @@
1
+ FROM node:10.15.3-alpine
2
+
3
+ RUN apk add --no-cache -t dos2unix
4
+
5
+ WORKDIR /opt/postman
6
+
7
+ COPY ./postman /opt/postman/
8
+
9
+ RUN dos2unix /opt/postman/run_newman.sh
10
+
11
+ RUN npm install -g newman
12
+
13
+ CMD ["sh", "run_newman.sh"]
package/LICENSE.md ADDED
@@ -0,0 +1,9 @@
1
+ # LICENSE
2
+
3
+ Copyright © 2020-2025 Mojaloop Foundation
4
+
5
+ The Mojaloop files are made available by the Mojaloop Foundation under the Apache License, Version 2.0 (the "License") and you may not use these files except in compliance with the License.
6
+
7
+ You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, the Mojaloop files are distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.