@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,200 +0,0 @@
|
|
|
1
|
-
### Variables
|
|
2
|
-
### baseUrl, apiVersion, domain → .vscode/settings.json (rest-client.environmentVariables.$shared)
|
|
3
|
-
### baseUrl: http://localhost:4251 apiVersion: v1 domain: morph-idm
|
|
4
|
-
### 1) vNext Runtime çalışıyor olmalı (Docker veya local, port 4251)
|
|
5
|
-
### 2) REST Client eklentisi yüklü olmalı (Cursor/VS Code); isteğin üstündeki "Send Request" ile çalıştır
|
|
6
|
-
@workflow = anti-phishing-image-definition
|
|
7
|
-
|
|
8
|
-
###############################################################################
|
|
9
|
-
# Anti-Phishing Image Definition - Provider_Bff to morph-idm
|
|
10
|
-
###############################################################################
|
|
11
|
-
# ONE INSTANCE PER DEFINITION - Instance key = definitionId (UUID)
|
|
12
|
-
#
|
|
13
|
-
# Flow: start → draft → define → defined → publish → active ⇄ deactivate/reactivate → inactive
|
|
14
|
-
#
|
|
15
|
-
# Activity is determined by workflow state:
|
|
16
|
-
# state=active → definition is available for user selection
|
|
17
|
-
# state=inactive → definition is NOT returned by currentState=active filter
|
|
18
|
-
# state=draft → instance created, awaiting define transition
|
|
19
|
-
# state=defined → definition data filled, awaiting publish
|
|
20
|
-
#
|
|
21
|
-
# Schema: imagePath, titleTr, titleEn (definitionId = instance key, set at start)
|
|
22
|
-
###############################################################################
|
|
23
|
-
|
|
24
|
-
###############################################################################
|
|
25
|
-
# SCENARIO 1: Import definition and publish (active)
|
|
26
|
-
###############################################################################
|
|
27
|
-
|
|
28
|
-
### 1. Start instance – instance key = definitionId (empty attributes)
|
|
29
|
-
# @name importDefinition1
|
|
30
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
|
|
31
|
-
Content-Type: application/json
|
|
32
|
-
|
|
33
|
-
{
|
|
34
|
-
"key": "11111111-2222-3333-4444-555555555556",
|
|
35
|
-
"tags": ["anti-phishing-image", "provider-bff"],
|
|
36
|
-
"attributes": {}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
###
|
|
40
|
-
@definition1Id = {{importDefinition1.response.body.id}}
|
|
41
|
-
|
|
42
|
-
### 2. Get state (should be 'draft')
|
|
43
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition1Id}}/functions/state
|
|
44
|
-
|
|
45
|
-
### 3. Define image details → moves to 'defined' state
|
|
46
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition1Id}}/transitions/define
|
|
47
|
-
Content-Type: application/json
|
|
48
|
-
|
|
49
|
-
{
|
|
50
|
-
"attributes": {
|
|
51
|
-
"imagePath": "https://www.test.com.tr/uploads/2025/1/ibguvenlik_09.jpg",
|
|
52
|
-
"titleTr": "Fare",
|
|
53
|
-
"titleEn": "Mice"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
### 4. Get state (should be 'defined')
|
|
58
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition1Id}}/functions/state
|
|
59
|
-
|
|
60
|
-
### 5. Get instance data
|
|
61
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition1Id}}/functions/data
|
|
62
|
-
|
|
63
|
-
### 6. Publish definition → moves to 'active' state
|
|
64
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition1Id}}/transitions/publish
|
|
65
|
-
Content-Type: application/json
|
|
66
|
-
|
|
67
|
-
### 7. Get state (should be 'active')
|
|
68
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition1Id}}/functions/state
|
|
69
|
-
|
|
70
|
-
###############################################################################
|
|
71
|
-
# SCENARIO 2: Import second definition and publish
|
|
72
|
-
###############################################################################
|
|
73
|
-
|
|
74
|
-
### 8. Start instance – Second definition
|
|
75
|
-
# @name importDefinition2
|
|
76
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
|
|
77
|
-
Content-Type: application/json
|
|
78
|
-
|
|
79
|
-
{
|
|
80
|
-
"key": "22222222-3333-4444-5555-666666666667",
|
|
81
|
-
"tags": ["anti-phishing-image", "provider-bff"],
|
|
82
|
-
"attributes": {}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
###
|
|
86
|
-
@definition2Id = {{importDefinition2.response.body.id}}
|
|
87
|
-
|
|
88
|
-
### 9. Define image details for definition 2
|
|
89
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition2Id}}/transitions/define
|
|
90
|
-
Content-Type: application/json
|
|
91
|
-
|
|
92
|
-
{
|
|
93
|
-
"attributes": {
|
|
94
|
-
"imagePath": "https://www.test.com.tr/uploads/2025/1/ibguvenlik_dog.jpg",
|
|
95
|
-
"titleTr": "Yılan",
|
|
96
|
-
"titleEn": "Snake"
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
### 10. Publish definition 2 → moves to 'active' state
|
|
101
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition2Id}}/transitions/publish
|
|
102
|
-
Content-Type: application/json
|
|
103
|
-
|
|
104
|
-
###############################################################################
|
|
105
|
-
# SCENARIO 3: Deactivate an active definition
|
|
106
|
-
###############################################################################
|
|
107
|
-
|
|
108
|
-
### 11. Deactivate definition 1 → moves to 'inactive' state
|
|
109
|
-
### After this, definition1 will NOT appear in GetInstances(currentState=active)
|
|
110
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition1Id}}/transitions/deactivate
|
|
111
|
-
Content-Type: application/json
|
|
112
|
-
|
|
113
|
-
### 12. Get state (should be 'inactive')
|
|
114
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition1Id}}/functions/state
|
|
115
|
-
|
|
116
|
-
###############################################################################
|
|
117
|
-
# SCENARIO 4: Reactivate a deactivated definition
|
|
118
|
-
###############################################################################
|
|
119
|
-
|
|
120
|
-
### 13. Reactivate definition 1 → moves back to 'active' state
|
|
121
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition1Id}}/transitions/reactivate
|
|
122
|
-
Content-Type: application/json
|
|
123
|
-
|
|
124
|
-
### 14. Get state (should be 'active' again)
|
|
125
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definition1Id}}/functions/state
|
|
126
|
-
|
|
127
|
-
###############################################################################
|
|
128
|
-
# SCENARIO 5: Definition left in draft (not defined, not published)
|
|
129
|
-
###############################################################################
|
|
130
|
-
|
|
131
|
-
### 15. Start instance – Draft-only definition (not defined)
|
|
132
|
-
# @name importDefinitionDraft
|
|
133
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start
|
|
134
|
-
Content-Type: application/json
|
|
135
|
-
|
|
136
|
-
{
|
|
137
|
-
"key": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeef",
|
|
138
|
-
"tags": ["anti-phishing-image", "provider-bff"],
|
|
139
|
-
"attributes": {}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
###
|
|
143
|
-
@definitionDraftId = {{importDefinitionDraft.response.body.id}}
|
|
144
|
-
|
|
145
|
-
### 16. Get state (should be 'draft' - not active, not returned by active filter)
|
|
146
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{definitionDraftId}}/functions/state
|
|
147
|
-
|
|
148
|
-
###############################################################################
|
|
149
|
-
# SCENARIO 6: LOV function – get-active-image-definitions
|
|
150
|
-
###############################################################################
|
|
151
|
-
# Domain-level (scope=D) LOV function: lists ALL active image definitions.
|
|
152
|
-
# No query parameter – filter is fixed to currentState=active in the mapping.
|
|
153
|
-
#
|
|
154
|
-
# Used as the lookup source (urn:vnext:func:morph-idm:get-active-image-definitions) by:
|
|
155
|
-
# - Schemas/user/force-set-security-image-input.json
|
|
156
|
-
# → login gate view: Views/security-check/transition-security-check-set-security-image.json
|
|
157
|
-
# → i.e. this is the function that populates the image list DURING user-login
|
|
158
|
-
# - Schemas/anti-phishing-image/anti-phishing-image-change/
|
|
159
|
-
# transition-anti-phishing-image-management-select-image.json
|
|
160
|
-
#
|
|
161
|
-
# NOT to be confused with get-security-images (scope=I, needs ?userKey=, adds isSelected).
|
|
162
|
-
# See: ./get-security-images.http
|
|
163
|
-
#
|
|
164
|
-
# rawResponse=true and the mapping wraps the list once → response is { "data": [ ... ] }.
|
|
165
|
-
#
|
|
166
|
-
# URL: GET /api/v1/morph-idm/functions/get-active-image-definitions
|
|
167
|
-
###############################################################################
|
|
168
|
-
|
|
169
|
-
@lovFunction = get-active-image-definitions
|
|
170
|
-
|
|
171
|
-
### 17. List all active image definitions (LOV)
|
|
172
|
-
### Run after step 10 (2 published definitions) → both should appear.
|
|
173
|
-
### After step 11 (definition1 deactivated) → only definition2 should appear.
|
|
174
|
-
### The draft from step 15 must NEVER appear.
|
|
175
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/functions/{{lovFunction}}
|
|
176
|
-
Accept-Language: tr-TR
|
|
177
|
-
X-Request-Id: {{$guid}}
|
|
178
|
-
|
|
179
|
-
###############################################################################
|
|
180
|
-
# Expected response:
|
|
181
|
-
# {
|
|
182
|
-
# "data": [
|
|
183
|
-
# {
|
|
184
|
-
# "definitionId": "11111111-2222-3333-4444-555555555556",
|
|
185
|
-
# "titleTr": "Fare",
|
|
186
|
-
# "titleEn": "Mice",
|
|
187
|
-
# "imagePath": "https://www.test.com.tr/uploads/2025/1/ibguvenlik_09.jpg"
|
|
188
|
-
# },
|
|
189
|
-
# {
|
|
190
|
-
# "definitionId": "22222222-3333-4444-5555-666666666667",
|
|
191
|
-
# "titleTr": "Yılan",
|
|
192
|
-
# "titleEn": "Snake",
|
|
193
|
-
# "imagePath": "https://www.test.com.tr/uploads/2025/1/ibguvenlik_dog.jpg"
|
|
194
|
-
# }
|
|
195
|
-
# ]
|
|
196
|
-
# }
|
|
197
|
-
#
|
|
198
|
-
# Note: definitionId falls back to the instance key when attributes.definitionId is empty,
|
|
199
|
-
# so a definition imported with empty attributes still returns its UUID.
|
|
200
|
-
###############################################################################
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
### Variables
|
|
2
|
-
### baseUrl, apiVersion, domain → .vscode/settings.json (rest-client.environmentVariables.$shared)
|
|
3
|
-
### baseUrl: http://localhost:4251 apiVersion: v1 domain: morph-idm
|
|
4
|
-
@function = get-security-images
|
|
5
|
-
|
|
6
|
-
###############################################################################
|
|
7
|
-
# get-security-images
|
|
8
|
-
###############################################################################
|
|
9
|
-
# Mobile/external endpoint: called with userKey as query parameter.
|
|
10
|
-
# Returns all active anti-phishing image definitions with isSelected=true
|
|
11
|
-
# for the image currently assigned to the user.
|
|
12
|
-
#
|
|
13
|
-
# Flow:
|
|
14
|
-
# Task 1 (search-user-task): fetch user instance by key → extract antiPhishingImage.imageDefinitionId
|
|
15
|
-
# Task 2 (search-active-definitions-task): fetch all active anti-phishing-image-definition instances
|
|
16
|
-
# Output handler: merge → return list with isSelected flag
|
|
17
|
-
#
|
|
18
|
-
# Prerequisite:
|
|
19
|
-
# 1. User instance exists with key = {userKey}
|
|
20
|
-
# 2. At least one anti-phishing-image-definition instance is in 'active' state
|
|
21
|
-
#
|
|
22
|
-
# URL pattern (domain-level function, same as function-verify-limit):
|
|
23
|
-
# GET /api/v1/morph-idm/functions/get-security-images?userKey={userKey}
|
|
24
|
-
###############################################################################
|
|
25
|
-
|
|
26
|
-
@userKey = user-migration-1
|
|
27
|
-
|
|
28
|
-
### Get all active security images for user (with isSelected flag)
|
|
29
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?userKey={{userKey}}
|
|
30
|
-
Accept-Language: tr-TR
|
|
31
|
-
X-Request-Id: {{$guid}}
|
|
32
|
-
|
|
33
|
-
###############################################################################
|
|
34
|
-
# Expected response:
|
|
35
|
-
# [
|
|
36
|
-
# {
|
|
37
|
-
# "definitionId": "11111111-2222-3333-4444-555555555551",
|
|
38
|
-
# "imagePath": "https://www.test.com.tr/uploads/2025/1/ibguvenlik_09.jpg",
|
|
39
|
-
# "titleTr": "Kedi",
|
|
40
|
-
# "titleEn": "Cat",
|
|
41
|
-
# "isSelected": true
|
|
42
|
-
# },
|
|
43
|
-
# {
|
|
44
|
-
# "definitionId": "22222222-3333-4444-5555-666666666662",
|
|
45
|
-
# "imagePath": "https://www.test.com.tr/uploads/2025/1/ibguvenlik_dog.jpg",
|
|
46
|
-
# "titleTr": "Köpek",
|
|
47
|
-
# "titleEn": "Dog",
|
|
48
|
-
# "isSelected": false
|
|
49
|
-
# }
|
|
50
|
-
# ]
|
|
51
|
-
###############################################################################
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
###############################################################################
|
|
2
|
-
# approval — corporate-customers scopeGroup, non-amount (catch-all) onay
|
|
3
|
-
# akışı (sade senaryo, time-deposit dosyasıyla AYNI ŞEKİLDE: start → pending →
|
|
4
|
-
# approve → approved)
|
|
5
|
-
#
|
|
6
|
-
# ÖN KOŞUL:
|
|
7
|
-
# - approval-new.http (0.a-0.t adımları) çalıştırılmış olmalı: organization
|
|
8
|
-
# (approval-org-scope-1), scope-group corporate-customers, scope scope-2
|
|
9
|
-
# (kendi organization'ı YOK, kendi scope seviyesinde HİÇ approval-matrix'ı
|
|
10
|
-
# yok → hem organization hem matris için scopeGroup fallback'i kullanılır).
|
|
11
|
-
# - approval-matrix/execute/approval-matrix-corporate-customers-non-amount.http
|
|
12
|
-
# çalıştırılıp approval-matrix-corporate-customers matrisi active olmalı
|
|
13
|
-
# (process YOK → catch-all; approvalRules'ta amountRange YOK → pozisyon
|
|
14
|
-
# seviyesi bazlı tek kural: approvers=[order 1 firstApprover]).
|
|
15
|
-
#
|
|
16
|
-
# Bu dosya ek olarak process/limitKey taşımayan GENEL bir transaction-limit-
|
|
17
|
-
# definition (Transaction + Daily; sadece scopeGroup=corporate-customers,
|
|
18
|
-
# limitKey/user/scope YOK) fixture'ı oluşturur — transaction-limit-cascade
|
|
19
|
-
# seviye-8'de (scopeGroup-only, limitKey isNull) eşleşir. Bu olmadan
|
|
20
|
-
# verifying-entry-transaction-limit "no-limit" ile reddeder ve süreç approved
|
|
21
|
-
# yerine entry-limit-exceeded ile biter.
|
|
22
|
-
#
|
|
23
|
-
# Akış: start (sub=scope-2, process GÖNDERİLMEZ, amount GÖNDERİLİR) →
|
|
24
|
-
# loading-scope → loading-starter-person → loading-matrix-scope-level (bulunamadı; scope-2'nin kendi
|
|
25
|
-
# scope seviyesinde HİÇ matrisi yok) → loading-scope-group → loading-matrix-
|
|
26
|
-
# scopegroup-level (process gönderilmediği için key = approval-matrix-
|
|
27
|
-
# corporate-customers → catch-all matris bulundu) → loading-organization
|
|
28
|
-
# (corporate-customers.organization) → checking-authorization →
|
|
29
|
-
# evaluating-rules (amountRange YOK → tutardan bağımsız eşleşir) →
|
|
30
|
-
# checking-initiator-super-authority → checking-amount-before-entry-verify →
|
|
31
|
-
# verifying-entry-transaction-limit (limitKey gönderilmez, genel [level-8]
|
|
32
|
-
# tanımla verify-approved) → notifying-approvers →
|
|
33
|
-
# pending-approval (order 1 = firstApprover, TEK order) → approve(order1) →
|
|
34
|
-
# checking-order → next-order (başka order yok) →
|
|
35
|
-
# checking-amount-before-limit-management → verifying-limit-management →
|
|
36
|
-
# approved.
|
|
37
|
-
###############################################################################
|
|
38
|
-
@domain = morph-idm
|
|
39
|
-
@workflow = approval
|
|
40
|
-
@instanceKey = approval-corporate-customers-no-amount-{{$timestamp}}
|
|
41
|
-
@process = checking-account-opening
|
|
42
|
-
@scopeGroupKey = corporate-customers
|
|
43
|
-
@scopeKey = firma-1
|
|
44
|
-
|
|
45
|
-
### 0.a Transaction-limit fixture — corporate-customers GENEL tek işlem tavanı
|
|
46
|
-
# (limitKey YOK → process'ten bağımsız tüm işlem tiplerine uygulanır)
|
|
47
|
-
# @name createTxLimit
|
|
48
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/transaction-limit-definition/instances/start?sync=true
|
|
49
|
-
Accept-Language: tr-TR
|
|
50
|
-
X-Request-Id: {{$guid}}
|
|
51
|
-
user_reference: admin-001
|
|
52
|
-
Content-Type: application/json
|
|
53
|
-
|
|
54
|
-
{
|
|
55
|
-
"key": "limit-tx-corporate-customers-general-{{$timestamp}}",
|
|
56
|
-
"tags": ["approval", "fixture", "transaction-limit", "no-amount", "general"],
|
|
57
|
-
"attributes": {
|
|
58
|
-
"type": "Transaction",
|
|
59
|
-
"currency": "TRY",
|
|
60
|
-
"amount": 1000000,
|
|
61
|
-
"scopeGroup": "{{scopeGroupKey}}"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
###
|
|
66
|
-
@txLimitId = {{createTxLimit.response.body.id}}
|
|
67
|
-
|
|
68
|
-
### 0.b Transaction-limit tek işlem tavanını aktifleştir — draft → active
|
|
69
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/transaction-limit-definition/instances/{{txLimitId}}/transitions/activate?sync=true
|
|
70
|
-
Accept-Language: tr-TR
|
|
71
|
-
X-Request-Id: {{$guid}}
|
|
72
|
-
user_reference: admin-001
|
|
73
|
-
Content-Type: application/json
|
|
74
|
-
|
|
75
|
-
{}
|
|
76
|
-
|
|
77
|
-
### 0.c Transaction-limit fixture — corporate-customers GENEL günlük tavan
|
|
78
|
-
# (limitKey YOK)
|
|
79
|
-
# @name createDailyLimit
|
|
80
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/transaction-limit-definition/instances/start?sync=true
|
|
81
|
-
Accept-Language: tr-TR
|
|
82
|
-
X-Request-Id: {{$guid}}
|
|
83
|
-
user_reference: admin-001
|
|
84
|
-
Content-Type: application/json
|
|
85
|
-
|
|
86
|
-
{
|
|
87
|
-
"key": "limit-daily-corporate-customers-general-{{$timestamp}}",
|
|
88
|
-
"tags": ["approval", "fixture", "transaction-limit", "no-amount", "general"],
|
|
89
|
-
"attributes": {
|
|
90
|
-
"type": "Daily",
|
|
91
|
-
"currency": "TRY",
|
|
92
|
-
"amount": 10000000,
|
|
93
|
-
"scopeGroup": "{{scopeGroupKey}}"
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
###
|
|
98
|
-
@dailyLimitId = {{createDailyLimit.response.body.id}}
|
|
99
|
-
|
|
100
|
-
### 0.d Transaction-limit günlük tavanını aktifleştir — draft → active
|
|
101
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/transaction-limit-definition/instances/{{dailyLimitId}}/transitions/activate?sync=true
|
|
102
|
-
Accept-Language: tr-TR
|
|
103
|
-
X-Request-Id: {{$guid}}
|
|
104
|
-
user_reference: admin-001
|
|
105
|
-
Content-Type: application/json
|
|
106
|
-
|
|
107
|
-
{}
|
|
108
|
-
|
|
109
|
-
### 1. Start — sub=scope-2, process YOK (catch-all lookup); amount GÖNDERİLİR
|
|
110
|
-
# (matrisin approvalRules'ında amountRange olmadığı için değeri önemsizdir)
|
|
111
|
-
# @name startApproval
|
|
112
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
113
|
-
Accept-Language: tr-TR
|
|
114
|
-
X-Request-Id: {{$guid}}
|
|
115
|
-
Content-Type: application/json
|
|
116
|
-
|
|
117
|
-
{
|
|
118
|
-
"key": "{{instanceKey}}",
|
|
119
|
-
"tags": ["approval", "corporate-customers", "no-amount"],
|
|
120
|
-
"attributes": {
|
|
121
|
-
"process": "{{process}}",
|
|
122
|
-
"sub": "{{scopeKey}}",
|
|
123
|
-
"act_sub": "user-3",
|
|
124
|
-
"positionLevel": "superUser"
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
###
|
|
129
|
-
@instanceId = {{startApproval.response.body.id}}
|
|
130
|
-
|
|
131
|
-
### 2. State — Beklenen: "pending-approval" (order 1 = firstApprover)
|
|
132
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
|
|
133
|
-
Accept-Language: tr-TR
|
|
134
|
-
X-Request-Id: {{$guid}}
|
|
135
|
-
|
|
136
|
-
### 2.1. Data — Beklenen: "pending-approval" (order 1 = firstApprover)
|
|
137
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/data
|
|
138
|
-
Accept-Language: tr-TR
|
|
139
|
-
X-Request-Id: {{$guid}}
|
|
140
|
-
|
|
141
|
-
### 3. Approve (order 1, TEK order) — approver1 / positionLevel=firstApprover
|
|
142
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/approve?sync=true
|
|
143
|
-
Accept-Language: tr-TR
|
|
144
|
-
X-Request-Id: {{$guid}}
|
|
145
|
-
act_sub: user-2
|
|
146
|
-
position: firstApprover
|
|
147
|
-
Content-Type: application/json
|
|
148
|
-
|
|
149
|
-
{
|
|
150
|
-
"attributes": {
|
|
151
|
-
"act_sub": "user-2",
|
|
152
|
-
"positionLevel": "firstApprover"
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
### 4. State — Beklenen: "approved"
|
|
157
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
|
|
158
|
-
Accept-Language: tr-TR
|
|
159
|
-
X-Request-Id: {{$guid}}
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
###############################################################################
|
|
2
|
-
# approval — corporate-customers scopeGroup, "deposit" (vadeli hesap açılışı)
|
|
3
|
-
# süreci için tutar bazlı onay akışı (sade senaryo)
|
|
4
|
-
#
|
|
5
|
-
# ÖN KOŞUL:
|
|
6
|
-
# - approval-new.http (0.a-0.t adımları) çalıştırılmış olmalı: organization
|
|
7
|
-
# (approval-org-scope-1), scope-group corporate-customers, scope scope-2
|
|
8
|
-
# (kendi organization'ı YOK, kendi scope seviyesinde HİÇ approval-matrix'ı
|
|
9
|
-
# yok → hem organization hem matris için scopeGroup fallback'i kullanılır).
|
|
10
|
-
# - approval-matrix/execute/approval-matrix-corporate-customers-time-deposit.http
|
|
11
|
-
# çalıştırılıp approval-matrix-corporate-customers-deposit matrisi active
|
|
12
|
-
# olmalı (tek kural: amountRange min=1000 TRY, approvers=[order 1 firstApprover]).
|
|
13
|
-
#
|
|
14
|
-
# Bu dosya ek olarak SADECE "deposit" process'i için transaction-limit-definition
|
|
15
|
-
# (Transaction + Daily) fixture'ı oluşturur — bu tanımlar olmadan
|
|
16
|
-
# verifying-entry-transaction-limit / verifying-limit-management "no-limit" ile
|
|
17
|
-
# reddeder ve süreç approved yerine entry-limit-exceeded / limit-management-fail
|
|
18
|
-
# ile biter.
|
|
19
|
-
#
|
|
20
|
-
# Akış: start (sub=scope-2, process=deposit) → loading-scope → loading-starter-person → loading-matrix-
|
|
21
|
-
# scope-level (bulunamadı) → loading-scope-group → loading-matrix-scopegroup-
|
|
22
|
-
# level (approval-matrix-corporate-customers-deposit bulundu) → loading-
|
|
23
|
-
# organization (corporate-customers.organization) → checking-authorization →
|
|
24
|
-
# evaluating-rules → checking-initiator-super-authority → checking-amount-before-entry-verify
|
|
25
|
-
# → verifying-entry-transaction-limit (verify-approved) → notifying-approvers → pending-approval (order 1 =
|
|
26
|
-
# firstApprover, TEK order) → approve(order1) → checking-order → next-order
|
|
27
|
-
# (başka order yok) → checking-amount-before-limit-management →
|
|
28
|
-
# verifying-limit-management → approved.
|
|
29
|
-
###############################################################################
|
|
30
|
-
@domain = morph-idm
|
|
31
|
-
@workflow = approval
|
|
32
|
-
@instanceKey = approval-corporate-customers-deposit-{{$timestamp}}
|
|
33
|
-
@process = deposit
|
|
34
|
-
@scopeGroupKey = corporate-customers
|
|
35
|
-
@scopeKey = firma-1
|
|
36
|
-
|
|
37
|
-
### 0.a Transaction-limit fixture — corporate-customers/deposit tek işlem tavanı
|
|
38
|
-
# @name createTxLimit
|
|
39
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/transaction-limit-definition/instances/start?sync=true
|
|
40
|
-
Accept-Language: tr-TR
|
|
41
|
-
X-Request-Id: {{$guid}}
|
|
42
|
-
user_reference: admin-001
|
|
43
|
-
Content-Type: application/json
|
|
44
|
-
|
|
45
|
-
{
|
|
46
|
-
"key": "limit-tx-corporate-customers-deposit-{{$timestamp}}",
|
|
47
|
-
"tags": ["approval", "fixture", "transaction-limit", "deposit"],
|
|
48
|
-
"attributes": {
|
|
49
|
-
"type": "Transaction",
|
|
50
|
-
"limitKey": "{{process}}",
|
|
51
|
-
"currency": "TRY",
|
|
52
|
-
"amount": 1000000,
|
|
53
|
-
"scopeGroup": "{{scopeGroupKey}}"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
###
|
|
58
|
-
@txLimitId = {{createTxLimit.response.body.id}}
|
|
59
|
-
|
|
60
|
-
### 0.b Transaction-limit tek işlem tavanını aktifleştir — draft → active
|
|
61
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/transaction-limit-definition/instances/{{txLimitId}}/transitions/activate?sync=true
|
|
62
|
-
Accept-Language: tr-TR
|
|
63
|
-
X-Request-Id: {{$guid}}
|
|
64
|
-
user_reference: admin-001
|
|
65
|
-
Content-Type: application/json
|
|
66
|
-
|
|
67
|
-
{}
|
|
68
|
-
|
|
69
|
-
### 0.c Transaction-limit fixture — corporate-customers/deposit günlük tavan
|
|
70
|
-
# @name createDailyLimit
|
|
71
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/transaction-limit-definition/instances/start?sync=true
|
|
72
|
-
Accept-Language: tr-TR
|
|
73
|
-
X-Request-Id: {{$guid}}
|
|
74
|
-
user_reference: admin-001
|
|
75
|
-
Content-Type: application/json
|
|
76
|
-
|
|
77
|
-
{
|
|
78
|
-
"key": "limit-daily-corporate-customers-deposit-{{$timestamp}}",
|
|
79
|
-
"tags": ["approval", "fixture", "transaction-limit", "deposit"],
|
|
80
|
-
"attributes": {
|
|
81
|
-
"type": "Daily",
|
|
82
|
-
"limitKey": "{{process}}",
|
|
83
|
-
"currency": "TRY",
|
|
84
|
-
"amount": 10000000,
|
|
85
|
-
"scopeGroup": "{{scopeGroupKey}}"
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
###
|
|
90
|
-
@dailyLimitId = {{createDailyLimit.response.body.id}}
|
|
91
|
-
|
|
92
|
-
### 0.d Transaction-limit günlük tavanını aktifleştir — draft → active
|
|
93
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/transaction-limit-definition/instances/{{dailyLimitId}}/transitions/activate?sync=true
|
|
94
|
-
Accept-Language: tr-TR
|
|
95
|
-
X-Request-Id: {{$guid}}
|
|
96
|
-
user_reference: admin-001
|
|
97
|
-
Content-Type: application/json
|
|
98
|
-
|
|
99
|
-
{}
|
|
100
|
-
|
|
101
|
-
### 1. Start — approval instance'ı başlat (initiator: user1 / entry)
|
|
102
|
-
# @name startApproval
|
|
103
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
104
|
-
Accept-Language: tr-TR
|
|
105
|
-
X-Request-Id: {{$guid}}
|
|
106
|
-
Content-Type: application/json
|
|
107
|
-
|
|
108
|
-
{
|
|
109
|
-
"key": "{{instanceKey}}",
|
|
110
|
-
"tags": ["approval", "corporate-customers", "deposit"],
|
|
111
|
-
"attributes": {
|
|
112
|
-
"sub": "{{scopeKey}}",
|
|
113
|
-
"process": "{{process}}",
|
|
114
|
-
"act_sub": "user-3",
|
|
115
|
-
"positionLevel": "superUser",
|
|
116
|
-
"amount": "1000,00",
|
|
117
|
-
"currency": "TRY"
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
###
|
|
122
|
-
@instanceId = {{startApproval.response.body.id}}
|
|
123
|
-
|
|
124
|
-
### 2. State — Beklenen: "pending-approval" (order 1 = firstApprover)
|
|
125
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
|
|
126
|
-
Accept-Language: tr-TR
|
|
127
|
-
X-Request-Id: {{$guid}}
|
|
128
|
-
|
|
129
|
-
### 3. Approve (order 1, TEK order) — approver1 / positionLevel=firstApprover
|
|
130
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/approve?sync=true
|
|
131
|
-
Accept-Language: tr-TR
|
|
132
|
-
X-Request-Id: {{$guid}}
|
|
133
|
-
act_sub: user-2
|
|
134
|
-
position: firstApprover
|
|
135
|
-
Content-Type: application/json
|
|
136
|
-
|
|
137
|
-
{
|
|
138
|
-
"attributes": {
|
|
139
|
-
"act_sub": "user-2",
|
|
140
|
-
"positionLevel": "firstApprover"
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
### 4. State — Beklenen: "approved"
|
|
145
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
|
|
146
|
-
Accept-Language: tr-TR
|
|
147
|
-
X-Request-Id: {{$guid}}
|