@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,149 +0,0 @@
|
|
|
1
|
-
### Variables
|
|
2
|
-
# Workflow: transaction-limit-definition — type=ApproveTransaction (tek işlem onay tavanı)
|
|
3
|
-
|
|
4
|
-
@baseUrl = https://test-vnext-morph-idm.apps.nonprod.ebt.bank
|
|
5
|
-
@apiVersion = v1
|
|
6
|
-
@domain = morph-idm
|
|
7
|
-
@workflow = transaction-limit-definition
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
###############################################################################
|
|
11
|
-
# 1 — bankApproveTxCreate (üst satır)
|
|
12
|
-
###############################################################################
|
|
13
|
-
|
|
14
|
-
### 1.1 Create
|
|
15
|
-
# @name bankApproveTxCreate
|
|
16
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
17
|
-
Accept-Language: tr-TR
|
|
18
|
-
X-Request-Id: {{$guid}}
|
|
19
|
-
Content-Type: application/json
|
|
20
|
-
|
|
21
|
-
{
|
|
22
|
-
"key": "limit-approve-tx-bank-{{$guid}}",
|
|
23
|
-
"tags": ["limit-definition", "TRY"],
|
|
24
|
-
"attributes": {
|
|
25
|
-
"type": "ApproveTransaction",
|
|
26
|
-
"currency": "TRY",
|
|
27
|
-
"amount": 45000,
|
|
28
|
-
"scopeGroup": "kurumsal-test",
|
|
29
|
-
"scope": "burgantech",
|
|
30
|
-
"user": "test-user-2"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
###
|
|
35
|
-
@idBankApproveTx = {{bankApproveTxCreate.response.body.id}}
|
|
36
|
-
|
|
37
|
-
### 1.2 Activate
|
|
38
|
-
# Beklenen: `active` (üst ApproveTransaction satırı).
|
|
39
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idBankApproveTx}}/transitions/activate?sync=true
|
|
40
|
-
Accept-Language: tr-TR
|
|
41
|
-
X-Request-Id: {{$guid}}
|
|
42
|
-
Content-Type: application/json
|
|
43
|
-
|
|
44
|
-
{}
|
|
45
|
-
|
|
46
|
-
###
|
|
47
|
-
|
|
48
|
-
### 1.3 Lifecycle ({{idBankApproveTx}})
|
|
49
|
-
### 1.3a Passivate
|
|
50
|
-
# Beklenen: `passive`.
|
|
51
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idBankApproveTx}}/transitions/passivate?sync=true
|
|
52
|
-
Accept-Language: tr-TR
|
|
53
|
-
X-Request-Id: {{$guid}}
|
|
54
|
-
Content-Type: application/json
|
|
55
|
-
|
|
56
|
-
{}
|
|
57
|
-
|
|
58
|
-
###
|
|
59
|
-
|
|
60
|
-
### 1.3b State
|
|
61
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idBankApproveTx}}/functions/state
|
|
62
|
-
Accept-Language: tr-TR
|
|
63
|
-
X-Request-Id: {{$guid}}
|
|
64
|
-
|
|
65
|
-
###
|
|
66
|
-
|
|
67
|
-
### 1.3c Activate
|
|
68
|
-
# Beklenen: tekrar `active`.
|
|
69
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idBankApproveTx}}/transitions/activate?sync=true
|
|
70
|
-
Accept-Language: tr-TR
|
|
71
|
-
X-Request-Id: {{$guid}}
|
|
72
|
-
Content-Type: application/json
|
|
73
|
-
|
|
74
|
-
{}
|
|
75
|
-
|
|
76
|
-
###
|
|
77
|
-
|
|
78
|
-
### 1.3d State
|
|
79
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idBankApproveTx}}/functions/state
|
|
80
|
-
Accept-Language: tr-TR
|
|
81
|
-
X-Request-Id: {{$guid}}
|
|
82
|
-
|
|
83
|
-
###
|
|
84
|
-
|
|
85
|
-
###############################################################################
|
|
86
|
-
# 2 — approverApproveTxCreate
|
|
87
|
-
###############################################################################
|
|
88
|
-
|
|
89
|
-
### 2.1 Create
|
|
90
|
-
# @name approverApproveTxCreate
|
|
91
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
92
|
-
Accept-Language: tr-TR
|
|
93
|
-
X-Request-Id: {{$guid}}
|
|
94
|
-
Content-Type: application/json
|
|
95
|
-
|
|
96
|
-
{
|
|
97
|
-
"key": "limit-approve-tx-user-{{$guid}}",
|
|
98
|
-
"tags": ["limit-definition", "TRY"],
|
|
99
|
-
"attributes": {
|
|
100
|
-
"type": "ApproveTransaction",
|
|
101
|
-
"currency": "TRY",
|
|
102
|
-
"amount": 20000,
|
|
103
|
-
"scopeGroup": "kurumsal-test",
|
|
104
|
-
"scope": "burgantech",
|
|
105
|
-
"user": "test-user-2"
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
###
|
|
110
|
-
@idApproverTx = {{approverApproveTxCreate.response.body.id}}
|
|
111
|
-
|
|
112
|
-
### 2.2 Activate
|
|
113
|
-
# Beklenen: `active` (onaycı satırı; banka satırı ile uyum/duplicate kuralları geçerliyse).
|
|
114
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idApproverTx}}/transitions/activate?sync=true
|
|
115
|
-
Accept-Language: tr-TR
|
|
116
|
-
X-Request-Id: {{$guid}}
|
|
117
|
-
Content-Type: application/json
|
|
118
|
-
|
|
119
|
-
{}
|
|
120
|
-
|
|
121
|
-
###
|
|
122
|
-
|
|
123
|
-
###############################################################################
|
|
124
|
-
# 3 — resolve
|
|
125
|
-
###############################################################################
|
|
126
|
-
|
|
127
|
-
### 3.1 Bilinen onaycı → spesifik satır (ör. 20000)
|
|
128
|
-
# Beklenen: 20000 civarı tek işlem onay tavanı.
|
|
129
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idBankApproveTx}}/functions/function-resolve-limit?type=ApproveTransaction&user=test-user-2&scope=burgantech&scopeGroup=kurumsal-test
|
|
130
|
-
Accept-Language: tr-TR
|
|
131
|
-
X-Request-Id: {{$guid}}
|
|
132
|
-
|
|
133
|
-
###
|
|
134
|
-
|
|
135
|
-
### 3.2 Bilinmeyen user — ortama göre found:false veya fallback
|
|
136
|
-
# Beklenen: tanımsız onaycıda bulunamadı / genel fallback (ürün yanıt şekline bağlı).
|
|
137
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idBankApproveTx}}/functions/function-resolve-limit?type=ApproveTransaction&user=test-user-3&scope=burgantech&scopeGroup=kurumsal-test
|
|
138
|
-
Accept-Language: tr-TR
|
|
139
|
-
X-Request-Id: {{$guid}}
|
|
140
|
-
|
|
141
|
-
###
|
|
142
|
-
|
|
143
|
-
### 3.3 limitKey=EFT ile domain function (EFT’e özel tanım yoksa genel approve satırına düşer)
|
|
144
|
-
# Beklenen: EFT’e özel ApproveTransaction yoksa üst satırla aynı veya en yakın genel çözüm.
|
|
145
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/function-resolve-limit?user=test-user-2&scope=burgantech&scopeGroup=kurumsal-test&type=ApproveTransaction&limitKey=EFT
|
|
146
|
-
Accept-Language: tr-TR
|
|
147
|
-
X-Request-Id: {{$guid}}
|
|
148
|
-
|
|
149
|
-
###
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
### Variables
|
|
2
|
-
# Workflow: transaction-limit-definition — type=ApproveDaily (onaycı günlük kümülatif tavan)
|
|
3
|
-
# activate → check-scope-group-limit (user+scope dolu; banka satırı ile kıyas) → check-duplicate → active | exceeds-scope-group-limit | conflict
|
|
4
|
-
|
|
5
|
-
@baseUrl = https://test-vnext-morph-idm.apps.nonprod.ebt.bank
|
|
6
|
-
@apiVersion = v1
|
|
7
|
-
@domain = morph-idm
|
|
8
|
-
@workflow = transaction-limit-definition
|
|
9
|
-
|
|
10
|
-
###############################################################################
|
|
11
|
-
# 1 — bankApproveDailyCreate (scopeGroup + scope + user; üst / fallback satırı)
|
|
12
|
-
###############################################################################
|
|
13
|
-
|
|
14
|
-
### 1.1 Create
|
|
15
|
-
# @name bankApproveDailyCreate
|
|
16
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
17
|
-
Accept-Language: tr-TR
|
|
18
|
-
X-Request-Id: {{$guid}}
|
|
19
|
-
Content-Type: application/json
|
|
20
|
-
|
|
21
|
-
{
|
|
22
|
-
"key": "limit-approve-daily-bank-{{$guid}}",
|
|
23
|
-
"tags": ["limit-definition", "TRY"],
|
|
24
|
-
"attributes": {
|
|
25
|
-
"type": "ApproveDaily",
|
|
26
|
-
"currency": "TRY",
|
|
27
|
-
"amount": 50000,
|
|
28
|
-
"scopeGroup": "kurumsal-test",
|
|
29
|
-
"scope": "burgantech",
|
|
30
|
-
"user": "test-user-2"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
###
|
|
35
|
-
@idBankApproveDaily = {{bankApproveDailyCreate.response.body.id}}
|
|
36
|
-
|
|
37
|
-
### 1.2 Activate
|
|
38
|
-
# Beklenen: `active` (ApproveDaily; user+scope dolu → banka satırı ile check-scope-group-limit; duplicate yoksa).
|
|
39
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idBankApproveDaily}}/transitions/activate?sync=true
|
|
40
|
-
Accept-Language: tr-TR
|
|
41
|
-
X-Request-Id: {{$guid}}
|
|
42
|
-
Content-Type: application/json
|
|
43
|
-
|
|
44
|
-
{}
|
|
45
|
-
|
|
46
|
-
###
|
|
47
|
-
|
|
48
|
-
### 1.3 Lifecycle ({{idBankApproveDaily}}): passivate → activate
|
|
49
|
-
# Senaryo: pasifken resolve bu tanımı dışlar; tekrar activate tam zinciri tekrarlar.
|
|
50
|
-
|
|
51
|
-
### 1.3a Passivate
|
|
52
|
-
# Beklenen: `passive`.
|
|
53
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idBankApproveDaily}}/transitions/passivate?sync=true
|
|
54
|
-
Accept-Language: tr-TR
|
|
55
|
-
X-Request-Id: {{$guid}}
|
|
56
|
-
Content-Type: application/json
|
|
57
|
-
|
|
58
|
-
{}
|
|
59
|
-
|
|
60
|
-
###
|
|
61
|
-
|
|
62
|
-
### 1.3b State
|
|
63
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idBankApproveDaily}}/functions/state
|
|
64
|
-
Accept-Language: tr-TR
|
|
65
|
-
X-Request-Id: {{$guid}}
|
|
66
|
-
|
|
67
|
-
###
|
|
68
|
-
|
|
69
|
-
### 1.3c Activate
|
|
70
|
-
# Beklenen: tekrar `active`.
|
|
71
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idBankApproveDaily}}/transitions/activate?sync=true
|
|
72
|
-
Accept-Language: tr-TR
|
|
73
|
-
X-Request-Id: {{$guid}}
|
|
74
|
-
Content-Type: application/json
|
|
75
|
-
|
|
76
|
-
{}
|
|
77
|
-
|
|
78
|
-
###
|
|
79
|
-
|
|
80
|
-
### 1.3d State
|
|
81
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idBankApproveDaily}}/functions/state
|
|
82
|
-
Accept-Language: tr-TR
|
|
83
|
-
X-Request-Id: {{$guid}}
|
|
84
|
-
|
|
85
|
-
###
|
|
86
|
-
|
|
87
|
-
###############################################################################
|
|
88
|
-
# 2 — approverApproveDailyCreate (aynı user; resolve’da öncelikli satır)
|
|
89
|
-
###############################################################################
|
|
90
|
-
|
|
91
|
-
### 2.1 Create
|
|
92
|
-
# @name approverApproveDailyCreate
|
|
93
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
94
|
-
Accept-Language: tr-TR
|
|
95
|
-
X-Request-Id: {{$guid}}
|
|
96
|
-
Content-Type: application/json
|
|
97
|
-
|
|
98
|
-
{
|
|
99
|
-
"key": "limit-approve-daily-user-{{$guid}}",
|
|
100
|
-
"tags": ["limit-definition", "TRY"],
|
|
101
|
-
"attributes": {
|
|
102
|
-
"type": "ApproveDaily",
|
|
103
|
-
"currency": "TRY",
|
|
104
|
-
"amount": 35000,
|
|
105
|
-
"scopeGroup": "kurumsal-test",
|
|
106
|
-
"scope": "burgantech",
|
|
107
|
-
"user": "test-user-2"
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
###
|
|
112
|
-
@idApproverDaily = {{approverApproveDailyCreate.response.body.id}}
|
|
113
|
-
|
|
114
|
-
### 2.2 Activate
|
|
115
|
-
# Beklenen: `active` (üst banka satırı ile hiyerarşi uyumlu, çakışma yoksa).
|
|
116
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idApproverDaily}}/transitions/activate?sync=true
|
|
117
|
-
Accept-Language: tr-TR
|
|
118
|
-
X-Request-Id: {{$guid}}
|
|
119
|
-
Content-Type: application/json
|
|
120
|
-
|
|
121
|
-
{}
|
|
122
|
-
|
|
123
|
-
###
|
|
124
|
-
|
|
125
|
-
###############################################################################
|
|
126
|
-
# 3 — function-resolve-limit (ApproveDaily)
|
|
127
|
-
###############################################################################
|
|
128
|
-
|
|
129
|
-
### 3.1 Instance üzerinden: ApproveDaily
|
|
130
|
-
# Beklenen: resolve yanıtında daha spesifik satır (ör. 35000); öncelik user+scope.
|
|
131
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idBankApproveDaily}}/functions/function-resolve-limit?type=ApproveDaily&user=test-user-2&scope=burgantech&scopeGroup=kurumsal-test
|
|
132
|
-
Accept-Language: tr-TR
|
|
133
|
-
X-Request-Id: {{$guid}}
|
|
134
|
-
|
|
135
|
-
###
|
|
136
|
-
|
|
137
|
-
### 3.2 Domain function
|
|
138
|
-
# Beklenen: 3.1 ile tutarlı efektif ApproveDaily limiti.
|
|
139
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/function-resolve-limit?user=test-user-2&scope=burgantech&scopeGroup=kurumsal-test&type=ApproveDaily
|
|
140
|
-
Accept-Language: tr-TR
|
|
141
|
-
X-Request-Id: {{$guid}}
|
|
142
|
-
|
|
143
|
-
###
|
|
@@ -1,399 +0,0 @@
|
|
|
1
|
-
### Variables
|
|
2
|
-
# Workflow: morph-idm/Workflows/transaction-limit/transaction-limit-definition.json
|
|
3
|
-
# Çalışma sırası: önce scopeGroup tavanı → scopeGroup+limitKey banka satırı → scope → user; sonra resolve; isteğe bağlı exceeds-bank.
|
|
4
|
-
|
|
5
|
-
@baseUrl = https://test-vnext-morph-idm.apps.nonprod.ebt.bank
|
|
6
|
-
@apiVersion = v1
|
|
7
|
-
@domain = morph-idm
|
|
8
|
-
@workflow = transaction-limit-definition
|
|
9
|
-
|
|
10
|
-
###############################################################################
|
|
11
|
-
# 1 — scopeGroupCreate (yalnız scopeGroup: user ve scope yok)
|
|
12
|
-
# Flow: activate → check-scope-group-limit onEntry banka görevi atlanır → check-duplicate → active | conflict
|
|
13
|
-
###############################################################################
|
|
14
|
-
|
|
15
|
-
### 1.1 Create
|
|
16
|
-
# Beklenen: 200; yeni instance id; başlangıç state `draft` (start şeması geçerliyse).
|
|
17
|
-
# @name scopeGroupCreate
|
|
18
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
19
|
-
Accept-Language: tr-TR
|
|
20
|
-
X-Request-Id: {{$guid}}
|
|
21
|
-
Content-Type: application/json
|
|
22
|
-
|
|
23
|
-
{
|
|
24
|
-
"key": "limit-daily-scopegroup-{{$timestamp}}",
|
|
25
|
-
"tags": ["limit-definition", "TRY"],
|
|
26
|
-
"attributes": {
|
|
27
|
-
"type": "Daily",
|
|
28
|
-
"currency": "TRY",
|
|
29
|
-
"amount": 50000,
|
|
30
|
-
"scopeGroup": "kurumsal-test-6",
|
|
31
|
-
"validFrom": "2026-01-01T00:00:00Z",
|
|
32
|
-
"validTo": "2026-12-31T23:59:59Z"
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
###
|
|
37
|
-
@idScopeGroup = {{scopeGroupCreate.response.body.id}}
|
|
38
|
-
|
|
39
|
-
### 1.2 Activate
|
|
40
|
-
# Beklenen: 200; `sync=true` ile işlem bittiğinde state `active` (aynı scopeGroup+type+limitKey genel + örtüşen tarihli başka aktif kayıt yoksa).
|
|
41
|
-
# Ara durumlar: `check-scope-group-limit` → `check-duplicate` → `active`.
|
|
42
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idScopeGroup}}/transitions/activate?sync=true
|
|
43
|
-
Accept-Language: tr-TR
|
|
44
|
-
X-Request-Id: {{$guid}}
|
|
45
|
-
Content-Type: application/json
|
|
46
|
-
|
|
47
|
-
{}
|
|
48
|
-
|
|
49
|
-
###
|
|
50
|
-
|
|
51
|
-
### 1.3 State
|
|
52
|
-
# Beklenen: current state `active` (veya zincir tamamlanmadıysa ara state; çoğunlukla `active`).
|
|
53
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idScopeGroup}}/functions/state
|
|
54
|
-
Accept-Language: tr-TR
|
|
55
|
-
X-Request-Id: {{$guid}}
|
|
56
|
-
|
|
57
|
-
###
|
|
58
|
-
### 1.3a Data
|
|
59
|
-
|
|
60
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idScopeGroup}}/functions/state
|
|
61
|
-
Accept-Language: tr-TR
|
|
62
|
-
X-Request-Id: {{$guid}}
|
|
63
|
-
|
|
64
|
-
###
|
|
65
|
-
|
|
66
|
-
### 1.4 Lifecycle (aynı instance): active → passive → active
|
|
67
|
-
# Senaryo: passivate sonrası resolve bu tanımı yok saymalı; tekrar activate yine check-scope-group-limit → check-duplicate ile gider.
|
|
68
|
-
|
|
69
|
-
### 1.4a Passivate
|
|
70
|
-
# Beklenen: 200; state `passive` — yetkilendirme/resolve bu tanımı kullanmaz.
|
|
71
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idScopeGroup}}/transitions/passivate?sync=true
|
|
72
|
-
Accept-Language: tr-TR
|
|
73
|
-
X-Request-Id: {{$guid}}
|
|
74
|
-
Content-Type: application/json
|
|
75
|
-
|
|
76
|
-
{}
|
|
77
|
-
|
|
78
|
-
###
|
|
79
|
-
|
|
80
|
-
### 1.4b State (passive)
|
|
81
|
-
# Beklenen: state `passive`.
|
|
82
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idScopeGroup}}/functions/state
|
|
83
|
-
Accept-Language: tr-TR
|
|
84
|
-
X-Request-Id: {{$guid}}
|
|
85
|
-
|
|
86
|
-
###
|
|
87
|
-
|
|
88
|
-
### 1.4c Activate (yeniden)
|
|
89
|
-
# Beklenen: 200; tekrar `check-scope-group-limit` → `check-duplicate` → `active` (pasifken çakışma yoksa).
|
|
90
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idScopeGroup}}/transitions/activate?sync=true
|
|
91
|
-
Accept-Language: tr-TR
|
|
92
|
-
X-Request-Id: {{$guid}}
|
|
93
|
-
Content-Type: application/json
|
|
94
|
-
|
|
95
|
-
{}
|
|
96
|
-
|
|
97
|
-
###
|
|
98
|
-
|
|
99
|
-
### 1.4d State (active)
|
|
100
|
-
# Beklenen: state `active`.
|
|
101
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idScopeGroup}}/functions/state
|
|
102
|
-
Accept-Language: tr-TR
|
|
103
|
-
X-Request-Id: {{$guid}}
|
|
104
|
-
|
|
105
|
-
###
|
|
106
|
-
|
|
107
|
-
###############################################################################
|
|
108
|
-
# 2 — scopeGroupLimitKeyCreate (scopeGroup + limitKey, örn. banka EFT günlük)
|
|
109
|
-
# Senaryo: alt seviye scope/user EFT tutarları bu tavanla check-scope-group-limit’te kıyaslanır.
|
|
110
|
-
###############################################################################
|
|
111
|
-
|
|
112
|
-
### 2.1 Create
|
|
113
|
-
# Beklenen: 200; `draft`; ön koşul: aynı (scopeGroup,type,limitKey,özet tarih) için çakışan aktif kayıt olmamalı (sonra activate’te kontrol edilir).
|
|
114
|
-
# @name scopeGroupLimitKeyCreate
|
|
115
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
116
|
-
Accept-Language: tr-TR
|
|
117
|
-
X-Request-Id: {{$guid}}
|
|
118
|
-
Content-Type: application/json
|
|
119
|
-
|
|
120
|
-
{
|
|
121
|
-
"key": "limit-daily-scopegroup-eft-{{$timestamp}}",
|
|
122
|
-
"tags": ["limit-definition", "TRY"],
|
|
123
|
-
"attributes": {
|
|
124
|
-
"type": "Daily",
|
|
125
|
-
"currency": "TRY",
|
|
126
|
-
"amount": 40000,
|
|
127
|
-
"scopeGroup": "kurumsal-test",
|
|
128
|
-
"limitKey": "EFT",
|
|
129
|
-
"validFrom": "2026-01-01T00:00:00Z",
|
|
130
|
-
"validTo": "2026-12-31T23:59:59Z"
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
###
|
|
135
|
-
@idScopeGroupLimitKey = {{scopeGroupLimitKeyCreate.response.body.id}}
|
|
136
|
-
|
|
137
|
-
### 2.2 Activate
|
|
138
|
-
# Beklenen: 200; state `active` (check-duplicate geçerse). Bu satır, alt seviye EFT günlük tutarları için banka tavanı olur.
|
|
139
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idScopeGroupLimitKey}}/transitions/activate?sync=true
|
|
140
|
-
Accept-Language: tr-TR
|
|
141
|
-
X-Request-Id: {{$guid}}
|
|
142
|
-
Content-Type: application/json
|
|
143
|
-
|
|
144
|
-
{}
|
|
145
|
-
|
|
146
|
-
###
|
|
147
|
-
|
|
148
|
-
###############################################################################
|
|
149
|
-
# 3 — scopeCreate (scopeGroup + scope; limitKey isteğe bağlı — genel günlük için kaldırılabilir)
|
|
150
|
-
###############################################################################
|
|
151
|
-
|
|
152
|
-
### 3.1 Create
|
|
153
|
-
# Beklenen: 200; `draft`.
|
|
154
|
-
# @name scopeCreate
|
|
155
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
156
|
-
Accept-Language: tr-TR
|
|
157
|
-
X-Request-Id: {{$guid}}
|
|
158
|
-
Content-Type: application/json
|
|
159
|
-
|
|
160
|
-
{
|
|
161
|
-
"key": "limit-daily-scope-{{$timestamp}}",
|
|
162
|
-
"tags": ["limit-definition", "TRY"],
|
|
163
|
-
"attributes": {
|
|
164
|
-
"type": "Daily",
|
|
165
|
-
"currency": "TRY",
|
|
166
|
-
"amount": 30000,
|
|
167
|
-
"scopeGroup": "kurumsal-test",
|
|
168
|
-
"scope": "burgantech",
|
|
169
|
-
"limitKey": "EFT",
|
|
170
|
-
"validFrom": "2026-01-01T00:00:00Z",
|
|
171
|
-
"validTo": "2026-12-31T23:59:59Z"
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
###
|
|
176
|
-
@idScope = {{scopeCreate.response.body.id}}
|
|
177
|
-
|
|
178
|
-
### 3.2 Activate
|
|
179
|
-
# Beklenen: 200; `active` — tutar aktif banka (scopeGroup) EFT satırının altında olmalı; aksi `exceeds-scope-group-limit` final state.
|
|
180
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idScope}}/transitions/activate?sync=true
|
|
181
|
-
Accept-Language: tr-TR
|
|
182
|
-
X-Request-Id: {{$guid}}
|
|
183
|
-
Content-Type: application/json
|
|
184
|
-
|
|
185
|
-
{}
|
|
186
|
-
|
|
187
|
-
###
|
|
188
|
-
|
|
189
|
-
### 3.3 scopeSecondCreate — ikinci günlük slot (tarih aralığı birincisiyle örtüşmez; check-duplicate no-conflict)
|
|
190
|
-
# Beklenen: 200; `draft`.
|
|
191
|
-
# @name scopeSecondCreate
|
|
192
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
193
|
-
Accept-Language: tr-TR
|
|
194
|
-
X-Request-Id: {{$guid}}
|
|
195
|
-
Content-Type: application/json
|
|
196
|
-
|
|
197
|
-
{
|
|
198
|
-
"key": "limit-daily-scope-slot2-{{$timestamp}}",
|
|
199
|
-
"tags": ["limit-definition", "TRY"],
|
|
200
|
-
"attributes": {
|
|
201
|
-
"type": "Daily",
|
|
202
|
-
"currency": "TRY",
|
|
203
|
-
"amount": 28000,
|
|
204
|
-
"scopeGroup": "kurumsal-test",
|
|
205
|
-
"scope": "burgantech",
|
|
206
|
-
"limitKey": "EFT",
|
|
207
|
-
"validFrom": "2027-01-01T00:00:00Z",
|
|
208
|
-
"validTo": "2027-12-31T23:59:59Z"
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
###
|
|
213
|
-
@idScopeSecond = {{scopeSecondCreate.response.body.id}}
|
|
214
|
-
|
|
215
|
-
### 3.4 Activate
|
|
216
|
-
# Beklenen: 200; `active` — örtüşen tarih yoksa duplicate yok; örtüşse `conflict` final.
|
|
217
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idScopeSecond}}/transitions/activate?sync=true
|
|
218
|
-
Accept-Language: tr-TR
|
|
219
|
-
X-Request-Id: {{$guid}}
|
|
220
|
-
Content-Type: application/json
|
|
221
|
-
|
|
222
|
-
{}
|
|
223
|
-
|
|
224
|
-
###
|
|
225
|
-
|
|
226
|
-
### 3.5 Data
|
|
227
|
-
# Beklenen: `amount` 28000 vb.; state `active` ise veri tutarlı.
|
|
228
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idScopeSecond}}/functions/data
|
|
229
|
-
Accept-Language: tr-TR
|
|
230
|
-
X-Request-Id: {{$guid}}
|
|
231
|
-
|
|
232
|
-
###
|
|
233
|
-
|
|
234
|
-
###############################################################################
|
|
235
|
-
# 4 — userCreate (scopeGroup + scope + user; limitKey isteğe bağlı — kaldırınca genel günlük user+scope)
|
|
236
|
-
###############################################################################
|
|
237
|
-
|
|
238
|
-
### 4.1 Create
|
|
239
|
-
# Beklenen: 200; `draft`.
|
|
240
|
-
# @name userCreate
|
|
241
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
242
|
-
Accept-Language: tr-TR
|
|
243
|
-
X-Request-Id: {{$guid}}
|
|
244
|
-
Content-Type: application/json
|
|
245
|
-
|
|
246
|
-
{
|
|
247
|
-
"key": "limit-daily-user-{{$timestamp}}",
|
|
248
|
-
"tags": ["limit-definition", "TRY"],
|
|
249
|
-
"attributes": {
|
|
250
|
-
"type": "Daily",
|
|
251
|
-
"currency": "TRY",
|
|
252
|
-
"amount": 25000,
|
|
253
|
-
"scopeGroup": "kurumsal-test",
|
|
254
|
-
"scope": "burgantech",
|
|
255
|
-
"user": "test-user",
|
|
256
|
-
"limitKey": "EFT",
|
|
257
|
-
"validFrom": "2026-01-01T00:00:00Z",
|
|
258
|
-
"validTo": "2026-12-31T23:59:59Z"
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
###
|
|
263
|
-
@idUser = {{userCreate.response.body.id}}
|
|
264
|
-
|
|
265
|
-
### 4.2 Activate (birinci kayıt)
|
|
266
|
-
# Beklenen: 200; `active` (banka + duplicate kontrolleri geçerse).
|
|
267
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idUser}}/transitions/activate?sync=true
|
|
268
|
-
Accept-Language: tr-TR
|
|
269
|
-
X-Request-Id: {{$guid}}
|
|
270
|
-
Content-Type: application/json
|
|
271
|
-
|
|
272
|
-
{}
|
|
273
|
-
|
|
274
|
-
###
|
|
275
|
-
|
|
276
|
-
### 4.3 Duplicate — ikinci instance (user+scope+limitKey + örtüşen validFrom; birinci hâlâ active)
|
|
277
|
-
# Beklenen: 200; `draft` (çakışma henüz activate’te oluşur).
|
|
278
|
-
# @name userDuplicateCreate
|
|
279
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
280
|
-
Accept-Language: tr-TR
|
|
281
|
-
X-Request-Id: {{$guid}}
|
|
282
|
-
Content-Type: application/json
|
|
283
|
-
|
|
284
|
-
{
|
|
285
|
-
"key": "limit-daily-user-dup-{{$timestamp}}",
|
|
286
|
-
"tags": ["limit-definition", "TRY"],
|
|
287
|
-
"attributes": {
|
|
288
|
-
"type": "Daily",
|
|
289
|
-
"currency": "TRY",
|
|
290
|
-
"amount": 24000,
|
|
291
|
-
"scopeGroup": "kurumsal-test",
|
|
292
|
-
"scope": "burgantech",
|
|
293
|
-
"user": "test-user",
|
|
294
|
-
"limitKey": "EFT",
|
|
295
|
-
"validFrom": "2026-01-01T00:00:00Z",
|
|
296
|
-
"validTo": "2026-12-31T23:59:59Z"
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
###
|
|
301
|
-
@idUserDuplicate = {{userDuplicateCreate.response.body.id}}
|
|
302
|
-
|
|
303
|
-
### 4.4 Activate duplicate instance
|
|
304
|
-
# Beklenen: 200; state `conflict` (final) — `hasConflict` true; data’da `conflictInfo` dolu; aktif kopya oluşmaz.
|
|
305
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idUserDuplicate}}/transitions/activate?sync=true
|
|
306
|
-
Accept-Language: tr-TR
|
|
307
|
-
X-Request-Id: {{$guid}}
|
|
308
|
-
Content-Type: application/json
|
|
309
|
-
|
|
310
|
-
{}
|
|
311
|
-
|
|
312
|
-
###
|
|
313
|
-
|
|
314
|
-
### 4.5 Data (conflict)
|
|
315
|
-
# Beklenen: `conflictInfo` metni; `hasConflict` true (persist edildiyse).
|
|
316
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idUserDuplicate}}/functions/data
|
|
317
|
-
Accept-Language: tr-TR
|
|
318
|
-
X-Request-Id: {{$guid}}
|
|
319
|
-
|
|
320
|
-
###
|
|
321
|
-
|
|
322
|
-
###############################################################################
|
|
323
|
-
# 5 — scopeEftExceedsBankCreate (isteğe bağlı: EFT günlük amount > aktif banka EFT satırı)
|
|
324
|
-
# Senaryo: check-scope-group-limit exceedsBankLimit=true → exceeds-scope-group-limit-transition → exceeds-scope-group-limit (final); data’da bankLimitInfo
|
|
325
|
-
###############################################################################
|
|
326
|
-
|
|
327
|
-
### 5.1 Create
|
|
328
|
-
# Beklenen: 200; `draft`.
|
|
329
|
-
# @name scopeEftExceedsBankCreate
|
|
330
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
331
|
-
Accept-Language: tr-TR
|
|
332
|
-
X-Request-Id: {{$guid}}
|
|
333
|
-
Content-Type: application/json
|
|
334
|
-
|
|
335
|
-
{
|
|
336
|
-
"key": "limit-daily-scope-eft-exceeds-{{$timestamp}}",
|
|
337
|
-
"tags": ["limit-definition", "TRY"],
|
|
338
|
-
"attributes": {
|
|
339
|
-
"type": "Daily",
|
|
340
|
-
"currency": "TRY",
|
|
341
|
-
"amount": 45000,
|
|
342
|
-
"scopeGroup": "kurumsal-test",
|
|
343
|
-
"scope": "burgantech",
|
|
344
|
-
"limitKey": "EFT",
|
|
345
|
-
"validFrom": "2020-01-01T00:00:00Z",
|
|
346
|
-
"validTo": "2035-12-31T23:59:59Z"
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
###
|
|
351
|
-
@idScopeEftExceeds = {{scopeEftExceedsBankCreate.response.body.id}}
|
|
352
|
-
|
|
353
|
-
### 5.2 Activate
|
|
354
|
-
# Beklenen: 200; state `exceeds-scope-group-limit` (final) — tutar aktif banka EFT tavanından büyük; `exceedsBankLimit` / `bankLimitInfo` data’da.
|
|
355
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idScopeEftExceeds}}/transitions/activate?sync=true
|
|
356
|
-
Accept-Language: tr-TR
|
|
357
|
-
X-Request-Id: {{$guid}}
|
|
358
|
-
Content-Type: application/json
|
|
359
|
-
|
|
360
|
-
{}
|
|
361
|
-
|
|
362
|
-
###
|
|
363
|
-
|
|
364
|
-
### 5.3 Data
|
|
365
|
-
# Beklenen: `bankLimitInfo`, `exceedsBankLimit: true` (mapping’e göre).
|
|
366
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{idScopeEftExceeds}}/functions/data
|
|
367
|
-
Accept-Language: tr-TR
|
|
368
|
-
X-Request-Id: {{$guid}}
|
|
369
|
-
|
|
370
|
-
###
|
|
371
|
-
|
|
372
|
-
###############################################################################
|
|
373
|
-
# 6 — function-resolve-limit (Daily)
|
|
374
|
-
# Senaryo: user+scope+EFT; limitKey yok; yalnız scopeGroup+EFT
|
|
375
|
-
###############################################################################
|
|
376
|
-
|
|
377
|
-
### 6.1 Daily + limitKey=EFT + user + scope
|
|
378
|
-
# Beklenen: çözüm user+scope+EFT önceliğinde en dar geçerli aktif tanım (ör. user 25000); yapı ortamın published function’ına göre değişebilir.
|
|
379
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/function-resolve-limit?user=test-user&scope=burgantech&scopeGroup=kurumsal-test&type=Daily&limitKey=EFT
|
|
380
|
-
Accept-Language: tr-TR
|
|
381
|
-
X-Request-Id: {{$guid}}
|
|
382
|
-
|
|
383
|
-
###
|
|
384
|
-
|
|
385
|
-
### 6.2 Daily, limitKey yok
|
|
386
|
-
# Beklenen: genel günlük (limitKey’siz) hiyerarşi; user+scope genel satır veya üst seviye fallback.
|
|
387
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/function-resolve-limit?user=test-user&scope=burgantech&scopeGroup=kurumsal-test&type=Daily
|
|
388
|
-
Accept-Language: tr-TR
|
|
389
|
-
X-Request-Id: {{$guid}}
|
|
390
|
-
|
|
391
|
-
###
|
|
392
|
-
|
|
393
|
-
### 6.3 scopeGroup + EFT
|
|
394
|
-
# Beklenen: yalnız kurum/banka seviyesi sorgusu; user/scope olmadan scopeGroup+EFT aktif satırı (ör. 40000).
|
|
395
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/function-resolve-limit?scopeGroup=kurumsal-test&type=Daily&limitKey=EFT
|
|
396
|
-
Accept-Language: tr-TR
|
|
397
|
-
X-Request-Id: {{$guid}}
|
|
398
|
-
|
|
399
|
-
###
|