@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,66 +0,0 @@
|
|
|
1
|
-
###############################################################################
|
|
2
|
-
# STEP 4: Consent for User 123 + Client IbWeb
|
|
3
|
-
###############################################################################
|
|
4
|
-
|
|
5
|
-
### Create Consent
|
|
6
|
-
# @name createConsent
|
|
7
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/consent/instances/start?sync=true
|
|
8
|
-
Accept-Language: tr-TR
|
|
9
|
-
X-Request-Id: {{$guid}}
|
|
10
|
-
X-Device-Id: admin-portal
|
|
11
|
-
X-Token-Id: {{$guid}}
|
|
12
|
-
X-Device-Info: Test Suite/1.0
|
|
13
|
-
X-Forwarded-For: 192.168.1.100
|
|
14
|
-
user_reference: test-admin
|
|
15
|
-
Content-Type: application/json
|
|
16
|
-
|
|
17
|
-
{
|
|
18
|
-
"key": "{{consentKey}}",
|
|
19
|
-
"tags": ["test", "consent", "auto-consent"],
|
|
20
|
-
"attributes": {
|
|
21
|
-
"user": {
|
|
22
|
-
"domain": "morph-idm",
|
|
23
|
-
"workflow": "user",
|
|
24
|
-
"key": "{{userKey}}",
|
|
25
|
-
"version": "1.0.0"
|
|
26
|
-
},
|
|
27
|
-
"client": {
|
|
28
|
-
"domain": "morph-idm",
|
|
29
|
-
"workflow": "client",
|
|
30
|
-
"key": "{{clientKey}}",
|
|
31
|
-
"version": "1.0.0"
|
|
32
|
-
},
|
|
33
|
-
"scope": {
|
|
34
|
-
"domain": "morph-idm",
|
|
35
|
-
"workflow": "scope",
|
|
36
|
-
"key": "{{scopeKey}}",
|
|
37
|
-
"version": "1.0.0"
|
|
38
|
-
},
|
|
39
|
-
"roles": [
|
|
40
|
-
{
|
|
41
|
-
"role": "idm.full-authorized",
|
|
42
|
-
"grant": "allow"
|
|
43
|
-
}
|
|
44
|
-
],
|
|
45
|
-
"grantedAt": "{{$datetime iso8601}}",
|
|
46
|
-
"expiresAt": "2027-01-01T00:00:00Z"
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
### Get Consent Data
|
|
51
|
-
# @name getConsentData
|
|
52
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/consent/instances/{{consentKey}}/functions/data
|
|
53
|
-
Accept-Language: tr-TR
|
|
54
|
-
X-Request-Id: {{$guid}}
|
|
55
|
-
X-Device-Id: admin-portal
|
|
56
|
-
X-Token-Id: {{$guid}}
|
|
57
|
-
user_reference: test-admin
|
|
58
|
-
|
|
59
|
-
### Get Consent State
|
|
60
|
-
# @name getConsentState
|
|
61
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/consent/instances/{{consentKey}}/functions/state
|
|
62
|
-
Accept-Language: tr-TR
|
|
63
|
-
X-Request-Id: {{$guid}}
|
|
64
|
-
X-Device-Id: admin-portal
|
|
65
|
-
X-Token-Id: {{$guid}}
|
|
66
|
-
user_reference: test-admin
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
###############################################################################
|
|
2
|
-
# STEP 5: Device for User 123 (OPSIYONEL - Push notification için gerekli)
|
|
3
|
-
###############################################################################
|
|
4
|
-
|
|
5
|
-
### Create Device - Web Browser
|
|
6
|
-
# @name createDevice
|
|
7
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/device/instances/start?sync=true
|
|
8
|
-
Accept-Language: tr-TR
|
|
9
|
-
X-Request-Id: {{$guid}}
|
|
10
|
-
X-Device-Id: {{deviceId}}
|
|
11
|
-
X-Token-Id: {{$guid}}
|
|
12
|
-
X-Device-Info: Test Browser/1.0
|
|
13
|
-
X-Forwarded-For: 192.168.1.100
|
|
14
|
-
user_reference: anonymous
|
|
15
|
-
Content-Type: application/json
|
|
16
|
-
|
|
17
|
-
{
|
|
18
|
-
"key": "{{deviceId}}",
|
|
19
|
-
"tags": ["test", "web", "browser"],
|
|
20
|
-
"attributes": {
|
|
21
|
-
"deviceId": "{{deviceId}}",
|
|
22
|
-
"installationId": "{{$guid}}",
|
|
23
|
-
"deviceInfo": {
|
|
24
|
-
"osName": "Windows",
|
|
25
|
-
"osVersion": "11",
|
|
26
|
-
"deviceModel": "Desktop",
|
|
27
|
-
"manufacturer": "Generic",
|
|
28
|
-
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) Chrome/120.0",
|
|
29
|
-
"screenResolution": "1920x1080",
|
|
30
|
-
"language": "tr-TR",
|
|
31
|
-
"timezone": "Europe/Istanbul"
|
|
32
|
-
},
|
|
33
|
-
"deviceCertificatePublicKey": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0Z3VS5JJcds3xfn/ygWy\nR7TZZXe1zE8bF9U3Q2m5yM7qKk0W5X3YZ8vN4V2rK1L8mM3C7H4aP2b6D5F1nE0i\nK9J2Y3L4N5M6O7P8Q9R0S1T2U3V4W5X6Y7Z8A9B0C1D2E3F4G5H6I7J8K9L0M1N2\n-----END PUBLIC KEY-----",
|
|
34
|
-
"appVersion": "3.0.0",
|
|
35
|
-
"pushToken": {
|
|
36
|
-
"platform": "apns",
|
|
37
|
-
"token": "a1b2c3d4e5f6789012345678901234567890abcdef1234567890abcdef123456",
|
|
38
|
-
"environment": "production",
|
|
39
|
-
"bundleId": "com.bank.mobilebanking",
|
|
40
|
-
"updatedAt": "{{$datetime iso8601}}"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
### Assign User to Device (saved -> registered)
|
|
46
|
-
# @name assignUser
|
|
47
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/device/instances/{{deviceId}}/transitions/assign-user?sync=true
|
|
48
|
-
Accept-Language: tr-TR
|
|
49
|
-
X-Request-Id: {{$guid}}
|
|
50
|
-
X-Device-Id: {{deviceId}}
|
|
51
|
-
X-Token-Id: {{$guid}}
|
|
52
|
-
X-Device-Info: Test Browser/1.0
|
|
53
|
-
X-Forwarded-For: 192.168.1.100
|
|
54
|
-
user_reference: {{userKey}}
|
|
55
|
-
Content-Type: application/json
|
|
56
|
-
|
|
57
|
-
{
|
|
58
|
-
"attributes": {
|
|
59
|
-
"user": {
|
|
60
|
-
"domain": "morph-idm",
|
|
61
|
-
"workflow": "user",
|
|
62
|
-
"key": "{{userKey}}",
|
|
63
|
-
"version": "1.0.0"
|
|
64
|
-
},
|
|
65
|
-
"certificates": [],
|
|
66
|
-
"lastSeenAt": "{{$datetime iso8601}}"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
### Get Device Data
|
|
71
|
-
# @name getDeviceData
|
|
72
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/device/instances/{{deviceId}}/functions/data
|
|
73
|
-
Accept-Language: tr-TR
|
|
74
|
-
X-Request-Id: {{$guid}}
|
|
75
|
-
X-Device-Id: {{deviceId}}
|
|
76
|
-
X-Token-Id: {{$guid}}
|
|
77
|
-
user_reference: {{userKey}}
|
|
78
|
-
|
|
79
|
-
### Get Device State
|
|
80
|
-
# @name getDeviceState
|
|
81
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/device/instances/{{deviceId}}/functions/state
|
|
82
|
-
Accept-Language: tr-TR
|
|
83
|
-
X-Request-Id: {{$guid}}
|
|
84
|
-
X-Device-Id: {{deviceId}}
|
|
85
|
-
X-Token-Id: {{$guid}}
|
|
86
|
-
user_reference: {{userKey}}
|
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
###############################################################################
|
|
2
|
-
# STEP 6: User Login - Security Question Empty Test
|
|
3
|
-
###############################################################################
|
|
4
|
-
# Bu test, user instance'da securityQuestion boş olan Person 123 ile login yapar.
|
|
5
|
-
# Beklenen: security-question-change state'ine yönlendirilmeli
|
|
6
|
-
###############################################################################
|
|
7
|
-
|
|
8
|
-
@loginKey = login-123-{{$timestamp}}
|
|
9
|
-
|
|
10
|
-
### Start Login
|
|
11
|
-
# @name startLogin
|
|
12
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/start?sync=true
|
|
13
|
-
Accept-Language: tr-TR
|
|
14
|
-
X-Request-Id: {{$guid}}
|
|
15
|
-
X-Device-Id: {{deviceId}}
|
|
16
|
-
X-Token-Id: {{$guid}}
|
|
17
|
-
X-Device-Info: Test Browser/1.0
|
|
18
|
-
X-Forwarded-For: 192.168.1.100
|
|
19
|
-
user_reference: {{userKey}}
|
|
20
|
-
Content-Type: application/json
|
|
21
|
-
|
|
22
|
-
{
|
|
23
|
-
"key": "{{loginKey}}",
|
|
24
|
-
"tags": ["test", "login", "security-question-test"],
|
|
25
|
-
"attributes": {
|
|
26
|
-
"clientId": "{{clientKey}}",
|
|
27
|
-
"grantType": "authorization_code",
|
|
28
|
-
"scopes": ["{{scopeKey}}"],
|
|
29
|
-
"userName": "{{userKey}}",
|
|
30
|
-
"password": "$argon2id$v=19$m=65536,t=3,p=4$c29tZXNhbHQ$RdescudvJCsgt3ub+b+dWRWJTmaaJObG",
|
|
31
|
-
"deviceId": "{{deviceId}}",
|
|
32
|
-
"loginMethod": "password",
|
|
33
|
-
"ipAddress": "192.168.1.100",
|
|
34
|
-
"userAgent": "Test Browser/1.0",
|
|
35
|
-
"loginTimestamp": "{{$datetime iso8601}}"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
### Get Instance ID
|
|
40
|
-
@instanceId = {{startLogin.response.body.id}}
|
|
41
|
-
|
|
42
|
-
### Get Login State - Beklenen: security-question-change
|
|
43
|
-
# @name getLoginState
|
|
44
|
-
# NOT: loginKey yukarıda $timestamp ile oluşturuldu, aynı oturumda çalışır
|
|
45
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/functions/state
|
|
46
|
-
Accept-Language: tr-TR
|
|
47
|
-
X-Request-Id: {{$guid}}
|
|
48
|
-
X-Device-Id: {{deviceId}}
|
|
49
|
-
X-Token-Id: {{$guid}}
|
|
50
|
-
user_reference: {{userKey}}
|
|
51
|
-
|
|
52
|
-
### Get Login Data
|
|
53
|
-
# @name getLoginData
|
|
54
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/functions/data
|
|
55
|
-
Accept-Language: tr-TR
|
|
56
|
-
X-Request-Id: {{$guid}}
|
|
57
|
-
X-Device-Id: {{deviceId}}
|
|
58
|
-
X-Token-Id: {{$guid}}
|
|
59
|
-
user_reference: {{userKey}}
|
|
60
|
-
|
|
61
|
-
###############################################################################
|
|
62
|
-
# Security Question Flow
|
|
63
|
-
###############################################################################
|
|
64
|
-
|
|
65
|
-
### Set Security Question - Submit new security question
|
|
66
|
-
# @name setSecurityQuestion
|
|
67
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/transitions/set-security-question?sync=true
|
|
68
|
-
Accept-Language: tr-TR
|
|
69
|
-
X-Request-Id: {{$guid}}
|
|
70
|
-
X-Device-Id: {{deviceId}}
|
|
71
|
-
X-Token-Id: {{$guid}}
|
|
72
|
-
X-Device-Info: Test Browser/1.0
|
|
73
|
-
X-Forwarded-For: 192.168.1.100
|
|
74
|
-
user_reference: {{userKey}}
|
|
75
|
-
Content-Type: application/json
|
|
76
|
-
|
|
77
|
-
{
|
|
78
|
-
"attributes": {
|
|
79
|
-
"securityQuestion": [
|
|
80
|
-
{
|
|
81
|
-
"question": "İlk evcil hayvanınızın adı nedir?",
|
|
82
|
-
"answer": "$argon2id$v=19$m=65536,t=3,p=4$c29tZXNhbHQ$hashedAnswerHere",
|
|
83
|
-
"algorithm": "argon2",
|
|
84
|
-
"lastUpdatedDate": "{{$datetime iso8601}}"
|
|
85
|
-
}
|
|
86
|
-
]
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
### Get State After Security Question
|
|
91
|
-
# @name getStateAfterQuestion
|
|
92
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/functions/state
|
|
93
|
-
Accept-Language: tr-TR
|
|
94
|
-
X-Request-Id: {{$guid}}
|
|
95
|
-
X-Device-Id: {{deviceId}}
|
|
96
|
-
X-Token-Id: {{$guid}}
|
|
97
|
-
user_reference: {{userKey}}
|
|
98
|
-
|
|
99
|
-
###############################################################################
|
|
100
|
-
# Security Image Flow (if needed)
|
|
101
|
-
###############################################################################
|
|
102
|
-
|
|
103
|
-
### Set Security Image
|
|
104
|
-
# @name setSecurityImage
|
|
105
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/transitions/set-security-image?sync=true
|
|
106
|
-
Accept-Language: tr-TR
|
|
107
|
-
X-Request-Id: {{$guid}}
|
|
108
|
-
X-Device-Id: {{deviceId}}
|
|
109
|
-
X-Token-Id: {{$guid}}
|
|
110
|
-
X-Device-Info: Test Browser/1.0
|
|
111
|
-
X-Forwarded-For: 192.168.1.100
|
|
112
|
-
user_reference: {{userKey}}
|
|
113
|
-
Content-Type: application/json
|
|
114
|
-
|
|
115
|
-
{
|
|
116
|
-
"attributes": {
|
|
117
|
-
"securityImage": "sunset-beach-palm"
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
### Get State After Security Image
|
|
122
|
-
# @name getStateAfterImage
|
|
123
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/functions/state
|
|
124
|
-
Accept-Language: tr-TR
|
|
125
|
-
X-Request-Id: {{$guid}}
|
|
126
|
-
X-Device-Id: {{deviceId}}
|
|
127
|
-
X-Token-Id: {{$guid}}
|
|
128
|
-
user_reference: {{userKey}}
|
|
129
|
-
|
|
130
|
-
###############################################################################
|
|
131
|
-
# OTP Flow (if device not registered)
|
|
132
|
-
###############################################################################
|
|
133
|
-
|
|
134
|
-
### Verify OTP
|
|
135
|
-
# @name verifyOtp
|
|
136
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/transitions/verify-otp?sync=true
|
|
137
|
-
Accept-Language: tr-TR
|
|
138
|
-
X-Request-Id: {{$guid}}
|
|
139
|
-
X-Device-Id: {{deviceId}}
|
|
140
|
-
X-Token-Id: {{$guid}}
|
|
141
|
-
X-Device-Info: Test Browser/1.0
|
|
142
|
-
X-Forwarded-For: 192.168.1.100
|
|
143
|
-
user_reference: {{userKey}}
|
|
144
|
-
Content-Type: application/json
|
|
145
|
-
|
|
146
|
-
{
|
|
147
|
-
"attributes": {
|
|
148
|
-
"otpReference": 745952
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
### Send Push
|
|
153
|
-
# @name approvePush
|
|
154
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/transitions/approve-push?sync=true
|
|
155
|
-
Accept-Language: tr-TR
|
|
156
|
-
X-Request-Id: {{$guid}}
|
|
157
|
-
X-Device-Id: {{deviceId}}
|
|
158
|
-
X-Token-Id: {{$guid}}
|
|
159
|
-
user_reference: {{userKey}}
|
|
160
|
-
Content-Type: application/json
|
|
161
|
-
|
|
162
|
-
{
|
|
163
|
-
"attributes": {
|
|
164
|
-
"pushReference": "test-reference"
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
###############################################################################
|
|
169
|
-
# Consent Selection Flow
|
|
170
|
-
###############################################################################
|
|
171
|
-
|
|
172
|
-
### Select Consent
|
|
173
|
-
# @name selectConsent
|
|
174
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/transitions/select-consent?sync=true
|
|
175
|
-
Accept-Language: tr-TR
|
|
176
|
-
X-Request-Id: {{$guid}}
|
|
177
|
-
X-Device-Id: {{deviceId}}
|
|
178
|
-
X-Token-Id: {{$guid}}
|
|
179
|
-
X-Device-Info: Test Browser/1.0
|
|
180
|
-
X-Forwarded-For: 192.168.1.100
|
|
181
|
-
user_reference: {{userKey}}
|
|
182
|
-
Content-Type: application/json
|
|
183
|
-
|
|
184
|
-
{
|
|
185
|
-
"attributes": {
|
|
186
|
-
"selectedConsent": "{{consentKey}}"
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
### Get Final State
|
|
191
|
-
# @name getFinalState
|
|
192
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/functions/state
|
|
193
|
-
Accept-Language: tr-TR
|
|
194
|
-
X-Request-Id: {{$guid}}
|
|
195
|
-
X-Device-Id: {{deviceId}}
|
|
196
|
-
X-Token-Id: {{$guid}}
|
|
197
|
-
user_reference: {{userKey}}
|
|
198
|
-
|
|
199
|
-
### Get Final Data
|
|
200
|
-
# @name getFinalData
|
|
201
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{instanceId}}/functions/data
|
|
202
|
-
Accept-Language: tr-TR
|
|
203
|
-
X-Request-Id: {{$guid}}
|
|
204
|
-
X-Device-Id: {{deviceId}}
|
|
205
|
-
X-Token-Id: {{$guid}}
|
|
206
|
-
user_reference: {{userKey}}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
# Test 123 - Login Flow Test Suite
|
|
2
|
-
|
|
3
|
-
Bu klasör, user instance'da `securityQuestion` boş olan Person 123 için login flow testini içerir.
|
|
4
|
-
|
|
5
|
-
## 📋 Test Senaryosu
|
|
6
|
-
|
|
7
|
-
Person 123 ile login yapıldığında:
|
|
8
|
-
1. User instance'da `securityQuestion` array boş olduğu için `security-question-change` state'ine yönlendirilmeli
|
|
9
|
-
2. Kullanıcı security question'ı set ettikten sonra flow devam etmeli
|
|
10
|
-
|
|
11
|
-
## 🚀 Hızlı Başlangıç
|
|
12
|
-
|
|
13
|
-
### Otomatik Setup (Önerilen)
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
# 1. httpyac kurulumu (ilk seferlik)
|
|
17
|
-
npm install -g httpyac
|
|
18
|
-
|
|
19
|
-
# 2. Setup script'ini çalıştır
|
|
20
|
-
./run-setup.sh
|
|
21
|
-
|
|
22
|
-
# 3. Login testini manuel çalıştır
|
|
23
|
-
# VS Code'da 06-user-login.http dosyasını aç
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
### Database Cleanup
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
# Test verilerini sil (tekrar test için)
|
|
30
|
-
./cleanup.sh
|
|
31
|
-
|
|
32
|
-
# Veya direkt SQL ile
|
|
33
|
-
psql -h localhost -U postgres -d vnext -f cleanup.sql
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
## 🔄 Manuel Çalıştırma Sırası
|
|
37
|
-
|
|
38
|
-
Dosyaları **sırayla** çalıştırın:
|
|
39
|
-
|
|
40
|
-
| # | Dosya | Açıklama | Workflow |
|
|
41
|
-
|---|-------|----------|----------|
|
|
42
|
-
| 1 | `01-person.http` | Person 123 oluştur (user'da securityQuestion boş) | person |
|
|
43
|
-
| 2 | `02-user.http` | Person 123 için User oluştur | user |
|
|
44
|
-
| 3 | `03-scope.http` | User için Scope oluştur | scope |
|
|
45
|
-
| 4 | `04-consent.http` | User+Client için Consent oluştur | consent |
|
|
46
|
-
| 5 | `05-device.http` | (Opsiyonel) Device kaydı | device |
|
|
47
|
-
| 6 | `06-user-login.http` | Login testi - Ana senaryo | user-login |
|
|
48
|
-
|
|
49
|
-
## 📂 Dosya Yapısı
|
|
50
|
-
|
|
51
|
-
```
|
|
52
|
-
test-123/
|
|
53
|
-
├── README.md # Bu dosya
|
|
54
|
-
├── run-setup.sh # Otomatik setup script
|
|
55
|
-
├── cleanup.sh # Database cleanup script
|
|
56
|
-
├── cleanup.sql # SQL cleanup queries
|
|
57
|
-
├── 01-person.http # Person oluşturma
|
|
58
|
-
├── 02-user.http # User oluşturma
|
|
59
|
-
├── 03-scope.http # Scope oluşturma
|
|
60
|
-
├── 04-consent.http # Consent oluşturma
|
|
61
|
-
├── 05-device.http # Device oluşturma
|
|
62
|
-
└── 06-user-login.http # Login testi
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
## 🗂️ Workflow Bağımlılıkları
|
|
66
|
-
|
|
67
|
-
```
|
|
68
|
-
user-login
|
|
69
|
-
├── client (IbWeb - önceden mevcut olmalı)
|
|
70
|
-
├── user (antiPhishingImage user instance'da)
|
|
71
|
-
│ └── user (securityQuestion)
|
|
72
|
-
├── scope
|
|
73
|
-
├── consent (user + client + scope)
|
|
74
|
-
└── device (opsiyonel - push notification için)
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
## ⚠️ Ön Koşullar
|
|
78
|
-
|
|
79
|
-
1. **Client** `IbWeb` mevcut olmalı (genellikle seed data ile gelir)
|
|
80
|
-
2. **Scope Group** `retail-customers` mevcut olmalı
|
|
81
|
-
3. Runtime çalışıyor olmalı: `http://localhost:4201`
|
|
82
|
-
4. **httpyac** kurulu olmalı: `npm install -g httpyac`
|
|
83
|
-
|
|
84
|
-
## 🧪 Test Edilecek Senaryolar
|
|
85
|
-
|
|
86
|
-
### Senaryo 1: Security Question Boş
|
|
87
|
-
- User 123'ün `securityQuestion: []` (boş array)
|
|
88
|
-
- Login flow `security-question-change` state'ine gitmeli
|
|
89
|
-
- `set-security-question` transition ile güvenlik sorusu set edilmeli
|
|
90
|
-
- `person-refetch` state'i ile güncel person verisi çekilmeli
|
|
91
|
-
|
|
92
|
-
### Senaryo 2: Security Image Boş (sonraki adım)
|
|
93
|
-
- User instance'da `antiPhishingImage` yoksa `security-image-change` state'ine gitmeli
|
|
94
|
-
|
|
95
|
-
## 🛠️ Environment Variables
|
|
96
|
-
|
|
97
|
-
Cleanup script için database bağlantı ayarları:
|
|
98
|
-
|
|
99
|
-
```bash
|
|
100
|
-
export DB_HOST=localhost # default: localhost
|
|
101
|
-
export DB_PORT=5432 # default: 5432
|
|
102
|
-
export DB_NAME=vnext # default: vnext
|
|
103
|
-
export DB_USER=postgres # default: postgres
|
|
104
|
-
export DB_PASSWORD=secret # optional
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
## 📝 Notlar
|
|
108
|
-
|
|
109
|
-
- Her dosyada `@name` ile işaretli request'ler variable'ları set eder
|
|
110
|
-
- `?sync=true` ile senkron çalıştırma yapılır
|
|
111
|
-
- Instance ID'ler otomatik olarak response'dan alınır
|
|
112
|
-
- `run-setup.sh` her isteğin HTTP status'unu kontrol eder
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
const { Client } = require('pg');
|
|
2
|
-
|
|
3
|
-
const config = {
|
|
4
|
-
host: process.env.DB_HOST || 'localhost',
|
|
5
|
-
port: process.env.DB_PORT || 5432,
|
|
6
|
-
database: process.env.DB_NAME || 'Aether_WorkflowDb',
|
|
7
|
-
user: process.env.DB_USER || 'postgres',
|
|
8
|
-
password: process.env.DB_PASSWORD || 'postgres',
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
const queries = [
|
|
12
|
-
{ name: 'person', sql: `DELETE FROM person."Instances" WHERE "Key" = '123'` },
|
|
13
|
-
{ name: 'user', sql: `DELETE FROM "user"."Instances" WHERE "Key" = '123'` },
|
|
14
|
-
{ name: 'scope', sql: `DELETE FROM scope."Instances" WHERE "Key" LIKE '123-%'` },
|
|
15
|
-
{ name: 'consent', sql: `DELETE FROM consent."Instances" WHERE "Key" LIKE '123-%'` },
|
|
16
|
-
{ name: 'device', sql: `DELETE FROM device."Instances" WHERE "Key" = 'test-device-123'` },
|
|
17
|
-
//{ name: 'user-login', sql: `DELETE FROM user_login."Instances" WHERE "Key" LIKE 'login-123-%'` },
|
|
18
|
-
];
|
|
19
|
-
|
|
20
|
-
async function cleanup() {
|
|
21
|
-
const client = new Client(config);
|
|
22
|
-
|
|
23
|
-
try {
|
|
24
|
-
await client.connect();
|
|
25
|
-
console.log('Connected to database\n');
|
|
26
|
-
|
|
27
|
-
let total = 0;
|
|
28
|
-
for (const q of queries) {
|
|
29
|
-
try {
|
|
30
|
-
const result = await client.query(q.sql);
|
|
31
|
-
const count = result.rowCount;
|
|
32
|
-
total += count;
|
|
33
|
-
console.log(`${q.name}: ${count > 0 ? count + ' deleted' : 'nothing to delete'}`);
|
|
34
|
-
} catch (err) {
|
|
35
|
-
console.log(`${q.name}: ERROR - ${err.message}`);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
console.log(`\nTotal: ${total} rows deleted`);
|
|
40
|
-
} catch (err) {
|
|
41
|
-
console.error('Connection failed:', err.message);
|
|
42
|
-
process.exit(1);
|
|
43
|
-
} finally {
|
|
44
|
-
await client.end();
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
cleanup();
|
|
49
|
-
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
# Test 123 - Database Cleanup (Node.js version)
|
|
3
|
-
|
|
4
|
-
cd "$(dirname "$0")"
|
|
5
|
-
|
|
6
|
-
# Database settings (edit here or use environment variables)
|
|
7
|
-
export DB_HOST="${DB_HOST:-localhost}"
|
|
8
|
-
export DB_PORT="${DB_PORT:-5432}"
|
|
9
|
-
export DB_NAME="${DB_NAME:-Aether_WorkflowDb}"
|
|
10
|
-
export DB_USER="${DB_USER:-postgres}"
|
|
11
|
-
export DB_PASSWORD="${DB_PASSWORD:-postgres}"
|
|
12
|
-
|
|
13
|
-
# Check if pg is installed
|
|
14
|
-
if ! node -e "require('pg')" 2>/dev/null; then
|
|
15
|
-
echo "Installing pg package..."
|
|
16
|
-
npm install pg --no-save --silent
|
|
17
|
-
fi
|
|
18
|
-
|
|
19
|
-
# Run cleanup
|
|
20
|
-
node cleanup.js
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
-- Test 123 Cleanup Script
|
|
2
|
-
-- Deletes test instances with key '123' from all related workflow schemas
|
|
3
|
-
--
|
|
4
|
-
-- Usage: psql -h localhost -U postgres -d vnext -f cleanup.sql
|
|
5
|
-
-- Or: ./cleanup.sh (wrapper script)
|
|
6
|
-
|
|
7
|
-
BEGIN;
|
|
8
|
-
|
|
9
|
-
-- Person schema
|
|
10
|
-
DELETE FROM "person".instances WHERE key = '123';
|
|
11
|
-
|
|
12
|
-
-- User schema
|
|
13
|
-
DELETE FROM "user".instances WHERE key = '123';
|
|
14
|
-
|
|
15
|
-
-- Scope schema (key format: {userKey}-{scopeId})
|
|
16
|
-
DELETE FROM "scope".instances WHERE key LIKE '123-%';
|
|
17
|
-
|
|
18
|
-
-- Consent schema (key format: {userKey}-{clientKey}-{scopeKey})
|
|
19
|
-
DELETE FROM "consent".instances WHERE key LIKE '123-%';
|
|
20
|
-
|
|
21
|
-
-- Device schema
|
|
22
|
-
DELETE FROM "device".instances WHERE key = 'test-device-123';
|
|
23
|
-
|
|
24
|
-
-- User-login schema (test instances)
|
|
25
|
-
DELETE FROM "user-login".instances WHERE key LIKE 'login-123-%';
|
|
26
|
-
|
|
27
|
-
COMMIT;
|
|
28
|
-
|
|
29
|
-
-- Verify cleanup - show remaining counts
|
|
30
|
-
SELECT 'Cleanup verification:' as info;
|
|
31
|
-
SELECT
|
|
32
|
-
'person' as schema_name,
|
|
33
|
-
count(*) as remaining
|
|
34
|
-
FROM "person".instances WHERE key = '123'
|
|
35
|
-
UNION ALL
|
|
36
|
-
SELECT 'user', count(*) FROM "user".instances WHERE key = '123'
|
|
37
|
-
UNION ALL
|
|
38
|
-
SELECT 'scope', count(*) FROM "scope".instances WHERE key LIKE '123-%'
|
|
39
|
-
UNION ALL
|
|
40
|
-
SELECT 'consent', count(*) FROM "consent".instances WHERE key LIKE '123-%'
|
|
41
|
-
UNION ALL
|
|
42
|
-
SELECT 'device', count(*) FROM "device".instances WHERE key = 'test-device-123'
|
|
43
|
-
UNION ALL
|
|
44
|
-
SELECT 'user-login', count(*) FROM "user-login".instances WHERE key LIKE 'login-123-%';
|
|
45
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"dev": {
|
|
3
|
-
"baseUrl": "http://localhost:4201",
|
|
4
|
-
"apiVersion": "v1",
|
|
5
|
-
"domain": "morph-idm",
|
|
6
|
-
"personKey": "123",
|
|
7
|
-
"userKey": "123",
|
|
8
|
-
"scopeKey": "123-123",
|
|
9
|
-
"clientKey": "IbWeb",
|
|
10
|
-
"consentKey": "123-IbWeb-123-123",
|
|
11
|
-
"deviceId": "test-device-123"
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
# Test 123 - Run setup requests
|
|
3
|
-
|
|
4
|
-
cd "$(dirname "$0")"
|
|
5
|
-
|
|
6
|
-
run_request() {
|
|
7
|
-
local file=$1
|
|
8
|
-
local name=$2
|
|
9
|
-
|
|
10
|
-
echo -n "$file ($name): "
|
|
11
|
-
|
|
12
|
-
output=$(npx httpyac "$file" -n "$name" -e dev -o short 2>&1)
|
|
13
|
-
if [ $? -eq 0 ]; then
|
|
14
|
-
echo "OK"
|
|
15
|
-
else
|
|
16
|
-
echo "FAILED"
|
|
17
|
-
echo "$output"
|
|
18
|
-
exit 1
|
|
19
|
-
fi
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
echo "Running Test 123 Setup..."
|
|
23
|
-
echo ""
|
|
24
|
-
|
|
25
|
-
# Create instances
|
|
26
|
-
run_request "01-person.http" "startPerson"
|
|
27
|
-
run_request "02-user.http" "createUser"
|
|
28
|
-
run_request "03-scope.http" "createScope"
|
|
29
|
-
run_request "04-consent.http" "createConsent"
|
|
30
|
-
run_request "05-device.http" "createDevice"
|
|
31
|
-
|
|
32
|
-
echo ""
|
|
33
|
-
echo "Publishing..."
|
|
34
|
-
echo ""
|
|
35
|
-
|
|
36
|
-
# Publish instances (draft -> active)
|
|
37
|
-
run_request "01-person.http" "publishPerson"
|
|
38
|
-
run_request "02-user.http" "publishUser"
|
|
39
|
-
run_request "03-scope.http" "publishScope"
|
|
40
|
-
|
|
41
|
-
echo ""
|
|
42
|
-
echo "Setup complete. Run 06-user-login.http manually."
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"environments": {
|
|
3
|
-
"dev": {
|
|
4
|
-
"baseUrl": "http://localhost:4251",
|
|
5
|
-
"apiVersion": "v1",
|
|
6
|
-
"domain": "morph-idm",
|
|
7
|
-
"personKey": "12345",
|
|
8
|
-
"userKey": "12345",
|
|
9
|
-
"scopeKey": "12345",
|
|
10
|
-
"clientKey": "IbWeb",
|
|
11
|
-
"consentKey": "12345-IbWeb-12345",
|
|
12
|
-
"deviceId": "test-device-12345",
|
|
13
|
-
"installationIdId": "test-device-12345"
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|