@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,339 +0,0 @@
1
- # deblock-sim-card — Mobil Entegrasyon Görevleri (Contract + eKYC)
2
-
3
- Bu doküman, SIM Bloke Kaldırma (`deblock-sim-card-workflow`, domain `morph-idm`) akışında
4
- **mobil uygulamanın yapması gerekenleri** contract ve eKYC entegrasyonları kapsamında listeler.
5
- Backend tarafı hazır ve çalışan referanslara (vnext-onboarding kyc, vnext-credit) hizalıdır.
6
-
7
- ## 0. Genel akış (state sırası)
8
- ```
9
- input → (submit-input) → initial → validating → checking-sim → checking-eligibility
10
- → contracting (backend: contract subprocess başlatılır)
11
- → contract-documents (MOBİL: sözleşme dokümanları render + onay) ← GÖREV 1
12
- → contract-finalizing (backend: finalize)
13
- → contract-result-router (backend: sonuç dallanması)
14
- → identity-read (MOBİL: eKYC ön-onay / görüntülü görüşme + işaret dili) ← GÖREV 2
15
- → ekyc-processing (MOBİL: eKYC subprocess ekranını render) ← GÖREV 3
16
- → ekyc-result-router → resolving → success-end
17
- ```
18
-
19
- Mobil, her adımda **deblock instance'ını** poll eder (`functions/state`) ve gelen `state` + `view`e göre ekranı çizer. State makinesini backend yönetir; mobil "generic renderer"dır.
20
-
21
- ---
22
-
23
- ## GÖREV 1 — Contract dokümanlarının gösterilmesi ve onaylanması
24
- **State:** `deblock-sim-card-contract-documents` (bu state'e gelince mobil bu ekranı çizer)
25
-
26
- 1. Bu state'in view'ı `state-deblock-sim-card-contract-documents` — içinde **`neo_contracts_list_view_v3`** component'i var. Mobil bu component ile **contract'ın dokümanlarını** (3 adet: doc-sim-bloke-1/2/3, "Onay Metni" vb.) render eder.
27
- - Referans: vnext-credit `overdraft-application-input-view` içindeki `neo_contracts_list_view_v3` kullanımı birebir aynı desendir.
28
- 2. Kullanıcı her dokümanı okur ve **onaylar/imzalar** ("Okudum, onaylıyorum" / gerekiyorsa "reddediyorum"). Bu onay, `neo_contracts_list_view_v3`'ün contract'a gönderdiği per-doküman karar mekanizmasıyla yapılır (kredideki gibi).
29
- 3. Tüm dokümanlar onaylanınca kullanıcı **"Devam" (transitionId: `apply`)** butonuna basar → akış `contract-finalizing`'e geçer, backend contract'ı finalize eder.
30
-
31
- **Önemli:** Dokümanlar onaylanmadan finalize contract tarafında BLOKLANIR (`canFinalize=false`). Yani bu ekranın (neo_contracts_list_view_v3 ile onay) çalışması finalize'ın ön şartıdır.
32
-
33
- **Backend'in sağladığı veri (gerekirse):** `data.documents.online[]` — her biri `code` + `subprocessInstanceId` (contract domaininde doküman subprocess'i). `neo_contracts_list_view_v3` bunları contract'tan çeker.
34
-
35
- ---
36
-
37
- ## (BİLGİ, YENİ İŞ DEĞİL) — eKYC ön-onay ekranı (görüntülü görüşme + işaret dili)
38
- **State:** `deblock-sim-card-identity-read`
39
-
40
- ⚠️ **Bu ekran ZATEN ÇALIŞIYOR — mobilde yeni bir iş YOK.** Mobil bu görüntülü görüşme/işaret dili
41
- onay ekranını hâlihazırda çiziyor ve onay butonu çalışıyor. Sadece **akıştaki yeri değişti**: artık
42
- contract dokümanları onaylanıp finalize edildikten SONRA geliyor. Ekran + buton aynı, kod değişikliği
43
- gerekmez. Buraya sadece akıştaki yerini göstermek için eklendi.
44
- - (Mevcut davranış) onay → `approve` → `ekyc-processing`; işaret dili seçimi:
45
- `{ "attributes": { "entityData": { "isSignLanguageSelected": true|false } } }`.
46
-
47
- ---
48
-
49
- ## GÖREV 3 — eKYC subprocess ekranının render edilmesi (asıl OCR/NFC/görüntülü görüşme)
50
- **State:** `deblock-sim-card-ekyc-processing`
51
-
52
- Bu state'in kendi view'ı YOKTUR (bekleme state'i). eKYC ayrı bir instance'tır (`onboarding-ekyc` domaini, `ekyc-main-workflow`). Mobil, tıpkı diğer akışlarda (consent-verification / kyc) yaptığı gibi **eKYC subprocess ekranına geçmeli.**
53
-
54
- 1. Mobil, deblock instance'ının `functions/state` yanıtındaki **`correlations`** dizisini okur. `subFlowDomain == "onboarding-ekyc"` olan kaydı bulur:
55
- ```
56
- correlations[]: { subFlowDomain: "onboarding-ekyc", subFlowName: "ekyc-main-workflow",
57
- subFlowInstanceId: "<guid>", isCompleted: false, href: "..." }
58
- ```
59
- (Alternatif: `data.ekycMainWorkflowSubprocessInstanceId` alanı da aynı id'yi verir.)
60
- 2. Mobil, o **eKYC instance'ının** view'ını render eder ve eKYC akışını (OCR / NFC / görüntülü görüşme) sürer — consent-verification'daki generic eKYC handler'ının aynısı; deblock'a özel kod GEREKMEZ.
61
- - Endpoint: `.../onboarding-ekyc/workflows/ekyc-main-workflow/instances/{subFlowInstanceId}/...`
62
- 3. **Zamanlama:** `correlations`, approve'dan hemen sonra bir an boş olabilir (subprocess commit gecikmesi). Mobil `functions/state`'i **poll etmeli**, `correlations` dolunca eKYC'ye geçmeli (tek sefer okuyup vazgeçmemeli).
63
- 4. eKYC bitince backend'e otomatik callback döner; deblock kaldığı yerden (resolving → success) devam eder. Mobil tekrar **deblock instance'ını** poll etmeye döner.
64
-
65
- ---
66
-
67
- ## Genel kurallar (her iki entegrasyon için)
68
- - **Subprocess'lere geçiş `correlations` ile generic:** parent instance'ın `functions/state` yanıtındaki `correlations[]` içinde `isCompleted:false` bir kayıt varsa, o subprocess'i (`subFlowDomain`/`subFlowName`/`subFlowInstanceId` ya da `href`) render et. Flow'a özel alan adı yok.
69
- - **Start çağrısında** (menüden): `attributes.scopeGroup` gönder — kurumsal menü `"corporate-customers"`, bireysel `"retail-customers"` (Müşteri No alanının görünürlüğünü bu belirler).
70
- - Mobil generic renderer'dır: state makinesini backend yönetir; mobil poll eder, gelen view'ı çizer, transition'ları tetikler.
71
-
72
- ## Özet — mobilde YENİ 2 iş (identity-read zaten çalışıyor)
73
- 1. **contract-documents** (YENİ) → `neo_contracts_list_view_v3` ile sözleşmeleri onaylat → `apply`.
74
- 2. **ekyc-processing** (YENİ) → `correlations`'tan `onboarding-ekyc` subprocess'ini bul → eKYC ekranını render et (consent'teki generic handler).
75
-
76
- - **identity-read** (eKYC ön-onay/işaret dili) = MEVCUT, çalışıyor, dokunulmayacak — sadece akıştaki yeri contract'tan sonraya kaydı.
77
-
78
- ---
79
-
80
- # MOBİLDEN BEKLENENLER (açık talepler) — 21.09.2026
81
-
82
- Aşağıdaki maddeler backend tarafında **tamamlanamayan** işleri listeler; her biri mobil ekibinden
83
- bir sayfa ya da bir bilgi bekliyor. Backend tarafı hazır, sadece hedef/veri eksik.
84
-
85
- ## 1. `become-a-member-main-version-failure-page` — eksik sayfa
86
- **Neden:** Cihazı desteklenmeyen müşteri (iOS major < 12, Android major < 7 ya da tam "7.0")
87
- onboarding-ekyc'den `ekycResult = "MobileVersionNotMatch"` ile dönüyor. BPMN bu durumu
88
- `become-a-member-main-version-failure-page`'e yönlendiriyor; sayfa `Amorphie.Client` kataloğunda yok.
89
-
90
- **Şu anki ara çözüm:** `ekyc-result-router.ekyc-device-incompatible` → `input-failure-end`
91
- ("Bu İşleme Devam Edilemiyor"). Generic ama dürüst. Öncesinde varsayılan dala düşüyordu ve müşteriye
92
- hiç yapılmamış bir görüşme için "Görüntülü Görüşmeniz Sona Erdi" deniyordu (instance `31738186`).
93
-
94
- **Sayfa gelince:** `IsEkycDeviceIncompatibleRule`'un bağlı olduğu transition'ın `target`'ını yeni
95
- final state'e çevirmek yeterli — tek satır.
96
-
97
- ## 2. `customerServicePhone` — eksik veri
98
- **Neden:** `deblock-sim-card-input-failure-end-page` ve `deblock-sim-card-ekyc-ocr-failure-end-page`
99
- sayfaları `${readFromWorkflow('customerServicePhone')}` okuyor ve numarayı `actionType: callNumber`
100
- ile **aranabilir** şekilde basıyor. Bu alanı hiçbir workflow üretmiyor — repo genelinde tanımlı değil.
101
-
102
- **Etkisi:** iki sayfa da müşteri hizmetleri numarası boş açılıyor. 1. maddedeki ara çözüm yüzünden
103
- `input-failure-end` artık daha sık gösterilecek, yani etki büyüyor.
104
-
105
- **İhtiyaç:** gösterilecek numara. Gelince `ParsePhoneMapping` içinde `username`/`startHour`/`dueHour`
106
- gibi kök seviye alan olarak yayınlanır (readFromWorkflow iç içe alana inemiyor).
107
-
108
- ## 3. `wf-general-failure-page` — eksik sayfa
109
- **Neden:** BPMN'de kimlik kontrolü `isSuccess = false` dalı bu sayfaya gidiyor; katalogda yok.
110
- Bizde `checking-eligibility.identity-failure` şu an generic `failure-end`'e düşüyor.
111
-
112
- ## 4. App-consistency popup'ları (4 sayfa) — eksik sayfalar
113
- `amorphie-login-one-app-burgan-to-on-popup`, `...-on-to-burgan-popup`,
114
- `...-burgan-to-on-ibweb-popup`, `...-on-to-burgan-ibweb-popup`
115
-
116
- **Neden:** BPMN'in `Gateway_03v3w6r` matrisi (`businessLine` × uygulama × platform) dört ayrı popup'a
117
- ayrılıyor. Bizim `IsAppMismatchRule` yalnızca `businessLine = "X"` + burgan app halini kapsıyor;
118
- matrisin geri kalanı yazılmadı çünkü **gösterilecek ekran yok**. Sayfalar gelmeden mantığı yazmak
119
- anlamsız.
120
-
121
- ## 5. `SelfServiceExit` nereye gitmeli? — tasarım sorusu
122
- **Neden:** BPMN bu sonucu `Flutter-component-login-start-mobile`'a yönlendiriyor (kullanıcıyı login
123
- ekranına geri at). O sayfa katalogda **var** ama içinde üç **amorphie** transitionId taşıyor
124
- (`amorphie-mobile-login`, `amorphie-mobile-remember-password`, `factoring-quick-login-workflow`) —
125
- yani login akışını başlatan bir sayfa, terminal ekran değil. Olduğu gibi view'a gömülemez.
126
-
127
- **Soru:** vNext'te kullanıcıyı login'e geri atmanın doğru yolu ne? Ayrı bir terminal sayfa mı,
128
- yoksa istemcinin kendi navigasyonu mu?
129
-
130
- ## 6. Pseudo-UI terminal ekran davranışı — ✅ CEVAPLANDI (kök sebep mobilde)
131
- `state-deblock-sim-card-success-end` pseudo-UI (generic `ScrollView/Card/Text`) iken mobilde **boş
132
- ekran** geliyordu; `pageName`+`componentJson` taşıyan mobil sayfaya çevirince düzeldi (18-19.09).
133
- Ancak `input`, `input-wrong-popup`, `identity-read` **aynı pseudo-UI formatında** ve sorunsuz
134
- çiziliyor. Aradaki farkı açıklayamadık.
135
-
136
- **CEVAPLANDI (22.09.2026, mobil ekip):** Sorun terminal state'le ilgili değil. İstemci
137
- **pseudo view → eski tip view → pseudo view** geçişinde **son view'ı render edemiyor**. Yani tek bir
138
- view'ın formatı değil, akış içindeki view tiplerinin **sırası** belirleyici.
139
-
140
- Deblock'ta bu dizi mevcut: `input` (pseudo) → `contract-documents` (eski tip) → `success-end`
141
- (pseudo) = beyaz. `success-end`'i mobil sayfaya çevirince düzelmesi tutarlı — dizi artık
142
- pseudo → eski → **eski** oluyor.
143
-
144
- **Uymayan bir gözlem var, teyit edilmeli:** `identity-read` de pseudo-UI ve `contract-documents`'tan
145
- **sonra** geliyor, ama sorunsuz çiziliyor (21-22.09 koşuları). Yani kural ya "dizideki **son**
146
- view / terminal ekran" için geçerli, ya da eski tip view'ın hangi motorla (v1 `json_dynamic_widget`)
147
- açıldığına bağlı. Mobil ekipten net sınırı istemeliyiz: **hangi koşulda** bozuluyor?
148
-
149
- Bizim için pratik sonuç aynı: düzeltme gelene kadar terminal ekranlar eski tipte kalıyor.
150
-
151
- **Sonuç:** madde kapandı, konu mobil tarafında. Bizde yapılacak bir şey yok; düzeltme gelene kadar
152
- terminal ekranlar eski tip kalıyor (bkz. §8.1).
153
-
154
- ## 7. `profile-not-found` için anlamlı ekran — UX iyileştirmesi
155
- **Neden:** Kullanıcı TCKN'i doğru, **Müşteri No'yu yanlış** girdiğinde (`{TCKN}-{scopeKey}` anahtarıyla
156
- kullanıcı bulunamıyor) akış `initial.profile-not-found` → `failure-end`'e düşüyor ve generic
157
- "Bu İşleme Devam Edilemiyor" ekranı çıkıyor. Kullanıcı neyin yanlış olduğunu anlamıyor; tek yapması
158
- gereken bir haneyi düzeltmek.
159
-
160
- Gerçek örnek: instance `0d076003` (22.09.2026) — `28070062926 / 20183006` girildi, doğrusu `20183007`.
161
- `userFound: false`, `profileFound: false`, akış 0.7 sn'de failure-end'e düştü.
162
-
163
- **BPMN paritesi:** BPMN'de de bu dal özel bir sayfaya gitmiyor, yani şu an parite açısından doğru
164
- yerdeyiz. Bu bir **iyileştirme talebi**, eksik parite değil.
165
-
166
- **İhtiyaç:** "Müşteri numaranızı kontrol edin" benzeri, kullanıcıyı input ekranına geri döndüren bir
167
- sayfa (ya da mevcut `deblock-sim-card-input-wrong-popup-page` kalıbında bir popup + retry). Backend
168
- tarafında yeni bir final state + view bağlamak tek commit'lik iş; gösterilecek ekran gerekiyor.
169
-
170
- **Not:** aynı dal `userFound: false` dışında `profileFound: false` durumunu da kapsıyor, yani "kullanıcı
171
- vNext'te hiç yok" hali de buraya düşüyor. Mesajın ikisini de karşılaması gerekir.
172
-
173
- ## 8. Composite bileşenler uygulamada çizilmiyor — BLOKE (22.09.2026)
174
- **Durum:** `composite_component` rehberine göre `success-end` view'ı composite'e çevrildi, **beş** varyasyonda
175
- da beyaz ekran. Sonra **referans akışın kendisi** (`user-change-password`, ayarlar > şifre değiştir) mobilde
176
- denendi — **o da beyaz ekran**. Yani sorun bizim view'ımızda değil; composite mekanizması istemcide çalışmıyor.
177
-
178
- **Denenen varyasyonlar** (hepsi `bind: {title, description, primaryActionLabel, outcome}`):
179
-
180
- | # | `ref` | `content.dataSchema` | Sonuç |
181
- |---|---|---|---|
182
- | 1 | `urn:vnext:res:view:morph-idm:component-flow-completion-page` | `…/deblock-sim-card-input-schema.json` (URL) | beyaz |
183
- | 2 | aynı URN | `urn:…:deblock-sim-card-input-schema` | beyaz |
184
- | 3 | `flow-completion-page` (SDK paketli, düz ad) | URL | beyaz |
185
- | 4 | aynı URN | `…/deblock-sim-card-start-schema.json` (URL, required yok) | beyaz |
186
- | 5 | aynı URN | `urn:…:deblock-sim-card-master` (yeni master şema) | beyaz |
187
-
188
- 5. varyasyonda `functions/view` çıktısı referansla (`user-change-password/success-end`) **alan alan aynıydı**:
189
- `type`, `display`, `modes`, `content` anahtarları, `$schema`, `dataSchema` biçimi, `view.type`, `ref`,
190
- `bind`, `uiState` — onunun onu.
191
-
192
- **Backend tarafında doğrulananlar:** composite `sys-views`/`sys-schemas` kayıtları test-idm'de publish;
193
- `sys-views/component-flow-completion-page` ve `sys-schemas/deblock-sim-card-master` key ile **200**;
194
- gateway route'ları **401** (yani route var, token istiyor — rehber §6'daki 404 durumu düzelmiş);
195
- `npm run validate` yeni hata üretmiyor.
196
-
197
- **İstemci tarafında gözlenenler (kaynak okunarak):**
198
- - `pseudo_ui` sözlüğü URN'i destekliyor (`ref: oneOf[plainRef, resourceUrn]`), sürüm 0.7.1, PR #112 merge edilmiş.
199
- - `Component` düğümü sözlükte v0.1.2'den, paketli composite'ler v0.5.0'dan beri var.
200
- - `loadComponent` **host uygulamanın** implement etmesi gereken bir metot (`PseudoViewDelegate`);
201
- `NoOpPseudoViewDelegate.loadComponent` `UnsupportedError` fırlatıyor.
202
- - `getComponentByUrn` + `ResourceURNParser` `amorphie_workflow_manager`'da hâlâ **`[Unreleased]`**,
203
- `origin/master`'da dosya yok.
204
-
205
- **Mobil ekibe sorular:**
206
- 1. Neobank 4.18.1'in `pseudo_ui` ve `amorphie_workflow_manager` sürümleri tam olarak ne?
207
- 2. Uygulamada `PseudoViewDelegate.loadComponent` implement edilmiş mi, yoksa `NoOpPseudoViewDelegate` mi devrede?
208
- 3. `getComponentByUrn` yayınlanmamış görünüyor — URN çözümlemesi hangi build'de?
209
- 4. Client log'unda hangi hata kodu çıkıyor (`view_not_found`, `malformed_urn`, `schema_urn_missing`…)?
210
- 5. `user-change-password` composite geçişi uygulamada doğrulandı mı?
211
-
212
- **Bu kapanana kadar:** deblock'un terminal ekranları mobil sayfa kataloğundaki
213
- `pageName` + `componentJson` kayıtlarıyla kalıyor (çalışıyor). "Her şey pseudo-UI olacak, eski tip view
214
- olmayacak" kuralı terminal ekranlar için şimdilik uygulanamıyor.
215
-
216
- **Kök sebep (22.09.2026, mobil ekip):** istemci **pseudo → eski tip → pseudo** view dizisinde son
217
- view'ı render edemiyor (bkz. §6). Composite denemelerimizin hepsi tam bu dizideydi — `success-end`'i
218
- pseudo/composite yapmak, `contract-documents` (eski tip) sonrası üçüncü adımı oluşturuyordu. Bu, hem
219
- 18-19.09'daki ilk beyaz ekranı hem de bu 5 denemeyi tek başına açıklıyor. Mobilin referans akışının
220
- (`user-change-password`) da beyaz kalması bulguyla tutarlı.
221
-
222
- ### 8.1 Şu anki karar: eski tip view'larda kalıyoruz
223
- 22.09.2026 itibarıyla deblock'un **yedi** ekranı mobil sayfa kataloğundaki `pageName` + `componentJson`
224
- kayıtlarıyla çalışıyor ve öyle kalacak:
225
-
226
- | State | pageName |
227
- |---|---|
228
- | `success-end` | `deblock-sim-card-success-end-page` |
229
- | `failure-end` | `deblock-sim-card-failure-end-page` |
230
- | `input-failure-end` | `deblock-sim-card-input-failure-end-page` |
231
- | `ekyc-failure-end` | `deblock-sim-card-ekyc-failure-end-page` |
232
- | `ekyc-ocr-failure-end` | `deblock-sim-card-ekyc-ocr-failure-end-page` |
233
- | `force-update-end` | `general-forceupdate-popup-page` |
234
- | `ekyc-processing` | `deblock-sim-card-success-loading-page` |
235
-
236
- Mobil ekibin "her şey pseudo-UI olacak, eski tip view olmamalı" kuralı **terminal ekranlar için
237
- uygulanamıyor**, çünkü dayandığı composite mekanizması istemcide çalışmıyor (§8).
238
-
239
- **Geri dönüş planı** — composite düzelince her ekran için tek dosya değişikliği:
240
- 1. `attributes.content`'i `{$schema, dataSchema, lookups, uiState, view}` yap.
241
- 2. `dataSchema` = `urn:vnext:res:schema:morph-idm:deblock-sim-card-master` (şema hazır, commit `e68ba264`).
242
- 3. `view` = tek `Component` düğümü, `ref: urn:vnext:res:view:morph-idm:component-flow-completion-page`,
243
- `bind: {outcome, title, description, primaryActionLabel}` → `$ui.*`.
244
- 4. Metinler `uiState`'e; hata ekranlarında `uiState.outcome = "error"`.
245
- 5. Zarfa (`key/version/domain/flow/flowVersion/tags/attributes.type/labels/display`) dokunma.
246
-
247
- Çalışan şablon ve tam JSON: bu deponun `git show e68ba264~1 -- …state-deblock-sim-card-success-end.json`
248
- geçmişinde ve `composite_component/ornekler/2-host-view-ornekleri/` klasöründe.
249
-
250
- **Kayıp:** composite'e geçilince `success-end` ve `ekyc-failure-end` sayfalarındaki **"Ankete Katıl"**
251
- aksiyonu (`initialize-survey`) düşer — composite'in tek bir `primaryAction`'ı var. Anket korunacaksa
252
- mobilden anketli bir composite istenmeli.
253
-
254
- ### 8.2 İlgili ama AYRI bir hata: flow-continue URN dönüşü
255
- Mehmet Saltan'ın raporu: `urn:vnext:flow:continue:onboarding-ekyc:ekyc-main-workflow:<instanceId>` ile
256
- yönlendirme yapıldıktan sonra **dönüşte ilk instance'a devam edilmiyor, yeni instance başlatılıyor**.
257
- Analiz: dönen view bir pseudo_ui view'i, eski v1 (`json_dynamic_widget`) motoru çizemiyor, çizemeyince
258
- başa dönüyor.
259
-
260
- **Farkı not edelim:** bu `urn:vnext:flow:continue:` (akış URN'i, navigasyon katmanı); bizim §8'deki sorun
261
- `urn:vnext:res:view:` (kaynak URN'i, `loadComponent`). Ayrı kod yolları, ayrı semptomlar — ama ikisi de
262
- istemcideki SDUI geçişinin eksik parçaları.
263
-
264
- **Bizi etkilemiyor**, çünkü eKYC dönüşümüz istemci üzerinden değil **backend callback'iyle**: eKYC bitince
265
- `FinishEkycFlowMapping` bizim `ekyc-callback` transition'ımızı DirectTrigger ediyor, istemci sadece kendi
266
- instance'ımızı yoklamaya devam ediyor. Mehmet'in analizindeki tavsiye ("v1'e devretme, bir sonraki state
267
- tick'i view'ı getirir") bizim tasarımımızın zaten yaptığı şey — örnek olarak paylaşılabilir.
268
-
269
- ## 9. `x-application` başlığı vNext çağrılarına eklensin — AÇIK (23.09.2026)
270
- **Neden:** BPMN'in app-consistency kapısı (`Gateway_03v3w6r`) kararını **tek bir girdiyle** veriyor:
271
- `Headers.xapplication`. Bu başlık bize ulaşmıyor, bu yüzden kapı bugüne kadar hiç ateşlenmedi.
272
-
273
- **Apisix'i temize çıkardık:** `Amorphie.Apisix/apisix/morph-idm/` altındaki route'lar `x-application`'ı ne
274
- ekliyor ne siliyor (`proxy-rewrite.headers.remove` yalnızca JWT claim başlıklarını düşürüyor:
275
- `sub, act_sub, user_reference, user_id, customer_no, role, credentials, userId, scope`). Yani apisix
276
- pass-through; başlık gelmiyorsa gönderen tarafta eksik.
277
-
278
- **Talep:** `instances/start` çağrısına `x-application` eklensin (`burgan-mobile` / `on-mobile` gibi).
279
- Başlık eklenemiyorsa **start gövdesinde** `attributes.application` olarak da kabul ediyoruz — `scopeGroup`,
280
- `applicationVersion`, `deviceVersion` için zaten kullandığınız kalıbın aynısı.
281
-
282
- **Bizim tarafımız hazır:** `CaptureStartContextMapping` değeri start'ta yakalayıp `data.application`
283
- olarak taşıyor (kapı iki state sonra çalışıyor, o noktada istek başlıkları artık yok).
284
- Değer gelmediği sürece kapı **açık** kalır — eksik veri hiçbir müşteriyi bloke etmez.
285
-
286
- **Ek:** aynı mapping artık gelen başlık **adlarını** (değerleri değil) tek satır log'luyor, böylece bir
287
- sonraki gerçek koşuda hangi başlıkların ulaştığı kesinleşecek.
288
-
289
- ## 10. Sözleşme ekranı çizilmiyor — ÇÖZÜLDÜ (01.10.2026)
290
-
291
- Uçtan uca çalışıyor: sözleşmeler listeleniyor, onaylanıyor, akış tamamlanıyor. Mobil tarafta
292
- yapılacak bir şey yok; eksik bizim tarafımızdaydı.
293
-
294
- ### Sebep
295
-
296
- `neo_contracts_list_view_v3` sözleşme listesini argüman olarak almıyor. Sayfanın verisinden
297
- `activeCorrelations` alanını **korumasız** okuyup (`as List`), `subFlowDomain == "contract"` olan
298
- korelasyon üzerinden contract instance'ına bağlanıyor ve onun `tracking.ready.documents` verisini
299
- çiziyor.
300
-
301
- Bu alan vNext runtime'da **state zarfında** duruyor, oysa sayfanın `formData`'sı instance
302
- **verisinden** besleniyor. Dolayısıyla alan hiç ulaşmıyor, cast null'a çarpıyor ve **sayfa hiç
303
- kurulamıyor**. Sayfa kurulamayınca istemci bir **önceki** ekranda spinner'da kalıyor — belirtinin
304
- neden hep "input ekranında loading'te kalıyor" diye göründüğü bu.
305
-
306
- ### Düzeltme (morph-idm tarafında)
307
-
308
- `activeCorrelations` instance verisine yansıtılıyor (`subFlowDomain` / `subFlowName` /
309
- `subFlowVersion` / `subFlowInstanceId`). Bunu yazan yer yeni, görünümsüz bir
310
- `deblock-sim-card-contract-preparing` state'inin `onEntry`'si; oradan varsayılan auto geçişle
311
- sözleşme ekranı açılıyor.
312
-
313
- Ayrı state gerekiyor çünkü **bir view state'ine indiren transition'ın mapping'inde yazılan alanlar,
314
- istemciye itilen view paketine girmiyor** (ölçüldü: `documentsForApproval` instance verisinde 3
315
- kayıt doluyken ekran boş listeyle çizildi). Bir **önceki** state'in `onEntry`'sinde yazılanlar
316
- giriyor — `startHour` / `dueHour` da böyle ulaşıyor. Mobil tarafta benzer bir ekran kurarken bu
317
- sıralama kuralı akılda tutulmalı.
318
-
319
- ### Bu maddenin önceki hâllerindeki YANLIŞ teşhisler
320
-
321
- - **"Aralıklı/rastgele"** — değilmiş. Koşular müşterinin doküman geçmişine göre ikiye ayrılıyor:
322
- dokümanlarını daha önce onaylamış müşteride contract hiç doküman üretmiyor
323
- (`totalSubprocesses: 0`, `isAlreadyApproved: [true,true,true]`), `documents-ready` hiç
324
- tetiklenmiyor ve akış sözleşme ekranına **uğramadan** geçiyor. "Çalıştı" denen koşular bunlardı;
325
- yani ekran hiç test edilmemişti. 06:20 / 06:32 ile 06:17 / 06:38 / 06:39 farkı budur.
326
- - **`outOfHoursText` alanı** — ilgisiz.
327
- - **Doküman birikmesi (27 bekleyen)** — ilgisiz; 27 bekleyenle tamamlanan koşu var.
328
- - **Mobil sürüm (+23 / +27)** — ilgisiz.
329
- - **"Zengin işaretleme / Image düğümü çizimi zorlaştırıyor"** — ilgisiz. O karşılaştırmaların
330
- tamamı sözleşme adımı bypass'lıyken yapılmıştı, dolayısıyla hiçbir şey kanıtlamıyordu.
331
- `identity-read` ekranı bu yüzden gereksiz yere sadeleştirilmiş durumda; mobil ekibin
332
- `deblock-sim-card-identity-read-page` tasarımına (ikonlu hazırlık listesi) geri dönülecek.
333
-
334
- ### Açık kalan tek konu
335
-
336
- v3'ün doküman onay/red transition'ları `document-approved` / `document-rejected`. Amorphie.Apisix'te
337
- deblock route'ları transition başına tanımlı (`apply`, `approve`, `back`, `retry`, `submit-input`,
338
- `start`). Uçtan uca test geçtiğine göre şu an engel yok, ama bu iki transition için route gerekip
339
- gerekmediği teyit edilmeli.
@@ -1,202 +0,0 @@
1
- # SIM Bloke Kaldırma — Test Senaryoları
2
-
3
- Akış: `morph-idm / deblock-sim-card-workflow` · Hazırlanma: 01.10.2026
4
- Kapsam: akıştaki **her dal** (37 state, 11 bitiş ekranı) + bugün değişen ekran/alan davranışları.
5
-
6
- ---
7
-
8
- ## 0. Ön hazırlık
9
-
10
- **Ortamlar.** Akış `test-idm` ve `qa-idm` domainlerinde aynı sürümde:
11
-
12
- | | Runtime |
13
- |---|---|
14
- | test | `https://test-vnext-morph-idm.apps.nonprod.ebt.bank` |
15
- | qa | `https://qa-vnext-morph-idm.apps.nonprod.ebt.bank` |
16
-
17
- **Uygulama başlığı önemli.** Akış, uygulamayı `x-application` başlığından tanıyor ve bir kısım senaryo
18
- (§C) doğrudan buna bağlı. `x-deployment` ise **platform** olmalı (`iOS` / `Android`), marka değil —
19
- marka yazılırsa eKYC sürüm kontrolü hatalı sonuç veriyor.
20
-
21
- **Koşuyu izleme.** Her senaryoda ekranın yanı sıra arka uçtaki state de doğrulanmalı:
22
-
23
- ```
24
- GET {runtime}/api/v1/morph-idm/workflows/deblock-sim-card-workflow/instances/{instanceId}/functions/state
25
- GET {runtime}/api/v1/morph-idm/workflows/deblock-sim-card-workflow/instances/{instanceId}/functions/data
26
- ```
27
-
28
- `functions/state` → `state` alanı beklenen state anahtarını vermeli, `status` takılı kalmamalı
29
- (`A` = aktif/bekliyor, `C` = tamamlandı). `incident` alanı boş olmalı.
30
-
31
- **Önemli ön bilgi — aynı kullanıcıyla tekrar test.** Müşteri sözleşmeleri **bir kez onayladıktan
32
- sonra** sözleşme servisi o müşteri için yeniden doküman üretmiyor. Bu durumda akış sözleşme ekranına
33
- **hiç uğramadan** geçiyor. Yani §F senaryolarını test etmek için sözleşmeleri henüz onaylamamış bir
34
- müşteri gerekiyor; aksi halde "sözleşme ekranı gelmedi" diye raporlanan şey aslında doğru davranıştır.
35
-
36
- ---
37
-
38
- ## A. Giriş formu — alan kuralları (01.10.2026'da eklendi)
39
-
40
- Ekran: `deblock-sim-card-input-form` · Kurumsal menüden girilirse **Müşteri No** alanı da görünür,
41
- bireysel menüden girilirse gizlidir.
42
-
43
- | # | Senaryo | Adımlar | Beklenen |
44
- |---|---|---|---|
45
- | A1 | TCKN harf kabul etmemeli | TCKN alanına harf yazmayı dene | Harf girilemez / hata: "T.C. Kimlik Numarası yalnızca rakamlardan oluşmalıdır." |
46
- | A2 | TCKN 11 haneden kısa | 10 haneli TCKN + geçerli telefon → **Sim Bloke Kaldır** | Gönderilmez, hata: "T.C. Kimlik Numarası 11 haneli olmalıdır." |
47
- | A3 | TCKN 11 haneden uzun yazılamaz | 12 hane yazmayı dene | Alan 11 hanede kesilir |
48
- | A4 | Telefon 5 ile başlamalı | Telefona `4321234567` yaz | Kabul edilmez / hata: "Telefon numarası 5 ile başlamalı ve yalnızca rakam içermelidir." |
49
- | A5 | Telefon 10 hane olmalı | `53312345` (8 hane) → gönder | Hata: "Telefon numarası 10 haneli olmalıdır (5xx xxx xx xx)." |
50
- | A6 | Telefon 10 haneden uzun yazılamaz | 11 hane yazmayı dene | Alan 10 hanede kesilir |
51
- | A7 | Telefon yer tutucusu | Alan boşken bak | `5xx xxx xx xx` görünür |
52
- | A8 | Müşteri No yalnızca rakam | Kurumsal menüden gir, Müşteri No'ya harf yaz | Kabul edilmez / hata: "Müşteri No yalnızca rakamlardan oluşmalıdır." |
53
- | A9 | Müşteri No bireyselde gizli | Bireysel menüden gir | Müşteri No alanı görünmez |
54
- | A10 | Zorunlu alanlar | İki alanı da boş bırakıp gönder | Gönderilmez, zorunluluk hataları görünür |
55
-
56
- > **Beklenmemesi gereken:** telefon yazılırken `5xx xxx xx xx` biçiminde **boşluklu canlı maskeleme**.
57
- > Bu özellik mobil bileşene ait; ekran pseudo-UI'a taşındığı için yok. Yer tutucu + rakam kısıtı +
58
- > uzunluk sınırı var. Bu bir hata değil, bilinçli bir tasarım sonucudur.
59
-
60
- ## B. Ekran yerleşimi — tüm tam sayfa ekranlar (01.10.2026'da değişti)
61
-
62
- | # | Senaryo | Beklenen |
63
- |---|---|---|
64
- | B1 | Giriş ekranı (bireysel ve kurumsal) | Buton **ekranın en altında**, **tam genişlikte** |
65
- | B2 | "Bilgiler Doğrulanamadı" ekranı | Aynı |
66
- | B3 | "Müşteri Bulunamadı" ekranı | Aynı |
67
- | B4 | Kimlik onayı ekranı (bireysel ve kurumsal) | Aynı |
68
- | B5 | Başarı / blokaj yok / mesai dışı ekranları | Aynı |
69
- | B6 | Sözleşme ekranı | **Devam** butonu altta, tam genişlikte |
70
- | B7 | Popup'lar (uygulama uyumsuzluğu, zorunlu güncelleme) | **Değişmedi** — mobil popup tasarımı korunuyor |
71
-
72
- ## C. Başlangıç kontrolleri
73
-
74
- State: `deblock-sim-card-initial`
75
-
76
- | # | Senaryo | Ön koşul | Beklenen ekran | Beklenen state |
77
- |---|---|---|---|---|
78
- | C1 | Zorunlu güncelleme | Uygulama sürümü minimum sürümün altında | Zorunlu güncelleme popup'ı | `force-update-end` |
79
- | C2 | Müşteri bulunamadı | Sistemde kaydı olmayan TCKN | "Müşteri Bulunamadı" | `profile-not-found` |
80
- | C3 | C2 → tekrar dene | C2 ekranında **Tekrar Dene** | Giriş formuna döner | `input-form` |
81
- | C4 | Kurumsal müşteri Burgan dışı uygulamada | Kurumsal müşteri, ON Mobil ile giriş | "Burgan'ı kullan" popup'ı | `app-mismatch-on-to-burgan-end` |
82
- | C5 | C4'ün web karşılığı | Kurumsal müşteri, ON internet şubesi | Web metinli popup | `app-mismatch-on-to-burgan-ibweb-end` |
83
- | C6 | Bireysel ON müşterisi Burgan'da | `businessLine` = X, P veya B olan bireysel müşteri, Burgan Mobil ile | "ON'u kullan" popup'ı | `app-mismatch-burgan-to-on-end` |
84
- | C7 | C6'nın web karşılığı | Aynı müşteri, Burgan internet şubesi | Web metinli popup | `app-mismatch-burgan-to-on-ibweb-end` |
85
- | C8 | Banka personeli muaf | Banka personeli olan müşteri, hangi uygulamada olursa olsun | Popup **çıkmaz**, akış devam eder | `validating` |
86
- | C9 | Kurumsal müşteri doğru uygulamada | Kurumsal müşteri, Burgan Mobil | Popup çıkmaz, akış devam eder | `validating` |
87
-
88
- > Uygulama uyumsuzluğu kuralı: **kurumsal müşteri yalnızca Burgan kullanmalı**. Bireyselde
89
- > `businessLine` X / P / B olanlar ON müşterisidir, diğerleri (M vb.) Burgan müşterisidir.
90
- > `businessLine` boş veya uygulama tanınmıyorsa popup çıkmaz (akışı kilitlememek için).
91
-
92
- ## D. Kimlik + telefon eşleşmesi
93
-
94
- State: `deblock-sim-card-validating`
95
-
96
- | # | Senaryo | Ön koşul | Beklenen ekran | Beklenen state |
97
- |---|---|---|---|---|
98
- | D1 | Telefon kayıtlı numarayla uyuşmuyor | Geçerli TCKN + müşteriye ait olmayan telefon | "Bilgiler Doğrulanamadı" | `input-wrong-popup` |
99
- | D2 | D1 → tekrar dene | **Tekrar Dene** | Giriş formuna döner | `input-form` |
100
- | D3 | D2 sonrası doğru bilgi | Doğru telefonla tekrar gönder | Akış devam eder | `checking-sim` |
101
- | D4 | Hatalı denemede fraud bildirimi | D1 senaryosu | Arka planda fraud bildirimi gönderilir (`fraud-push` alt süreci tamamlanmış olmalı) | — |
102
-
103
- ## E. SIM blokesi ve OTP kara listesi
104
-
105
- | # | Senaryo | Ön koşul | Beklenen ekran | Beklenen state |
106
- |---|---|---|---|---|
107
- | E1 | SIM blokesi var | SIM blokesi olan müşteri | Akış devam eder | `checking-eligibility` |
108
- | E2 | SIM blokesi yok, OTP kara listesi de yok | Blokesiz müşteri | "SIM blokeniz bulunmuyor" ekranı | `no-blockage-end` |
109
- | E3 | SIM blokesi yok ama OTP kara listesinde | Blokesiz, OTP kara listeli müşteri | Akış **devam eder** | `checking-eligibility` |
110
-
111
- ## F. Sözleşme adımı
112
-
113
- | # | Senaryo | Ön koşul | Beklenen | Beklenen state |
114
- |---|---|---|---|---|
115
- | F1 | Sözleşmeler listelenir | Sözleşmeleri **daha önce onaylamamış** müşteri | 3 sözleşme listelenir: Aydınlatma Metni, Açık Rıza Beyanı, Onay Metni | `contract-documents` |
116
- | F2 | Sözleşme açılır | Listeden birine dokun | PDF açılır, "Okudum, onaylıyorum" butonu görünür | — |
117
- | F3 | Tek tek onay | Her sözleşmeyi aç ve onayla | Her onaydan sonra ilgili satır işaretlenir, ekran **loading'de kalmaz** | — |
118
- | F4 | Eksik onayla devam | Sözleşmelerden biri onaysızken **Devam** | Uyarı popup'ı çıkar, ilerlemez | — |
119
- | F5 | Hepsi onaylı, devam | Tümü onaylı → **Devam** | Kimlik onayı ekranına geçer | `identity-read` |
120
- | F6 | Daha önce onaylamış müşteri | Sözleşmeleri onaylamış müşteriyle akışı başlat | Sözleşme ekranı **hiç görünmez**, doğrudan kimlik onayına geçer | `identity-read` |
121
- | F7 | Sözleşme reddi | Sözleşme süreci reddedilir/başarısız olur | Genel hata ekranı | `failure-end` |
122
-
123
- ## G. Kimlik onayı (eKYC öncesi) ekranı
124
-
125
- | # | Senaryo | Ön koşul | Beklenen |
126
- |---|---|---|---|
127
- | G1 | Bireysel ekran | Bireysel müşteri | Metin kartı + **işaret dili anahtarı** + altta "Onayla" |
128
- | G2 | Kurumsal ekran | Kurumsal müşteri | Metin kartı + altta "Onayla"; **işaret dili anahtarı YOK** |
129
- | G3 | İşaret dili seçimi kaydediliyor | Bireysel, anahtarı **aç**, Onayla | `functions/data` içinde `isSignLanguageSelected: true` olmalı |
130
- | G4 | İşaret dili seçilmemiş | Bireysel, anahtara dokunma, Onayla | `isSignLanguageSelected: false` |
131
- | G5 | Onayla → eKYC | Onayla | eKYC başlar, kamera açılır | `ekyc-waiting` |
132
-
133
- > G3 **öncelikli**: bu alan 01.10.2026'ya kadar hiç okunmuyordu (ekran düz, mapping iç içe alan
134
- > bekliyordu). Düzeltildi, doğrulanması gerekiyor.
135
- >
136
- > **Bilinen boşluk:** akışta bu ekrandan giriş formuna dönen bir `back` geçişi tanımlı, ama ekranda
137
- > onu tetikleyen bir buton yok (neo sürümdeki üst çubuk geri oku zaten workflow'u değil, uygulamanın
138
- > kendi sayfa yığınını geri alıyordu). Yani "kimlik onayından geri dön" diye bir senaryo
139
- > **beklenmemeli**. Bu davranış istenirse ekrana ikinci bir buton eklenmesi gerekir.
140
-
141
- ## H. Uygunluk kontrolleri
142
-
143
- State: `deblock-sim-card-checking-eligibility`
144
-
145
- | # | Senaryo | Ön koşul | Beklenen ekran | Beklenen state |
146
- |---|---|---|---|---|
147
- | H1 | Kimlik kartı kontrolü başarısız | Kimlik doğrulaması geçmeyen müşteri | Genel hata ekranı | `failure-end` |
148
- | H2 | Eski kimlik kartı | Yeni tip kimliği olmayan müşteri | Giriş hatası ekranı | `input-failure-end` |
149
- | H3 | Cihaz sürümü eski | Minimum sürümün altında cihaz | Giriş hatası ekranı | `input-failure-end` |
150
- | H4 | Mesai dışı | eKYC çalışma saatleri dışında deneme | "Mesai dışı" ekranı (çalışma saatleri yazar) | `out-of-hours-end` |
151
- | H5 | Hepsi uygun | Normal müşteri, mesai içi | Sözleşme adımına geçer | `contracting` |
152
-
153
- ## I. eKYC sonuçları
154
-
155
- State: `deblock-sim-card-ekyc-result-router` — eKYC alt sürecinin döndürdüğü sonuca göre dallanır.
156
-
157
- | # | eKYC sonucu | Beklenen ekran | Beklenen state |
158
- |---|---|---|---|
159
- | I1 | `SelfServiceCompleted` (self servis tamamlandı) | Blokaj kaldırma adımına geçer | `resolving` |
160
- | I2 | `VideoCallSuccess` / `VideoCallExit` | Görüntülü görüşme kontrolüne geçer | `videocall-checking` |
161
- | I3 | `ocrFailedMaxTryCount` (kimlik okutma hakkı bitti) | OCR hata ekranı | `ekyc-ocr-failure-end` |
162
- | I4 | `ForceUpdate` | Zorunlu güncelleme popup'ı | `force-update-end` |
163
- | I5 | `MobileVersionNotMatch` | Giriş hatası ekranı | `input-failure-end` |
164
- | I6 | Diğer tüm hatalar | eKYC hata ekranı | `ekyc-failure-end` |
165
-
166
- ## J. Görüntülü görüşme
167
-
168
- | # | Senaryo | Beklenen ekran | Beklenen state |
169
- |---|---|---|---|
170
- | J1 | Görüşme başarılı | Blokaj kaldırma adımına geçer | `resolving` |
171
- | J2 | Görüşme başarısız | eKYC hata ekranı | `ekyc-failure-end` |
172
-
173
- ## K. Blokaj kaldırma ve kapanış
174
-
175
- | # | Senaryo | Beklenen | Beklenen state |
176
- |---|---|---|---|
177
- | K1 | Blokaj başarıyla kaldırıldı | Başarı ekranı; müşteriye bilgilendirme mesajı gider; fraud bildirimi gönderilir | `success-end` |
178
- | K2 | Blokaj kaldırma başarısız | Genel hata ekranı | `failure-end` |
179
- | K3 | Uçtan uca mutlu yol | Giriş → sözleşmeler → kimlik onayı → eKYC → başarı; **hiçbir adımda loading'de kalınmamalı** | `success-end` |
180
-
181
- ## L. Geri dönüş ve tekrar denemeler
182
-
183
- | # | Senaryo | Beklenen |
184
- |---|---|---|
185
- | L1 | "Bilgiler Doğrulanamadı" → Tekrar Dene → doğru bilgi | Akış baştan ilerler, önceki hata izleri ekranda kalmaz |
186
- | L2 | "Müşteri Bulunamadı" → Tekrar Dene | Giriş formu temiz açılır |
187
- | L3 | Aynı müşteriyle arka arkaya iki koşu | İkinci koşu sözleşme ekranını atlar (F6), diğer adımlar normal ilerler |
188
-
189
- ---
190
-
191
- ## Raporlama notları
192
-
193
- Bir senaryo takılırsa lütfen şunları ekleyin; arka uç teşhisi bunlarla yapılabiliyor:
194
-
195
- 1. **instanceId** (uygulama logundan veya runtime'dan)
196
- 2. Ekran görüntüsü
197
- 3. `functions/state` çıktısı — `state`, `status`, `incident`
198
- 4. Koşunun saati ve kullanılan müşteri
199
-
200
- "Loading'de kalıyor" raporlarında **hangi ekranda kalındığı** değil, **hangi ekrana geçilemediği**
201
- belirleyicidir: bir sonraki ekran kurulamadığında uygulama önceki ekranda spinner gösteriyor. Bu
202
- yüzden ekran görüntüsü tek başına yetmez, instanceId şart.
@@ -1,63 +0,0 @@
1
- #!/usr/bin/env bash
2
- # Sözleşme ekranını ATLAMAK için: 3 dökümanı müşteri onaylamış gibi işaretler,
3
- # sonra bizim akışı ilerletir. İstemcideki sözleşme listesi loading sorunu
4
- # çözülene kadar eKYC ve sonrasını test edebilmek için.
5
- #
6
- # ./approve-contract-documents.sh <deblock-instance-id> [test|qa]
7
- #
8
- # Instance id'yi uygulamadaki koşudan alırsın; "son instance" için:
9
- # curl -sk "$IDM/workflows/deblock-sim-card-workflow/instances" | python3 -m json.tool | head
10
- set -euo pipefail
11
-
12
- INSTANCE="${1:?kullanım: $0 <deblock-instance-id> [test|qa]}"
13
- ENVN="${2:-test}"
14
- case "$ENVN" in
15
- test) IDM=https://test-vnext-morph-idm.apps.nonprod.ebt.bank/api/v1/morph-idm
16
- CON=https://test-vnext-contract.apps.nonprod.ebt.bank/api/v1/contract ;;
17
- qa) IDM=https://qa-vnext-morph-idm.apps.nonprod.ebt.bank/api/v1/morph-idm
18
- CON=https://qa-vnext-contract.apps.nonprod.ebt.bank/api/v1/contract ;;
19
- *) echo "ortam test ya da qa olmalı"; exit 1 ;;
20
- esac
21
-
22
- WF="$IDM/workflows/deblock-sim-card-workflow/instances/$INSTANCE"
23
-
24
- echo "== 1) instance durumu"
25
- curl -sk -m 25 "$WF" | python3 -c "
26
- import json,sys
27
- m=(json.load(sys.stdin).get('metadata') or {})
28
- print(' state :',m.get('currentState'),'| status:',m.get('status'))
29
- "
30
-
31
- echo "== 2) döküman alt süreçleri"
32
- DOCS=$(curl -sk -m 25 "$WF/functions/data" | python3 -c "
33
- import json,sys
34
- a=(json.load(sys.stdin).get('data') or {})
35
- for d in (a.get('documents') or {}).get('online',[]):
36
- print(d['subprocessInstanceId'], d['code'])
37
- ")
38
- [ -z "$DOCS" ] && { echo " döküman yok — instance contract-documents'ta mı?"; exit 1; }
39
- echo "$DOCS" | sed 's/^/ /'
40
-
41
- echo "== 3) her dökümanı onayla"
42
- while read -r id code; do
43
- [ -z "$id" ] && continue
44
- printf ' %-16s %s ' "$code" "${id:0:8}"
45
- curl -sk -m 30 -X PATCH \
46
- "$CON/workflows/online-document-subprocess/instances/$id/transitions/document-approved" \
47
- -H "Content-Type: application/json" -d '{"attributes":{}}' \
48
- -o /dev/null -w "http=%{http_code}\n"
49
- done <<< "$DOCS"
50
-
51
- echo "== 4) akışı ilerlet (apply -> contract-finalizing)"
52
- curl -sk -m 30 -X PATCH "$WF/transitions/apply" \
53
- -H "Content-Type: application/json" -d '{"attributes":{}}' \
54
- -o /dev/null -w " http=%{http_code}\n"
55
-
56
- echo "== 5) 15 sn sonra durum"
57
- sleep 15
58
- curl -sk -m 25 "$WF" | python3 -c "
59
- import json,sys
60
- m=(json.load(sys.stdin).get('metadata') or {})
61
- print(' state :',m.get('currentState'),'| status:',m.get('status'))
62
- print(' beklenen: deblock-sim-card-identity-read')
63
- "