@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.
- package/burgan-tech-morph-idm-runtime-0.0.7.tgz +0 -0
- package/morph-idm/Workflows/test-consent-selection/test-flow-with-sub.json +1 -1
- package/morph-idm/Workflows/test-consent-selection/test-flow-with-two-sub.json +2 -2
- package/morph-idm/Workflows/token-process/token/src/mappings/StateMintTokenCallSessionStartMapping.csx +8 -33
- package/morph-idm/Workflows/token-process/token/token.json +1 -1
- package/package.json +1 -1
- package/vnext.config.json +1 -1
- package/burgan-tech-morph-idm-runtime-0.0.6.tgz +0 -0
- package/morph-idm/Extensions/.gitkeep +0 -0
- package/morph-idm/Functions/.gitkeep +0 -0
- package/morph-idm/Functions/cert/check/execute/check.http +0 -106
- package/morph-idm/Functions/consent/check-consent-role/execute/check-consent-role.http +0 -89
- package/morph-idm/Functions/consent/get-consent-role-position/execute/get-consent-role-position.http +0 -55
- package/morph-idm/Functions/consent/get-position/execute/get-position.http +0 -38
- package/morph-idm/Functions/consent/get-roles/execute/get-roles.http +0 -163
- package/morph-idm/Functions/customer/execute/get-customer-by-filter.http +0 -126
- package/morph-idm/Functions/customer-management/get-firms-by-filter/execute/get-firms-by-filter.http +0 -91
- package/morph-idm/Functions/device-process/forget/execute/forget.http +0 -141
- package/morph-idm/Functions/device-process/get-device-list/execute/get-device-list.http +0 -138
- package/morph-idm/Functions/device-process/get-device-token-by-reference/execute/get-device-token-by-reference.http +0 -349
- package/morph-idm/Functions/device-process/remove/execute/remove.http +0 -150
- package/morph-idm/Functions/device-process/save/execute/save.http +0 -124
- package/morph-idm/Functions/feature-management/dynamic-config/.gitkeep +0 -0
- package/morph-idm/Functions/feature-management/dynamic-config/execute/dynamic-config-reads.http +0 -43
- package/morph-idm/Functions/feature-management/feature-flag/.gitkeep +0 -0
- package/morph-idm/Functions/feature-management/feature-management-ops/.gitkeep +0 -0
- package/morph-idm/Functions/organization/get-organizations/execute/get-organizations.http +0 -30
- package/morph-idm/Functions/organization/get-position-levels-by-scope/execute/get-position-levels-by-scope.http +0 -54
- package/morph-idm/Functions/session/logout/execute/logout.http +0 -91
- package/morph-idm/Functions/sso-flow/execute/session-transfer.http +0 -132
- package/morph-idm/Functions/sso-flow/token-direct/execute/token-direct-boarding.http +0 -222
- package/morph-idm/Functions/sso-flow/token-direct/execute/token-direct.http +0 -121
- package/morph-idm/Functions/transaction-limit/verify-limit-definition/execute/verify-limit-definition.http +0 -78
- package/morph-idm/Functions/user/execute/get-password-history-by-filter.http +0 -66
- package/morph-idm/Functions/user/execute/get-security-question-history-by-user.http +0 -85
- package/morph-idm/Functions/user/get-users-by-scope/execute/get-users-by-scope.http +0 -73
- package/morph-idm/Functions/user-login/get-last-successful-corporate-logon/execute/get-last-successful-corporate-logon.http +0 -49
- package/morph-idm/Functions/user-login/get-last-user-logins/execute/get-last-user-logins.http +0 -96
- package/morph-idm/Functions/user-login/get-user-logins/execute/get-user-logins.http +0 -78
- package/morph-idm/Functions/zeebe-approval/get-starter-instance-id/execute/get-starter-instance-id.http +0 -64
- package/morph-idm/Schemas/feature-management/database-variables/.gitkeep +0 -0
- package/morph-idm/Schemas/feature-management/dynamic-config/.gitkeep +0 -0
- package/morph-idm/Schemas/feature-management/feature-flag/.gitkeep +0 -0
- package/morph-idm/Tasks/.gitkeep +0 -0
- package/morph-idm/Tasks/feature-management/database-variables/.gitkeep +0 -0
- package/morph-idm/Tasks/feature-management/dynamic-config/.gitkeep +0 -0
- package/morph-idm/Tasks/feature-management/feature-flag/.gitkeep +0 -0
- package/morph-idm/Tasks/feature-management/feature-management-shared/.gitkeep +0 -0
- package/morph-idm/TestCases/corporate-user-login-e2e.http +0 -872
- package/morph-idm/TestCases/limit-approval/approval-matrix-limit-definition.http +0 -182
- package/morph-idm/TestCases/limit-approval/approval-non-amount-subflow.http +0 -132
- package/morph-idm/TestCases/limit-approval/transaction-limit-definition-approval.http +0 -95
- package/morph-idm/TestCases/limit-definition/README.md +0 -130
- package/morph-idm/TestCases/limit-definition/approve-transaction.http +0 -149
- package/morph-idm/TestCases/limit-definition/approve.http +0 -143
- package/morph-idm/TestCases/limit-definition/daily-limit-definition.http +0 -399
- package/morph-idm/TestCases/limit-definition/transaction-limit-definition.http +0 -240
- package/morph-idm/TestCases/session-transfer-e2e.http +0 -344
- package/morph-idm/TestCases/session-transfer-e2e.sh +0 -272
- package/morph-idm/TestCases/sort-migration-verification.http +0 -428
- package/morph-idm/TestCases/test-123/.httpyac.json +0 -15
- package/morph-idm/TestCases/test-123/01-person.http +0 -78
- package/morph-idm/TestCases/test-123/02-user.http +0 -73
- package/morph-idm/TestCases/test-123/03-scope.http +0 -65
- package/morph-idm/TestCases/test-123/04-consent.http +0 -66
- package/morph-idm/TestCases/test-123/05-device.http +0 -86
- package/morph-idm/TestCases/test-123/06-user-login.http +0 -206
- package/morph-idm/TestCases/test-123/README.md +0 -112
- package/morph-idm/TestCases/test-123/cleanup.js +0 -49
- package/morph-idm/TestCases/test-123/cleanup.sh +0 -20
- package/morph-idm/TestCases/test-123/cleanup.sql +0 -45
- package/morph-idm/TestCases/test-123/http-client.env.json +0 -13
- package/morph-idm/TestCases/test-123/run-setup.sh +0 -42
- package/morph-idm/TestCases/test-12345/.httpyac.json +0 -16
- package/morph-idm/TestCases/test-12345/01-person.http +0 -79
- package/morph-idm/TestCases/test-12345/02-01-device-android.http +0 -258
- package/morph-idm/TestCases/test-12345/02-user.http +0 -97
- package/morph-idm/TestCases/test-12345/03-scope-2.http +0 -65
- package/morph-idm/TestCases/test-12345/03-scope.http +0 -65
- package/morph-idm/TestCases/test-12345/04-consent-1.http +0 -86
- package/morph-idm/TestCases/test-12345/04-consent-2.http +0 -66
- package/morph-idm/TestCases/test-12345/05-device.http +0 -261
- package/morph-idm/TestCases/test-12345/06-user-login copy.http +0 -266
- package/morph-idm/TestCases/test-12345/06-user-login.http +0 -266
- package/morph-idm/TestCases/test-12345/07-corporate-login.http +0 -282
- package/morph-idm/TestCases/test-auto-consent/.httpyac.json +0 -14
- package/morph-idm/TestCases/test-auto-consent/01-person.http +0 -66
- package/morph-idm/TestCases/test-auto-consent/02-user.http +0 -115
- package/morph-idm/TestCases/test-auto-consent/03-scope.http +0 -66
- package/morph-idm/TestCases/test-auto-consent/04-device.http +0 -56
- package/morph-idm/TestCases/test-auto-consent/05-user-login.http +0 -133
- package/morph-idm/TestCases/test-auto-consent/README.md +0 -36
- package/morph-idm/TestCases/test-auto-consent/cleanup.js +0 -47
- package/morph-idm/TestCases/test-auto-consent/run-setup.sh +0 -50
- package/morph-idm/TestCases/test-flows/test-flow-with-two-sub.http +0 -107
- package/morph-idm/TestCases/test-get-user-info/.httpyac.json +0 -9
- package/morph-idm/TestCases/test-get-user-info/get-user-info-ibweb-manual.http +0 -127
- package/morph-idm/TestCases/test-get-user-info/get-user-info.http +0 -282
- package/morph-idm/TestCases/test-login/.httpyac.json +0 -17
- package/morph-idm/TestCases/test-login/01-person.http +0 -79
- package/morph-idm/TestCases/test-login/02-01-device-android.http +0 -261
- package/morph-idm/TestCases/test-login/02-user.http +0 -97
- package/morph-idm/TestCases/test-login/03-scope.http +0 -65
- package/morph-idm/TestCases/test-login/04-consent-1.http +0 -86
- package/morph-idm/TestCases/test-login/05-device.http +0 -261
- package/morph-idm/TestCases/test-login/06-user-login copy.http +0 -266
- package/morph-idm/TestCases/test-login/06-user-login.http +0 -266
- package/morph-idm/TestCases/test-login/07-corporate-login.http +0 -282
- package/morph-idm/TestCases/test-login/README.md +0 -37
- package/morph-idm/TestCases/test-login/cleanup.js +0 -46
- package/morph-idm/TestCases/test-login/cleanup.sh +0 -20
- package/morph-idm/TestCases/test-login/run-setup.sh +0 -53
- package/morph-idm/TestCases/test-onefa-corporate/device-key.pem +0 -27
- package/morph-idm/TestCases/test-onefa-corporate/onefa-corporate-cert-management.http +0 -156
- package/morph-idm/TestCases/test-onefa-corporate/onefa-corporate-login-cert-token.http +0 -371
- package/morph-idm/TestCases/test-onefa-retail/onefa-retail-login-cert-token.http +0 -499
- package/morph-idm/TestCases/test-third-factor/.httpyac.json +0 -36
- package/morph-idm/TestCases/test-third-factor/lib/httpyac.sh +0 -35
- package/morph-idm/TestCases/test-third-factor/scenarios/0-clean-test-instance.js +0 -42
- package/morph-idm/TestCases/test-third-factor/scenarios/0-clean-test-instance.sh +0 -20
- package/morph-idm/TestCases/test-third-factor/scenarios/1-self-completed.sh +0 -25
- package/morph-idm/TestCases/test-third-factor/scenarios/2-native-without-device.sh +0 -34
- package/morph-idm/TestCases/test-third-factor/scenarios/3-native-wrong-otp.sh +0 -34
- package/morph-idm/TestCases/test-third-factor/scenarios/4-native-success-otp-after-wrong-otp.sh +0 -46
- package/morph-idm/TestCases/test-third-factor/scenarios/5-retry-count-exceed.sh +0 -37
- package/morph-idm/TestCases/test-third-factor/scenarios/http/06-third-factor-native-with-device.http +0 -56
- package/morph-idm/TestCases/test-third-factor/scenarios/http/07-third-factor-native-without-device.http +0 -91
- package/morph-idm/TestCases/test-third-factor/scenarios/http/08-third-factor-web-with-device.http +0 -117
- package/morph-idm/TestCases/test-third-factor/scenarios/http/09-third-factor-web-without-device.http +0 -164
- package/morph-idm/TestCases/test-third-factor/scenarios/run-third-factor-native-without-device-success-otp-after-resend.sh +0 -50
- package/morph-idm/TestCases/test-third-factor/scenarios/run-third-factor-native-without-device-success-otp-resend-after-timeout-otp.sh +0 -50
- package/morph-idm/TestCases/test-third-factor/scenarios/run-third-factor-native-without-device-timeout-otp.sh +0 -48
- package/morph-idm/TestCases/test-third-factor/setup/01-person.http +0 -157
- package/morph-idm/TestCases/test-third-factor/setup/02-user.http +0 -105
- package/morph-idm/TestCases/test-third-factor/setup/03-device.http +0 -70
- package/morph-idm/TestCases/test-third-factor/setup/04-native-client.http +0 -126
- package/morph-idm/TestCases/test-third-factor/setup/05-web-client.http +0 -126
- package/morph-idm/TestCases/test-third-factor/setup/cleanup.js +0 -51
- package/morph-idm/TestCases/test-third-factor/setup/cleanup.sh +0 -20
- package/morph-idm/TestCases/test-third-factor/setup/run-setup.sh +0 -34
- package/morph-idm/TestCases/token-mint-parity/RESULT.md +0 -48
- package/morph-idm/TestCases/token-sync-race.sh +0 -72
- package/morph-idm/TestCases/user-login-apisix.postman_collection.json +0 -1114
- package/morph-idm/TestCases/user-login-boweb-e2e.http +0 -123
- package/morph-idm/TestCases/user-login-e2e.http +0 -730
- package/morph-idm/TestCases/user-login-e2e.sh +0 -122
- package/morph-idm/Views/.gitkeep +0 -0
- package/morph-idm/Workflows/.gitkeep +0 -0
- package/morph-idm/Workflows/anti-phishing-image/anti-phishing-image-change/execute/anti-phishing-image.http +0 -370
- package/morph-idm/Workflows/anti-phishing-image/anti-phishing-image-definition/execute/anti-phishing-image-definition.http +0 -200
- package/morph-idm/Workflows/anti-phishing-image/anti-phishing-image-definition/execute/get-security-images.http +0 -51
- package/morph-idm/Workflows/approval/execute/approval-corporate-customers-non-amount.http +0 -159
- package/morph-idm/Workflows/approval/execute/approval-corporate-customers-time-deposit.http +0 -147
- package/morph-idm/Workflows/approval/execute/approval-human-task-mobile.http +0 -149
- package/morph-idm/Workflows/approval/execute/approval-limit-management.http +0 -277
- package/morph-idm/Workflows/approval/execute/approval-new-reject.http +0 -67
- package/morph-idm/Workflows/approval/execute/approval-new.http +0 -999
- package/morph-idm/Workflows/approval/execute/approval-super-authority.http +0 -158
- package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-corporate-customers-non-amount.http +0 -70
- package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-corporate-customers-time-deposit.http +0 -74
- package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-migrate-position-levels.http +0 -295
- package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-new-run.http +0 -296
- package/morph-idm/Workflows/approval-matrix/execute/approval-matrix-upsert-super-authorization.http +0 -129
- package/morph-idm/Workflows/cert/execute/cert-cn-length.http +0 -90
- package/morph-idm/Workflows/cert/execute/cert.http +0 -162
- package/morph-idm/Workflows/cert-management/execute/cert-management.http +0 -90
- package/morph-idm/Workflows/channel-contract/execute/channel-contract-approval.http +0 -246
- package/morph-idm/Workflows/client/execute/client-AmorphieClient.http +0 -118
- package/morph-idm/Workflows/client/execute/client-IbWeb-session-transfer.http +0 -35
- package/morph-idm/Workflows/client/execute/client-OpenBanking.http +0 -411
- package/morph-idm/Workflows/client/execute/client-Trade.http +0 -112
- package/morph-idm/Workflows/client/execute/client-source-app.http +0 -88
- package/morph-idm/Workflows/client/execute/client-update.http +0 -795
- package/morph-idm/Workflows/client/execute/client.http +0 -766
- package/morph-idm/Workflows/client/execute/vnext-target.http +0 -416
- package/morph-idm/Workflows/client-credentials/execute/client-credentials.http +0 -117
- package/morph-idm/Workflows/consent/execute/README.md +0 -145
- package/morph-idm/Workflows/consent/execute/consent-manual-activation.http +0 -135
- package/morph-idm/Workflows/consent/execute/create-consent.http +0 -801
- package/morph-idm/Workflows/consent-management/consent-management.http +0 -267
- package/morph-idm/Workflows/consent-selection/execute/consent-selection.http +0 -200
- package/morph-idm/Workflows/deblock-sim-card/execute/MOBIL-ENTEGRASYON-GOREVLERI.md +0 -339
- package/morph-idm/Workflows/deblock-sim-card/execute/TEST-SENARYOLARI.md +0 -202
- package/morph-idm/Workflows/deblock-sim-card/execute/approve-contract-documents.sh +0 -63
- package/morph-idm/Workflows/deblock-sim-card/execute/contract-debug.sh +0 -101
- package/morph-idm/Workflows/deblock-sim-card/execute/deblock-sim-card-workflow.http +0 -290
- package/morph-idm/Workflows/device-process/device/execute/device-android.http +0 -262
- package/morph-idm/Workflows/device-process/device/execute/device-huawei.http +0 -219
- package/morph-idm/Workflows/device-process/device/execute/device-ios.http +0 -319
- package/morph-idm/Workflows/device-process/device/execute/device-migration.http +0 -105
- package/morph-idm/Workflows/device-process/device/execute/device-web.http +0 -284
- package/morph-idm/Workflows/device-process/device/execute/device.http +0 -269
- package/morph-idm/Workflows/device-process/device/execute/search.http +0 -39
- package/morph-idm/Workflows/device-process/device-assign/execute/device-assign.http +0 -478
- package/morph-idm/Workflows/device-process/device-manager/execute/device-manager.http +0 -214
- package/morph-idm/Workflows/device-process/device-register/execute/device-register.http +0 -566
- package/morph-idm/Workflows/device-process/device-unpair/execute/device-unpair.http +0 -207
- package/morph-idm/Workflows/feature-management/database-variables/.gitkeep +0 -0
- package/morph-idm/Workflows/feature-management/database-variables/execute/database-variables-lifecycle.http +0 -225
- package/morph-idm/Workflows/feature-management/dcs-eval/execute/dcs-eval.http +0 -28
- package/morph-idm/Workflows/feature-management/dynamic-config/.gitkeep +0 -0
- package/morph-idm/Workflows/feature-management/dynamic-config/execute/dynamic-config-evaluate.http +0 -186
- package/morph-idm/Workflows/feature-management/dynamic-config/execute/dynamic-config-lifecycle.http +0 -263
- package/morph-idm/Workflows/feature-management/feature-flag/.gitkeep +0 -0
- package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-evaluate.http +0 -245
- package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-lifecycle.http +0 -246
- package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-ops.http +0 -116
- package/morph-idm/Workflows/feature-management/feature-flag/execute/feature-flag-reads.http +0 -47
- package/morph-idm/Workflows/fraud/execute/fraud-push.http +0 -1016
- package/morph-idm/Workflows/get-roles/execute/get-roles.http +0 -367
- package/morph-idm/Workflows/introspection/execute/introspection.http +0 -69
- package/morph-idm/Workflows/ivr/execute/ivr-check-password.http +0 -55
- package/morph-idm/Workflows/ivr/execute/ivr-check-user.http +0 -56
- package/morph-idm/Workflows/ivr/execute/ivr-create-agent-consent.http +0 -59
- package/morph-idm/Workflows/ivr/execute/ivr-get-agent-company.http +0 -30
- package/morph-idm/Workflows/ivr/execute/ivr-revoke-agent-consent.http +0 -30
- package/morph-idm/Workflows/ivr/execute/ivr-set-password.http +0 -87
- package/morph-idm/Workflows/notification/push-notification/execute/push-notification.http +0 -261
- package/morph-idm/Workflows/organization/execute/create-organization-yedek.http +0 -415
- package/morph-idm/Workflows/organization/execute/create-organization.http +0 -346
- package/morph-idm/Workflows/organization/execute/retail-organization.http +0 -161
- package/morph-idm/Workflows/otp-auth-code/execute/otp-auth-code.http +0 -743
- package/morph-idm/Workflows/person/execute/person-123.http +0 -149
- package/morph-idm/Workflows/person/execute/person-migration.http +0 -143
- package/morph-idm/Workflows/person/execute/person.http +0 -149
- package/morph-idm/Workflows/person/firm-cdc-dispatch/execute/person-firm-cdc-dispatch.http +0 -266
- package/morph-idm/Workflows/remember-password/execute/remember-password.http +0 -203
- package/morph-idm/Workflows/role/execute/role.http +0 -142
- package/morph-idm/Workflows/scope/execute/scope-24-7-access.http +0 -131
- package/morph-idm/Workflows/scope/execute/scope-business-hours.http +0 -138
- package/morph-idm/Workflows/scope/execute/scope-corporate.http +0 -165
- package/morph-idm/Workflows/scope/execute/scope-individual-1234567890-1234567890.http +0 -132
- package/morph-idm/Workflows/scope/execute/scope-lifecycle-test.http +0 -133
- package/morph-idm/Workflows/scope/execute/scope-multi-systems.http +0 -159
- package/morph-idm/Workflows/scope/execute/scope-openbanking-account.http +0 -134
- package/morph-idm/Workflows/scope/execute/scope-openbanking-login.http +0 -135
- package/morph-idm/Workflows/scope/execute/scope-openbanking-payment.http +0 -134
- package/morph-idm/Workflows/scope/execute/scope-restricted.http +0 -143
- package/morph-idm/Workflows/scope-group/execute/create-scope-group.http +0 -224
- package/morph-idm/Workflows/security-check/execute/security-check-test.http +0 -88
- package/morph-idm/Workflows/security-check-test/execute/security-check-test.http +0 -51
- package/morph-idm/Workflows/security-question/security-question-change/execute/security-question-change.http +0 -324
- package/morph-idm/Workflows/security-question/security-question-definition/execute/security-question-definition.http +0 -372
- package/morph-idm/Workflows/security-question/security-question-reset/execute/security-question-reset.http +0 -97
- package/morph-idm/Workflows/shield-decrypt/execute/shield-decrypt.http +0 -77
- package/morph-idm/Workflows/shield-encrypt/execute/shield-encrypt.http +0 -80
- package/morph-idm/Workflows/shield-sign/execute/shield-sign.http +0 -79
- package/morph-idm/Workflows/shield-verify-request-signature/execute/generate-request-signature.js +0 -54
- package/morph-idm/Workflows/shield-verify-request-signature/execute/shield-verify-request-signature.http +0 -135
- package/morph-idm/Workflows/shield-verify-signature/execute/shield-verify-signature.http +0 -108
- package/morph-idm/Workflows/sim-block/sim-block-backoffice/execute/sim-block-backoffice.http +0 -183
- package/morph-idm/Workflows/simple-subflow/execute/simple-subflow.http +0 -50
- package/morph-idm/Workflows/sso/authorize/execute/authorize.http +0 -160
- package/morph-idm/Workflows/sso/authorize-route/execute/authorize-route.http +0 -169
- package/morph-idm/Workflows/sso/pre-login/execute/pre-login.http +0 -273
- package/morph-idm/Workflows/sso/token-direct/execute/token-direct.http +0 -272
- package/morph-idm/Workflows/sso/token-route/execute/token-route.http +0 -207
- package/morph-idm/Workflows/sso-flow/execute/sso-flow-auth-code.http +0 -89
- package/morph-idm/Workflows/sso-flow/execute/sso-flow-login.http +0 -163
- package/morph-idm/Workflows/sso-flow/execute/sso-flow-test-base.http +0 -178
- package/morph-idm/Workflows/test-consent-selection/execute/test-consent-selection.http +0 -68
- package/morph-idm/Workflows/test-consent-selection/execute/test-flow-with-sub.http +0 -50
- package/morph-idm/Workflows/test-consent-selection/execute/test-flow.http +0 -140
- package/morph-idm/Workflows/test-consent-selection/execute/test-sync-subprocess.http +0 -63
- package/morph-idm/Workflows/test-consent-selection/execute/test-user-validation.http +0 -126
- package/morph-idm/Workflows/third-factor/execute/third-factor.http +0 -183
- package/morph-idm/Workflows/third-factor-main/execute/execute/third-factor-main.http +0 -229
- package/morph-idm/Workflows/token-process/session/execute/session.http +0 -361
- package/morph-idm/Workflows/token-process/session-revoke-others/execute/session-revoke-others.http +0 -94
- package/morph-idm/Workflows/token-process/token/execute/README.md +0 -454
- package/morph-idm/Workflows/token-process/token/execute/device-key.pem +0 -27
- package/morph-idm/Workflows/token-process/token/execute/generate-onefa-assertion.js +0 -47
- package/morph-idm/Workflows/token-process/token/execute/onefa-token.http +0 -285
- package/morph-idm/Workflows/token-process/token/execute/setup-roles-for-token-claims.http +0 -425
- package/morph-idm/Workflows/token-process/token/execute/token-sync-race.http +0 -49
- package/morph-idm/Workflows/token-process/token/execute/token.http +0 -676
- package/morph-idm/Workflows/token-process/token-password-grant/execute/token-password-grant.http +0 -163
- package/morph-idm/Workflows/transaction-limit/cascade-approve-daily/execute/transaction-limit-cascade-approve-daily.http +0 -125
- package/morph-idm/Workflows/transaction-limit/cascade-approve-transaction/execute/transaction-limit-cascade-approve-transaction.http +0 -120
- package/morph-idm/Workflows/transaction-limit/cascade-daily/execute/transaction-limit-cascade-daily.http +0 -198
- package/morph-idm/Workflows/transaction-limit/cascade-transaction/execute/transaction-limit-cascade.http +0 -173
- package/morph-idm/Workflows/transaction-limit/definition/execute/transaction-limit-definition.http +0 -867
- package/morph-idm/Workflows/transaction-limit/definition-passivate/execute/transaction-limit-definition-passivate.http +0 -224
- package/morph-idm/Workflows/transaction-limit/definition-verify/execute/transaction-limit-definition-verify.http +0 -102
- package/morph-idm/Workflows/transaction-limit/execute/seed-corporate-customers-limits.sh +0 -178
- package/morph-idm/Workflows/transaction-limit/execute/transaction-limit-management.http +0 -984
- package/morph-idm/Workflows/transaction-limit/remaining/execute/transaction-limit-remaining.http +0 -103
- package/morph-idm/Workflows/transaction-limit/resolve/execute/transaction-limit-resolve.http +0 -96
- package/morph-idm/Workflows/transaction-limit/scope-bank-limit/execute/transaction-limit-scope-bank-limit.http +0 -84
- package/morph-idm/Workflows/transaction-limit/user-bank-limits/execute/transaction-limit-user-bank-limits.http +0 -87
- package/morph-idm/Workflows/transaction-limit/verify/execute/transaction-limit-verify.http +0 -212
- package/morph-idm/Workflows/user/create/execute/user-create-corporate.http +0 -51
- package/morph-idm/Workflows/user/create/execute/user-create.http +0 -135
- package/morph-idm/Workflows/user/get-users-by-scope/execute/get-users-by-scope.http +0 -210
- package/morph-idm/Workflows/user-corporate/firm-query/execute/firm-query.http +0 -87
- package/morph-idm/Workflows/user-corporate/onboard-dispatch/execute/user-corporate-onboard-dispatch.http +0 -105
- package/morph-idm/Workflows/user-corporate/provision/execute/user-corporate-provision.http +0 -631
- package/morph-idm/Workflows/user-corporate/provision/user-corporate-provision.flowchart.drawio +0 -88
- package/morph-idm/Workflows/user-corporate/remove/execute/user-corporate-remove.http +0 -152
- package/morph-idm/Workflows/user-corporate/rollback/execute/user-corporate-rollback.http +0 -97
- package/morph-idm/Workflows/user-corporate/update-provision/execute/user-corporate-update-provision.http +0 -449
- package/morph-idm/Workflows/user-corporate/user-corporate-create/execute/user-corporate-create.http +0 -173
- package/morph-idm/Workflows/user-corporate/user-corporate-update/execute/user-corporate-update.http +0 -117
- package/morph-idm/Workflows/user-login/execute/README-LOGIN.md +0 -535
- package/morph-idm/Workflows/user-login/execute/user-login-comprehensive-coverage.http +0 -1761
- package/morph-idm/Workflows/user-login/execute/user-login-device-assign.http +0 -497
- package/morph-idm/Workflows/user-login/execute/user-login.http +0 -910
- package/morph-idm/Workflows/user-login-approvement/execute/login-notification-otp.http +0 -86
- package/morph-idm/Workflows/user-login-approvement/execute/login-notification-push.http +0 -82
- package/morph-idm/Workflows/user-login-approvement/execute/login-notification-registered-device.http +0 -111
- package/morph-idm/Workflows/user-login-approvement/execute/user-login-approvement-comprehensive.http +0 -1267
- package/morph-idm/Workflows/user-management/execute/user-management.http +0 -284
- package/morph-idm/Workflows/user-note/execute/user-note-backoffice.http +0 -290
- package/morph-idm/Workflows/user-otp-setting/execute/user-otp-setting-backoffice.http +0 -128
- package/morph-idm/Workflows/user-password-process/user-change-password/execute/user-change-password.http +0 -576
- package/morph-idm/Workflows/user-password-process/user-password/execute/user-password.http +0 -58
- package/morph-idm/Workflows/user-password-process/user-password-force-change/execute/user-password-force-change.http +0 -31
- package/morph-idm/Workflows/user-password-process/user-password-reset/execute/user-password-reset.http +0 -213
- package/morph-idm/Workflows/user-status/user-status-change/execute/user-status-change.http +0 -124
- package/morph-idm/Workflows/user-status/user-status-change-backoffice/execute/user-status-change-backoffice.http +0 -197
- package/morph-idm/Workflows/user-validation/execute/user-validation-standalone.http +0 -331
- package/morph-idm/Workflows/user-validation/execute/user-validation.http +0 -696
- package/morph-idm/Workflows/zeebe-approval/execute/zeebe-approval-corporate-customers-non-amount.http +0 -195
- package/morph-idm/Workflows/zeebe-approval/execute/zeebe-approval-new.http +0 -275
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
### Variables
|
|
2
|
-
@baseUrl = http://localhost:4251
|
|
3
|
-
@apiVersion = v1
|
|
4
|
-
@domain = morph-idm
|
|
5
|
-
@workflow = scope-group
|
|
6
|
-
|
|
7
|
-
@organizationKey =retail-banking-org
|
|
8
|
-
|
|
9
|
-
### ==========================================
|
|
10
|
-
### SCOPE GROUP: IbCustomer (Bireysel Müşteriler)
|
|
11
|
-
### ==========================================
|
|
12
|
-
|
|
13
|
-
@ibCustomerKey = retail-customers
|
|
14
|
-
|
|
15
|
-
### Create Scope Group - Individual Banking Customers
|
|
16
|
-
# @name createRetailCustomers
|
|
17
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=false
|
|
18
|
-
Accept-Language: tr-TR
|
|
19
|
-
X-Request-Id: {{$guid}}
|
|
20
|
-
X-Device-Id: {{$guid}}
|
|
21
|
-
X-Token-Id: {{$guid}}
|
|
22
|
-
X-Device-Info: Admin Portal/1.0
|
|
23
|
-
X-Forwarded-For: 192.168.1.100
|
|
24
|
-
user_reference: admin-001
|
|
25
|
-
Content-Type: application/json
|
|
26
|
-
|
|
27
|
-
{
|
|
28
|
-
"key": "{{ibCustomerKey}}",
|
|
29
|
-
"tags": [
|
|
30
|
-
"banking",
|
|
31
|
-
"retail"
|
|
32
|
-
],
|
|
33
|
-
"attributes": {
|
|
34
|
-
"organization" : { "domain": "morph-idm", "workflow": "organization", "key": "{{organizationKey}}" },
|
|
35
|
-
"resourceType": "individual",
|
|
36
|
-
"consentLifetime": "P365D",
|
|
37
|
-
"maxMembersPerScope": 1
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
### Get Instance ID
|
|
42
|
-
@instanceId = {{createRetailCustomers.response.body.id}}
|
|
43
|
-
|
|
44
|
-
### Get RetailCustomers Data
|
|
45
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
|
|
46
|
-
Accept-Language: tr-TR
|
|
47
|
-
X-Request-Id: {{$guid}}
|
|
48
|
-
X-Device-Id: {{$guid}}
|
|
49
|
-
X-Token-Id: {{$guid}}
|
|
50
|
-
user_reference: admin-001
|
|
51
|
-
|
|
52
|
-
### Publish IbCustomer
|
|
53
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{ibCustomerKey}}/transitions/publish?sync=true
|
|
54
|
-
Accept-Language: tr-TR
|
|
55
|
-
X-Request-Id: {{$guid}}
|
|
56
|
-
X-Device-Id: {{$guid}}
|
|
57
|
-
X-Token-Id: {{$guid}}
|
|
58
|
-
X-Device-Info: Admin Portal/1.0
|
|
59
|
-
X-Forwarded-For: 192.168.1.100
|
|
60
|
-
user_reference: admin-001
|
|
61
|
-
Content-Type: application/json
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
### ==========================================
|
|
65
|
-
### SCOPE GROUP: CorporateCustomer (Kurumsal Müşteriler)
|
|
66
|
-
### ==========================================
|
|
67
|
-
|
|
68
|
-
@corporateKey = corporate-customers
|
|
69
|
-
|
|
70
|
-
### Create Scope Group - Corporate Customers
|
|
71
|
-
# @name createCorporateCustomer
|
|
72
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
73
|
-
Accept-Language: tr-TR
|
|
74
|
-
X-Request-Id: {{$guid}}
|
|
75
|
-
X-Device-Id: {{$guid}}
|
|
76
|
-
X-Token-Id: {{$guid}}
|
|
77
|
-
X-Device-Info: Admin Portal/1.0
|
|
78
|
-
X-Forwarded-For: 192.168.1.100
|
|
79
|
-
user_reference: admin-001
|
|
80
|
-
Content-Type: application/json
|
|
81
|
-
|
|
82
|
-
{
|
|
83
|
-
"key": "{{corporateKey}}",
|
|
84
|
-
"tags": [
|
|
85
|
-
"corporate",
|
|
86
|
-
"banking",
|
|
87
|
-
"enterprise"
|
|
88
|
-
],
|
|
89
|
-
"attributes": {
|
|
90
|
-
"organization": {
|
|
91
|
-
"domain": "morph-idm",
|
|
92
|
-
"workflow": "organization",
|
|
93
|
-
"key": "corporate-banking-org",
|
|
94
|
-
"version": "1.0.0"
|
|
95
|
-
},
|
|
96
|
-
"inviterRoles": [
|
|
97
|
-
"idm.admin",
|
|
98
|
-
"idm.corporate-manager"
|
|
99
|
-
],
|
|
100
|
-
"allowKeyCompareAutoConsent": false,
|
|
101
|
-
"resourceType": "corporate",
|
|
102
|
-
"consentLifetime": "P90D",
|
|
103
|
-
"maxMembersPerScope": 50
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
### Get CorporateCustomer Data
|
|
108
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{corporateKey}}/functions/data
|
|
109
|
-
Accept-Language: tr-TR
|
|
110
|
-
X-Request-Id: {{$guid}}
|
|
111
|
-
X-Device-Id: {{$guid}}
|
|
112
|
-
X-Token-Id: {{$guid}}
|
|
113
|
-
user_reference: admin-001
|
|
114
|
-
|
|
115
|
-
### Publish CorporateCustomer
|
|
116
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{corporateKey}}/transitions/publish?sync=true
|
|
117
|
-
Accept-Language: tr-TR
|
|
118
|
-
X-Request-Id: {{$guid}}
|
|
119
|
-
X-Device-Id: {{$guid}}
|
|
120
|
-
X-Token-Id: {{$guid}}
|
|
121
|
-
X-Device-Info: Admin Portal/1.0
|
|
122
|
-
X-Forwarded-For: 192.168.1.100
|
|
123
|
-
user_reference: admin-001
|
|
124
|
-
Content-Type: application/json
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
### ==========================================
|
|
128
|
-
### SCOPE GROUP: EmployeeAccess (Çalışan Erişimi)
|
|
129
|
-
### ==========================================
|
|
130
|
-
|
|
131
|
-
@employeeKey = employee-access
|
|
132
|
-
|
|
133
|
-
### Create Scope Group - Employee Internal Access
|
|
134
|
-
# @name createEmployeeAccess
|
|
135
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
136
|
-
Accept-Language: tr-TR
|
|
137
|
-
X-Request-Id: {{$guid}}
|
|
138
|
-
X-Device-Id: {{$guid}}
|
|
139
|
-
X-Token-Id: {{$guid}}
|
|
140
|
-
X-Device-Info: Admin Portal/1.0
|
|
141
|
-
X-Forwarded-For: 192.168.1.100
|
|
142
|
-
user_reference: admin-001
|
|
143
|
-
Content-Type: application/json
|
|
144
|
-
|
|
145
|
-
{
|
|
146
|
-
"key": "{{employeeKey}}",
|
|
147
|
-
"tags": [
|
|
148
|
-
"employee",
|
|
149
|
-
"internal",
|
|
150
|
-
"backoffice"
|
|
151
|
-
],
|
|
152
|
-
"attributes": {
|
|
153
|
-
"organization": {
|
|
154
|
-
"domain": "morph-idm",
|
|
155
|
-
"workflow": "organization",
|
|
156
|
-
"key": "employee-org",
|
|
157
|
-
"version": "1.0.0"
|
|
158
|
-
},
|
|
159
|
-
"inviterRoles": [
|
|
160
|
-
"idm.hr-admin",
|
|
161
|
-
"idm.system-admin"
|
|
162
|
-
],
|
|
163
|
-
"allowKeyCompareAutoConsent": false,
|
|
164
|
-
"resourceType": "employee",
|
|
165
|
-
"consentLifetime": "P30D",
|
|
166
|
-
"maxMembersPerScope": 1000
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
### Get EmployeeAccess Data
|
|
171
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{employeeKey}}/functions/data
|
|
172
|
-
Accept-Language: tr-TR
|
|
173
|
-
X-Request-Id: {{$guid}}
|
|
174
|
-
X-Device-Id: {{$guid}}
|
|
175
|
-
X-Token-Id: {{$guid}}
|
|
176
|
-
user_reference: admin-001
|
|
177
|
-
|
|
178
|
-
### Publish EmployeeAccess
|
|
179
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{employeeKey}}/transitions/publish?sync=true
|
|
180
|
-
Accept-Language: tr-TR
|
|
181
|
-
X-Request-Id: {{$guid}}
|
|
182
|
-
X-Device-Id: {{$guid}}
|
|
183
|
-
X-Token-Id: {{$guid}}
|
|
184
|
-
X-Device-Info: Admin Portal/1.0
|
|
185
|
-
X-Forwarded-For: 192.168.1.100
|
|
186
|
-
user_reference: admin-001
|
|
187
|
-
Content-Type: application/json
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
### ==========================================
|
|
191
|
-
### UTILITY ENDPOINTS
|
|
192
|
-
### ==========================================
|
|
193
|
-
|
|
194
|
-
### Get All Scope Groups
|
|
195
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances
|
|
196
|
-
Accept-Language: tr-TR
|
|
197
|
-
X-Request-Id: {{$guid}}
|
|
198
|
-
X-Device-Id: {{$guid}}
|
|
199
|
-
X-Token-Id: {{$guid}}
|
|
200
|
-
user_reference: admin-001
|
|
201
|
-
|
|
202
|
-
### Deactivate Scope Group
|
|
203
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{ibCustomerKey}}/transitions/deactivate?sync=true
|
|
204
|
-
Accept-Language: tr-TR
|
|
205
|
-
X-Request-Id: {{$guid}}
|
|
206
|
-
X-Device-Id: {{$guid}}
|
|
207
|
-
X-Token-Id: {{$guid}}
|
|
208
|
-
X-Device-Info: Admin Portal/1.0
|
|
209
|
-
X-Forwarded-For: 192.168.1.100
|
|
210
|
-
user_reference: admin-001
|
|
211
|
-
Content-Type: application/json
|
|
212
|
-
|
|
213
|
-
### Reactivate Scope Group
|
|
214
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{ibCustomerKey}}/transitions/reactivate?sync=true
|
|
215
|
-
Accept-Language: tr-TR
|
|
216
|
-
X-Request-Id: {{$guid}}
|
|
217
|
-
X-Device-Id: {{$guid}}
|
|
218
|
-
X-Token-Id: {{$guid}}
|
|
219
|
-
X-Device-Info: Admin Portal/1.0
|
|
220
|
-
X-Forwarded-For: 192.168.1.100
|
|
221
|
-
user_reference: admin-001
|
|
222
|
-
Content-Type: application/json
|
|
223
|
-
|
|
224
|
-
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
# HOLDER KEY (2026-10-21): user-password / security-question-user / anti-phishing-image-user ve -set akışlarının instance key'i
|
|
2
|
-
# artık {userKey}-{userInstanceId} (userInstanceId = user instance GUID'i, runtime'ın gösterdiği tireli küçük harf biçimiyle).
|
|
3
|
-
# user instance id: GET .../workflows/user/instances?filter={"and":[{"key":{"eq":"<userKey>"}},{"status":{"eq":"A"}}]} → items[0].id
|
|
4
|
-
# (olduğu gibi aşağıdaki değişkene yapıştır). Düz userKey ile başlatılan -set → HOLDER_KEY_NOT_COMPOSITE (F).
|
|
5
|
-
### =============================================================
|
|
6
|
-
### Security Check Flow - Test (state-based)
|
|
7
|
-
### =============================================================
|
|
8
|
-
### Login'den subflow olarak çağrılır; bağımsız test için doğrudan start edilir.
|
|
9
|
-
### Kullanıcının aktif güvenlik sorusu/resmi YOKsa zorla kurdurur:
|
|
10
|
-
### start → security-check
|
|
11
|
-
### → no-security-question → security-question-change → set-security-question
|
|
12
|
-
### (→ security-question-set, source=force-change → security-question-user 'active')
|
|
13
|
-
### → no-security-image → security-image-change → set-security-image
|
|
14
|
-
### → security-data-complete → completed
|
|
15
|
-
###
|
|
16
|
-
### Ön koşul: questionDefId + imageDefId tanımları AKTİF olmalı.
|
|
17
|
-
### Not: güvenlik sorusu artık user'da değil; security-check onu security-question-user'dan okur.
|
|
18
|
-
### =============================================================
|
|
19
|
-
|
|
20
|
-
@workflow = security-check
|
|
21
|
-
### userKey = GERÇEK bir `user` workflow instance key'i olmalı (security-check, save sonrası
|
|
22
|
-
### user-refetch ile o user'ı çeker — olmayan key 'Instance not found' verir). Ayrıca o user'ın
|
|
23
|
-
### AKTİF soru/resmi OLMAMALI ki force tetiklensin. Bir kez koşunca oluşur → taze testte başka
|
|
24
|
-
### (temiz) bir gerçek user seç.
|
|
25
|
-
@userKey = user-test-112
|
|
26
|
-
### user instance id — security-check holder key'lerini {userName}-{userInstanceId} kurar (login'den gelir; standalone'da elle ver)
|
|
27
|
-
@userInstanceId = 00000000-0000-0000-0000-000000000000
|
|
28
|
-
@holderKey = {{userKey}}-{{userInstanceId}}
|
|
29
|
-
@questionDefId = 11111111-2222-3333-4444-555555555554
|
|
30
|
-
@imageDefId = 22222222-3333-4444-5555-666666666667
|
|
31
|
-
|
|
32
|
-
### 1) Start — aktif soru/resim yok
|
|
33
|
-
# @name start
|
|
34
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
35
|
-
user_reference: {{userKey}}
|
|
36
|
-
Content-Type: application/json
|
|
37
|
-
|
|
38
|
-
{
|
|
39
|
-
"key": "sc-{{userKey}}-{{$timestamp}}",
|
|
40
|
-
"tags": ["test", "security-check"],
|
|
41
|
-
"attributes": {
|
|
42
|
-
"userName": "{{userKey}}",
|
|
43
|
-
"userInstanceId": "{{userInstanceId}}"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
###
|
|
48
|
-
@instanceId = {{start.response.body.id}}
|
|
49
|
-
|
|
50
|
-
### 2) State — beklenen: security-question-change (no-security-question)
|
|
51
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
|
|
52
|
-
user_reference: {{userKey}}
|
|
53
|
-
### 2) State — beklenen: security-question-change (no-security-question)
|
|
54
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/data
|
|
55
|
-
user_reference: {{userKey}}
|
|
56
|
-
|
|
57
|
-
### 3) Set Security Question (force-change → security-question-user active)
|
|
58
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/set-security-question?sync=false
|
|
59
|
-
user_reference: {{userKey}}
|
|
60
|
-
Content-Type: application/json
|
|
61
|
-
|
|
62
|
-
{
|
|
63
|
-
"attributes": {
|
|
64
|
-
"newQuestionDefinitionId": "{{questionDefId}}",
|
|
65
|
-
"newAnswer": "test-cevap-123"
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
### 4) State — beklenen: security-image-change (no-security-image, re-entry sonrası)
|
|
70
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
|
|
71
|
-
user_reference: {{userKey}}
|
|
72
|
-
|
|
73
|
-
### 5) Set Security Image
|
|
74
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/set-security-image?sync=true
|
|
75
|
-
user_reference: {{userKey}}
|
|
76
|
-
Content-Type: application/json
|
|
77
|
-
|
|
78
|
-
{
|
|
79
|
-
"attributes": { "imageDefinitionId": "{{imageDefId}}" }
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
### 6) Final state — beklenen: completed
|
|
83
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
|
|
84
|
-
user_reference: {{userKey}}
|
|
85
|
-
|
|
86
|
-
### 7) Doğrula: security-question-user → active, source=force-change
|
|
87
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/security-question-user/instances/{{holderKey}}/functions/data
|
|
88
|
-
user_reference: {{userKey}}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# HOLDER KEY (2026-10-21): user-password / security-question-user / anti-phishing-image-user ve -set akışlarının instance key'i
|
|
2
|
-
# artık {userKey}-{userInstanceId} (userInstanceId = user instance GUID'i, runtime'ın gösterdiği tireli küçük harf biçimiyle).
|
|
3
|
-
# user instance id: GET .../workflows/user/instances?filter={"and":[{"key":{"eq":"<userKey>"}},{"status":{"eq":"A"}}]} → items[0].id
|
|
4
|
-
# (olduğu gibi aşağıdaki değişkene yapıştır). Düz userKey ile başlatılan -set → HOLDER_KEY_NOT_COMPOSITE (F).
|
|
5
|
-
|
|
6
|
-
@workflow = security-check-test
|
|
7
|
-
@userKey = 12345678901
|
|
8
|
-
### user instance id — holder key {userName}-{userInstanceId}; bu test akışı user instance'ını okumaz, herhangi bir GUID olur
|
|
9
|
-
@userInstanceId = 3fa85f64-5717-4562-b3fc-2c963f66afa6
|
|
10
|
-
@instanceKey = sct-{{$timestamp}}
|
|
11
|
-
|
|
12
|
-
### Step 1: Start Security Check Test Instance
|
|
13
|
-
# init → (auto) → save-new-security-question (SubFlow → security-question-set) → (auto) → completed
|
|
14
|
-
# userName + userInstanceId : security-question-set instance key = {userName}-{userInstanceId}
|
|
15
|
-
# newQuestion: questionEntry forwarded to security-question-set (security-question-start schema)
|
|
16
|
-
# @name startSecurityCheckTest
|
|
17
|
-
POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
|
|
18
|
-
Content-Type: application/json
|
|
19
|
-
|
|
20
|
-
{
|
|
21
|
-
"key": "{{instanceKey}}",
|
|
22
|
-
"tags": ["test", "security-check-test"],
|
|
23
|
-
"attributes": {
|
|
24
|
-
"userName": "{{userKey}}",
|
|
25
|
-
"userInstanceId": "{{userInstanceId}}",
|
|
26
|
-
"newQuestion": {
|
|
27
|
-
"salt": "8f3a1c9e2b4d6f70a1b2c3d4e5f60718",
|
|
28
|
-
"questionDefinitionId": "first-pet-name",
|
|
29
|
-
"answer": "JDJhJDEyJG9...ARGON2_OR_AES_ENCRYPTED_ANSWER",
|
|
30
|
-
"algorithm": "argon2",
|
|
31
|
-
"createdAt": "2026-06-20T10:00:00Z",
|
|
32
|
-
"changeTracking": {
|
|
33
|
-
"changeReason": "security-check-test",
|
|
34
|
-
"changedBy": "{{userKey}}",
|
|
35
|
-
"changeDate": "2026-06-20T10:00:00Z"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
###
|
|
43
|
-
@instanceId = {{startSecurityCheckTest.response.body.id}}
|
|
44
|
-
|
|
45
|
-
### Step 2: Get Current/Final State (long polling)
|
|
46
|
-
# Should reach "completed" once the security-question-set SubFlow finishes.
|
|
47
|
-
GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
|
|
48
|
-
|
|
49
|
-
### Step 3: Get Instance Data
|
|
50
|
-
# Expect saveNewQuestionSuccess = true after the SubFlow completes.
|
|
51
|
-
GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/data
|
|
@@ -1,324 +0,0 @@
|
|
|
1
|
-
###############################################################################
|
|
2
|
-
# security-question-change — güvenlik sorusu değiştirme (user self-service)
|
|
3
|
-
#
|
|
4
|
-
# KİMLİK: body'deki "key" DEĞİL, start isteğinin token-claim header'larından çözülür
|
|
5
|
-
# (src/ResolveUserKeyMapping.csx):
|
|
6
|
-
# bireysel : act_sub == sub -> userKey = act_sub
|
|
7
|
-
# kurumsal : act_sub != sub -> userKey = act_sub-sub
|
|
8
|
-
# Header'lar yalnız gönderildikleri istekte okunur; bu akışta start'ta act_sub/sub yeter
|
|
9
|
-
# (3F boş bir geçiş state'i olduğu için client_id gerekmez).
|
|
10
|
-
#
|
|
11
|
-
# STATE ZİNCİRİ:
|
|
12
|
-
# start(act_sub,sub) -> draft (son aktif soru) --auto--> fetching-definition --auto--> update-security-question-form
|
|
13
|
-
# --submit{oldAnswer,newQuestionDefinitionId,newAnswer}--> update-security-question-confirm
|
|
14
|
-
# --confirm--> validating-new-definition --auto--> third-factor(boş) --auto--> processing
|
|
15
|
-
# processing: eski cevap in-runtime doğrulanır (aes-cbc)
|
|
16
|
-
# --answer-verified--> saving (security-question-set, sync) --question-saved(saveSuccess)--> completed
|
|
17
|
-
# --question-save-failed(fallback)--> error-popup
|
|
18
|
-
# --answer-wrong-----> sq-wrong -> error-popup | security-question-blocked-end (3 yanlış)
|
|
19
|
-
# --api-error--------> error-popup
|
|
20
|
-
# --confirmation-cancel--> update-security-question-form ("Emin misiniz?" → Vazgeç)
|
|
21
|
-
# error-popup --retry--> update-security-question-form
|
|
22
|
-
# draft: soru yok / kullanıcı yok -> question-not-found-failed ; bloke -> security-question-blocked-end
|
|
23
|
-
# her state'ten: cancel (workflow-level) -> cancelled-end ; genel timeout PT1H -> timeout-end
|
|
24
|
-
#
|
|
25
|
-
# HOLDER KEY: security-question-user / -set instance key'i = {userKey}-{userInstanceId}.
|
|
26
|
-
#
|
|
27
|
-
# KOŞMA SIRASI: SETUP S1–S6 (bir kez), sonra senaryolar. Tekrar koşarken @userKey'i değiştir.
|
|
28
|
-
###############################################################################
|
|
29
|
-
|
|
30
|
-
### ---- Ortam ----
|
|
31
|
-
# {{baseUrl}} = lokal (http://localhost:4251) | {{baseUrl1}} = TEST (.vscode/settings.json)
|
|
32
|
-
@b = {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows
|
|
33
|
-
|
|
34
|
-
### ---- Test verisi ----
|
|
35
|
-
@workflow = security-question-change
|
|
36
|
-
@userKey = 99900100500
|
|
37
|
-
@personKey = {{userKey}}
|
|
38
|
-
@actSub = {{userKey}}
|
|
39
|
-
@sub = {{userKey}}
|
|
40
|
-
# Kurumsal denemek için: @sub = 20183007 → userKey = {{actSub}}-20183007
|
|
41
|
-
|
|
42
|
-
# iki soru tanımı: biri mevcut, diğeri hedef
|
|
43
|
-
@defId1 = bb110000-0000-4000-8000-000000000001
|
|
44
|
-
@defId2 = bb110000-0000-4000-8000-000000000002
|
|
45
|
-
|
|
46
|
-
# Bilinen cevap fixture'ı: "ankara" — salt (Guid = AES anahtarı) + AES-256-CBC/PKCS7 Base64(IV||cipher).
|
|
47
|
-
# morph-idm-api SecurityOperator formatı; openssl ile üretildi. Harf duyarsız ("ANKARA"/"Ankara" da geçer).
|
|
48
|
-
@seedSalt = 7a1f3c2e-9b4d-4e8a-a1c5-2f6d8e9b0c3d
|
|
49
|
-
@seedAnswerCipher = AAECAwQFBgcICQoLDA0OD03BXVxXdcJM4j821pLBkds=
|
|
50
|
-
@oldAnswer = ankara
|
|
51
|
-
@newAnswer = İstanbul
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
###############################################################################
|
|
55
|
-
# SETUP
|
|
56
|
-
###############################################################################
|
|
57
|
-
|
|
58
|
-
### S1. Soru tanımı 1 — oluştur (draft) → define → publish (active)
|
|
59
|
-
POST {{b}}/security-question-definition/instances/start?sync=true
|
|
60
|
-
Content-Type: application/json
|
|
61
|
-
X-Request-Id: {{$guid}}
|
|
62
|
-
|
|
63
|
-
{ "key": "{{defId1}}", "tags": ["test", "seed", "definition"], "attributes": {} }
|
|
64
|
-
|
|
65
|
-
### S1b. tanımla
|
|
66
|
-
PATCH {{b}}/security-question-definition/instances/{{defId1}}/transitions/define?sync=true
|
|
67
|
-
Content-Type: application/json
|
|
68
|
-
X-Request-Id: {{$guid}}
|
|
69
|
-
|
|
70
|
-
{ "attributes": { "key": "seed-q1", "groupKey": "family", "descriptionTr": "Doğduğunuz şehir?", "descriptionEn": "City of birth?", "priority": 1, "valueTypeClr": "String" } }
|
|
71
|
-
|
|
72
|
-
### S1c. yayınla
|
|
73
|
-
PATCH {{b}}/security-question-definition/instances/{{defId1}}/transitions/publish?sync=true
|
|
74
|
-
Content-Type: application/json
|
|
75
|
-
X-Request-Id: {{$guid}}
|
|
76
|
-
|
|
77
|
-
{}
|
|
78
|
-
|
|
79
|
-
### S2. Soru tanımı 2
|
|
80
|
-
POST {{b}}/security-question-definition/instances/start?sync=true
|
|
81
|
-
Content-Type: application/json
|
|
82
|
-
X-Request-Id: {{$guid}}
|
|
83
|
-
|
|
84
|
-
{ "key": "{{defId2}}", "tags": ["test", "seed", "definition"], "attributes": {} }
|
|
85
|
-
|
|
86
|
-
### S2b. tanımla
|
|
87
|
-
PATCH {{b}}/security-question-definition/instances/{{defId2}}/transitions/define?sync=true
|
|
88
|
-
Content-Type: application/json
|
|
89
|
-
X-Request-Id: {{$guid}}
|
|
90
|
-
|
|
91
|
-
{ "attributes": { "key": "seed-q2", "groupKey": "family", "descriptionTr": "İlk evcil hayvanınızın adı?", "descriptionEn": "First pet's name?", "priority": 2, "valueTypeClr": "String" } }
|
|
92
|
-
|
|
93
|
-
### S2c. yayınla
|
|
94
|
-
PATCH {{b}}/security-question-definition/instances/{{defId2}}/transitions/publish?sync=true
|
|
95
|
-
Content-Type: application/json
|
|
96
|
-
X-Request-Id: {{$guid}}
|
|
97
|
-
|
|
98
|
-
{}
|
|
99
|
-
|
|
100
|
-
### S3. Person
|
|
101
|
-
POST {{b}}/person/instances/start?sync=true
|
|
102
|
-
Content-Type: application/json
|
|
103
|
-
X-Request-Id: {{$guid}}
|
|
104
|
-
|
|
105
|
-
{
|
|
106
|
-
"key": "{{personKey}}",
|
|
107
|
-
"tags": ["test", "security-question"],
|
|
108
|
-
"attributes": { "personType": "retail-customers", "name": { "first": "Soru", "last": "Test" } }
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
### S4. User — dönen id holder key için gerekli
|
|
112
|
-
# @name createUser
|
|
113
|
-
POST {{b}}/user/instances/start?sync=true
|
|
114
|
-
Content-Type: application/json
|
|
115
|
-
X-Request-Id: {{$guid}}
|
|
116
|
-
|
|
117
|
-
{
|
|
118
|
-
"key": "{{userKey}}",
|
|
119
|
-
"tags": ["test", "security-question"],
|
|
120
|
-
"attributes": {
|
|
121
|
-
"type": "person",
|
|
122
|
-
"person": { "domain": "morph-idm", "workflow": "person", "key": "{{personKey}}", "version": "1.0.0" },
|
|
123
|
-
"scope": { "domain": "morph-idm", "workflow": "scope", "key": "{{userKey}}", "version": "1.0.0" },
|
|
124
|
-
"mobilePhonesNumbers": [ { "countryCode": "90", "areaCode": "539", "number": "1111111", "useForOTP": true } ],
|
|
125
|
-
"status": { "state": 10, "reason": 10, "reasonDescription": "http test seed", "createdByUserName": "http-test", "createdAt": "{{$datetime iso8601}}" }
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
###
|
|
130
|
-
@userInstanceId = {{createUser.response.body.id}}
|
|
131
|
-
@holderKey = {{userKey}}-{{userInstanceId}}
|
|
132
|
-
|
|
133
|
-
### S5. Kullanıcının MEVCUT sorusunu kur (defId1, cevap "ankara") — security-question-set, key = holderKey
|
|
134
|
-
POST {{b}}/security-question-set/instances/start?sync=true
|
|
135
|
-
Content-Type: application/json
|
|
136
|
-
X-Request-Id: {{$guid}}
|
|
137
|
-
|
|
138
|
-
{
|
|
139
|
-
"key": "{{holderKey}}",
|
|
140
|
-
"tags": ["test", "security-question", "seed"],
|
|
141
|
-
"attributes": {
|
|
142
|
-
"source": "initial",
|
|
143
|
-
"questionEntry": {
|
|
144
|
-
"salt": "{{seedSalt}}",
|
|
145
|
-
"questionDefinitionId": "{{defId1}}",
|
|
146
|
-
"answer": "{{seedAnswerCipher}}",
|
|
147
|
-
"algorithm": "aes-cbc",
|
|
148
|
-
"accessFailedCount": 0,
|
|
149
|
-
"lastVerificationDate": "{{$datetime iso8601}}"
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
### S6. SETUP doğrulaması — güncel holder (status=A): state=active, defId1
|
|
155
|
-
# Decoded filter: {"and":[{"key":{"eq":"{{holderKey}}"}},{"status":{"eq":"A"}}]}
|
|
156
|
-
GET {{b}}/security-question-user/instances?pageSize=1&filter=%7B%22and%22%3A%5B%7B%22key%22%3A%7B%22eq%22%3A%22{{holderKey}}%22%7D%7D%2C%7B%22status%22%3A%7B%22eq%22%3A%22A%22%7D%7D%5D%7D
|
|
157
|
-
X-Request-Id: {{$guid}}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
###############################################################################
|
|
161
|
-
# SENARYO 1 — "Emin misiniz?" ekranında VAZGEÇ → forma döner, sonra ONAYLA → completed
|
|
162
|
-
###############################################################################
|
|
163
|
-
|
|
164
|
-
### 1.1 Start — act_sub == sub (bireysel)
|
|
165
|
-
# @name s1
|
|
166
|
-
POST {{b}}/{{workflow}}/instances/start?sync=true
|
|
167
|
-
Content-Type: application/json
|
|
168
|
-
Accept-Language: tr-TR
|
|
169
|
-
X-Request-Id: {{$guid}}
|
|
170
|
-
act_sub: {{actSub}}
|
|
171
|
-
sub: {{sub}}
|
|
172
|
-
|
|
173
|
-
{ "key": "sq-chg-{{$timestamp}}", "tags": ["test", "security-question", "change"], "attributes": {} }
|
|
174
|
-
|
|
175
|
-
### 1.2 State → update-security-question-form (draft → fetching-definition otomatik)
|
|
176
|
-
GET {{b}}/{{workflow}}/instances/{{s1.response.body.id}}/functions/state
|
|
177
|
-
X-Request-Id: {{$guid}}
|
|
178
|
-
|
|
179
|
-
### 1.3 Submit — eski cevap + yeni soru + yeni cevap → update-security-question-confirm
|
|
180
|
-
PATCH {{b}}/{{workflow}}/instances/{{s1.response.body.id}}/transitions/submit?sync=true
|
|
181
|
-
Content-Type: application/json
|
|
182
|
-
X-Request-Id: {{$guid}}
|
|
183
|
-
|
|
184
|
-
{ "attributes": { "oldAnswer": "{{oldAnswer}}", "newQuestionDefinitionId": "{{defId2}}", "newAnswer": "{{newAnswer}}" } }
|
|
185
|
-
|
|
186
|
-
### 1.4 State → update-security-question-confirm
|
|
187
|
-
GET {{b}}/{{workflow}}/instances/{{s1.response.body.id}}/functions/state
|
|
188
|
-
X-Request-Id: {{$guid}}
|
|
189
|
-
|
|
190
|
-
### 1.5 VAZGEÇ → update-security-question-form (akış bitmez)
|
|
191
|
-
PATCH {{b}}/{{workflow}}/instances/{{s1.response.body.id}}/transitions/confirmation-cancel?sync=true
|
|
192
|
-
Content-Type: application/json
|
|
193
|
-
X-Request-Id: {{$guid}}
|
|
194
|
-
|
|
195
|
-
{}
|
|
196
|
-
|
|
197
|
-
### 1.6 State → update-security-question-form ; aktif soru hâlâ defId1 (S6'yı tekrar çek)
|
|
198
|
-
GET {{b}}/{{workflow}}/instances/{{s1.response.body.id}}/functions/state
|
|
199
|
-
X-Request-Id: {{$guid}}
|
|
200
|
-
|
|
201
|
-
### 1.7 Yeniden gönder
|
|
202
|
-
PATCH {{b}}/{{workflow}}/instances/{{s1.response.body.id}}/transitions/submit?sync=true
|
|
203
|
-
Content-Type: application/json
|
|
204
|
-
X-Request-Id: {{$guid}}
|
|
205
|
-
|
|
206
|
-
{ "attributes": { "oldAnswer": "{{oldAnswer}}", "newQuestionDefinitionId": "{{defId2}}", "newAnswer": "{{newAnswer}}" } }
|
|
207
|
-
|
|
208
|
-
### 1.8 ONAYLA → validating → third-factor(boş) → processing(verify) → saving → completed (202 normal)
|
|
209
|
-
PATCH {{b}}/{{workflow}}/instances/{{s1.response.body.id}}/transitions/confirm
|
|
210
|
-
Content-Type: application/json
|
|
211
|
-
X-Request-Id: {{$guid}}
|
|
212
|
-
|
|
213
|
-
{}
|
|
214
|
-
|
|
215
|
-
### 1.9 State → completed (birkaç sn sürebilir, tekrar çek)
|
|
216
|
-
GET {{b}}/{{workflow}}/instances/{{s1.response.body.id}}/functions/state
|
|
217
|
-
X-Request-Id: {{$guid}}
|
|
218
|
-
|
|
219
|
-
### 1.10 Data → verified=true, saveSuccess=true, success=true
|
|
220
|
-
GET {{b}}/{{workflow}}/instances/{{s1.response.body.id}}/functions/data
|
|
221
|
-
X-Request-Id: {{$guid}}
|
|
222
|
-
|
|
223
|
-
### 1.11 Güncel holder → source=user-change, state=active, defId2
|
|
224
|
-
GET {{b}}/security-question-user/instances?pageSize=1&filter=%7B%22and%22%3A%5B%7B%22key%22%3A%7B%22eq%22%3A%22{{holderKey}}%22%7D%7D%2C%7B%22status%22%3A%7B%22eq%22%3A%22A%22%7D%7D%5D%7D
|
|
225
|
-
X-Request-Id: {{$guid}}
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
###############################################################################
|
|
229
|
-
# SENARYO 2 — YANLIŞ eski cevap → error-popup → retry → form
|
|
230
|
-
# (3 yanlışta security-question-blocked-end; sayaç holder'daki accessFailedCount)
|
|
231
|
-
###############################################################################
|
|
232
|
-
|
|
233
|
-
### 2.1 Start
|
|
234
|
-
# @name s2
|
|
235
|
-
POST {{b}}/{{workflow}}/instances/start?sync=true
|
|
236
|
-
Content-Type: application/json
|
|
237
|
-
Accept-Language: tr-TR
|
|
238
|
-
X-Request-Id: {{$guid}}
|
|
239
|
-
act_sub: {{actSub}}
|
|
240
|
-
sub: {{sub}}
|
|
241
|
-
|
|
242
|
-
{ "key": "sq-wrong-{{$timestamp}}", "tags": ["test", "security-question", "wrong"], "attributes": {} }
|
|
243
|
-
|
|
244
|
-
### 2.2 Submit — yanlış eski cevap (1.8 sonrası aktif soru defId2/İstanbul; "ankara" artık yanlış)
|
|
245
|
-
PATCH {{b}}/{{workflow}}/instances/{{s2.response.body.id}}/transitions/submit?sync=true
|
|
246
|
-
Content-Type: application/json
|
|
247
|
-
X-Request-Id: {{$guid}}
|
|
248
|
-
|
|
249
|
-
{ "attributes": { "oldAnswer": "yanlis-cevap", "newQuestionDefinitionId": "{{defId1}}", "newAnswer": "Ankara" } }
|
|
250
|
-
|
|
251
|
-
### 2.3 Onayla → processing → answer-wrong → sq-wrong → error-popup
|
|
252
|
-
PATCH {{b}}/{{workflow}}/instances/{{s2.response.body.id}}/transitions/confirm
|
|
253
|
-
Content-Type: application/json
|
|
254
|
-
X-Request-Id: {{$guid}}
|
|
255
|
-
|
|
256
|
-
{}
|
|
257
|
-
|
|
258
|
-
### 2.4 State → error-popup ; Data → verified=false, errorMessage dolu
|
|
259
|
-
GET {{b}}/{{workflow}}/instances/{{s2.response.body.id}}/functions/data
|
|
260
|
-
X-Request-Id: {{$guid}}
|
|
261
|
-
|
|
262
|
-
### 2.5 retry → update-security-question-form
|
|
263
|
-
PATCH {{b}}/{{workflow}}/instances/{{s2.response.body.id}}/transitions/retry?sync=true
|
|
264
|
-
Content-Type: application/json
|
|
265
|
-
X-Request-Id: {{$guid}}
|
|
266
|
-
|
|
267
|
-
{}
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
###############################################################################
|
|
271
|
-
# SENARYO 3 — Ekranı TAMAMEN terk et (workflow-level cancel) → cancelled-end
|
|
272
|
-
###############################################################################
|
|
273
|
-
|
|
274
|
-
### 3.1 Start
|
|
275
|
-
# @name s3
|
|
276
|
-
POST {{b}}/{{workflow}}/instances/start?sync=true
|
|
277
|
-
Content-Type: application/json
|
|
278
|
-
Accept-Language: tr-TR
|
|
279
|
-
X-Request-Id: {{$guid}}
|
|
280
|
-
act_sub: {{actSub}}
|
|
281
|
-
sub: {{sub}}
|
|
282
|
-
|
|
283
|
-
{ "key": "sq-exit-{{$timestamp}}", "tags": ["test", "security-question", "cancel"], "attributes": {} }
|
|
284
|
-
|
|
285
|
-
### 3.2 cancel → cancelled-end
|
|
286
|
-
PATCH {{b}}/{{workflow}}/instances/{{s3.response.body.id}}/transitions/cancel?sync=true
|
|
287
|
-
Content-Type: application/json
|
|
288
|
-
X-Request-Id: {{$guid}}
|
|
289
|
-
|
|
290
|
-
{}
|
|
291
|
-
|
|
292
|
-
### 3.3 State → cancelled-end
|
|
293
|
-
GET {{b}}/{{workflow}}/instances/{{s3.response.body.id}}/functions/state
|
|
294
|
-
X-Request-Id: {{$guid}}
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
###############################################################################
|
|
298
|
-
# SENARYO 4 — Olmayan kullanıcı → question-not-found-failed (fault DEĞİL)
|
|
299
|
-
###############################################################################
|
|
300
|
-
|
|
301
|
-
### 4.1 Start — kayıtlı olmayan TCKN
|
|
302
|
-
# @name s4
|
|
303
|
-
POST {{b}}/{{workflow}}/instances/start?sync=true
|
|
304
|
-
Content-Type: application/json
|
|
305
|
-
Accept-Language: tr-TR
|
|
306
|
-
X-Request-Id: {{$guid}}
|
|
307
|
-
act_sub: 99988877766
|
|
308
|
-
sub: 99988877766
|
|
309
|
-
|
|
310
|
-
{ "key": "sq-nouser-{{$timestamp}}", "tags": ["test", "security-question"], "attributes": {} }
|
|
311
|
-
|
|
312
|
-
### 4.2 State → question-not-found-failed
|
|
313
|
-
GET {{b}}/{{workflow}}/instances/{{s4.response.body.id}}/functions/state
|
|
314
|
-
X-Request-Id: {{$guid}}
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
###############################################################################
|
|
318
|
-
# KAYDETME HATASI (question-save-failed → error-popup) — NASIL DOĞRULANIR
|
|
319
|
-
# Kapı: saving.question-saved kuralı (src/rules/TrxQuestionSavedRule.csx) saveSuccess==true ister;
|
|
320
|
-
# bayrak yok/false → question-save-failed fallback → error-popup, aktif soru değişmez.
|
|
321
|
-
# security-question-set'i dış girdiyle failed-end'e düşürmenin bilinen bir yolu yok (şifre akışıyla
|
|
322
|
-
# aynı durum); kanıt zinciri: Senaryo 1 kural üzerinden completed'a ulaşır + 1.10'da saveSuccess=true
|
|
323
|
-
# + child sözleşmesi (security-question-set StoreNew mapping isSuccess) kod ile.
|
|
324
|
-
###############################################################################
|