@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,372 +0,0 @@
|
|
|
1
|
-
### Variables
|
|
2
|
-
@workflow = security-question-definition
|
|
3
|
-
|
|
4
|
-
###############################################################################
|
|
5
|
-
# Security Question Definition - Provider_Bff to morph-idm
|
|
6
|
-
###############################################################################
|
|
7
|
-
# ONE INSTANCE PER DEFINITION - Instance key = definitionId (UUID)
|
|
8
|
-
#
|
|
9
|
-
# Flow: start → draft → define → defined → publish → active ⇄ [deactivate/reactivate] ⇄ inactive
|
|
10
|
-
#
|
|
11
|
-
# Active/inactive status is determined by workflow state (currentState=active).
|
|
12
|
-
#
|
|
13
|
-
# Provider_Bff Mapping:
|
|
14
|
-
# - IsActive=true → start + define + publish → active state
|
|
15
|
-
# - IsActive=false → start + define + publish → active state → deactivate → inactive state
|
|
16
|
-
#
|
|
17
|
-
# ---------------------------------------------------------------------------
|
|
18
|
-
# ⚠️ IDEMPOTENCY NOTE
|
|
19
|
-
# `POST /instances/start` ile aynı `key` (definitionId) için ikinci kez
|
|
20
|
-
# çağrı yaparsan vNext YENİ instance yaratmaz — MEVCUT instance'ın o anki
|
|
21
|
-
# state'inden response döner.
|
|
22
|
-
#
|
|
23
|
-
# ⚠️ ASYNC NOTE
|
|
24
|
-
# `POST start` ve `PATCH transition` ilk response'larında genelde
|
|
25
|
-
# `status:"B"` (Busy) gelir. Direkt sonraki PATCH'i tetiklemeden önce
|
|
26
|
-
# `GET .../functions/state` çağrısının status:"A" döndüğünden emin ol.
|
|
27
|
-
# Long-poll için `If-None-Match: "*"` header'ı eklendi.
|
|
28
|
-
###############################################################################
|
|
29
|
-
|
|
30
|
-
###############################################################################
|
|
31
|
-
# SCENARIO 1: Import and Publish Active Definitions
|
|
32
|
-
###############################################################################
|
|
33
|
-
|
|
34
|
-
### 1. Import Definition 1 – Start (empty attributes, key = definitionId)
|
|
35
|
-
# @name importDefinition1
|
|
36
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
|
|
37
|
-
Content-Type: application/json
|
|
38
|
-
|
|
39
|
-
{
|
|
40
|
-
"key": "11111111-2222-3333-4444-555555555554",
|
|
41
|
-
"tags": ["security-question", "provider-bff", "active"],
|
|
42
|
-
"attributes": {}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
###
|
|
46
|
-
@definition1Id = {{importDefinition1.response.body.id}}
|
|
47
|
-
|
|
48
|
-
### 2. Get Definition 1 State (should be 'draft')
|
|
49
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition1Id}}/functions/state
|
|
50
|
-
If-None-Match: "*"
|
|
51
|
-
|
|
52
|
-
### 3. Define Definition 1 – collect question data
|
|
53
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition1Id}}/transitions/define
|
|
54
|
-
Content-Type: application/json
|
|
55
|
-
|
|
56
|
-
{
|
|
57
|
-
"attributes": {
|
|
58
|
-
"key": "mother-maiden-name",
|
|
59
|
-
"groupKey": "family",
|
|
60
|
-
"descriptionTr": "Annenizin kızlık soyadı nedir?",
|
|
61
|
-
"descriptionEn": "What is your mother's maiden name?",
|
|
62
|
-
"priority": 1,
|
|
63
|
-
"valueTypeClr": "String"
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
### 4. Get Definition 1 State (should be 'defined')
|
|
68
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition1Id}}/functions/state
|
|
69
|
-
If-None-Match: "*"
|
|
70
|
-
|
|
71
|
-
### 5. Get Definition 1 Data
|
|
72
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition1Id}}/functions/data
|
|
73
|
-
|
|
74
|
-
### 6. Publish Definition 1
|
|
75
|
-
# @name publishDefinition1
|
|
76
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition1Id}}/transitions/publish
|
|
77
|
-
Content-Type: application/json
|
|
78
|
-
|
|
79
|
-
### 7. Get Definition 1 State (should be 'active')
|
|
80
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition1Id}}/functions/state
|
|
81
|
-
If-None-Match: "*"
|
|
82
|
-
|
|
83
|
-
###############################################################################
|
|
84
|
-
|
|
85
|
-
### 8. Import Definition 2 – First School
|
|
86
|
-
# @name importDefinition2
|
|
87
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
|
|
88
|
-
Content-Type: application/json
|
|
89
|
-
|
|
90
|
-
{
|
|
91
|
-
"key": "22222222-3333-4444-5555-666666666666",
|
|
92
|
-
"tags": ["security-question", "provider-bff", "active"],
|
|
93
|
-
"attributes": {}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
###
|
|
97
|
-
@definition2Id = {{importDefinition2.response.body.id}}
|
|
98
|
-
|
|
99
|
-
### 9. Define Definition 2
|
|
100
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition2Id}}/transitions/define
|
|
101
|
-
Content-Type: application/json
|
|
102
|
-
|
|
103
|
-
{
|
|
104
|
-
"attributes": {
|
|
105
|
-
"key": "first-school",
|
|
106
|
-
"groupKey": "education",
|
|
107
|
-
"descriptionTr": "İlk okulunuzun adı nedir?",
|
|
108
|
-
"descriptionEn": "What is your first school's name?",
|
|
109
|
-
"priority": 2,
|
|
110
|
-
"valueTypeClr": "String"
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
### 10. Wait for state 'defined' then publish Definition 2
|
|
115
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition2Id}}/functions/state
|
|
116
|
-
If-None-Match: "*"
|
|
117
|
-
|
|
118
|
-
### 11. Publish Definition 2
|
|
119
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition2Id}}/transitions/publish
|
|
120
|
-
Content-Type: application/json
|
|
121
|
-
|
|
122
|
-
###############################################################################
|
|
123
|
-
|
|
124
|
-
### 12. Import Definition 3 – Childhood Nickname
|
|
125
|
-
# @name importDefinition3
|
|
126
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
|
|
127
|
-
Content-Type: application/json
|
|
128
|
-
|
|
129
|
-
{
|
|
130
|
-
"key": "33333333-4444-5555-6666-777777777777",
|
|
131
|
-
"tags": ["security-question", "provider-bff", "active"],
|
|
132
|
-
"attributes": {}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
###
|
|
136
|
-
@definition3Id = {{importDefinition3.response.body.id}}
|
|
137
|
-
|
|
138
|
-
### 13. Define Definition 3
|
|
139
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition3Id}}/transitions/define
|
|
140
|
-
Content-Type: application/json
|
|
141
|
-
|
|
142
|
-
{
|
|
143
|
-
"attributes": {
|
|
144
|
-
"key": "childhood-nickname",
|
|
145
|
-
"groupKey": "personal",
|
|
146
|
-
"descriptionTr": "Çocukluk lakabınız nedir?",
|
|
147
|
-
"descriptionEn": "What was your childhood nickname?",
|
|
148
|
-
"priority": 3,
|
|
149
|
-
"valueTypeClr": "String"
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
### 14. Wait for 'defined' then publish Definition 3
|
|
154
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition3Id}}/functions/state
|
|
155
|
-
If-None-Match: "*"
|
|
156
|
-
|
|
157
|
-
### 15. Publish Definition 3
|
|
158
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition3Id}}/transitions/publish
|
|
159
|
-
Content-Type: application/json
|
|
160
|
-
|
|
161
|
-
###############################################################################
|
|
162
|
-
|
|
163
|
-
### 16. Import Definition 4 – First Pet Name
|
|
164
|
-
# @name importDefinition4
|
|
165
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
|
|
166
|
-
Content-Type: application/json
|
|
167
|
-
|
|
168
|
-
{
|
|
169
|
-
"key": "44444444-5555-6666-7777-888888888888",
|
|
170
|
-
"tags": ["security-question", "provider-bff", "active"],
|
|
171
|
-
"attributes": {}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
###
|
|
175
|
-
@definition4Id = {{importDefinition4.response.body.id}}
|
|
176
|
-
|
|
177
|
-
### 17. Define Definition 4
|
|
178
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition4Id}}/transitions/define
|
|
179
|
-
Content-Type: application/json
|
|
180
|
-
|
|
181
|
-
{
|
|
182
|
-
"attributes": {
|
|
183
|
-
"key": "first-pet-name",
|
|
184
|
-
"groupKey": "personal",
|
|
185
|
-
"descriptionTr": "İlk evcil hayvanınızın adı nedir?",
|
|
186
|
-
"descriptionEn": "What is the name of your first pet?",
|
|
187
|
-
"priority": 4,
|
|
188
|
-
"valueTypeClr": "String"
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
### 18. Wait for 'defined' then publish Definition 4
|
|
193
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition4Id}}/functions/state
|
|
194
|
-
If-None-Match: "*"
|
|
195
|
-
|
|
196
|
-
### 19. Publish Definition 4
|
|
197
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition4Id}}/transitions/publish
|
|
198
|
-
Content-Type: application/json
|
|
199
|
-
|
|
200
|
-
###############################################################################
|
|
201
|
-
|
|
202
|
-
### 20. Import Definition 5 – Birth City
|
|
203
|
-
# @name importDefinition5
|
|
204
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
|
|
205
|
-
Content-Type: application/json
|
|
206
|
-
|
|
207
|
-
{
|
|
208
|
-
"key": "55555555-6666-7777-8888-999999999999",
|
|
209
|
-
"tags": ["security-question", "provider-bff", "active"],
|
|
210
|
-
"attributes": {}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
###
|
|
214
|
-
@definition5Id = {{importDefinition5.response.body.id}}
|
|
215
|
-
|
|
216
|
-
### 21. Define Definition 5
|
|
217
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition5Id}}/transitions/define
|
|
218
|
-
Content-Type: application/json
|
|
219
|
-
|
|
220
|
-
{
|
|
221
|
-
"attributes": {
|
|
222
|
-
"key": "birth-city",
|
|
223
|
-
"groupKey": "personal",
|
|
224
|
-
"descriptionTr": "Doğduğunuz şehir neresidir?",
|
|
225
|
-
"descriptionEn": "What is your city of birth?",
|
|
226
|
-
"priority": 5,
|
|
227
|
-
"valueTypeClr": "String"
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
### 22. Wait for 'defined' then publish Definition 5
|
|
232
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition5Id}}/functions/state
|
|
233
|
-
If-None-Match: "*"
|
|
234
|
-
|
|
235
|
-
### 23. Publish Definition 5
|
|
236
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition5Id}}/transitions/publish
|
|
237
|
-
Content-Type: application/json
|
|
238
|
-
|
|
239
|
-
###############################################################################
|
|
240
|
-
# SCENARIO 2: Import and Deactivate (Provider_Bff IsActive=false equivalent)
|
|
241
|
-
###############################################################################
|
|
242
|
-
|
|
243
|
-
### 24. Import Definition 6 – Favorite Color (will be deactivated)
|
|
244
|
-
# @name importDefinition6
|
|
245
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
|
|
246
|
-
Content-Type: application/json
|
|
247
|
-
|
|
248
|
-
{
|
|
249
|
-
"key": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
|
|
250
|
-
"tags": ["security-question", "provider-bff"],
|
|
251
|
-
"attributes": {}
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
###
|
|
255
|
-
@definition6Id = {{importDefinition6.response.body.id}}
|
|
256
|
-
|
|
257
|
-
### 25. Define Definition 6
|
|
258
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition6Id}}/transitions/define
|
|
259
|
-
Content-Type: application/json
|
|
260
|
-
|
|
261
|
-
{
|
|
262
|
-
"attributes": {
|
|
263
|
-
"key": "favorite-color",
|
|
264
|
-
"groupKey": "personal",
|
|
265
|
-
"descriptionTr": "En sevdiğiniz renk nedir?",
|
|
266
|
-
"descriptionEn": "What is your favorite color?",
|
|
267
|
-
"priority": 20,
|
|
268
|
-
"valueTypeClr": "String"
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
### 26. Get Definition 6 State (should be 'defined')
|
|
273
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition6Id}}/functions/state
|
|
274
|
-
If-None-Match: "*"
|
|
275
|
-
|
|
276
|
-
### 27. Publish Definition 6 (moves to 'active')
|
|
277
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition6Id}}/transitions/publish
|
|
278
|
-
Content-Type: application/json
|
|
279
|
-
|
|
280
|
-
### 28. Get Definition 6 State (should be 'active')
|
|
281
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition6Id}}/functions/state
|
|
282
|
-
If-None-Match: "*"
|
|
283
|
-
|
|
284
|
-
### 29. Deactivate Definition 6 (moves to 'inactive')
|
|
285
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition6Id}}/transitions/deactivate
|
|
286
|
-
Content-Type: application/json
|
|
287
|
-
|
|
288
|
-
### 30. Get Definition 6 State (should be 'inactive')
|
|
289
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition6Id}}/functions/state
|
|
290
|
-
If-None-Match: "*"
|
|
291
|
-
|
|
292
|
-
### 31. Get Definition 6 Data
|
|
293
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition6Id}}/functions/data
|
|
294
|
-
|
|
295
|
-
###############################################################################
|
|
296
|
-
# SCENARIO 3: Reactivate
|
|
297
|
-
###############################################################################
|
|
298
|
-
|
|
299
|
-
### 32. Reactivate Definition 6 (moves back to 'active')
|
|
300
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition6Id}}/transitions/reactivate
|
|
301
|
-
Content-Type: application/json
|
|
302
|
-
|
|
303
|
-
### 33. Get Definition 6 State (should be 'active' again)
|
|
304
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition6Id}}/functions/state
|
|
305
|
-
If-None-Match: "*"
|
|
306
|
-
|
|
307
|
-
###############################################################################
|
|
308
|
-
# SCENARIO 4: Query Active Definitions
|
|
309
|
-
###############################################################################
|
|
310
|
-
|
|
311
|
-
### 34. Query all active definitions
|
|
312
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances?page=1&pageSize=50&filter={"currentState":{"eq":"active"}}
|
|
313
|
-
|
|
314
|
-
### 35. Query all definitions (all states)
|
|
315
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances?page=1&pageSize=200
|
|
316
|
-
|
|
317
|
-
###############################################################################
|
|
318
|
-
# SCENARIO 5: LOV function – get-active-security-question-definitions
|
|
319
|
-
###############################################################################
|
|
320
|
-
# Domain-level (scope=D) LOV function: lists ALL active question definitions.
|
|
321
|
-
# No query parameter – filter is fixed to currentState=active in the mapping.
|
|
322
|
-
# Same result set as step 34 above, but shaped for UI lookups.
|
|
323
|
-
#
|
|
324
|
-
# Task: query-all-security-question-definitions-task (type 15, sort=-CreatedAt, pageSize=200)
|
|
325
|
-
# ⚠️ Task adı/tag'i "all" der ama mapping filtreyi currentState=active yapar → aktif-only.
|
|
326
|
-
#
|
|
327
|
-
# Used as the lookup source (urn:vnext:func:morph-idm:get-active-security-question-definitions) by:
|
|
328
|
-
# - Schemas/user/force-set-security-question-input.json
|
|
329
|
-
# → login gate view (security-check set-security-question)
|
|
330
|
-
# → i.e. this is the function that populates the question list DURING user-login
|
|
331
|
-
# - Schemas/security-question/security-question-change/
|
|
332
|
-
# transition-security-question-change-submit.json (+ retry uses the same LOV)
|
|
333
|
-
#
|
|
334
|
-
# rawResponse=true and the mapping wraps the list once → response is { "data": [ ... ] }.
|
|
335
|
-
# Mirror of the image side: Functions/security-check/get-active-image-definitions
|
|
336
|
-
# (see Workflows/anti-phishing-image/anti-phishing-image-definition/execute/ SCENARIO 6)
|
|
337
|
-
#
|
|
338
|
-
# URL: GET /api/v1/morph-idm/functions/get-active-security-question-definitions
|
|
339
|
-
###############################################################################
|
|
340
|
-
|
|
341
|
-
@lovFunction = get-active-security-question-definitions
|
|
342
|
-
|
|
343
|
-
### 36. List all active question definitions (LOV)
|
|
344
|
-
### Definitions 1-5 (published above) + definition 6 should appear while active.
|
|
345
|
-
### After step 29 (definition6 deactivated) → definition6 must disappear.
|
|
346
|
-
### Any definition left in draft/defined must NEVER appear.
|
|
347
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/functions/{{lovFunction}}
|
|
348
|
-
Accept-Language: tr-TR
|
|
349
|
-
X-Request-Id: {{$guid}}
|
|
350
|
-
|
|
351
|
-
###############################################################################
|
|
352
|
-
# Expected response:
|
|
353
|
-
# {
|
|
354
|
-
# "data": [
|
|
355
|
-
# {
|
|
356
|
-
# "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
|
|
357
|
-
# "descriptionTr": "En sevdiğiniz renk nedir?",
|
|
358
|
-
# "descriptionEn": "What is your favorite color?"
|
|
359
|
-
# },
|
|
360
|
-
# {
|
|
361
|
-
# "id": "11111111-2222-3333-4444-555555555554",
|
|
362
|
-
# "descriptionTr": "...",
|
|
363
|
-
# "descriptionEn": "..."
|
|
364
|
-
# }
|
|
365
|
-
# ]
|
|
366
|
-
# }
|
|
367
|
-
#
|
|
368
|
-
# Note: `id` comes ONLY from the instance key (no attributes.definitionId fallback);
|
|
369
|
-
# an instance with an empty key is skipped silently.
|
|
370
|
-
# Note: `key`, `groupKey`, `priority`, `valueTypeClr` are NOT returned by this LOV —
|
|
371
|
-
# only id + descriptions. Use step 34/35 if you need the full definition payload.
|
|
372
|
-
###############################################################################
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
# HOLDER KEY (2026-10-21): user-password / security-question-user / anti-phishing-image-user ve -set akışlarının instance key'i
|
|
2
|
-
# artık {userKey}-{userInstanceId} (userInstanceId = user instance GUID'i, runtime'ın gösterdiği tireli küçük harf biçimiyle).
|
|
3
|
-
# user instance id: GET .../workflows/user/instances?filter={"and":[{"key":{"eq":"<userKey>"}},{"status":{"eq":"A"}}]} → items[0].id
|
|
4
|
-
# (olduğu gibi aşağıdaki değişkene yapıştır). Düz userKey ile başlatılan -set → HOLDER_KEY_NOT_COMPOSITE (F).
|
|
5
|
-
### Security Question Reset — Maker-Checker (user-test-52 için adım adım)
|
|
6
|
-
###
|
|
7
|
-
### Akış: submit (maker) → waiting-decision → approve (checker) → applying-approval
|
|
8
|
-
### → security-question-set (source=reset) → (info sms) → calling-password-reset → completed-end
|
|
9
|
-
###
|
|
10
|
-
### Headers:
|
|
11
|
-
### user_reference = maker (talebi açan)
|
|
12
|
-
### X-Actor [2. alan] = checker (onaylayan) — maker'dan FARKLI olmalı (same-user-cannot-approve)
|
|
13
|
-
###
|
|
14
|
-
### NOT: userKey attributes.user.key'den okunur → instance key'i unique tutuyoruz (re-run için).
|
|
15
|
-
### security-question-user history-mirror; GÜNCEL kayıt active|deactive|blocked olabilir
|
|
16
|
-
### (hepsi status=A). Reset GÜNCEL kaydı `deactive` state'ine koyar. Bu yüzden holder'ı
|
|
17
|
-
### currentState=active ile DEĞİL, status=A ile alıyoruz (terminal kayıtlar status=C).
|
|
18
|
-
###############################################################################
|
|
19
|
-
@workflow = security-question-reset
|
|
20
|
-
@userWorkflow = security-question-user
|
|
21
|
-
@userKey = user-test-30
|
|
22
|
-
### user instance id → holder key (security-question-user kayıtları bu key altında)
|
|
23
|
-
@userInstanceId = 00000000-0000-0000-0000-000000000000
|
|
24
|
-
@holderKey = {{userKey}}-{{userInstanceId}}
|
|
25
|
-
@approverKey = 99999999990
|
|
26
|
-
@instanceKey = sq-reset-{{userKey}}-{{$timestamp}}
|
|
27
|
-
|
|
28
|
-
### R1. MEVCUT güvenlik sorusu (reset ÖNCESİ) — filter, status=A (güncel holder)
|
|
29
|
-
# Decoded: {"and":[{"key":{"eq":"{{userKey}}"}},{"status":{"eq":"A"}}]}
|
|
30
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{userWorkflow}}/instances?pageSize=1&filter=%7B%22and%22%3A%5B%7B%22key%22%3A%7B%22eq%22%3A%22{{holderKey}}%22%7D%7D%2C%7B%22status%22%3A%7B%22eq%22%3A%22A%22%7D%7D%5D%7D
|
|
31
|
-
Accept-Language: tr-TR
|
|
32
|
-
X-Request-Id: {{$guid}}
|
|
33
|
-
user_reference: {{userKey}}
|
|
34
|
-
|
|
35
|
-
### R2. Reset talebi BAŞLAT (maker = user_reference)
|
|
36
|
-
# @name startReset
|
|
37
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
38
|
-
Accept-Language: tr-TR
|
|
39
|
-
X-Request-Id: {{$guid}}
|
|
40
|
-
user_reference: {{userKey}}
|
|
41
|
-
Content-Type: application/json
|
|
42
|
-
|
|
43
|
-
{
|
|
44
|
-
"key": "{{instanceKey}}",
|
|
45
|
-
"tags": ["test", "security-question-reset", "user-52"],
|
|
46
|
-
"attributes": {
|
|
47
|
-
"user": {
|
|
48
|
-
"domain": "morph-idm",
|
|
49
|
-
"workflow": "user",
|
|
50
|
-
"key": "{{userKey}}",
|
|
51
|
-
"version": "1.0.0"
|
|
52
|
-
},
|
|
53
|
-
"reason": "Müşteri güvenlik sorusunu hatırlamıyor, sıfırlama talep ediyor"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
###
|
|
58
|
-
@instanceId = {{startReset.response.body.id}}
|
|
59
|
-
|
|
60
|
-
### R3. State (beklenen: waiting-decision — kullanıcı bulundu, checker onayı bekleniyor)
|
|
61
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
|
|
62
|
-
Accept-Language: tr-TR
|
|
63
|
-
X-Request-Id: {{$guid}}
|
|
64
|
-
user_reference: {{userKey}}
|
|
65
|
-
|
|
66
|
-
### R4. ONAYLA (checker = X-Actor[2], maker'dan FARKLI)
|
|
67
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/approve?sync=true
|
|
68
|
-
Accept-Language: tr-TR
|
|
69
|
-
X-Request-Id: {{$guid}}
|
|
70
|
-
user_reference: {{approverKey}}
|
|
71
|
-
X-Actor: {{$guid}},{{approverKey}},scope-id,scope-ref,consent-id
|
|
72
|
-
Content-Type: application/json
|
|
73
|
-
|
|
74
|
-
{
|
|
75
|
-
"attributes": {
|
|
76
|
-
"approveRejectReason": "Müşteri kimliği doğrulandı, onaylandı"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
### R5. State (beklenen: completed-end)
|
|
81
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
|
|
82
|
-
Accept-Language: tr-TR
|
|
83
|
-
X-Request-Id: {{$guid}}
|
|
84
|
-
user_reference: {{approverKey}}
|
|
85
|
-
|
|
86
|
-
### R6. Reset flow DATA (smsDelivery, pwdResetStatus, approvalTracking)
|
|
87
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/data
|
|
88
|
-
Accept-Language: tr-TR
|
|
89
|
-
X-Request-Id: {{$guid}}
|
|
90
|
-
user_reference: {{approverKey}}
|
|
91
|
-
|
|
92
|
-
### R7. YENİ güvenlik sorusu (reset SONRASI) — filter status=A, source=reset beklenir
|
|
93
|
-
# Eski kayıt terminal'e (reset-end, status=C) düştü; yeni holder source=reset, state=deactive.
|
|
94
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{userWorkflow}}/instances?pageSize=1&filter=%7B%22and%22%3A%5B%7B%22key%22%3A%7B%22eq%22%3A%22{{holderKey}}%22%7D%7D%2C%7B%22status%22%3A%7B%22eq%22%3A%22A%22%7D%7D%5D%7D
|
|
95
|
-
Accept-Language: tr-TR
|
|
96
|
-
X-Request-Id: {{$guid}}
|
|
97
|
-
user_reference: {{approverKey}}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
###############################################################################
|
|
2
|
-
# shield-decrypt Flow
|
|
3
|
-
#
|
|
4
|
-
# Aktif sertifikadan private key ile şifre çözme (RSA-OAEP-256).
|
|
5
|
-
#
|
|
6
|
-
# Akış:
|
|
7
|
-
# 1. find-cert (get-cert-by-filter-task) → privateKeyPem
|
|
8
|
-
# 2. decrypt-data → POST {UtilBaseAddress}/api/Shield/decrypt
|
|
9
|
-
# 3. decrypted-end | cert-not-found-end | decrypt-failed-end
|
|
10
|
-
#
|
|
11
|
-
# Gereksinimler:
|
|
12
|
-
# - vNext Runtime, idm-utils (Shield decrypt)
|
|
13
|
-
# - Cert flow’da ilgili aktif instance
|
|
14
|
-
###############################################################################
|
|
15
|
-
|
|
16
|
-
@workflow = shield-decrypt
|
|
17
|
-
@userName = admin-01
|
|
18
|
-
@deviceId = device-02
|
|
19
|
-
@installationId = install-12
|
|
20
|
-
|
|
21
|
-
###############################################################################
|
|
22
|
-
# SCENARIO 1: Decrypt with existing active certificate
|
|
23
|
-
###############################################################################
|
|
24
|
-
|
|
25
|
-
### Step 1: Start shield-decrypt (encryptedData = base64 ciphertext)
|
|
26
|
-
# @name startDecrypt
|
|
27
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
28
|
-
Content-Type: application/json
|
|
29
|
-
|
|
30
|
-
{
|
|
31
|
-
"key": "decrypt-{{$timestamp}}",
|
|
32
|
-
"tags": ["shield", "decrypt", "test"],
|
|
33
|
-
"attributes": {
|
|
34
|
-
"encryptedData": "PBfM66D3OBCYL3rVIu+o0tQ3Rx98yMGYwcp417A4OaQyEgXJHrqv80Pj8RTXDh0Xi9mMFZ56qr9Q0cwjDQpt0oAVd89Mj0kG7qsaj5qwMU8uIcmALmYOn1KInIWYCfIvmw7NH4ZSZLSoJ6HDDYINfQa0JJxLcwYunFuIibmWpcLRB1gKA4r++K4T/Hs8//NxczwbnBjUf005rQB1IxZSilqv6fFreMBujwxGJYDnA1uVlbk88CKR9drUXVMm9P41NDCre5XkW37gm5WWE5655Yva0gtD39i0ODSkvRUVwFbrGl/N1M1SakMbGN7QXLHO9cFt5G5jFgc4TaIPjvgcfQ==",
|
|
35
|
-
"userName": "{{userName}}",
|
|
36
|
-
"deviceId": "{{deviceId}}",
|
|
37
|
-
"installationId": "{{installationId}}"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
###
|
|
42
|
-
@decryptInstanceId = {{startDecrypt.response.body.id}}
|
|
43
|
-
|
|
44
|
-
### Step 2: Check State — e.g. decrypted-end, cert-not-found-end, decrypt-failed-end
|
|
45
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{decryptInstanceId}}/functions/state
|
|
46
|
-
|
|
47
|
-
### Step 3: Get Instance Data — decryptedData, decryptStatus, …
|
|
48
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{decryptInstanceId}}/functions/data
|
|
49
|
-
|
|
50
|
-
###############################################################################
|
|
51
|
-
# SCENARIO 2: Decrypt with non-existing certificate
|
|
52
|
-
###############################################################################
|
|
53
|
-
|
|
54
|
-
### Step 4: Start with unknown user/device
|
|
55
|
-
# @name startDecryptNoCert
|
|
56
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
57
|
-
Content-Type: application/json
|
|
58
|
-
|
|
59
|
-
{
|
|
60
|
-
"key": "decrypt-noCert-{{$timestamp}}",
|
|
61
|
-
"tags": ["shield", "decrypt", "no-cert"],
|
|
62
|
-
"attributes": {
|
|
63
|
-
"encryptedData": "SGVsbG8=",
|
|
64
|
-
"userName": "unknown-user",
|
|
65
|
-
"deviceId": "unknown-device",
|
|
66
|
-
"installationId": "unknown-install"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
###
|
|
71
|
-
@decryptNoCertId = {{startDecryptNoCert.response.body.id}}
|
|
72
|
-
|
|
73
|
-
### Step 5: Check State — Should be cert-not-found-end
|
|
74
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{decryptNoCertId}}/functions/state
|
|
75
|
-
|
|
76
|
-
### Step 6: Get Instance Data
|
|
77
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{decryptNoCertId}}/functions/data
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
###############################################################################
|
|
2
|
-
# shield-encrypt Flow - Shield Encryption Workflow
|
|
3
|
-
#
|
|
4
|
-
# Sertifika ile veri şifreleme workflow'u.
|
|
5
|
-
#
|
|
6
|
-
# Akış:
|
|
7
|
-
# 1. Start → find-cert (cert flow'dan sertifika ara)
|
|
8
|
-
# 2. Cert bulunduysa → encrypt-data (idm-utils encrypt endpoint)
|
|
9
|
-
# 3. Cert bulunamadıysa → cert-not-found-end
|
|
10
|
-
# 4. Şifreleme başarılıysa → encrypted-end
|
|
11
|
-
# 5. Şifreleme başarısızsa → encrypt-failed-end
|
|
12
|
-
#
|
|
13
|
-
# Gereksinimler:
|
|
14
|
-
# - vNext Runtime: http://localhost:4251
|
|
15
|
-
# - idm-utils: UtilBaseAddress (ShieldController POST api/Shield/encrypt)
|
|
16
|
-
# - Aktif bir cert instance'ı (cert flow'da)
|
|
17
|
-
###############################################################################
|
|
18
|
-
|
|
19
|
-
@workflow = shield-encrypt
|
|
20
|
-
@userName = admin-01
|
|
21
|
-
@deviceId = device-02
|
|
22
|
-
@installationId = install-12
|
|
23
|
-
|
|
24
|
-
###############################################################################
|
|
25
|
-
# SCENARIO 1: Encrypt with existing active certificate
|
|
26
|
-
###############################################################################
|
|
27
|
-
|
|
28
|
-
### Step 1: Start shield-encrypt (cert must exist in cert flow)
|
|
29
|
-
# @name startEncrypt
|
|
30
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
31
|
-
Content-Type: application/json
|
|
32
|
-
|
|
33
|
-
{
|
|
34
|
-
"key": "encrypt-{{$timestamp}}",
|
|
35
|
-
"tags": ["shield", "encrypt", "test"],
|
|
36
|
-
"attributes": {
|
|
37
|
-
"data": "SGVsbG8gV29ybGQ=",
|
|
38
|
-
"userName": "{{userName}}",
|
|
39
|
-
"deviceId": "{{deviceId}}",
|
|
40
|
-
"installationId": "{{installationId}}"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
###
|
|
45
|
-
@encryptInstanceId = {{startEncrypt.response.body.id}}
|
|
46
|
-
|
|
47
|
-
### Step 2: Check State - Should be "encrypted-end" or "cert-not-found-end"
|
|
48
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{encryptInstanceId}}/functions/state
|
|
49
|
-
|
|
50
|
-
### Step 3: Get Instance Data - Check encrypted data
|
|
51
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{encryptInstanceId}}/functions/data
|
|
52
|
-
|
|
53
|
-
###############################################################################
|
|
54
|
-
# SCENARIO 2: Encrypt with non-existing certificate
|
|
55
|
-
###############################################################################
|
|
56
|
-
|
|
57
|
-
### Step 4: Start shield-encrypt with unknown user
|
|
58
|
-
# @name startEncryptNoUser
|
|
59
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
60
|
-
Content-Type: application/json
|
|
61
|
-
|
|
62
|
-
{
|
|
63
|
-
"key": "encrypt-noCert-{{$timestamp}}",
|
|
64
|
-
"tags": ["shield", "encrypt", "no-cert"],
|
|
65
|
-
"attributes": {
|
|
66
|
-
"data": "SGVsbG8gV29ybGQ=",
|
|
67
|
-
"userName": "unknown-user",
|
|
68
|
-
"deviceId": "unknown-device",
|
|
69
|
-
"installationId": "unknown-install"
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
###
|
|
74
|
-
@encryptNoCertId = {{startEncryptNoUser.response.body.id}}
|
|
75
|
-
|
|
76
|
-
### Step 5: Check State - Should be "cert-not-found-end"
|
|
77
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{encryptNoCertId}}/functions/state
|
|
78
|
-
|
|
79
|
-
### Step 6: Get Instance Data
|
|
80
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{encryptNoCertId}}/functions/data
|