@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,101 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
# deblock-sim-card contract akışı teşhis scripti
|
|
3
|
-
# Kullanım:
|
|
4
|
-
# ./contract-debug.sh -> en son deblock instance'ını inceler
|
|
5
|
-
# ./contract-debug.sh <instanceKeyOrId> -> belirtilen instance'ı inceler
|
|
6
|
-
#
|
|
7
|
-
# Hem deblock (morph-idm) hem contract subprocess (contract base URL) durumunu,
|
|
8
|
-
# transition geçmişini, data'yı ve cross-domain notify hatasını gösterir.
|
|
9
|
-
|
|
10
|
-
set -euo pipefail
|
|
11
|
-
B="https://test-vnext-morph-idm.apps.nonprod.ebt.bank"
|
|
12
|
-
CB="https://test-vnext-contract.apps.nonprod.ebt.bank"
|
|
13
|
-
EB="https://test-vnext-onboarding-ekyc.apps.nonprod.ebt.bank"
|
|
14
|
-
D="morph-idm"; WF="deblock-sim-card-workflow"
|
|
15
|
-
|
|
16
|
-
K="${1:-}"
|
|
17
|
-
if [ -z "$K" ]; then
|
|
18
|
-
K=$(curl -s -k --max-time 20 "$B/api/v1/$D/workflows/$WF/instances?page=1&pageSize=1" \
|
|
19
|
-
| python3 -c 'import sys,json;i=json.load(sys.stdin).get("items") or [];print(i[0]["id"] if i else "")')
|
|
20
|
-
fi
|
|
21
|
-
echo "############ DEBLOCK instance: $K ############"
|
|
22
|
-
|
|
23
|
-
echo "=== state ==="
|
|
24
|
-
curl -s -k --max-time 15 "$B/api/v1/$D/workflows/$WF/instances/$K/functions/state" | python3 -c '
|
|
25
|
-
import sys,json
|
|
26
|
-
d=json.load(sys.stdin)
|
|
27
|
-
print("state:",d.get("state"),"status:",d.get("status"))
|
|
28
|
-
for c in d.get("correlations",[]):
|
|
29
|
-
print(" corr:",c.get("subFlowDomain"),c.get("subFlowName"),"| id:",c.get("subFlowInstanceId"),
|
|
30
|
-
"| isCompleted:",c.get("isCompleted"),"| currentState:",c.get("currentState"))
|
|
31
|
-
'
|
|
32
|
-
|
|
33
|
-
echo "=== transitions ==="
|
|
34
|
-
curl -s -k --max-time 15 "$B/api/v1/$D/workflows/$WF/instances/$K/transitions" | python3 -c '
|
|
35
|
-
import sys,json
|
|
36
|
-
for t in json.load(sys.stdin).get("transitions") or []:
|
|
37
|
-
print(" ",t.get("transitionId"),"|",t.get("fromState"),"->",t.get("toState"))
|
|
38
|
-
'
|
|
39
|
-
|
|
40
|
-
echo "=== data (özet) ==="
|
|
41
|
-
curl -s -k --max-time 15 "$B/api/v1/$D/workflows/$WF/instances/$K/functions/data" | python3 -c '
|
|
42
|
-
import sys,json
|
|
43
|
-
a=json.load(sys.stdin).get("data",{})
|
|
44
|
-
for k in ["errorCode","message","birthDate","deviceContext","businessLine","isCorporate","scopeGroup","contractInstanceId","contractResult","contractStatus"]:
|
|
45
|
-
if k in a: print(" ",k,"=",json.dumps(a[k],ensure_ascii=False)[:200])
|
|
46
|
-
ed=a.get("entityData") or {}
|
|
47
|
-
print(" entityData.customerId:",ed.get("customerId"),"scopeKey:",ed.get("scopeKey"))
|
|
48
|
-
'
|
|
49
|
-
|
|
50
|
-
# --- contract subprocess (from correlations) ---
|
|
51
|
-
SUB=$(curl -s -k --max-time 15 "$B/api/v1/$D/workflows/$WF/instances/$K/functions/state" | python3 -c '
|
|
52
|
-
import sys,json
|
|
53
|
-
for c in json.load(sys.stdin).get("correlations",[]):
|
|
54
|
-
if c.get("subFlowDomain")=="contract": print(c.get("subFlowInstanceId")); break
|
|
55
|
-
')
|
|
56
|
-
if [ -n "${SUB:-}" ]; then
|
|
57
|
-
echo ""
|
|
58
|
-
echo "############ CONTRACT subprocess: $SUB ############"
|
|
59
|
-
echo "=== contract state ==="
|
|
60
|
-
curl -s -k --max-time 15 "$CB/api/v1/contract/workflows/contract-approval-workflow/instances/$SUB/functions/state" | python3 -c '
|
|
61
|
-
import sys,json
|
|
62
|
-
d=json.load(sys.stdin);print("state:",d.get("state"),"status:",d.get("status"))
|
|
63
|
-
'
|
|
64
|
-
echo "=== contract transitions ==="
|
|
65
|
-
curl -s -k --max-time 15 "$CB/api/v1/contract/workflows/contract-approval-workflow/instances/$SUB/transitions" | python3 -c '
|
|
66
|
-
import sys,json
|
|
67
|
-
for t in json.load(sys.stdin).get("transitions") or []:
|
|
68
|
-
print(" ",t.get("transitionId"),"|",t.get("fromState"),"->",t.get("toState"),"| status:",t.get("status"))
|
|
69
|
-
'
|
|
70
|
-
echo "=== contract data (notify/error/parent fields) ==="
|
|
71
|
-
curl -s -k --max-time 15 "$CB/api/v1/contract/workflows/contract-approval-workflow/instances/$SUB/functions/data" | python3 -c '
|
|
72
|
-
import sys,json
|
|
73
|
-
a=json.load(sys.stdin).get("data",{})
|
|
74
|
-
for k in ["parentDomain","parentFlow","parentInstanceId","parentDocumentsReadyTransitionName","parentContractResultTransitionName","lastNotifyError","allDocumentsReady","canFinalize","contractOutput"]:
|
|
75
|
-
if k in a: print(" ",k,"=",json.dumps(a[k],ensure_ascii=False)[:250])
|
|
76
|
-
for k,v in a.items():
|
|
77
|
-
if any(x in k.lower() for x in ["error","notify","fault","exception"]) and k not in ("lastNotifyError",):
|
|
78
|
-
print(" [ERR]",k,"=",json.dumps(v,ensure_ascii=False)[:250])
|
|
79
|
-
'
|
|
80
|
-
else
|
|
81
|
-
echo ""
|
|
82
|
-
echo "(contract correlation yok — deblock henüz contracting'e ulaşmadı ya da contract subprocess başlamadı)"
|
|
83
|
-
fi
|
|
84
|
-
|
|
85
|
-
# --- ekyc subprocess (if present) ---
|
|
86
|
-
EK=$(curl -s -k --max-time 15 "$B/api/v1/$D/workflows/$WF/instances/$K/functions/state" | python3 -c '
|
|
87
|
-
import sys,json
|
|
88
|
-
for c in json.load(sys.stdin).get("correlations",[]):
|
|
89
|
-
if c.get("subFlowDomain")=="onboarding-ekyc": print(c.get("subFlowInstanceId")); break
|
|
90
|
-
')
|
|
91
|
-
if [ -n "${EK:-}" ]; then
|
|
92
|
-
echo ""
|
|
93
|
-
echo "############ EKYC subprocess: $EK ############"
|
|
94
|
-
curl -s -k --max-time 15 "$EB/api/v1/onboarding-ekyc/workflows/ekyc-main-workflow/instances/$EK/functions/state" | python3 -c '
|
|
95
|
-
import sys,json;d=json.load(sys.stdin);print("ekyc state:",d.get("state"),"status:",d.get("status"),"hasView:",(d.get("view") or {}).get("hasView"))
|
|
96
|
-
'
|
|
97
|
-
curl -s -k --max-time 15 "$EB/api/v1/onboarding-ekyc/workflows/ekyc-main-workflow/instances/$EK/functions/data" | python3 -c '
|
|
98
|
-
import sys,json;a=json.load(sys.stdin).get("data",{})
|
|
99
|
-
print(" appVersionCheckPassed:",a.get("appVersionCheckPassed"),"deviceVersionCheckPassed:",a.get("deviceVersionCheckPassed"),"ekycResult:",a.get("ekycResult"))
|
|
100
|
-
'
|
|
101
|
-
fi
|
|
@@ -1,290 +0,0 @@
|
|
|
1
|
-
@baseUrl = https://test-vnext-morph-idm.apps.nonprod.ebt.bank
|
|
2
|
-
@apiVersion = 1
|
|
3
|
-
@domain = morph-idm
|
|
4
|
-
@workflow = deblock-sim-card-workflow
|
|
5
|
-
@instanceKey = deblock-sim-{{$timestamp}}
|
|
6
|
-
|
|
7
|
-
### ====================================================
|
|
8
|
-
### HAPPY PATH: Full SIM deblock flow
|
|
9
|
-
###
|
|
10
|
-
### vNext-native (no Asgard/Token/Dodge):
|
|
11
|
-
### - customerId = TCKN. entityData.phone MUST match the user's registered mobilePhonesNumbers
|
|
12
|
-
### in the vNext `user` store (phone-match is done in-flow against the user record).
|
|
13
|
-
### - CORPORATE: also send entityData.scopeKey -> user key becomes {TCKN}-{scopeKey}.
|
|
14
|
-
### INDIVIDUAL: omit scopeKey -> user key = TCKN. The user MUST already exist in vNext (option B).
|
|
15
|
-
### - birthDate is read from the vNext person (persisted at provisioning / Asgard->vNext CDC);
|
|
16
|
-
### KPS matches TCKN + that birthDate. hasSuccessLogin is derived from vNext `session` instances.
|
|
17
|
-
### - Authorization: Bearer <token> is needed for the ekyc-config step (the ekyc-config worker
|
|
18
|
-
### forwards it to the ekyc provider, which INTROSPECTS it against the Amorphie token issuer).
|
|
19
|
-
### The flow is pre-login, so this is a CLIENT-CREDENTIALS token from the AMORPHIE token service
|
|
20
|
-
### (NOT a vNext idm token — different issuer, rejected). Mint it FORM-URLENCODED:
|
|
21
|
-
### POST {ApisixBaseAddress}/ebanking/token (Content-Type: application/x-www-form-urlencoded)
|
|
22
|
-
### grant_type=client_credentials client_id=IbAndroidApp client_secret=(empty)
|
|
23
|
-
### scope=openId retail-customer
|
|
24
|
-
### -> { access_token }. Pass it on submit-input as Authorization: Bearer <access_token>
|
|
25
|
-
### (the "Bearer " prefix is REQUIRED; the ekyc-config auto-task runs during submit-input).
|
|
26
|
-
###
|
|
27
|
-
### Test users (vNext): individual 54289361536 (ELİF, phone 90/534/9702248, bd 1988-08-07);
|
|
28
|
-
### corporate 62281181908 (MEHMET, customerNo 20183007, bd 1978-01-25) + its scopeKey.
|
|
29
|
-
### ====================================================
|
|
30
|
-
|
|
31
|
-
### Step 1: Start Workflow Instance
|
|
32
|
-
# Lands on deblock-sim-card-input — the input FORM (TCKN + phone; Müşteri No only when corporate).
|
|
33
|
-
# The app passes attributes.scopeGroup (root level, -> data.scopeGroup) from the menu it launched from:
|
|
34
|
-
# corporate menu (BRGN app) -> "corporate-customers" -> the Müşteri No (scopeKey) field is shown
|
|
35
|
-
# individual menu (ON app) -> "retail-customers" / omitted -> Müşteri No hidden (schema x-conditional).
|
|
36
|
-
# The "Sim Bloke Kaldır" button on that screen triggers submit-input (Step 1c).
|
|
37
|
-
POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
|
|
38
|
-
Content-Type: application/json
|
|
39
|
-
x-application: burgan-mobile
|
|
40
|
-
x-application-version: 4.18.0+96
|
|
41
|
-
x-deployment: iOS
|
|
42
|
-
x-device-version: 18.7.1
|
|
43
|
-
x-forwarded-for: 185.12.34.56
|
|
44
|
-
accept-language: tr
|
|
45
|
-
# NB: x-deployment MUST be the OS PLATFORM ("iOS"/"Android"), NOT a brand ("burgan").
|
|
46
|
-
# onboarding-ekyc looks up minMobilVersion PER PLATFORM; a brand/empty value -> MobileVersionNotMatch
|
|
47
|
-
# regardless of x-application-version. The version is read ONLY from x-application-version.
|
|
48
|
-
|
|
49
|
-
{
|
|
50
|
-
"key": "{{instanceKey}}",
|
|
51
|
-
"tags": ["test", "deblock-sim-card", "happy-path"],
|
|
52
|
-
"attributes": {
|
|
53
|
-
"scopeGroup": "corporate-customers"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
# Individual menu: "attributes": { "scopeGroup": "retail-customers" } (or {}) -> Müşteri No hidden.
|
|
57
|
-
|
|
58
|
-
### Step 1b: Get State (should be deblock-sim-card-input) + its view resolves
|
|
59
|
-
GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceKey}}/functions/state
|
|
60
|
-
|
|
61
|
-
### Step 1c: Submit Input (entityData collected on the input state's submit-input transition)
|
|
62
|
-
PATCH {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceKey}}/transitions/submit-input
|
|
63
|
-
Content-Type: application/json
|
|
64
|
-
x-application: burgan-mobile
|
|
65
|
-
x-application-version: 4.18.0+96
|
|
66
|
-
x-deployment: iOS
|
|
67
|
-
x-device-version: 18.7.1
|
|
68
|
-
x-forwarded-for: 185.12.34.56
|
|
69
|
-
accept-language: tr
|
|
70
|
-
# NB: x-deployment MUST be the OS PLATFORM ("iOS"/"Android"), NOT a brand ("burgan").
|
|
71
|
-
# onboarding-ekyc looks up minMobilVersion PER PLATFORM; a brand/empty value -> MobileVersionNotMatch
|
|
72
|
-
# regardless of x-application-version. The version is read ONLY from x-application-version.
|
|
73
|
-
|
|
74
|
-
{
|
|
75
|
-
"attributes": {
|
|
76
|
-
"customerId": "54289361536",
|
|
77
|
-
"phone": "5349702248"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
# FLAT fields (top-level), NOT nested under entityData — matches the mobile (Flutter) renderer which
|
|
81
|
-
# writes flat bind keys. phone = single field, 10 digits starting with 5 (placeholder "5xx xxx xx xx").
|
|
82
|
-
# ParsePhoneMapping reads these + adds countryCode=90 and prefix/number, and rebuilds entityData for
|
|
83
|
-
# the rest of the flow. Corporate: also send "scopeKey": "<Müşteri No>".
|
|
84
|
-
|
|
85
|
-
### Step 2: Get Current State (should be deblock-sim-card-identity-read after auto transitions)
|
|
86
|
-
GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceKey}}/functions/state
|
|
87
|
-
|
|
88
|
-
### Step 3: Get Instance Data (check all collected data)
|
|
89
|
-
GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceKey}}/functions/data
|
|
90
|
-
|
|
91
|
-
### Step 4: Approve identity-read (user approves with sign language selection)
|
|
92
|
-
PATCH {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceKey}}/transitions/approve
|
|
93
|
-
Content-Type: application/json
|
|
94
|
-
|
|
95
|
-
{
|
|
96
|
-
"attributes": {
|
|
97
|
-
"entityData": {
|
|
98
|
-
"isSignLanguageSelected": false
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
### Step 5: Get State (should be deblock-sim-card-success-end after EKYC + resolve)
|
|
104
|
-
GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceKey}}/functions/state
|
|
105
|
-
|
|
106
|
-
### Step 6: Get Final Instance Data
|
|
107
|
-
GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceKey}}/functions/data
|
|
108
|
-
|
|
109
|
-
### ====================================================
|
|
110
|
-
### SCENARIO 2: Wrong credentials → retry → success
|
|
111
|
-
### ====================================================
|
|
112
|
-
|
|
113
|
-
@instanceKey2 = deblock-retry-{{$timestamp}}
|
|
114
|
-
|
|
115
|
-
### Start with wrong credentials user
|
|
116
|
-
POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
|
|
117
|
-
Content-Type: application/json
|
|
118
|
-
x-app-version: 5.0.0
|
|
119
|
-
x-deployment: burgan
|
|
120
|
-
x-forwarded-for: 185.12.34.56
|
|
121
|
-
accept-language: tr
|
|
122
|
-
|
|
123
|
-
{
|
|
124
|
-
"key": "{{instanceKey2}}",
|
|
125
|
-
"tags": ["test", "deblock-sim-card", "wrong-credentials"],
|
|
126
|
-
"attributes": {
|
|
127
|
-
"entityData": {
|
|
128
|
-
"customerId": "wrong-user",
|
|
129
|
-
"countryCode": "90",
|
|
130
|
-
"prefix": "539",
|
|
131
|
-
"number": "7446714"
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
### Check state (should be deblock-sim-card-input-wrong-popup)
|
|
137
|
-
GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceKey2}}/functions/state
|
|
138
|
-
|
|
139
|
-
### Retry with correct credentials
|
|
140
|
-
PATCH {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceKey2}}/transitions/retry
|
|
141
|
-
Content-Type: application/json
|
|
142
|
-
x-app-version: 5.0.0
|
|
143
|
-
x-deployment: burgan
|
|
144
|
-
x-forwarded-for: 185.12.34.56
|
|
145
|
-
accept-language: tr
|
|
146
|
-
|
|
147
|
-
{
|
|
148
|
-
"attributes": {
|
|
149
|
-
"entityData": {
|
|
150
|
-
"customerId": "54289361536",
|
|
151
|
-
"countryCode": "90",
|
|
152
|
-
"prefix": "534",
|
|
153
|
-
"number": "9702248"
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
### Check state after retry
|
|
159
|
-
GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceKey2}}/functions/state
|
|
160
|
-
|
|
161
|
-
### ====================================================
|
|
162
|
-
### SCENARIO 3: Force update (old app version)
|
|
163
|
-
### ====================================================
|
|
164
|
-
|
|
165
|
-
@instanceKey3 = deblock-force-update-{{$timestamp}}
|
|
166
|
-
|
|
167
|
-
### Start with old app version
|
|
168
|
-
POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
|
|
169
|
-
Content-Type: application/json
|
|
170
|
-
x-app-version: 1.0.0
|
|
171
|
-
x-deployment: burgan
|
|
172
|
-
x-forwarded-for: 185.12.34.56
|
|
173
|
-
accept-language: tr
|
|
174
|
-
|
|
175
|
-
{
|
|
176
|
-
"key": "{{instanceKey3}}",
|
|
177
|
-
"tags": ["test", "deblock-sim-card", "force-update"],
|
|
178
|
-
"attributes": {
|
|
179
|
-
"entityData": {
|
|
180
|
-
"customerId": "54289361536",
|
|
181
|
-
"countryCode": "90",
|
|
182
|
-
"prefix": "534",
|
|
183
|
-
"number": "9702248"
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
### Check state (should be deblock-sim-card-failure-end)
|
|
189
|
-
GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceKey3}}/functions/state
|
|
190
|
-
|
|
191
|
-
### ====================================================
|
|
192
|
-
### SCENARIO 4: Profile not found
|
|
193
|
-
### ====================================================
|
|
194
|
-
|
|
195
|
-
@instanceKey4 = deblock-no-profile-{{$timestamp}}
|
|
196
|
-
|
|
197
|
-
### Start with non-existent customer
|
|
198
|
-
POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
|
|
199
|
-
Content-Type: application/json
|
|
200
|
-
x-app-version: 5.0.0
|
|
201
|
-
x-deployment: burgan
|
|
202
|
-
x-forwarded-for: 185.12.34.56
|
|
203
|
-
accept-language: tr
|
|
204
|
-
|
|
205
|
-
{
|
|
206
|
-
"key": "{{instanceKey4}}",
|
|
207
|
-
"tags": ["test", "deblock-sim-card", "no-profile"],
|
|
208
|
-
"attributes": {
|
|
209
|
-
"entityData": {
|
|
210
|
-
"customerId": "not-found-user",
|
|
211
|
-
"countryCode": "90",
|
|
212
|
-
"prefix": "539",
|
|
213
|
-
"number": "7446714"
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
### Check state (should be deblock-sim-card-failure-end)
|
|
219
|
-
GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceKey4}}/functions/state
|
|
220
|
-
|
|
221
|
-
### ====================================================
|
|
222
|
-
### SCENARIO 5: App mismatch (ON customer on Burgan app)
|
|
223
|
-
### ====================================================
|
|
224
|
-
|
|
225
|
-
@instanceKey5 = deblock-mismatch-{{$timestamp}}
|
|
226
|
-
|
|
227
|
-
### ON customer using Burgan app
|
|
228
|
-
POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
|
|
229
|
-
Content-Type: application/json
|
|
230
|
-
x-app-version: 5.0.0
|
|
231
|
-
x-deployment: burgan
|
|
232
|
-
x-forwarded-for: 185.12.34.56
|
|
233
|
-
accept-language: tr
|
|
234
|
-
|
|
235
|
-
{
|
|
236
|
-
"key": "{{instanceKey5}}",
|
|
237
|
-
"tags": ["test", "deblock-sim-card", "app-mismatch"],
|
|
238
|
-
"attributes": {
|
|
239
|
-
"entityData": {
|
|
240
|
-
"customerId": "on-user",
|
|
241
|
-
"countryCode": "90",
|
|
242
|
-
"prefix": "539",
|
|
243
|
-
"number": "7446714"
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
### Check state (should be deblock-sim-card-failure-end due to mismatch)
|
|
249
|
-
GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceKey5}}/functions/state
|
|
250
|
-
|
|
251
|
-
### ====================================================
|
|
252
|
-
### SCENARIO 6: Identity-read → back to initial
|
|
253
|
-
### ====================================================
|
|
254
|
-
|
|
255
|
-
@instanceKey6 = deblock-back-{{$timestamp}}
|
|
256
|
-
|
|
257
|
-
### Start workflow normally
|
|
258
|
-
POST {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
|
|
259
|
-
Content-Type: application/json
|
|
260
|
-
x-app-version: 5.0.0
|
|
261
|
-
x-deployment: burgan
|
|
262
|
-
x-forwarded-for: 185.12.34.56
|
|
263
|
-
accept-language: tr
|
|
264
|
-
|
|
265
|
-
{
|
|
266
|
-
"key": "{{instanceKey6}}",
|
|
267
|
-
"tags": ["test", "deblock-sim-card", "back-flow"],
|
|
268
|
-
"attributes": {
|
|
269
|
-
"entityData": {
|
|
270
|
-
"customerId": "54289361536",
|
|
271
|
-
"countryCode": "90",
|
|
272
|
-
"prefix": "534",
|
|
273
|
-
"number": "9702248"
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
### Check state (should be deblock-sim-card-identity-read)
|
|
279
|
-
GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceKey6}}/functions/state
|
|
280
|
-
|
|
281
|
-
### Go back from identity-read
|
|
282
|
-
PATCH {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceKey6}}/transitions/back
|
|
283
|
-
Content-Type: application/json
|
|
284
|
-
|
|
285
|
-
{
|
|
286
|
-
"attributes": {}
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
### Check state (should be back at deblock-sim-card-identity-read after going through initial again)
|
|
290
|
-
GET {{baseUrl}}/api/v{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceKey6}}/functions/state
|
|
@@ -1,262 +0,0 @@
|
|
|
1
|
-
### Variables
|
|
2
|
-
@workflow = device
|
|
3
|
-
@deviceId = sm2
|
|
4
|
-
@installationId = sm2
|
|
5
|
-
@userKey = 12345678900
|
|
6
|
-
|
|
7
|
-
### ===========================================
|
|
8
|
-
### ANDROID DEVICE REGISTRATION (Samsung Galaxy S23 Ultra)
|
|
9
|
-
### ===========================================
|
|
10
|
-
|
|
11
|
-
### Start Device - Android with FCM
|
|
12
|
-
# @name startDevice
|
|
13
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
14
|
-
Accept-Language: tr-TR
|
|
15
|
-
X-Request-Id: {{$guid}}
|
|
16
|
-
X-Device-Id: {{deviceId}}
|
|
17
|
-
X-Token-Id: {{$guid}}
|
|
18
|
-
X-Device-Info: Mobile Banking Android/3.0
|
|
19
|
-
X-Forwarded-For: 192.168.1.101
|
|
20
|
-
user_reference: anonymous
|
|
21
|
-
Content-Type: application/json
|
|
22
|
-
|
|
23
|
-
{
|
|
24
|
-
"key": "device-{{deviceId}}",
|
|
25
|
-
"tags": ["android", "mobile", "fcm"],
|
|
26
|
-
"attributes": {
|
|
27
|
-
"deviceId": "{{deviceId}}",
|
|
28
|
-
"installationId": "{{installationId}}",
|
|
29
|
-
"deviceInfo": {
|
|
30
|
-
"osName": "Android",
|
|
31
|
-
"osVersion": "14",
|
|
32
|
-
"deviceModel": "Galaxy S23 Ultra",
|
|
33
|
-
"manufacturer": "Samsung",
|
|
34
|
-
"userAgent": "MobileBanking/3.0 (Linux; Android 14; SM-S918B)",
|
|
35
|
-
"screenResolution": "3088x1440",
|
|
36
|
-
"language": "tr-TR",
|
|
37
|
-
"timezone": "Europe/Istanbul"
|
|
38
|
-
},
|
|
39
|
-
"deviceCertificatePublicKey": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2X4YZ5JJcds3xfn/ygWy\nR7TZZXe1zE8bF9U3Q2m5yM7qKk0W5X3YZ8vN4V2rK1L8mM3C7H4aP2b6D5F1nE0i\n-----END PUBLIC KEY-----",
|
|
40
|
-
"appVersion": "3.0.0",
|
|
41
|
-
"pushToken": {
|
|
42
|
-
"platform": "fcm",
|
|
43
|
-
"token": "dGhpc0lzQUZha2VGQ01Ub2tlbkZvclRlc3RpbmdQdXJwb3Nlc09ubHk6QVBBOTFiR3F4",
|
|
44
|
-
"projectId": "bank-mobile-app",
|
|
45
|
-
"packageName": "com.bank.mobilebanking",
|
|
46
|
-
"updatedAt": "{{$datetime iso8601}}"
|
|
47
|
-
},
|
|
48
|
-
"attribution": {
|
|
49
|
-
"source": "google_ads",
|
|
50
|
-
"campaign": "summer_2024",
|
|
51
|
-
"medium": "cpc",
|
|
52
|
-
"utmParameters": {
|
|
53
|
-
"utm_source": "google",
|
|
54
|
-
"utm_medium": "cpc",
|
|
55
|
-
"utm_campaign": "summer_2024"
|
|
56
|
-
},
|
|
57
|
-
"clickId": "gclid_abc123xyz",
|
|
58
|
-
"attributionProvider": "AppsFlyer",
|
|
59
|
-
"capturedAt": "{{$datetime iso8601}}"
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
###
|
|
65
|
-
@instanceId = {{startDevice.response.body.id}}
|
|
66
|
-
@deviceKey = {{startDevice.response.body.key}}
|
|
67
|
-
|
|
68
|
-
### ===========================================
|
|
69
|
-
### TRANSITIONS
|
|
70
|
-
### ===========================================
|
|
71
|
-
|
|
72
|
-
### Assign User (saved -> registered)
|
|
73
|
-
# @name assignUser
|
|
74
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/assign-user?sync=true
|
|
75
|
-
Accept-Language: tr-TR
|
|
76
|
-
X-Request-Id: {{$guid}}
|
|
77
|
-
X-Device-Id: {{deviceId}}
|
|
78
|
-
X-Token-Id: {{$guid}}
|
|
79
|
-
X-Device-Info: Mobile Banking Android/3.0
|
|
80
|
-
X-Forwarded-For: 192.168.1.101
|
|
81
|
-
user_reference: {{userKey}}
|
|
82
|
-
Content-Type: application/json
|
|
83
|
-
|
|
84
|
-
{
|
|
85
|
-
"attributes": {
|
|
86
|
-
"user": {
|
|
87
|
-
"domain": "morph-idm",
|
|
88
|
-
"workflow": "user",
|
|
89
|
-
"key": "{{userKey}}",
|
|
90
|
-
"version": "1.0.0"
|
|
91
|
-
},
|
|
92
|
-
"certificates": [
|
|
93
|
-
{
|
|
94
|
-
"consent": {
|
|
95
|
-
"domain": "morph-idm",
|
|
96
|
-
"workflow": "consent",
|
|
97
|
-
"key": "{{userKey}}-IbWeb-{{userKey}}",
|
|
98
|
-
"version": "1.0.0"
|
|
99
|
-
},
|
|
100
|
-
"mtls": {
|
|
101
|
-
"publicKey": "-----BEGIN CERTIFICATE-----\nMIIC...android-mtls-cert...\n-----END CERTIFICATE-----",
|
|
102
|
-
"fingerprint": "SHA256:android123...",
|
|
103
|
-
"serialNumber": "A1:B2:C3:D4:E5:F6:78:90",
|
|
104
|
-
"issuer": "CN=Bank mTLS CA, O=Bank, C=TR"
|
|
105
|
-
},
|
|
106
|
-
"jws": {
|
|
107
|
-
"publicKey": "-----BEGIN PUBLIC KEY-----\nMIIB...android-hsm-key...\n-----END PUBLIC KEY-----",
|
|
108
|
-
"keyId": "device-{{deviceId}}-consent-{{userKey}}-IbWeb-{{userKey}}",
|
|
109
|
-
"algorithm": "ES256",
|
|
110
|
-
"keyType": "EC",
|
|
111
|
-
"hsmKeyAlias": "jws-consent-{{userKey}}-IbWeb"
|
|
112
|
-
},
|
|
113
|
-
"issuedAt": "{{$datetime iso8601}}",
|
|
114
|
-
"expiresAt": "2025-03-30T00:00:00Z",
|
|
115
|
-
"status": "active",
|
|
116
|
-
"renewalCount": 0
|
|
117
|
-
}
|
|
118
|
-
],
|
|
119
|
-
"lastSeenAt": "{{$datetime iso8601}}"
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
### Unassign User (registered -> saved)
|
|
124
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/unassign-user?sync=true
|
|
125
|
-
Accept-Language: tr-TR
|
|
126
|
-
X-Request-Id: {{$guid}}
|
|
127
|
-
X-Device-Id: {{deviceId}}
|
|
128
|
-
X-Token-Id: {{$guid}}
|
|
129
|
-
user_reference: admin-001
|
|
130
|
-
Content-Type: application/json
|
|
131
|
-
|
|
132
|
-
{
|
|
133
|
-
"attributes": {
|
|
134
|
-
"user": null,
|
|
135
|
-
"certificates": [],
|
|
136
|
-
"lastSeenAt": "{{$datetime iso8601}}"
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
### Ban Device (registered -> banned)
|
|
141
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/ban-device?sync=true
|
|
142
|
-
Accept-Language: tr-TR
|
|
143
|
-
X-Request-Id: {{$guid}}
|
|
144
|
-
X-Device-Id: {{deviceId}}
|
|
145
|
-
X-Token-Id: {{$guid}}
|
|
146
|
-
user_reference: security-admin
|
|
147
|
-
Content-Type: application/json
|
|
148
|
-
|
|
149
|
-
{
|
|
150
|
-
"attributes": {
|
|
151
|
-
"metadata": {
|
|
152
|
-
"bannedAt": "{{$datetime iso8601}}",
|
|
153
|
-
"bannedBy": "security-admin",
|
|
154
|
-
"banReason": "Rooted device detected",
|
|
155
|
-
"banType": "temporary"
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
### Unban Device (banned -> registered)
|
|
161
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/unban-device?sync=true
|
|
162
|
-
Accept-Language: tr-TR
|
|
163
|
-
X-Request-Id: {{$guid}}
|
|
164
|
-
X-Device-Id: {{deviceId}}
|
|
165
|
-
X-Token-Id: {{$guid}}
|
|
166
|
-
user_reference: security-admin
|
|
167
|
-
Content-Type: application/json
|
|
168
|
-
|
|
169
|
-
{
|
|
170
|
-
"attributes": {
|
|
171
|
-
"metadata": {
|
|
172
|
-
"unbannedAt": "{{$datetime iso8601}}",
|
|
173
|
-
"unbannedBy": "security-admin",
|
|
174
|
-
"unbanReason": "Device verified as safe"
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
### ===========================================
|
|
180
|
-
### UPDATE TRANSITIONS
|
|
181
|
-
### ===========================================
|
|
182
|
-
|
|
183
|
-
### Update FCM Token
|
|
184
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/update?sync=true
|
|
185
|
-
Accept-Language: tr-TR
|
|
186
|
-
X-Request-Id: {{$guid}}
|
|
187
|
-
X-Device-Id: {{deviceId}}
|
|
188
|
-
X-Token-Id: {{$guid}}
|
|
189
|
-
user_reference: {{userKey}}
|
|
190
|
-
Content-Type: application/json
|
|
191
|
-
|
|
192
|
-
{
|
|
193
|
-
"attributes": {
|
|
194
|
-
"pushToken": {
|
|
195
|
-
"platform": "fcm",
|
|
196
|
-
"token": "NEW_FCM_TOKEN_AFTER_REFRESH_xyz789abc123",
|
|
197
|
-
"projectId": "bank-mobile-app",
|
|
198
|
-
"packageName": "com.bank.mobilebanking",
|
|
199
|
-
"updatedAt": "{{$datetime iso8601}}"
|
|
200
|
-
},
|
|
201
|
-
"appVersion": "3.1.0",
|
|
202
|
-
"lastSeenAt": "{{$datetime iso8601}}"
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
### Update Device Info
|
|
207
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/update?sync=true
|
|
208
|
-
Accept-Language: tr-TR
|
|
209
|
-
X-Request-Id: {{$guid}}
|
|
210
|
-
X-Device-Id: {{deviceId}}
|
|
211
|
-
X-Token-Id: {{$guid}}
|
|
212
|
-
user_reference: {{userKey}}
|
|
213
|
-
Content-Type: application/json
|
|
214
|
-
|
|
215
|
-
{
|
|
216
|
-
"attributes": {
|
|
217
|
-
"deviceInfo": {
|
|
218
|
-
"osName": "Android",
|
|
219
|
-
"osVersion": "14.1",
|
|
220
|
-
"deviceModel": "Galaxy S23 Ultra",
|
|
221
|
-
"manufacturer": "Samsung",
|
|
222
|
-
"userAgent": "MobileBanking/3.1 (Linux; Android 14.1; SM-S918B)",
|
|
223
|
-
"screenResolution": "3088x1440",
|
|
224
|
-
"language": "tr-TR",
|
|
225
|
-
"timezone": "Europe/Istanbul"
|
|
226
|
-
},
|
|
227
|
-
"appVersion": "3.1.0",
|
|
228
|
-
"lastSeenAt": "{{$datetime iso8601}}"
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
### ===========================================
|
|
233
|
-
### QUERIES
|
|
234
|
-
### ===========================================
|
|
235
|
-
|
|
236
|
-
### Get Device State
|
|
237
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
|
|
238
|
-
Accept-Language: tr-TR
|
|
239
|
-
X-Request-Id: {{$guid}}
|
|
240
|
-
X-Device-Id: {{deviceId}}
|
|
241
|
-
X-Token-Id: {{$guid}}
|
|
242
|
-
user_reference: {{userKey}}
|
|
243
|
-
|
|
244
|
-
### Get Device Data
|
|
245
|
-
### hpkeCreation: saved onEntry'de hpke-keypair-create-task üretir (publicKey = Base64 65B uncompressed P-256 point, privateKey = Base64 PKCS#8, keyId = "device-{{deviceId}}");
|
|
246
|
-
### update/touch ($self) yeniden girişlerinde mapping idempotent, çift DEĞİŞMEZ.
|
|
247
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/data
|
|
248
|
-
Accept-Language: tr-TR
|
|
249
|
-
X-Request-Id: {{$guid}}
|
|
250
|
-
X-Device-Id: {{deviceId}}
|
|
251
|
-
X-Token-Id: {{$guid}}
|
|
252
|
-
user_reference: {{userKey}}
|
|
253
|
-
|
|
254
|
-
### Get All Devices
|
|
255
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances
|
|
256
|
-
Accept-Language: tr-TR
|
|
257
|
-
X-Request-Id: {{$guid}}
|
|
258
|
-
X-Device-Id: admin-portal
|
|
259
|
-
X-Token-Id: {{$guid}}
|
|
260
|
-
user_reference: admin-001
|
|
261
|
-
|
|
262
|
-
|