@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
package/morph-idm/Workflows/transaction-limit/remaining/execute/transaction-limit-remaining.http
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
### Transaction Limit Remaining — read-only kalan limit raporu (user + scope)
|
|
2
|
-
### Kümülatif tipler için: Daily (maker) ve ApproveDaily (onaylayan). Transaction için KULLANILMAZ.
|
|
3
|
-
### Akış: start -> route-type -> resolve-user (subflow) -> user-*-router
|
|
4
|
-
### -> usage-<level> (seviye başına ayrı state) -> resolve-scope (subflow)
|
|
5
|
-
### -> scope-router -> usage-us-<level> -> remaining-resolved-end.
|
|
6
|
-
### Usage boyutları flow'da seviye-seviye görünür (switch csx'te DEĞİL).
|
|
7
|
-
### sync=true ile senkron koşar; sonuç start yanıtındaki attributes'ta gelir.
|
|
8
|
-
|
|
9
|
-
@domain = morph-idm
|
|
10
|
-
@workflow = transaction-limit-remaining
|
|
11
|
-
|
|
12
|
-
################################################################################
|
|
13
|
-
# SENARYO 1 — Daily, her iki tier de tanımlı (used=0 ise remaining=limit)
|
|
14
|
-
# Seed: Daily sg-20/scope-1/user1/EFT=18000 (L1), sg-20/scope-1/EFT=45000 (L5)
|
|
15
|
-
# Beklenen: userRemaining=18000 (L1), scopeRemaining=45000 (L5)
|
|
16
|
-
################################################################################
|
|
17
|
-
### 1.1 Start (Daily)
|
|
18
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
19
|
-
Content-Type: application/json
|
|
20
|
-
|
|
21
|
-
{
|
|
22
|
-
"key": "remaining-daily-{{$timestamp}}",
|
|
23
|
-
"tags": ["test", "transaction-limit-remaining", "daily"],
|
|
24
|
-
"attributes": {
|
|
25
|
-
"type": "ApproveDaily",
|
|
26
|
-
"scopeGroup": "corporate-customers",
|
|
27
|
-
"scope": "firma-1",
|
|
28
|
-
"user": "user-3",
|
|
29
|
-
"limitKey": "EFT"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
################################################################################
|
|
34
|
-
# SENARYO 2 — Daily, kullanım>0 (used SUM doğrulama)
|
|
35
|
-
# Seed: kurumsal-4/scope-1/user-1/EFT günü 2026-07-05'te 10000 kullanım
|
|
36
|
-
# Beklenen: userUsed=10000, userRemaining = userLimitAmount − 10000
|
|
37
|
-
################################################################################
|
|
38
|
-
### 2.1 Start (Daily, transactionDate ile)
|
|
39
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
40
|
-
Content-Type: application/json
|
|
41
|
-
|
|
42
|
-
{
|
|
43
|
-
"key": "remaining-used-{{$timestamp}}",
|
|
44
|
-
"tags": ["test", "transaction-limit-remaining", "daily", "used"],
|
|
45
|
-
"attributes": {
|
|
46
|
-
"type": "Daily",
|
|
47
|
-
"user": "user-1",
|
|
48
|
-
"scope": "scope-1",
|
|
49
|
-
"scopeGroup": "kurumsal-4",
|
|
50
|
-
"limitKey": "EFT",
|
|
51
|
-
"transactionDate": "2026-07-17"
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
################################################################################
|
|
56
|
-
# SENARYO 3 — ApproveDaily (route-type -> approve dalı; usage approvers includes {approver})
|
|
57
|
-
# Seed: ApproveDaily sg-20/approver1/EFT=135000 (L3 user+key)
|
|
58
|
-
# Beklenen: userResolvedLevel=3, userLimitAmount=135000, userRemaining=135000−used
|
|
59
|
-
################################################################################
|
|
60
|
-
### 3.1 Start (ApproveDaily; principal = onaylayan, "user" alanında — type ApproveDaily olduğu için onaylayan sayılır)
|
|
61
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
62
|
-
Content-Type: application/json
|
|
63
|
-
|
|
64
|
-
{
|
|
65
|
-
"key": "remaining-approve-{{$timestamp}}",
|
|
66
|
-
"tags": ["test", "transaction-limit-remaining", "approve-daily"],
|
|
67
|
-
"attributes": {
|
|
68
|
-
"type": "ApproveDaily",
|
|
69
|
-
"scopeGroup": "sg-20",
|
|
70
|
-
"scope": "scope-1",
|
|
71
|
-
"user": "approver1",
|
|
72
|
-
"limitKey": "EFT"
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
################################################################################
|
|
77
|
-
# SENARYO 4 — Tanımsız tier (not-defined)
|
|
78
|
-
# Beklenen: *CheckResult="not-defined", *Remaining=null
|
|
79
|
-
################################################################################
|
|
80
|
-
### 4.1 Start
|
|
81
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
82
|
-
Content-Type: application/json
|
|
83
|
-
|
|
84
|
-
{
|
|
85
|
-
"key": "remaining-nd-{{$timestamp}}",
|
|
86
|
-
"tags": ["test", "transaction-limit-remaining", "not-defined"],
|
|
87
|
-
"attributes": {
|
|
88
|
-
"type": "Daily",
|
|
89
|
-
"scopeGroup": "sg-20",
|
|
90
|
-
"scope": "CUST-NONE",
|
|
91
|
-
"user": "99999999999",
|
|
92
|
-
"limitKey": "eft"
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
################################################################################
|
|
97
|
-
# Async çalışıldıysa (sync=false) sonucu ayrıca çekmek için (<key> = start'taki key):
|
|
98
|
-
################################################################################
|
|
99
|
-
### state (long-poll)
|
|
100
|
-
# GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/<key>/functions/state
|
|
101
|
-
|
|
102
|
-
### data — userRemaining / scopeRemaining
|
|
103
|
-
# GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/<key>/functions/data
|
package/morph-idm/Workflows/transaction-limit/resolve/execute/transaction-limit-resolve.http
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
### Variables
|
|
2
|
-
@baseUrl = http://localhost:4251
|
|
3
|
-
@apiVersion = v1
|
|
4
|
-
@domain = morph-idm
|
|
5
|
-
@resolve = transaction-limit-resolve
|
|
6
|
-
|
|
7
|
-
# //@baseUrl = https://test-vnext-morph-idm.apps.nonprod.ebt.bank
|
|
8
|
-
|
|
9
|
-
###############################################################################
|
|
10
|
-
# RESOLVE — STANDALONE (top-level) TEST
|
|
11
|
-
# Girdi: type, scopeGroup, limitKey (zorunlu), user / scope (opsiyonel)
|
|
12
|
-
# Akış (2026-11-08, paralel seviye sorguları; branch sprint23/resolveParallelLevels):
|
|
13
|
-
# draft --has-user----> fetch-levels : l1/l3/l5/l7 AYNI ANDA (aynı order, variableKey l1/l3/l5/l7)
|
|
14
|
-
# draft --scope-only--> fetch-scope-levels : l5/l7 aynı anda (remaining'in resolve-scope adımı bu yol)
|
|
15
|
-
# draft --group-only--> fetch-group-level : yalnız l7
|
|
16
|
-
# Her üç state'te order 2 DecideResolveLevelMapping: seviye mapping'leri veri YAZMAZ, decide
|
|
17
|
-
# TaskResponse["l1".."l7"] slotlarından en spesifik tanımı seçer (1>3>5>7) ve çıktıyı TEK yazımda yazar.
|
|
18
|
-
#
|
|
19
|
-
# Çıktı sözleşmesi DEĞİŞMEDİ: found, resolvedLevel, level, amount, type, limitKey, currency,
|
|
20
|
-
# user, scope, scopeGroup, validFrom, validTo
|
|
21
|
-
# Uç state'ler DEĞİŞMEDİ: resolved-end | not-found-end
|
|
22
|
-
# NOT: user var ama scope yoksa L1 mapping'i açık hata fırlatır (F) — bilinçli, bugünkü davranış korundu.
|
|
23
|
-
# Paralellik kanıtı: logda "DecideResolveLevelMapping: ... slots=l1,l3,l5,l7"
|
|
24
|
-
# Gereksinim: runtime >= 0.0.103 (paralel aynı-domain GetInstances düzeltmesi, vnext#1161)
|
|
25
|
-
###############################################################################
|
|
26
|
-
|
|
27
|
-
### 1.1 user'lı — L1'den başlar
|
|
28
|
-
# @name rsUser
|
|
29
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{resolve}}/instances/start?sync=true
|
|
30
|
-
Accept-Language: tr-TR
|
|
31
|
-
X-Request-Id: {{$guid}}
|
|
32
|
-
Content-Type: application/json
|
|
33
|
-
|
|
34
|
-
{
|
|
35
|
-
"key": "rs-user-{{$timestamp}}",
|
|
36
|
-
"tags": ["transaction-limit-resolve", "standalone"],
|
|
37
|
-
"attributes": {
|
|
38
|
-
"type": "Daily",
|
|
39
|
-
"user": "user1",
|
|
40
|
-
"scope": "scope-demo",
|
|
41
|
-
"scopeGroup": "sg-demo",
|
|
42
|
-
"limitKey": "EFT"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
### 2.1 scope-only — route.scope-only -> L5'ten başlar (L1/L3 log satırı OLMAMALI)
|
|
47
|
-
# @name rsScope
|
|
48
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{resolve}}/instances/start?sync=true
|
|
49
|
-
Accept-Language: tr-TR
|
|
50
|
-
X-Request-Id: {{$guid}}
|
|
51
|
-
Content-Type: application/json
|
|
52
|
-
|
|
53
|
-
{
|
|
54
|
-
"key": "rs-scope-{{$timestamp}}",
|
|
55
|
-
"tags": ["transaction-limit-resolve", "standalone", "no-user"],
|
|
56
|
-
"attributes": {
|
|
57
|
-
"type": "Daily",
|
|
58
|
-
"scope": "scope-demo",
|
|
59
|
-
"scopeGroup": "sg-demo",
|
|
60
|
-
"limitKey": "EFT"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
### 3.1 group-only — route.group-only -> L7'den başlar
|
|
65
|
-
# @name rsGroup
|
|
66
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{resolve}}/instances/start?sync=true
|
|
67
|
-
Accept-Language: tr-TR
|
|
68
|
-
X-Request-Id: {{$guid}}
|
|
69
|
-
Content-Type: application/json
|
|
70
|
-
|
|
71
|
-
{
|
|
72
|
-
"key": "rs-group-{{$timestamp}}",
|
|
73
|
-
"tags": ["transaction-limit-resolve", "standalone", "no-user", "no-scope"],
|
|
74
|
-
"attributes": {
|
|
75
|
-
"type": "Daily",
|
|
76
|
-
"scopeGroup": "sg-demo",
|
|
77
|
-
"limitKey": "EFT"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
### 4.1 NEGATİF — user var, scope yok: L1 mapping açık hata (F)
|
|
82
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{resolve}}/instances/start?sync=true
|
|
83
|
-
Accept-Language: tr-TR
|
|
84
|
-
X-Request-Id: {{$guid}}
|
|
85
|
-
Content-Type: application/json
|
|
86
|
-
|
|
87
|
-
{
|
|
88
|
-
"key": "rs-noscope-{{$timestamp}}",
|
|
89
|
-
"tags": ["transaction-limit-resolve", "standalone", "negative"],
|
|
90
|
-
"attributes": {
|
|
91
|
-
"type": "Daily",
|
|
92
|
-
"user": "user1",
|
|
93
|
-
"scopeGroup": "sg-demo",
|
|
94
|
-
"limitKey": "EFT"
|
|
95
|
-
}
|
|
96
|
-
}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
### Variables
|
|
2
|
-
@scopeBankLimitWorkflow = transaction-limit-scope-bank-limit
|
|
3
|
-
|
|
4
|
-
###############################################################################
|
|
5
|
-
# SCOPE BANK LIMIT FLOW — kurum müşterisinin (scope) banka limit tanımlarını
|
|
6
|
-
# (scope > scopeGroup) çözümleyip listeler.
|
|
7
|
-
# Girdi: attributes.scope.key ve isteğe bağlı attributes.role.
|
|
8
|
-
# Alternatif: sub header (müşteri numarası) resolving-context tarafından okunur.
|
|
9
|
-
# Akış: start -> resolving-context (auto) -> resolving-scope-bank-limits (auto)
|
|
10
|
-
# -> show-limits (view) -> complete -> resolved-end.
|
|
11
|
-
###############################################################################
|
|
12
|
-
|
|
13
|
-
### 1.1 Kurumsal start — scope.key ile
|
|
14
|
-
# @name startCorporate
|
|
15
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{scopeBankLimitWorkflow}}/instances/start?sync=true
|
|
16
|
-
Accept-Language: tr-TR
|
|
17
|
-
X-Request-Id: {{$guid}}
|
|
18
|
-
Content-Type: application/json
|
|
19
|
-
|
|
20
|
-
{
|
|
21
|
-
"key": "scope-bank-limit-{{$timestamp}}",
|
|
22
|
-
"tags": ["transaction-limit-scope-bank-limit", "corporate"],
|
|
23
|
-
"attributes": {
|
|
24
|
-
"scope": {
|
|
25
|
-
"key": "20183007"
|
|
26
|
-
},
|
|
27
|
-
"role": "superUser"
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
###
|
|
32
|
-
@corpKey = {{startCorporate.response.body.id}}
|
|
33
|
-
|
|
34
|
-
### 1.2 Sonuç — data (bankLimits: ekran sırasında, category/approve/labels + userAmount=null; limits yazılmaz)
|
|
35
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{scopeBankLimitWorkflow}}/instances/{{corpKey}}/functions/data
|
|
36
|
-
Accept-Language: tr-TR
|
|
37
|
-
X-Request-Id: {{$guid}}
|
|
38
|
-
|
|
39
|
-
###
|
|
40
|
-
|
|
41
|
-
### 1.3 Durum — state (show-limits bekleniyor)
|
|
42
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{scopeBankLimitWorkflow}}/instances/{{corpKey}}/functions/state
|
|
43
|
-
Accept-Language: tr-TR
|
|
44
|
-
X-Request-Id: {{$guid}}
|
|
45
|
-
|
|
46
|
-
###
|
|
47
|
-
|
|
48
|
-
### 1.4 complete — show-limits'ten resolved-end'e geç
|
|
49
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{scopeBankLimitWorkflow}}/instances/{{corpKey}}/transitions/complete
|
|
50
|
-
Accept-Language: tr-TR
|
|
51
|
-
X-Request-Id: {{$guid}}
|
|
52
|
-
Content-Type: application/json
|
|
53
|
-
|
|
54
|
-
{
|
|
55
|
-
"attributes": {}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
###############################################################################
|
|
59
|
-
# 2. sub header ile (attributes.scope yok)
|
|
60
|
-
###############################################################################
|
|
61
|
-
|
|
62
|
-
### 2.1 Start with sub header
|
|
63
|
-
# @name startWithSub
|
|
64
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{scopeBankLimitWorkflow}}/instances/start?sync=true
|
|
65
|
-
Accept-Language: tr-TR
|
|
66
|
-
X-Request-Id: {{$guid}}
|
|
67
|
-
Content-Type: application/json
|
|
68
|
-
sub: 20183007
|
|
69
|
-
|
|
70
|
-
{
|
|
71
|
-
"key": "scope-bank-limit-sub-{{$timestamp}}",
|
|
72
|
-
"tags": ["transaction-limit-scope-bank-limit", "header"],
|
|
73
|
-
"attributes": {
|
|
74
|
-
"role": "maker"
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
###
|
|
79
|
-
@subKey = {{startWithSub.response.body.id}}
|
|
80
|
-
|
|
81
|
-
### 2.2 Sonuç — data
|
|
82
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{scopeBankLimitWorkflow}}/instances/{{subKey}}/functions/data
|
|
83
|
-
Accept-Language: tr-TR
|
|
84
|
-
X-Request-Id: {{$guid}}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
### Variables
|
|
2
|
-
@bankLimitsWorkflow = transaction-limit-user-bank-limits
|
|
3
|
-
|
|
4
|
-
###############################################################################
|
|
5
|
-
# USER BANK LIMITS FLOW — kullanıcının bank limit tanımlarını (user > scope >
|
|
6
|
-
# scopeGroup öncelik kademesiyle) çözümleyip listeler.
|
|
7
|
-
# Girdi body'de DEĞİL — resolving-limits onEntry'si act_sub/sub'ı context.Headers'tan
|
|
8
|
-
# okuyup get-user-bank-limits D-scope function'ına (runtime /functions endpoint) query
|
|
9
|
-
# param olarak geçirir. scopeGroup gönderilmez; function act_sub/sub'tan kendisi türetir
|
|
10
|
-
# (act_sub==sub -> retail-customers, aksi halde -> corporate-customers).
|
|
11
|
-
# Akış: start (act_sub/sub header ile) -> resolving-limits (auto) -> show-limits (view) ->
|
|
12
|
-
# complete (user transition) -> resolved-end.
|
|
13
|
-
###############################################################################
|
|
14
|
-
|
|
15
|
-
### 1.1 Bireysel (retail) — act_sub == sub
|
|
16
|
-
# @name startRetail
|
|
17
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{bankLimitsWorkflow}}/instances/start?sync=true
|
|
18
|
-
Accept-Language: tr-TR
|
|
19
|
-
X-Request-Id: {{$guid}}
|
|
20
|
-
Content-Type: application/json
|
|
21
|
-
act_sub: 26389262884
|
|
22
|
-
sub: 766
|
|
23
|
-
|
|
24
|
-
{
|
|
25
|
-
"key": "user-bank-limits-{{$timestamp}}",
|
|
26
|
-
"tags": ["transaction-limit-user-bank-limits", "retail"]
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
###
|
|
30
|
-
@retailKey = {{startRetail.response.body.id}}
|
|
31
|
-
|
|
32
|
-
### 1.2 Sonuç — data (bankLimitsFound / bankLimitUserMatches / bankLimitScopeMatches / bankLimitScopeGroupMatches / bankLimitResolvedDefinitions)
|
|
33
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{bankLimitsWorkflow}}/instances/{{retailKey}}/functions/data
|
|
34
|
-
Accept-Language: tr-TR
|
|
35
|
-
X-Request-Id: {{$guid}}
|
|
36
|
-
|
|
37
|
-
###
|
|
38
|
-
|
|
39
|
-
### 1.3 Durum — state (show-limits bekleniyor, view render için)
|
|
40
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{bankLimitsWorkflow}}/instances/{{retailKey}}/functions/state
|
|
41
|
-
Accept-Language: tr-TR
|
|
42
|
-
X-Request-Id: {{$guid}}
|
|
43
|
-
|
|
44
|
-
###
|
|
45
|
-
|
|
46
|
-
### 1.4 complete — show-limits'ten resolved-end'e geç
|
|
47
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{bankLimitsWorkflow}}/instances/{{retailKey}}/transitions/complete
|
|
48
|
-
Accept-Language: tr-TR
|
|
49
|
-
X-Request-Id: {{$guid}}
|
|
50
|
-
Content-Type: application/json
|
|
51
|
-
|
|
52
|
-
{
|
|
53
|
-
"attributes": {}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
###############################################################################
|
|
57
|
-
# 2. Kurumsal (corporate) — act_sub != sub (yetkili, farklı sub adına işlem yapıyor)
|
|
58
|
-
###############################################################################
|
|
59
|
-
|
|
60
|
-
### 2.1 Kurumsal başlat
|
|
61
|
-
# @name startCorporate
|
|
62
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{bankLimitsWorkflow}}/instances/start?sync=true
|
|
63
|
-
Accept-Language: tr-TR
|
|
64
|
-
X-Request-Id: {{$guid}}
|
|
65
|
-
Content-Type: application/json
|
|
66
|
-
act_sub: 57781544056
|
|
67
|
-
sub: 20183007
|
|
68
|
-
|
|
69
|
-
{
|
|
70
|
-
"key": "user-bank-limits-corp-{{$timestamp}}",
|
|
71
|
-
"tags": ["transaction-limit-user-bank-limits", "corporate"]
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
###
|
|
75
|
-
@corpKey = {{startCorporate.response.body.id}}
|
|
76
|
-
|
|
77
|
-
### 2.2 Sonuç — data
|
|
78
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{bankLimitsWorkflow}}/instances/{{corpKey}}/functions/data
|
|
79
|
-
Accept-Language: tr-TR
|
|
80
|
-
X-Request-Id: {{$guid}}
|
|
81
|
-
|
|
82
|
-
###
|
|
83
|
-
|
|
84
|
-
### 2.3 Durum — state
|
|
85
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{bankLimitsWorkflow}}/instances/{{corpKey}}/functions/state
|
|
86
|
-
Accept-Language: tr-TR
|
|
87
|
-
X-Request-Id: {{$guid}}
|
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
### Variables
|
|
2
|
-
@verifyWorkflow = transaction-limit-verify
|
|
3
|
-
|
|
4
|
-
###############################################################################
|
|
5
|
-
# READ-ONLY DRY-RUN VERIFY FLOW
|
|
6
|
-
# Eski function-verify-limit'in yerine geçer. Aynı 4 cascade subflow'u kullanır,
|
|
7
|
-
# ama KULLANIM SAYMAZ (ayrı flow). Pipeline = management ile aynı; sadece terminal
|
|
8
|
-
# state'ler verify-* (verdict'i taşır).
|
|
9
|
-
# Akış: start (işlem bağlamı ile) -> state (sonuç). Draft adımı kaldırıldı.
|
|
10
|
-
# Cascade subflow'ları async olduğu için state Busy ("B") gelirse tekrar gönder.
|
|
11
|
-
###############################################################################
|
|
12
|
-
|
|
13
|
-
### 1.1 Verify instance başlat — işlem bağlamı start'ta veriliyor (maker, 1000 TRY)
|
|
14
|
-
# Beklenen terminal: verify-approved | verify-transaction-exceeded | verify-daily-exceeded | verify-no-limit
|
|
15
|
-
# @name startVerify
|
|
16
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{verifyWorkflow}}/instances/start?sync=true
|
|
17
|
-
Accept-Language: tr-TR
|
|
18
|
-
X-Request-Id: {{$guid}}
|
|
19
|
-
Content-Type: application/json
|
|
20
|
-
|
|
21
|
-
{
|
|
22
|
-
"key": "verify-{{$timestamp}}",
|
|
23
|
-
"tags": ["transaction-limit-verify", "dry-run"],
|
|
24
|
-
"attributes": {
|
|
25
|
-
"amount": 1000,
|
|
26
|
-
"user": "user-1",
|
|
27
|
-
"scope": "scope-1",
|
|
28
|
-
"scopeGroup": "sg-20",
|
|
29
|
-
"limitKey": "EFT",
|
|
30
|
-
"transactionDate": "2026-07-02"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
###
|
|
35
|
-
@vKey = {{startVerify.response.body.id}}
|
|
36
|
-
|
|
37
|
-
### 1.2 Sonuç — state (verify-* terminal beklenir; Busy ise tekrar gönder)
|
|
38
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{verifyWorkflow}}/instances/{{vKey}}/functions/state
|
|
39
|
-
Accept-Language: tr-TR
|
|
40
|
-
X-Request-Id: {{$guid}}
|
|
41
|
-
|
|
42
|
-
###
|
|
43
|
-
|
|
44
|
-
### 1.3 Sonuç — data (transactionLimitVerdict / dailyUsageVerdict / approveTx* / approveDaily* / *Message)
|
|
45
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{verifyWorkflow}}/instances/{{vKey}}/functions/data
|
|
46
|
-
Accept-Language: tr-TR
|
|
47
|
-
X-Request-Id: {{$guid}}
|
|
48
|
-
|
|
49
|
-
###############################################################################
|
|
50
|
-
# 2. Approver ile doğrulama
|
|
51
|
-
###############################################################################
|
|
52
|
-
|
|
53
|
-
### 2.1 Verify instance başlat — approver bağlamı start'ta veriliyor
|
|
54
|
-
# Beklenen terminal: verify-approved | verify-approver-tx-exceeded | verify-approver-daily-exceeded | verify-no-approve-authority
|
|
55
|
-
# @name startVerifyApprover
|
|
56
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{verifyWorkflow}}/instances/start?sync=true
|
|
57
|
-
Accept-Language: tr-TR
|
|
58
|
-
X-Request-Id: {{$guid}}
|
|
59
|
-
Content-Type: application/json
|
|
60
|
-
|
|
61
|
-
{
|
|
62
|
-
"key": "verify-appr-{{$timestamp}}",
|
|
63
|
-
"tags": ["transaction-limit-verify", "dry-run", "with-approver"],
|
|
64
|
-
"attributes": {
|
|
65
|
-
"amount": 5000,
|
|
66
|
-
"user": "user-1",
|
|
67
|
-
"scope": "scope-1",
|
|
68
|
-
"scopeGroup": "bireysel",
|
|
69
|
-
"limitKey": "EFT",
|
|
70
|
-
"approver": "ali-approver",
|
|
71
|
-
"transactionDate": "2026-06-25"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
###
|
|
76
|
-
@vKeyA = {{startVerifyApprover.response.body.id}}
|
|
77
|
-
|
|
78
|
-
### 2.2 Sonuç — state
|
|
79
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{verifyWorkflow}}/instances/{{vKeyA}}/functions/state
|
|
80
|
-
Accept-Language: tr-TR
|
|
81
|
-
X-Request-Id: {{$guid}}
|
|
82
|
-
|
|
83
|
-
###
|
|
84
|
-
|
|
85
|
-
### 2.3 Sonuç — data
|
|
86
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{verifyWorkflow}}/instances/{{vKeyA}}/functions/data
|
|
87
|
-
Accept-Language: tr-TR
|
|
88
|
-
X-Request-Id: {{$guid}}
|
|
89
|
-
|
|
90
|
-
###############################################################################
|
|
91
|
-
# 3. ŞEMA REGRESYONU — verify'ın kendi start şeması (transaction-limit-verify-start)
|
|
92
|
-
#
|
|
93
|
-
# Verify eskiden transaction-limit-management-start'ı ödünç alıyordu. O şemanın
|
|
94
|
-
# rollback dalı için koşullu required bloğu, verify'da bulunmayan bir senaryo için
|
|
95
|
-
# boyut alanlarını gevşetiyordu: eksik alanlı gövde 200 dönüyor ve instance
|
|
96
|
-
# check-transaction-ceiling'de KALICI olarak takılıyordu (tavan kural çifti null
|
|
97
|
-
# girdide kapsayıcı değil — amount yokken "exceeds" de "ok" da false).
|
|
98
|
-
#
|
|
99
|
-
# Artık verify kendi kontratını söylüyor:
|
|
100
|
-
# required : amount, scope, scopeGroup, limitKey
|
|
101
|
-
# anyOf : user YA DA approver (approval ikisini asla birlikte göndermez)
|
|
102
|
-
###############################################################################
|
|
103
|
-
|
|
104
|
-
### 3.1 amount eksik — 400 beklenir
|
|
105
|
-
# @name verifyRejectMissingAmount
|
|
106
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{verifyWorkflow}}/instances/start
|
|
107
|
-
Content-Type: application/json
|
|
108
|
-
Accept-Language: tr-TR
|
|
109
|
-
X-Request-Id: {{$guid}}
|
|
110
|
-
|
|
111
|
-
{
|
|
112
|
-
"key": "verify-reject-no-amount-{{$timestamp}}",
|
|
113
|
-
"tags": ["test", "verify", "schema-regression"],
|
|
114
|
-
"attributes": {
|
|
115
|
-
"user": "user-1",
|
|
116
|
-
"scope": "scope-1",
|
|
117
|
-
"scopeGroup": "bireysel",
|
|
118
|
-
"limitKey": "EFT"
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
### 3.2 user de approver de yok — 400 beklenir (anyOf ihlali)
|
|
123
|
-
# @name verifyRejectNoIdentity
|
|
124
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{verifyWorkflow}}/instances/start
|
|
125
|
-
Content-Type: application/json
|
|
126
|
-
Accept-Language: tr-TR
|
|
127
|
-
X-Request-Id: {{$guid}}
|
|
128
|
-
|
|
129
|
-
{
|
|
130
|
-
"key": "verify-reject-no-identity-{{$timestamp}}",
|
|
131
|
-
"tags": ["test", "verify", "schema-regression"],
|
|
132
|
-
"attributes": {
|
|
133
|
-
"amount": 5000,
|
|
134
|
-
"scope": "scope-1",
|
|
135
|
-
"scopeGroup": "bireysel",
|
|
136
|
-
"limitKey": "EFT"
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
### 3.3 limitKey eksik — 400 beklenir
|
|
141
|
-
# Eskiden bu gövde 200 dönüyor, cascade limitKey=null ile hiçbir şey bulamıyor ve
|
|
142
|
-
# verify-no-limit ile bitiyordu. approval'ın kapı kuralları verify-no-limit'i
|
|
143
|
-
# BAŞARISIZ saydığı için, limit hiç tanımlanmamışken "limit aşıldı" gibi
|
|
144
|
-
# davranılıyordu. Artık kapıda açık hata dönüyor.
|
|
145
|
-
# @name verifyRejectMissingLimitKey
|
|
146
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{verifyWorkflow}}/instances/start
|
|
147
|
-
Content-Type: application/json
|
|
148
|
-
Accept-Language: tr-TR
|
|
149
|
-
X-Request-Id: {{$guid}}
|
|
150
|
-
|
|
151
|
-
{
|
|
152
|
-
"key": "verify-reject-no-limitkey-{{$timestamp}}",
|
|
153
|
-
"tags": ["test", "verify", "schema-regression"],
|
|
154
|
-
"attributes": {
|
|
155
|
-
"amount": 5000,
|
|
156
|
-
"user": "user-1",
|
|
157
|
-
"scope": "scope-1",
|
|
158
|
-
"scopeGroup": "bireysel"
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
### 3.4 Yalnız approver (user YOK) — 200 beklenir
|
|
163
|
-
# approval artık approve() başına verify çağırmıyor (onaycı limitleri sonda
|
|
164
|
-
# transaction-limit-management'ta kontrol ediliyor); approver-only dry-run bu akışın
|
|
165
|
-
# doğrudan çağrılan bir yeteneği olarak kalıyor.
|
|
166
|
-
# Koşulsuz "user zorunlu" kuralı bu çağrıyı reddederdi.
|
|
167
|
-
# @name verifyAcceptsApproverOnly
|
|
168
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{verifyWorkflow}}/instances/start
|
|
169
|
-
Content-Type: application/json
|
|
170
|
-
Accept-Language: tr-TR
|
|
171
|
-
X-Request-Id: {{$guid}}
|
|
172
|
-
|
|
173
|
-
{
|
|
174
|
-
"key": "verify-accept-approver-{{$timestamp}}",
|
|
175
|
-
"tags": ["test", "verify", "schema-regression"],
|
|
176
|
-
"attributes": {
|
|
177
|
-
"amount": 5000,
|
|
178
|
-
"approver": "ali-approver",
|
|
179
|
-
"scope": "scope-1",
|
|
180
|
-
"scopeGroup": "bireysel",
|
|
181
|
-
"limitKey": "EFT"
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
### 3.5 Geçerli gövde — 200, terminal state'e ulaşmalı
|
|
186
|
-
# @name verifyAcceptsValid
|
|
187
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{verifyWorkflow}}/instances/start
|
|
188
|
-
Content-Type: application/json
|
|
189
|
-
Accept-Language: tr-TR
|
|
190
|
-
X-Request-Id: {{$guid}}
|
|
191
|
-
|
|
192
|
-
{
|
|
193
|
-
"key": "verify-accept-valid-{{$timestamp}}",
|
|
194
|
-
"tags": ["test", "verify", "schema-regression"],
|
|
195
|
-
"attributes": {
|
|
196
|
-
"amount": 5000,
|
|
197
|
-
"user": "user-1",
|
|
198
|
-
"scope": "scope-1",
|
|
199
|
-
"scopeGroup": "bireysel",
|
|
200
|
-
"limitKey": "EFT",
|
|
201
|
-
"transactionDate": "2026-09-21"
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
###
|
|
206
|
-
@vKeyR = {{verifyAcceptsValid.response.body.id}}
|
|
207
|
-
|
|
208
|
-
### 3.6 Takılmama kontrolü — stateType "finish" + status "C" beklenir
|
|
209
|
-
# ASIL ÖLÇÜT: eskiden check-transaction-ceiling'de status "B" ile kalıyordu.
|
|
210
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{verifyWorkflow}}/instances/{{vKeyR}}/functions/state
|
|
211
|
-
Accept-Language: tr-TR
|
|
212
|
-
X-Request-Id: {{$guid}}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
### Variables
|
|
2
|
-
@baseUrl = http://localhost:4251
|
|
3
|
-
@apiVersion = v1
|
|
4
|
-
@domain = morph-idm
|
|
5
|
-
@workflow = user-create
|
|
6
|
-
### Her denemede DEĞİŞTİR (userKey = composite {tckn}-{scope}; aynı key ikinci kez çakışır).
|
|
7
|
-
@tckn = 123
|
|
8
|
-
@scope = corporate-firm-100
|
|
9
|
-
@phone = 5051111111
|
|
10
|
-
|
|
11
|
-
### -----------------------------------------------------------------------------
|
|
12
|
-
### user-create'i DOĞRUDAN corporate dalında tetikler (normalde user-corporate-create SubFlow'undan
|
|
13
|
-
### çağrılır). Amaç: kurumsal OTP SMS'ini (sending-otp-corporate) hızlı test edip trace görmek.
|
|
14
|
-
### Akış: get-user → got-user-corporate → getting-phone → creating-user → generating/setting-password
|
|
15
|
-
### → route-otp-sms → sending-otp-corporate (SendCorporateOtpSmsMapping → KullanıcıOl–Gecicisifre).
|
|
16
|
-
### personKey (tckn) person'ı SİSTEMDE OLMALI. isCorporate=true corporate dalını açar.
|
|
17
|
-
### SMS başarısızsa: completed-with-sms-failure-end + data.smsDelivery.statusCode (ör. 500) — Error DEĞİL,
|
|
18
|
-
### Warning olarak loglanır (kod tolere eder). Log'da send-otp-sms-task / SendCorporateOtpSmsMapping ile filtrele.
|
|
19
|
-
### -----------------------------------------------------------------------------
|
|
20
|
-
|
|
21
|
-
### 1) Start (corporate)
|
|
22
|
-
# @name start
|
|
23
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
|
|
24
|
-
Content-Type: application/json
|
|
25
|
-
|
|
26
|
-
{
|
|
27
|
-
"key": "{{tckn}}-{{scope}}",
|
|
28
|
-
"tags": ["test", "user-create", "corporate", "otp"],
|
|
29
|
-
"attributes": {
|
|
30
|
-
"isCorporate": true,
|
|
31
|
-
"userKey": "{{tckn}}-{{scope}}",
|
|
32
|
-
"personKey": "{{tckn}}",
|
|
33
|
-
"scope": { "key": "{{scope}}", "domain": "morph-idm", "workflow": "scope", "version": "1.0.0" },
|
|
34
|
-
"mobilePhonesNumbers": [ { "countryCode": "90", "number": "{{phone}}", "useForOTP": true } ],
|
|
35
|
-
"emails": [ { "type": "business", "address": "{{tckn}}@ornek.com" } ],
|
|
36
|
-
"personName": { "first": "KERİM", "last": "KELEN" },
|
|
37
|
-
"type": "corporate"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
### 2) State — beklenen: completed-end (SMS OK) / completed-with-sms-failure-end (SMS fail)
|
|
42
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{tckn}}-{{scope}}/functions/state
|
|
43
|
-
|
|
44
|
-
### 3) Data — smsDelivery.statusCode + _response (SMS sonucu / hata) burada
|
|
45
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{tckn}}-{{scope}}/functions/data
|
|
46
|
-
|
|
47
|
-
### 4) Oluşan user instance data — sahip scope beklenir: data.scope.key == {{scope}} (composite key son ekiyle aynı)
|
|
48
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user/instances/{{tckn}}-{{scope}}/functions/data
|
|
49
|
-
|
|
50
|
-
### 5) scope ile firma kullanıcılarını arama (attributes.scope.key eq scope + status A)
|
|
51
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user/instances?pageSize=20&filter=%7B%22and%22%3A%5B%7B%22attributes%22%3A%7B%22scope%22%3A%7B%22key%22%3A%7B%22eq%22%3A%22{{scope}}%22%7D%7D%7D%7D%2C%7B%22status%22%3A%7B%22eq%22%3A%22A%22%7D%7D%5D%7D
|