@burgan-tech/morph-idm-runtime 0.0.6 → 0.0.7

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 (324) hide show
  1. package/burgan-tech-morph-idm-runtime-0.0.7.tgz +0 -0
  2. package/morph-idm/Workflows/test-consent-selection/test-flow-with-sub.json +1 -1
  3. package/morph-idm/Workflows/test-consent-selection/test-flow-with-two-sub.json +2 -2
  4. package/morph-idm/Workflows/token-process/token/src/mappings/StateMintTokenCallSessionStartMapping.csx +8 -33
  5. package/morph-idm/Workflows/token-process/token/token.json +1 -1
  6. package/package.json +1 -1
  7. package/vnext.config.json +1 -1
  8. package/burgan-tech-morph-idm-runtime-0.0.6.tgz +0 -0
  9. package/morph-idm/Extensions/.gitkeep +0 -0
  10. package/morph-idm/Functions/.gitkeep +0 -0
  11. package/morph-idm/Functions/cert/check/execute/check.http +0 -106
  12. package/morph-idm/Functions/consent/check-consent-role/execute/check-consent-role.http +0 -89
  13. package/morph-idm/Functions/consent/get-consent-role-position/execute/get-consent-role-position.http +0 -55
  14. package/morph-idm/Functions/consent/get-position/execute/get-position.http +0 -38
  15. package/morph-idm/Functions/consent/get-roles/execute/get-roles.http +0 -163
  16. package/morph-idm/Functions/customer/execute/get-customer-by-filter.http +0 -126
  17. package/morph-idm/Functions/customer-management/get-firms-by-filter/execute/get-firms-by-filter.http +0 -91
  18. package/morph-idm/Functions/device-process/forget/execute/forget.http +0 -141
  19. package/morph-idm/Functions/device-process/get-device-list/execute/get-device-list.http +0 -138
  20. package/morph-idm/Functions/device-process/get-device-token-by-reference/execute/get-device-token-by-reference.http +0 -349
  21. package/morph-idm/Functions/device-process/remove/execute/remove.http +0 -150
  22. package/morph-idm/Functions/device-process/save/execute/save.http +0 -124
  23. package/morph-idm/Functions/feature-management/dynamic-config/.gitkeep +0 -0
  24. package/morph-idm/Functions/feature-management/dynamic-config/execute/dynamic-config-reads.http +0 -43
  25. package/morph-idm/Functions/feature-management/feature-flag/.gitkeep +0 -0
  26. package/morph-idm/Functions/feature-management/feature-management-ops/.gitkeep +0 -0
  27. package/morph-idm/Functions/organization/get-organizations/execute/get-organizations.http +0 -30
  28. package/morph-idm/Functions/organization/get-position-levels-by-scope/execute/get-position-levels-by-scope.http +0 -54
  29. package/morph-idm/Functions/session/logout/execute/logout.http +0 -91
  30. package/morph-idm/Functions/sso-flow/execute/session-transfer.http +0 -132
  31. package/morph-idm/Functions/sso-flow/token-direct/execute/token-direct-boarding.http +0 -222
  32. package/morph-idm/Functions/sso-flow/token-direct/execute/token-direct.http +0 -121
  33. package/morph-idm/Functions/transaction-limit/verify-limit-definition/execute/verify-limit-definition.http +0 -78
  34. package/morph-idm/Functions/user/execute/get-password-history-by-filter.http +0 -66
  35. package/morph-idm/Functions/user/execute/get-security-question-history-by-user.http +0 -85
  36. package/morph-idm/Functions/user/get-users-by-scope/execute/get-users-by-scope.http +0 -73
  37. package/morph-idm/Functions/user-login/get-last-successful-corporate-logon/execute/get-last-successful-corporate-logon.http +0 -49
  38. package/morph-idm/Functions/user-login/get-last-user-logins/execute/get-last-user-logins.http +0 -96
  39. package/morph-idm/Functions/user-login/get-user-logins/execute/get-user-logins.http +0 -78
  40. package/morph-idm/Functions/zeebe-approval/get-starter-instance-id/execute/get-starter-instance-id.http +0 -64
  41. package/morph-idm/Schemas/feature-management/database-variables/.gitkeep +0 -0
  42. package/morph-idm/Schemas/feature-management/dynamic-config/.gitkeep +0 -0
  43. package/morph-idm/Schemas/feature-management/feature-flag/.gitkeep +0 -0
  44. package/morph-idm/Tasks/.gitkeep +0 -0
  45. package/morph-idm/Tasks/feature-management/database-variables/.gitkeep +0 -0
  46. package/morph-idm/Tasks/feature-management/dynamic-config/.gitkeep +0 -0
  47. package/morph-idm/Tasks/feature-management/feature-flag/.gitkeep +0 -0
  48. package/morph-idm/Tasks/feature-management/feature-management-shared/.gitkeep +0 -0
  49. package/morph-idm/TestCases/corporate-user-login-e2e.http +0 -872
  50. package/morph-idm/TestCases/limit-approval/approval-matrix-limit-definition.http +0 -182
  51. package/morph-idm/TestCases/limit-approval/approval-non-amount-subflow.http +0 -132
  52. package/morph-idm/TestCases/limit-approval/transaction-limit-definition-approval.http +0 -95
  53. package/morph-idm/TestCases/limit-definition/README.md +0 -130
  54. package/morph-idm/TestCases/limit-definition/approve-transaction.http +0 -149
  55. package/morph-idm/TestCases/limit-definition/approve.http +0 -143
  56. package/morph-idm/TestCases/limit-definition/daily-limit-definition.http +0 -399
  57. package/morph-idm/TestCases/limit-definition/transaction-limit-definition.http +0 -240
  58. package/morph-idm/TestCases/session-transfer-e2e.http +0 -344
  59. package/morph-idm/TestCases/session-transfer-e2e.sh +0 -272
  60. package/morph-idm/TestCases/sort-migration-verification.http +0 -428
  61. package/morph-idm/TestCases/test-123/.httpyac.json +0 -15
  62. package/morph-idm/TestCases/test-123/01-person.http +0 -78
  63. package/morph-idm/TestCases/test-123/02-user.http +0 -73
  64. package/morph-idm/TestCases/test-123/03-scope.http +0 -65
  65. package/morph-idm/TestCases/test-123/04-consent.http +0 -66
  66. package/morph-idm/TestCases/test-123/05-device.http +0 -86
  67. package/morph-idm/TestCases/test-123/06-user-login.http +0 -206
  68. package/morph-idm/TestCases/test-123/README.md +0 -112
  69. package/morph-idm/TestCases/test-123/cleanup.js +0 -49
  70. package/morph-idm/TestCases/test-123/cleanup.sh +0 -20
  71. package/morph-idm/TestCases/test-123/cleanup.sql +0 -45
  72. package/morph-idm/TestCases/test-123/http-client.env.json +0 -13
  73. package/morph-idm/TestCases/test-123/run-setup.sh +0 -42
  74. package/morph-idm/TestCases/test-12345/.httpyac.json +0 -16
  75. package/morph-idm/TestCases/test-12345/01-person.http +0 -79
  76. package/morph-idm/TestCases/test-12345/02-01-device-android.http +0 -258
  77. package/morph-idm/TestCases/test-12345/02-user.http +0 -97
  78. package/morph-idm/TestCases/test-12345/03-scope-2.http +0 -65
  79. package/morph-idm/TestCases/test-12345/03-scope.http +0 -65
  80. package/morph-idm/TestCases/test-12345/04-consent-1.http +0 -86
  81. package/morph-idm/TestCases/test-12345/04-consent-2.http +0 -66
  82. package/morph-idm/TestCases/test-12345/05-device.http +0 -261
  83. package/morph-idm/TestCases/test-12345/06-user-login copy.http +0 -266
  84. package/morph-idm/TestCases/test-12345/06-user-login.http +0 -266
  85. package/morph-idm/TestCases/test-12345/07-corporate-login.http +0 -282
  86. package/morph-idm/TestCases/test-auto-consent/.httpyac.json +0 -14
  87. package/morph-idm/TestCases/test-auto-consent/01-person.http +0 -66
  88. package/morph-idm/TestCases/test-auto-consent/02-user.http +0 -115
  89. package/morph-idm/TestCases/test-auto-consent/03-scope.http +0 -66
  90. package/morph-idm/TestCases/test-auto-consent/04-device.http +0 -56
  91. package/morph-idm/TestCases/test-auto-consent/05-user-login.http +0 -133
  92. package/morph-idm/TestCases/test-auto-consent/README.md +0 -36
  93. package/morph-idm/TestCases/test-auto-consent/cleanup.js +0 -47
  94. package/morph-idm/TestCases/test-auto-consent/run-setup.sh +0 -50
  95. package/morph-idm/TestCases/test-flows/test-flow-with-two-sub.http +0 -107
  96. package/morph-idm/TestCases/test-get-user-info/.httpyac.json +0 -9
  97. package/morph-idm/TestCases/test-get-user-info/get-user-info-ibweb-manual.http +0 -127
  98. package/morph-idm/TestCases/test-get-user-info/get-user-info.http +0 -282
  99. package/morph-idm/TestCases/test-login/.httpyac.json +0 -17
  100. package/morph-idm/TestCases/test-login/01-person.http +0 -79
  101. package/morph-idm/TestCases/test-login/02-01-device-android.http +0 -261
  102. package/morph-idm/TestCases/test-login/02-user.http +0 -97
  103. package/morph-idm/TestCases/test-login/03-scope.http +0 -65
  104. package/morph-idm/TestCases/test-login/04-consent-1.http +0 -86
  105. package/morph-idm/TestCases/test-login/05-device.http +0 -261
  106. package/morph-idm/TestCases/test-login/06-user-login copy.http +0 -266
  107. package/morph-idm/TestCases/test-login/06-user-login.http +0 -266
  108. package/morph-idm/TestCases/test-login/07-corporate-login.http +0 -282
  109. package/morph-idm/TestCases/test-login/README.md +0 -37
  110. package/morph-idm/TestCases/test-login/cleanup.js +0 -46
  111. package/morph-idm/TestCases/test-login/cleanup.sh +0 -20
  112. package/morph-idm/TestCases/test-login/run-setup.sh +0 -53
  113. package/morph-idm/TestCases/test-onefa-corporate/device-key.pem +0 -27
  114. package/morph-idm/TestCases/test-onefa-corporate/onefa-corporate-cert-management.http +0 -156
  115. package/morph-idm/TestCases/test-onefa-corporate/onefa-corporate-login-cert-token.http +0 -371
  116. package/morph-idm/TestCases/test-onefa-retail/onefa-retail-login-cert-token.http +0 -499
  117. package/morph-idm/TestCases/test-third-factor/.httpyac.json +0 -36
  118. package/morph-idm/TestCases/test-third-factor/lib/httpyac.sh +0 -35
  119. package/morph-idm/TestCases/test-third-factor/scenarios/0-clean-test-instance.js +0 -42
  120. package/morph-idm/TestCases/test-third-factor/scenarios/0-clean-test-instance.sh +0 -20
  121. package/morph-idm/TestCases/test-third-factor/scenarios/1-self-completed.sh +0 -25
  122. package/morph-idm/TestCases/test-third-factor/scenarios/2-native-without-device.sh +0 -34
  123. package/morph-idm/TestCases/test-third-factor/scenarios/3-native-wrong-otp.sh +0 -34
  124. package/morph-idm/TestCases/test-third-factor/scenarios/4-native-success-otp-after-wrong-otp.sh +0 -46
  125. package/morph-idm/TestCases/test-third-factor/scenarios/5-retry-count-exceed.sh +0 -37
  126. package/morph-idm/TestCases/test-third-factor/scenarios/http/06-third-factor-native-with-device.http +0 -56
  127. package/morph-idm/TestCases/test-third-factor/scenarios/http/07-third-factor-native-without-device.http +0 -91
  128. package/morph-idm/TestCases/test-third-factor/scenarios/http/08-third-factor-web-with-device.http +0 -117
  129. package/morph-idm/TestCases/test-third-factor/scenarios/http/09-third-factor-web-without-device.http +0 -164
  130. package/morph-idm/TestCases/test-third-factor/scenarios/run-third-factor-native-without-device-success-otp-after-resend.sh +0 -50
  131. package/morph-idm/TestCases/test-third-factor/scenarios/run-third-factor-native-without-device-success-otp-resend-after-timeout-otp.sh +0 -50
  132. package/morph-idm/TestCases/test-third-factor/scenarios/run-third-factor-native-without-device-timeout-otp.sh +0 -48
  133. package/morph-idm/TestCases/test-third-factor/setup/01-person.http +0 -157
  134. package/morph-idm/TestCases/test-third-factor/setup/02-user.http +0 -105
  135. package/morph-idm/TestCases/test-third-factor/setup/03-device.http +0 -70
  136. package/morph-idm/TestCases/test-third-factor/setup/04-native-client.http +0 -126
  137. package/morph-idm/TestCases/test-third-factor/setup/05-web-client.http +0 -126
  138. package/morph-idm/TestCases/test-third-factor/setup/cleanup.js +0 -51
  139. package/morph-idm/TestCases/test-third-factor/setup/cleanup.sh +0 -20
  140. package/morph-idm/TestCases/test-third-factor/setup/run-setup.sh +0 -34
  141. package/morph-idm/TestCases/token-mint-parity/RESULT.md +0 -48
  142. package/morph-idm/TestCases/token-sync-race.sh +0 -72
  143. package/morph-idm/TestCases/user-login-apisix.postman_collection.json +0 -1114
  144. package/morph-idm/TestCases/user-login-boweb-e2e.http +0 -123
  145. package/morph-idm/TestCases/user-login-e2e.http +0 -730
  146. package/morph-idm/TestCases/user-login-e2e.sh +0 -122
  147. package/morph-idm/Views/.gitkeep +0 -0
  148. package/morph-idm/Workflows/.gitkeep +0 -0
  149. package/morph-idm/Workflows/anti-phishing-image/anti-phishing-image-change/execute/anti-phishing-image.http +0 -370
  150. package/morph-idm/Workflows/anti-phishing-image/anti-phishing-image-definition/execute/anti-phishing-image-definition.http +0 -200
  151. package/morph-idm/Workflows/anti-phishing-image/anti-phishing-image-definition/execute/get-security-images.http +0 -51
  152. package/morph-idm/Workflows/approval/execute/approval-corporate-customers-non-amount.http +0 -159
  153. package/morph-idm/Workflows/approval/execute/approval-corporate-customers-time-deposit.http +0 -147
  154. package/morph-idm/Workflows/approval/execute/approval-human-task-mobile.http +0 -149
  155. package/morph-idm/Workflows/approval/execute/approval-limit-management.http +0 -277
  156. package/morph-idm/Workflows/approval/execute/approval-new-reject.http +0 -67
  157. package/morph-idm/Workflows/approval/execute/approval-new.http +0 -999
  158. package/morph-idm/Workflows/approval/execute/approval-super-authority.http +0 -158
  159. package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-corporate-customers-non-amount.http +0 -70
  160. package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-corporate-customers-time-deposit.http +0 -74
  161. package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-migrate-position-levels.http +0 -295
  162. package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-new-run.http +0 -296
  163. package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-upsert-super-authorization.http +0 -129
  164. package/morph-idm/Workflows/cert/execute/cert-cn-length.http +0 -90
  165. package/morph-idm/Workflows/cert/execute/cert.http +0 -162
  166. package/morph-idm/Workflows/cert-management/execute/cert-management.http +0 -90
  167. package/morph-idm/Workflows/channel-contract/execute/channel-contract-approval.http +0 -246
  168. package/morph-idm/Workflows/client/execute/client-AmorphieClient.http +0 -118
  169. package/morph-idm/Workflows/client/execute/client-IbWeb-session-transfer.http +0 -35
  170. package/morph-idm/Workflows/client/execute/client-OpenBanking.http +0 -411
  171. package/morph-idm/Workflows/client/execute/client-Trade.http +0 -112
  172. package/morph-idm/Workflows/client/execute/client-source-app.http +0 -88
  173. package/morph-idm/Workflows/client/execute/client-update.http +0 -795
  174. package/morph-idm/Workflows/client/execute/client.http +0 -766
  175. package/morph-idm/Workflows/client/execute/vnext-target.http +0 -416
  176. package/morph-idm/Workflows/client-credentials/execute/client-credentials.http +0 -117
  177. package/morph-idm/Workflows/consent/execute/README.md +0 -145
  178. package/morph-idm/Workflows/consent/execute/consent-manual-activation.http +0 -135
  179. package/morph-idm/Workflows/consent/execute/create-consent.http +0 -801
  180. package/morph-idm/Workflows/consent-management/consent-management.http +0 -267
  181. package/morph-idm/Workflows/consent-selection/execute/consent-selection.http +0 -200
  182. package/morph-idm/Workflows/deblock-sim-card/execute/MOBIL-ENTEGRASYON-GOREVLERI.md +0 -339
  183. package/morph-idm/Workflows/deblock-sim-card/execute/TEST-SENARYOLARI.md +0 -202
  184. package/morph-idm/Workflows/deblock-sim-card/execute/approve-contract-documents.sh +0 -63
  185. package/morph-idm/Workflows/deblock-sim-card/execute/contract-debug.sh +0 -101
  186. package/morph-idm/Workflows/deblock-sim-card/execute/deblock-sim-card-workflow.http +0 -290
  187. package/morph-idm/Workflows/device-process/device/execute/device-android.http +0 -262
  188. package/morph-idm/Workflows/device-process/device/execute/device-huawei.http +0 -219
  189. package/morph-idm/Workflows/device-process/device/execute/device-ios.http +0 -319
  190. package/morph-idm/Workflows/device-process/device/execute/device-migration.http +0 -105
  191. package/morph-idm/Workflows/device-process/device/execute/device-web.http +0 -284
  192. package/morph-idm/Workflows/device-process/device/execute/device.http +0 -269
  193. package/morph-idm/Workflows/device-process/device/execute/search.http +0 -39
  194. package/morph-idm/Workflows/device-process/device-assign/execute/device-assign.http +0 -478
  195. package/morph-idm/Workflows/device-process/device-manager/execute/device-manager.http +0 -214
  196. package/morph-idm/Workflows/device-process/device-register/execute/device-register.http +0 -566
  197. package/morph-idm/Workflows/device-process/device-unpair/execute/device-unpair.http +0 -207
  198. package/morph-idm/Workflows/feature-management/database-variables/.gitkeep +0 -0
  199. package/morph-idm/Workflows/feature-management/database-variables/execute/database-variables-lifecycle.http +0 -225
  200. package/morph-idm/Workflows/feature-management/dcs-eval/execute/dcs-eval.http +0 -28
  201. package/morph-idm/Workflows/feature-management/dynamic-config/.gitkeep +0 -0
  202. package/morph-idm/Workflows/feature-management/dynamic-config/execute/dynamic-config-evaluate.http +0 -186
  203. package/morph-idm/Workflows/feature-management/dynamic-config/execute/dynamic-config-lifecycle.http +0 -263
  204. package/morph-idm/Workflows/feature-management/feature-flag/.gitkeep +0 -0
  205. package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-evaluate.http +0 -245
  206. package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-lifecycle.http +0 -246
  207. package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-ops.http +0 -116
  208. package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-reads.http +0 -47
  209. package/morph-idm/Workflows/fraud/execute/fraud-push.http +0 -1016
  210. package/morph-idm/Workflows/get-roles/execute/get-roles.http +0 -367
  211. package/morph-idm/Workflows/introspection/execute/introspection.http +0 -69
  212. package/morph-idm/Workflows/ivr/execute/ivr-check-password.http +0 -55
  213. package/morph-idm/Workflows/ivr/execute/ivr-check-user.http +0 -56
  214. package/morph-idm/Workflows/ivr/execute/ivr-create-agent-consent.http +0 -59
  215. package/morph-idm/Workflows/ivr/execute/ivr-get-agent-company.http +0 -30
  216. package/morph-idm/Workflows/ivr/execute/ivr-revoke-agent-consent.http +0 -30
  217. package/morph-idm/Workflows/ivr/execute/ivr-set-password.http +0 -87
  218. package/morph-idm/Workflows/notification/push-notification/execute/push-notification.http +0 -261
  219. package/morph-idm/Workflows/organization/execute/create-organization-yedek.http +0 -415
  220. package/morph-idm/Workflows/organization/execute/create-organization.http +0 -346
  221. package/morph-idm/Workflows/organization/execute/retail-organization.http +0 -161
  222. package/morph-idm/Workflows/otp-auth-code/execute/otp-auth-code.http +0 -743
  223. package/morph-idm/Workflows/person/execute/person-123.http +0 -149
  224. package/morph-idm/Workflows/person/execute/person-migration.http +0 -143
  225. package/morph-idm/Workflows/person/execute/person.http +0 -149
  226. package/morph-idm/Workflows/person/firm-cdc-dispatch/execute/person-firm-cdc-dispatch.http +0 -266
  227. package/morph-idm/Workflows/remember-password/execute/remember-password.http +0 -203
  228. package/morph-idm/Workflows/role/execute/role.http +0 -142
  229. package/morph-idm/Workflows/scope/execute/scope-24-7-access.http +0 -131
  230. package/morph-idm/Workflows/scope/execute/scope-business-hours.http +0 -138
  231. package/morph-idm/Workflows/scope/execute/scope-corporate.http +0 -165
  232. package/morph-idm/Workflows/scope/execute/scope-individual-1234567890-1234567890.http +0 -132
  233. package/morph-idm/Workflows/scope/execute/scope-lifecycle-test.http +0 -133
  234. package/morph-idm/Workflows/scope/execute/scope-multi-systems.http +0 -159
  235. package/morph-idm/Workflows/scope/execute/scope-openbanking-account.http +0 -134
  236. package/morph-idm/Workflows/scope/execute/scope-openbanking-login.http +0 -135
  237. package/morph-idm/Workflows/scope/execute/scope-openbanking-payment.http +0 -134
  238. package/morph-idm/Workflows/scope/execute/scope-restricted.http +0 -143
  239. package/morph-idm/Workflows/scope-group/execute/create-scope-group.http +0 -224
  240. package/morph-idm/Workflows/security-check/execute/security-check-test.http +0 -88
  241. package/morph-idm/Workflows/security-check-test/execute/security-check-test.http +0 -51
  242. package/morph-idm/Workflows/security-question/security-question-change/execute/security-question-change.http +0 -324
  243. package/morph-idm/Workflows/security-question/security-question-definition/execute/security-question-definition.http +0 -372
  244. package/morph-idm/Workflows/security-question/security-question-reset/execute/security-question-reset.http +0 -97
  245. package/morph-idm/Workflows/shield-decrypt/execute/shield-decrypt.http +0 -77
  246. package/morph-idm/Workflows/shield-encrypt/execute/shield-encrypt.http +0 -80
  247. package/morph-idm/Workflows/shield-sign/execute/shield-sign.http +0 -79
  248. package/morph-idm/Workflows/shield-verify-request-signature/execute/generate-request-signature.js +0 -54
  249. package/morph-idm/Workflows/shield-verify-request-signature/execute/shield-verify-request-signature.http +0 -135
  250. package/morph-idm/Workflows/shield-verify-signature/execute/shield-verify-signature.http +0 -108
  251. package/morph-idm/Workflows/sim-block/sim-block-backoffice/execute/sim-block-backoffice.http +0 -183
  252. package/morph-idm/Workflows/simple-subflow/execute/simple-subflow.http +0 -50
  253. package/morph-idm/Workflows/sso/authorize/execute/authorize.http +0 -160
  254. package/morph-idm/Workflows/sso/authorize-route/execute/authorize-route.http +0 -169
  255. package/morph-idm/Workflows/sso/pre-login/execute/pre-login.http +0 -273
  256. package/morph-idm/Workflows/sso/token-direct/execute/token-direct.http +0 -272
  257. package/morph-idm/Workflows/sso/token-route/execute/token-route.http +0 -207
  258. package/morph-idm/Workflows/sso-flow/execute/sso-flow-auth-code.http +0 -89
  259. package/morph-idm/Workflows/sso-flow/execute/sso-flow-login.http +0 -163
  260. package/morph-idm/Workflows/sso-flow/execute/sso-flow-test-base.http +0 -178
  261. package/morph-idm/Workflows/test-consent-selection/execute/test-consent-selection.http +0 -68
  262. package/morph-idm/Workflows/test-consent-selection/execute/test-flow-with-sub.http +0 -50
  263. package/morph-idm/Workflows/test-consent-selection/execute/test-flow.http +0 -140
  264. package/morph-idm/Workflows/test-consent-selection/execute/test-sync-subprocess.http +0 -63
  265. package/morph-idm/Workflows/test-consent-selection/execute/test-user-validation.http +0 -126
  266. package/morph-idm/Workflows/third-factor/execute/third-factor.http +0 -183
  267. package/morph-idm/Workflows/third-factor-main/execute/execute/third-factor-main.http +0 -229
  268. package/morph-idm/Workflows/token-process/session/execute/session.http +0 -361
  269. package/morph-idm/Workflows/token-process/session-revoke-others/execute/session-revoke-others.http +0 -94
  270. package/morph-idm/Workflows/token-process/token/execute/README.md +0 -454
  271. package/morph-idm/Workflows/token-process/token/execute/device-key.pem +0 -27
  272. package/morph-idm/Workflows/token-process/token/execute/generate-onefa-assertion.js +0 -47
  273. package/morph-idm/Workflows/token-process/token/execute/onefa-token.http +0 -285
  274. package/morph-idm/Workflows/token-process/token/execute/setup-roles-for-token-claims.http +0 -425
  275. package/morph-idm/Workflows/token-process/token/execute/token-sync-race.http +0 -49
  276. package/morph-idm/Workflows/token-process/token/execute/token.http +0 -676
  277. package/morph-idm/Workflows/token-process/token-password-grant/execute/token-password-grant.http +0 -163
  278. package/morph-idm/Workflows/transaction-limit/cascade-approve-daily/execute/transaction-limit-cascade-approve-daily.http +0 -125
  279. package/morph-idm/Workflows/transaction-limit/cascade-approve-transaction/execute/transaction-limit-cascade-approve-transaction.http +0 -120
  280. package/morph-idm/Workflows/transaction-limit/cascade-daily/execute/transaction-limit-cascade-daily.http +0 -198
  281. package/morph-idm/Workflows/transaction-limit/cascade-transaction/execute/transaction-limit-cascade.http +0 -173
  282. package/morph-idm/Workflows/transaction-limit/definition/execute/transaction-limit-definition.http +0 -867
  283. package/morph-idm/Workflows/transaction-limit/definition-passivate/execute/transaction-limit-definition-passivate.http +0 -224
  284. package/morph-idm/Workflows/transaction-limit/definition-verify/execute/transaction-limit-definition-verify.http +0 -102
  285. package/morph-idm/Workflows/transaction-limit/execute/seed-corporate-customers-limits.sh +0 -178
  286. package/morph-idm/Workflows/transaction-limit/execute/transaction-limit-management.http +0 -984
  287. package/morph-idm/Workflows/transaction-limit/remaining/execute/transaction-limit-remaining.http +0 -103
  288. package/morph-idm/Workflows/transaction-limit/resolve/execute/transaction-limit-resolve.http +0 -96
  289. package/morph-idm/Workflows/transaction-limit/scope-bank-limit/execute/transaction-limit-scope-bank-limit.http +0 -84
  290. package/morph-idm/Workflows/transaction-limit/user-bank-limits/execute/transaction-limit-user-bank-limits.http +0 -87
  291. package/morph-idm/Workflows/transaction-limit/verify/execute/transaction-limit-verify.http +0 -212
  292. package/morph-idm/Workflows/user/create/execute/user-create-corporate.http +0 -51
  293. package/morph-idm/Workflows/user/create/execute/user-create.http +0 -135
  294. package/morph-idm/Workflows/user/get-users-by-scope/execute/get-users-by-scope.http +0 -210
  295. package/morph-idm/Workflows/user-corporate/firm-query/execute/firm-query.http +0 -87
  296. package/morph-idm/Workflows/user-corporate/onboard-dispatch/execute/user-corporate-onboard-dispatch.http +0 -105
  297. package/morph-idm/Workflows/user-corporate/provision/execute/user-corporate-provision.http +0 -631
  298. package/morph-idm/Workflows/user-corporate/provision/user-corporate-provision.flowchart.drawio +0 -88
  299. package/morph-idm/Workflows/user-corporate/remove/execute/user-corporate-remove.http +0 -152
  300. package/morph-idm/Workflows/user-corporate/rollback/execute/user-corporate-rollback.http +0 -97
  301. package/morph-idm/Workflows/user-corporate/update-provision/execute/user-corporate-update-provision.http +0 -449
  302. package/morph-idm/Workflows/user-corporate/user-corporate-create/execute/user-corporate-create.http +0 -173
  303. package/morph-idm/Workflows/user-corporate/user-corporate-update/execute/user-corporate-update.http +0 -117
  304. package/morph-idm/Workflows/user-login/execute/README-LOGIN.md +0 -535
  305. package/morph-idm/Workflows/user-login/execute/user-login-comprehensive-coverage.http +0 -1761
  306. package/morph-idm/Workflows/user-login/execute/user-login-device-assign.http +0 -497
  307. package/morph-idm/Workflows/user-login/execute/user-login.http +0 -910
  308. package/morph-idm/Workflows/user-login-approvement/execute/login-notification-otp.http +0 -86
  309. package/morph-idm/Workflows/user-login-approvement/execute/login-notification-push.http +0 -82
  310. package/morph-idm/Workflows/user-login-approvement/execute/login-notification-registered-device.http +0 -111
  311. package/morph-idm/Workflows/user-login-approvement/execute/user-login-approvement-comprehensive.http +0 -1267
  312. package/morph-idm/Workflows/user-management/execute/user-management.http +0 -284
  313. package/morph-idm/Workflows/user-note/execute/user-note-backoffice.http +0 -290
  314. package/morph-idm/Workflows/user-otp-setting/execute/user-otp-setting-backoffice.http +0 -128
  315. package/morph-idm/Workflows/user-password-process/user-change-password/execute/user-change-password.http +0 -576
  316. package/morph-idm/Workflows/user-password-process/user-password/execute/user-password.http +0 -58
  317. package/morph-idm/Workflows/user-password-process/user-password-force-change/execute/user-password-force-change.http +0 -31
  318. package/morph-idm/Workflows/user-password-process/user-password-reset/execute/user-password-reset.http +0 -213
  319. package/morph-idm/Workflows/user-status/user-status-change/execute/user-status-change.http +0 -124
  320. package/morph-idm/Workflows/user-status/user-status-change-backoffice/execute/user-status-change-backoffice.http +0 -197
  321. package/morph-idm/Workflows/user-validation/execute/user-validation-standalone.http +0 -331
  322. package/morph-idm/Workflows/user-validation/execute/user-validation.http +0 -696
  323. package/morph-idm/Workflows/zeebe-approval/execute/zeebe-approval-corporate-customers-non-amount.http +0 -195
  324. package/morph-idm/Workflows/zeebe-approval/execute/zeebe-approval-new.http +0 -275
@@ -1,127 +0,0 @@
1
- ###############################################################################
2
- # GET-USER-INFO — MANUEL TEST (IbWeb claim'leri ile)
3
- #
4
- # Runtime: http://localhost:4251 (morph-idm domain'i lokalde ayakta olmalı)
5
- #
6
- # TOKEN ARTIK GÖNDERİLMEZ: APISIX token'ı upstream'de doğrular ve claim'leri
7
- # çıplak claim adlı REQUEST HEADER'ları olarak iletir. Bu dosyadaki header
8
- # değerleri, daha önce buradaki gerçek IbWeb (BurganIam mint) token'ının decode
9
- # edilmiş claim'lerinden alınmıştır. Start body boş: {}.
10
- # Simple-profile: MorphIdm:AsgardService:BaseUrl config'ten okunur (api/v1 dahil)
11
- # -> GET {BaseUrl}/customers/25870785888/simple-profile
12
- #
13
- # Gönderilen claim header'ları:
14
- # client_id = IbWeb -> select-strategy: route-mobileib -> mobileib subflow
15
- # (legacy MobileIbStrategy paritesi: küçük şekil + credentials)
16
- # user_reference = 25870785888 -> userKey/TCKN (simple-profile + get-user bununla çağrılır)
17
- # culture = tr-TR
18
- # customer_number = 41856 (mobileib şekli kullanmaz ama gerçek claim setinin parçası)
19
- # userid = bb6a6dfb-... -> userInfo.userId seed'i (token'daki userId/act_uid claim'i)
20
- # acr GÖNDERİLMEZ -> legacy amorphie (BurganIam) token'ı temsil eder:
21
- # fetch-amorphie-user Fact API'den kullanıcıyı çeker
22
- # (MorphIdm:FactUserBaseAddress ayarlı olmalı)
23
- #
24
- # Akış tamamen auto:
25
- # start(claim header'ları) -> read-claims -> fetch-amorphie-user (acr yok)
26
- # -> select-strategy -> mobileib-strategy subflow -> completed (instance data: userInfo)
27
- #
28
- # sync=true START YANITI (workflow output mapping — GetUserInfoOutputHandler.csx, legacy parite):
29
- # Standart envelope DÖNMEZ; legacy GetUserInfoWithHeader yanıtı döner:
30
- # 200 + userInfo objesi (bare body) <- completed
31
- # 204, gövde yok (No Content) <- no-content-end (user_reference/act_sub/sub header'ı
32
- # hiç yok — hata değil; legacy 400'ünden bilinçli sapma)
33
- # 401, boş body <- unauthorized-end (client_id header'ı yok)
34
- # 400 (gövde sebebi söyler) <- user-info-not-found-end:
35
- # "Customer profile not found" -> Asgard'da simple-profile kaydı yok (test verisi?)
36
- # "User info could not be produced" -> shape/mapping hatası (engine loglarına bak)
37
- # Instance id/key her yanıtta X-Instance-Id / X-Instance-Key RESPONSE HEADER'larındadır;
38
- # teşhis için aşağıdaki functions/state + functions/data çağrıları bu header'ı kullanır.
39
- #
40
- # Beklenen SON STATE'e göre teşhis (functions/state ile):
41
- # completed -> BAŞARILI, functions/data içinde "userInfo" var
42
- # no-content-end -> user_reference/act_sub/sub header'ı gönderilmemiş (userReferenceFound=false)
43
- # unauthorized-end -> client_id header'ı gönderilmemiş (claimsError=missing_client_id)
44
- # user-info-not-found-end -> subflow userInfo üretemedi (simple-profile config/mock'una ve
45
- # engine loglarındaki "FetchSimpleProfileMapping: calling..." satırına bak;
46
- # acr'siz yolda Fact user API erişimini de kontrol et)
47
- #
48
- # Çalıştırma: VS Code REST Client / httpyac ile YUKARIDAN AŞAĞIYA.
49
- ###############################################################################
50
-
51
- #@baseUrl = http://localhost:4251
52
- #@apiVersion = v1
53
- @domain = morph-idm
54
- @workflow = get-user-info
55
-
56
- @tckn = 25870785888
57
- @customerNo = 41856
58
- @userId = bb6a6dfb-3fc7-4881-8ed9-49d195f8682e
59
-
60
- ###############################################################################
61
- # 1) START — instance'ı başlat (sync=true: akış auto olduğu için yanıt dönene
62
- # kadar koşar). BODY artık doğrudan legacy userinfo yanıtıdır (200'de userInfo
63
- # objesi; 401/400'de boş/string). Instance id X-Instance-Id HEADER'ından alınır.
64
- ###############################################################################
65
- # @name startIbWeb
66
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
67
- Content-Type: application/json
68
- client_id: IbWeb
69
- user_reference: {{tckn}}
70
- culture: tr-TR
71
- customer_number: {{customerNo}}
72
- userid: {{userId}}
73
-
74
- {
75
- "key": "get-user-info-ibweb-{{$timestamp}}",
76
- "tags": ["test", "user-info", "ibweb", "manual"],
77
- "attributes": {}
78
- }
79
-
80
- ### Instance id (X-Instance-Id response header'ından — body artık envelope değil)
81
- @ibwebId = {{startIbWeb.response.headers.X-Instance-Id}}
82
-
83
-
84
- ###############################################################################
85
- # 2) GET STATE — mevcut state (long polling). Beklenen: "completed".
86
- # Değilse yukarıdaki teşhis tablosuna bak.
87
- ###############################################################################
88
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{ibwebId}}/functions/state
89
-
90
-
91
- ###############################################################################
92
- # 3) GET DATA — instance data. Başarılıysa "userInfo" objesi burada.
93
- # Ara çıktılar da görünür: claimsRead, clientId, userReference,
94
- # isMorphIdmToken, userSnapshot, simpleProfileResponse, userInfoNotFound...
95
- ###############################################################################
96
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{ibwebId}}/functions/data
97
-
98
-
99
- ###############################################################################
100
- # ALTERNATİF: ASYNC START — sync=true olmadan başlatıp state'i poll etmek
101
- # istersen (auto akışın adım adım ilerleyişini izlemek için).
102
- # NOT: output mapping yalnız sync=true'da çalışır; async start standart
103
- # {id, status} envelope'unu döndürmeye devam eder (body.id geçerli).
104
- ###############################################################################
105
- # @name startIbWebAsync
106
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
107
- Content-Type: application/json
108
- client_id: IbWeb
109
- user_reference: {{tckn}}
110
- culture: tr-TR
111
- customer_number: {{customerNo}}
112
- userid: {{userId}}
113
-
114
- {
115
- "key": "get-user-info-ibweb-async-{{$timestamp}}",
116
- "tags": ["test", "user-info", "ibweb", "manual"],
117
- "attributes": {}
118
- }
119
-
120
- ### Async instance id
121
- @ibwebAsyncId = {{startIbWebAsync.response.body.id}}
122
-
123
- ### State (tekrar tekrar çalıştır — final state'e düşene kadar)
124
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{ibwebAsyncId}}/functions/state
125
-
126
- ### Data
127
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{ibwebAsyncId}}/functions/data
@@ -1,282 +0,0 @@
1
- ###############################################################################
2
- # GET-USER-INFO — UÇTAN UCA (E2E) SENARYO
3
- #
4
- # Legacy parite: amorphie-token AuthorizeController.GetUserInfoWithHeader
5
- # (/public/get-user-info ; APISIX'te /ebanking/token/get-user-info).
6
- #
7
- # TOKEN ARTIK BU AKIŞTA DOĞRULANMAZ: APISIX token'ı upstream'de doğrular ve
8
- # claim'leri ÇIPLAK CLAIM ADLI request header'ları olarak iletir. Akış decode /
9
- # imza doğrulaması yapmaz; header'ları okuyup devam eder.
10
- #
11
- # Akış TAMAMEN auto'dur (kullanıcı transition'ı yok):
12
- # start (claim'ler HEADER'da, start body boş: {})
13
- # -> read-claims (header'lardan: client_id [zorunlu, yoksa 401],
14
- # user_reference -> act_sub -> sub (TCKN; HİÇBİRİ yoksa 204 No Content),
15
- # culture -> accept-language -> tr-TR,
16
- # acr (varsa morph-idm token, yoksa legacy amorphie),
17
- # customer_number, device_id, userid -> act_uid,
18
- # isCorporate = act_sub && sub && act_sub != sub; kurumsalda ayrıca
19
- # userName = "{act_sub}-{sub}" ve scopeKey = sub yazılır [consent-fetch girdileri])
20
- # -> [acr yoksa] fetch-amorphie-user (Fact API GET /user/reference/{tckn})
21
- # -> select-strategy (clientId router) -> <strateji> subflow -> shape -> completed.
22
- # Sonuç: instance data içindeki "userInfo" (functions/data ile okunur).
23
- #
24
- # === SYNC START YANITI (workflow output mapping — GetUserInfoOutputHandler.csx) ===
25
- # sync=true start çağrısı standart envelope YERİNE legacy GetUserInfoWithHeader yanıtını döner:
26
- # 200 + userInfo objesi (bare body) <- completed
27
- # 204, gövde yok (No Content) <- no-content-end (user_reference/act_sub/sub header'ı
28
- # hiç yok — hata değil; legacy 400'ünden bilinçli sapma)
29
- # 401, boş body <- unauthorized-end (client_id header'ı yok —
30
- # normalde APISIX arkasında oluşmaz; akış doğrudan
31
- # çağrıldıysa görülür)
32
- # 400 (gövde sebebi söyler) <- user-info-not-found-end:
33
- # "Customer profile not found" -> Asgard'da simple-profile kaydı yok (test verisi?)
34
- # "User info could not be produced" -> shape/mapping hatası (engine loglarına bak)
35
- # Instance id/key, X-Instance-Id / X-Instance-Key RESPONSE HEADER'larında döner; aşağıdaki
36
- # functions/state + functions/data teşhis çağrıları id'yi bu header'dan alır.
37
- #
38
- # === STRATEJİ ROUTER TABLOSU (legacy AuthorizedUserInfoManager paritesi) ===
39
- # FxTrade -> fxtrade-subflow (credentials + PascalCase alanlar)
40
- # MorphTouch -> morphtouch-subflow (Default ile aynı şekil)
41
- # IbAndroidApp/IbIosApp/IbWeb/IbIvnApp/
42
- # IbCallCenter -> mobileib-subflow (küçük şekil + IsAnonymous credential)
43
- # kurumsal bağlam (act_sub != sub) -> fetch-consent -> mobileib-subflow
44
- # (paylaşımlı consent-fetch; userInfo.position = consent.attributes.position;
45
- # bireysel IbWeb'de consent aranmaz, position alanı yok — bkz. senaryo 7)
46
- # edevlet -> edevlet-subflow (tckn/ulkeKodu/cep/dogumTarihi)
47
- # collection -> collection-subflow (user+person: name/surname/departmentCode/sicil)
48
- # BurganInvestment / BurganInvestmentMobile -> burganinvestment(-mobile)-subflow
49
- # (customerNumber + burganTradeCustomerNumber; customer_number header'ı gerekir)
50
- # Roboadvisory / FundUniverse -> roboadvisory/funduniverse-subflow
51
- # (PascalCase + deviceId; morph-idm DEVICE flow'undan aranır:
52
- # get-user-device task -> filter attributes=user.key=eq:{tckn},
53
- # clientId eşleşen instance'ın deviceId'si; yoksa device_id header'ı)
54
- # diğer her şey -> default-subflow (route-default fallback)
55
- #
56
- # Çalıştırma: VS Code REST Client / httpyac ile YUKARIDAN AŞAĞIYA. Runtime: http://localhost:4251
57
- #
58
- # === ÖN KOŞULLAR (önemli) ===
59
- # 1) simple-profile: MorphIdm:AsgardService:BaseUrl = Asgard API kökü (ör. .../preprod-asgard/api/v1/)
60
- # -> GET {BaseUrl}/customers/{tckn}/simple-profile. bank-personel aynı kökten
61
- # user-management/users/by-citizenship-no/{tckn}'e gider. (BaseUrl "/customers" ile bitse de
62
- # iki mapping de doğru URL'i kurar.)
63
- # user fetch: get-user-by-task, TCKN ile bir "user" instance'ı (yoksa userId boş).
64
- # login_name zinciri (legacy parity): user instance loginName -> bank-personel lookup -> "".
65
- # bank-personel (yalnız user loginName boş & isBankPersonel; FxTrade'de hiç çağrılmaz):
66
- # MorphIdm:AsgardService:BaseUrl -> GET /user-management/users/by-citizenship-no/{tckn}
67
- # -> { "data": { "domain": "BURGAN", "loginName": "BANKUSER01" } } (login_name = "BURGAN\BANKUSER01").
68
- # 2) acr header'ı GÖNDERİLMEZSE akış legacy amorphie yoluna girer -> fetch-amorphie-user
69
- # Fact API'ye gider (MorphIdm:FactUserBaseAddress ayarlı ve erişilebilir olmalı).
70
- # acr GÖNDERİLİRSE (morph-idm token) Fact'e hiç gidilmez; user vNext user flow'undan çekilir.
71
- ###############################################################################
72
-
73
- @baseUrl = http://localhost:4251
74
- @apiVersion = v1
75
- @domain = morph-idm
76
- @tckn = 12345678901
77
-
78
-
79
- ###############################################################################
80
- # 1) FxTrade — completed + FxTrade userInfo (credentials + PascalCase).
81
- # acr yok -> legacy amorphie yolu (fetch-amorphie-user -> Fact API).
82
- ###############################################################################
83
- # @name startFxTrade
84
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/get-user-info/instances/start?sync=true
85
- Content-Type: application/json
86
- client_id: FxTrade
87
- user_reference: {{tckn}}
88
- culture: tr-TR
89
-
90
- {
91
- "key": "get-user-info-fxtrade-{{$timestamp}}",
92
- "tags": ["test", "user-info", "fxtrade"],
93
- "attributes": {}
94
- }
95
-
96
- ### Instance id (X-Instance-Id response header'ından — sync yanıtı artık envelope değil)
97
- @fxId = {{startFxTrade.response.headers.X-Instance-Id}}
98
-
99
- ### State -> "completed"
100
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/get-user-info/instances/{{fxId}}/functions/state
101
-
102
- ### Data -> userInfo (FxTrade)
103
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/get-user-info/instances/{{fxId}}/functions/data
104
-
105
-
106
- ###############################################################################
107
- # 2) MorphTouch — completed; userInfo Default ile aynı şekil.
108
- ###############################################################################
109
- # @name startMorphTouch
110
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/get-user-info/instances/start?sync=true
111
- Content-Type: application/json
112
- client_id: MorphTouch
113
- user_reference: {{tckn}}
114
- culture: tr-TR
115
-
116
- {
117
- "key": "get-user-info-morphtouch-{{$timestamp}}",
118
- "tags": ["test", "user-info", "morphtouch"],
119
- "attributes": {}
120
- }
121
-
122
- ### Instance id (X-Instance-Id response header'ından — sync yanıtı artık envelope değil)
123
- @mtId = {{startMorphTouch.response.headers.X-Instance-Id}}
124
-
125
- ### State
126
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/get-user-info/instances/{{mtId}}/functions/state
127
-
128
- ### Data
129
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/get-user-info/instances/{{mtId}}/functions/data
130
-
131
-
132
- ###############################################################################
133
- # 3) Bilinmeyen client (SomeOtherApp) — route-default fallback -> Default subflow.
134
- ###############################################################################
135
- # @name startDefault
136
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/get-user-info/instances/start?sync=true
137
- Content-Type: application/json
138
- client_id: SomeOtherApp
139
- user_reference: {{tckn}}
140
- culture: en-US
141
-
142
- {
143
- "key": "get-user-info-default-{{$timestamp}}",
144
- "tags": ["test", "user-info", "default"],
145
- "attributes": {}
146
- }
147
-
148
- ### Instance id (X-Instance-Id response header'ından — sync yanıtı artık envelope değil)
149
- @defId = {{startDefault.response.headers.X-Instance-Id}}
150
-
151
- ### State
152
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/get-user-info/instances/{{defId}}/functions/state
153
-
154
- ### Data
155
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/get-user-info/instances/{{defId}}/functions/data
156
-
157
-
158
- ###############################################################################
159
- # 4) client_id header'ı YOK — read-claims -> claims-missing -> unauthorized-end (401, boş body).
160
- # (APISIX arkasında normalde oluşmaz; akışın doğrudan çağrıldığı durumu temsil eder.)
161
- ###############################################################################
162
- # @name startMissingClientId
163
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/get-user-info/instances/start?sync=true
164
- Content-Type: application/json
165
- user_reference: {{tckn}}
166
-
167
- {
168
- "key": "get-user-info-missing-client-{{$timestamp}}",
169
- "tags": ["test", "user-info", "unauthorized"],
170
- "attributes": {}
171
- }
172
-
173
- ### Instance id (X-Instance-Id response header'ından — sync yanıtı artık envelope değil)
174
- @missId = {{startMissingClientId.response.headers.X-Instance-Id}}
175
-
176
- ### State -> "unauthorized-end"
177
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/get-user-info/instances/{{missId}}/functions/state
178
-
179
- ### Data -> claimsRead=false, claimsError=missing_client_id
180
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/get-user-info/instances/{{missId}}/functions/data
181
-
182
-
183
- ###############################################################################
184
- # 5) morph-idm token yolu — acr header'ı VAR: fetch-amorphie-user ATLANIR,
185
- # user vNext user flow'undan çekilir (userid header'ı userInfo.userId seed'i olur).
186
- ###############################################################################
187
- # @name startMorphIdmPath
188
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/get-user-info/instances/start?sync=true
189
- Content-Type: application/json
190
- client_id: MorphTouch
191
- user_reference: {{tckn}}
192
- culture: tr-TR
193
- acr: 1
194
- userid: 3fa85f64-5717-4562-b3fc-2c963f66afa6
195
-
196
- {
197
- "key": "get-user-info-morphidm-{{$timestamp}}",
198
- "tags": ["test", "user-info", "morph-idm-token"],
199
- "attributes": {}
200
- }
201
-
202
- ### Instance id (X-Instance-Id response header'ından — sync yanıtı artık envelope değil)
203
- @miId = {{startMorphIdmPath.response.headers.X-Instance-Id}}
204
-
205
- ### State -> "completed" (Fact API'ye hiç gidilmeden)
206
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/get-user-info/instances/{{miId}}/functions/state
207
-
208
- ### Data -> userInfo.userId = userid header'ındaki GUID
209
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/get-user-info/instances/{{miId}}/functions/data
210
-
211
-
212
- ###############################################################################
213
- # 6) user reference YOK (user_reference/act_sub/sub hiçbiri gönderilmedi) —
214
- # read-claims -> claims-no-reference -> no-content-end (204, gövde yok).
215
- # Legacy 400 "User reference not found in token claims" yanıtından bilinçli sapma.
216
- ###############################################################################
217
- # @name startNoReference
218
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/get-user-info/instances/start?sync=true
219
- Content-Type: application/json
220
- client_id: MorphTouch
221
- culture: tr-TR
222
-
223
- {
224
- "key": "get-user-info-no-reference-{{$timestamp}}",
225
- "tags": ["test", "user-info", "no-content"],
226
- "attributes": {}
227
- }
228
-
229
- ### Instance id (X-Instance-Id response header'ından — sync yanıtı artık envelope değil)
230
- @norefId = {{startNoReference.response.headers.X-Instance-Id}}
231
-
232
- ### State -> "no-content-end"
233
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/get-user-info/instances/{{norefId}}/functions/state
234
-
235
- ### Data -> claimsRead=true, userReferenceFound=false
236
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/get-user-info/instances/{{norefId}}/functions/data
237
-
238
-
239
- ###############################################################################
240
- # 7) KURUMSAL IbWeb — morph-idm token (acr var), act_sub != sub (kurumsal bağlam).
241
- # read-claims: isCorporate=true, userName="{act_sub}-{sub}", scopeKey=sub, clientId=IbWeb
242
- # -> select-strategy: route-mobileib-corporate (RouteMobileIbCorporateRule)
243
- # -> fetch-consent: paylaşımlı consent-fetch (search-consent-by-task) ile
244
- # currentState=active AND user.key="{{tckn}}-{{firmNo}}" AND (client.key=IbWeb OR client null)
245
- # AND scope.key="{{firmNo}}" -> consentFound + consentSnapshot
246
- # -> mobileib-strategy (StrategySubFlowMapping position'ı subflow'a forward eder)
247
- # -> completed.
248
- # Beklenen: 200 + userInfo (MobileIb şekli) + "position": consent.attributes.position (örn. "account-owner").
249
- # "roles": consent.roles[] içindeki grant=allow rol key'leri, idm.full-authorized HER ZAMAN hariç
250
- # (örn. superUser consent'inde ["morph-idm.user-add","morph-idm.role-change","morph-idm.limit-change"]).
251
- # Position'dan bağımsızdır; filtre sonrası rol kalmıyorsa (yalnız idm.full-authorized varsa) alan hiç yazılmaz.
252
- # Consent yoksa akış yine completed biter; userInfo'da position alanı OLMAZ (consentFound=false).
253
- # Bireysel IbWeb (senaryo 5: act_sub yok / act_sub == sub) route-mobileib'e gider, consent aranmaz.
254
- # Ön koşul: {{tckn}}-{{firmNo}} kullanıcısı için IbWeb (veya client'sız) aktif bir consent; position
255
- # alanlı consent örneği için bkz. Workflows/token-process/token/execute/setup-roles-for-token-claims.http §4.
256
- ###############################################################################
257
- @firmNo = 766
258
-
259
- # @name startIbWebCorporate
260
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/get-user-info/instances/start?sync=true
261
- Content-Type: application/json
262
- client_id: IbWeb
263
- act_sub: {{tckn}}
264
- sub: {{firmNo}}
265
- user_reference: {{tckn}}
266
- acr: 1
267
- culture: tr-TR
268
-
269
- {
270
- "key": "get-user-info-ibweb-corporate-{{$timestamp}}",
271
- "tags": ["test", "user-info", "ibweb", "corporate", "position"],
272
- "attributes": {}
273
- }
274
-
275
- ### Instance id (X-Instance-Id response header'ından — sync yanıtı artık envelope değil)
276
- @ibcId = {{startIbWebCorporate.response.headers.X-Instance-Id}}
277
-
278
- ### State -> "completed" (read-claims -> select-strategy -> fetch-consent -> mobileib-strategy)
279
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/get-user-info/instances/{{ibcId}}/functions/state
280
-
281
- ### Data -> isCorporate=true, userName="{{tckn}}-{{firmNo}}", scopeKey, consentFound, consentSnapshot, userInfo.position (+ userInfo.roles, filtre sonrası rol kaldıysa)
282
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/get-user-info/instances/{{ibcId}}/functions/data
@@ -1,17 +0,0 @@
1
- {
2
- "environments": {
3
- "dev": {
4
- "baseUrl": "http://localhost:4251",
5
- "apiVersion": "v1",
6
- "domain": "morph-idm",
7
- "personKey": "1234",
8
- "userKey": "1234",
9
- "scopeKey": "1234-1234",
10
- "scopeKey2": "1234-Corporate",
11
- "clientKey": "IbWeb",
12
- "consentKey1": "1234-IbWeb-1234-1234",
13
- "consentKey2": "1234-IbWeb-1234-Corporate",
14
- "deviceId": "test-device-1234"
15
- }
16
- }
17
- }
@@ -1,79 +0,0 @@
1
- ###############################################################################
2
- # STEP 1: Person 1234 - (user start'ta securityQuestion dolu)
3
- ###############################################################################
4
-
5
- ### Start Person - user start'ta securityQuestion dolu array kullanılır
6
- # @name startPerson
7
- POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/person/instances/start?sync=true
8
- Accept-Language: tr-TR
9
- X-Request-Id: {{$guid}}
10
- X-Device-Id: admin-portal
11
- X-Token-Id: {{$guid}}
12
- X-Device-Info: Test Suite/1.0
13
- X-Forwarded-For: 192.168.1.100
14
- user_reference: test-admin
15
- Content-Type: application/json
16
-
17
- {
18
- "key": "{{personKey}}",
19
- "tags": ["test", "person", "security-test", "with-security-question"],
20
- "attributes": {
21
- "personType": "retail-customers",
22
- "name": {
23
- "first": "Test",
24
- "last": "User1234"
25
- },
26
- "emails": [
27
- {
28
- "address": "test1234@example.com",
29
- "validations": [
30
- {
31
- "source": "otp",
32
- "validatedAt": "{{$datetime iso8601}}",
33
- "validatingProcess": "email-verification",
34
- "status": "valid"
35
- }
36
- ],
37
- "useForAlerts": true
38
- }
39
- ]
40
- }
41
- }
42
-
43
- ### Publish Person (draft -> active)
44
- # @name publishPerson
45
- PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/person/instances/{{personKey}}/transitions/publish?sync=true
46
- Accept-Language: tr-TR
47
- X-Request-Id: {{$guid}}
48
- X-Device-Id: admin-portal
49
- X-Token-Id: {{$guid}}
50
- X-Device-Info: Test Suite/1.0
51
- X-Forwarded-For: 192.168.1.100
52
- user_reference: test-admin
53
- Content-Type: application/json
54
-
55
- {
56
- "attributes": {
57
- "publishedBy": "test-admin",
58
- "publishedAt": "{{$datetime iso8601}}"
59
- }
60
- }
61
-
62
- ### Get Person Data
63
- # @name getPersonData
64
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/person/instances/{{personKey}}/functions/data
65
- Accept-Language: tr-TR
66
- X-Request-Id: {{$guid}}
67
- X-Device-Id: admin-portal
68
- X-Token-Id: {{$guid}}
69
- user_reference: test-admin
70
-
71
- ### Get Person State
72
- # @name getPersonState
73
- GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/person/instances/{{personKey}}/functions/state
74
- Accept-Language: tr-TR
75
- X-Request-Id: {{$guid}}
76
- X-Device-Id: admin-portal
77
- X-Token-Id: {{$guid}}
78
- user_reference: test-admin
79
-