@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,163 +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-roles
|
|
5
|
-
|
|
6
|
-
###############################################################################
|
|
7
|
-
# get-roles (function)
|
|
8
|
-
###############################################################################
|
|
9
|
-
# get-roles WORKFLOW'unu (Workflows/get-roles/) tek bir GET istegiyle cagiran
|
|
10
|
-
# sarmalayici function. act_sub/sub/client_id/position degerlerini ONCE QUERY STRING'den,
|
|
11
|
-
# yoksa HEADER'dan okur (HeaderHelper.GetParam; bos query degeri = yok sayilir,
|
|
12
|
-
# key karsilastirmasi case-insensitive) ve bunlari header olarak forward ederek
|
|
13
|
-
# bir get-roles instance'ini SENKRON (sync=true) baslatir (client_id ZORUNLU:
|
|
14
|
-
# child akis consent'i user + client (+ client'in relationalClients'i) + scope ile
|
|
15
|
-
# arar, paylasimli consent-fetch mapping'i; position opsiyoneldir, yoksa forward
|
|
16
|
-
# edilmez). Response sadece
|
|
17
|
-
# { roles: [...] } doner — workflow instance'inin found/consentKey/position
|
|
18
|
-
# gibi ic detaylari disariya sizmaz. Opsiyonel "role" (query veya header)
|
|
19
|
-
# verilirse o role "roles" icinde aranir ve response'a "inRole" eklenir
|
|
20
|
-
# (check-consent-role'deki tek-role kontrolunun hafif bir karsiligi).
|
|
21
|
-
#
|
|
22
|
-
# HTTP status semantigi (GetRolesOutputHandler.csx, token'in output-mapping deseni):
|
|
23
|
-
# anonim cagiran -> 204 No Content: sub yok VE act_sub yok ya da IbWeb/IbAndroidApp/IbIosApp
|
|
24
|
-
# (login oncesi token; gateway authorize on-kontrolu bu header'larla gelir), role istenmemisse
|
|
25
|
-
# act_sub/client_id yok -> 403 Forbidden + { error } (GetRolesOutputHandler gate'i; InputHandler throw
|
|
26
|
-
# ETMEZ cunku InputHandler exception'i runtime'da her zaman 500 olur — sentinel
|
|
27
|
-
# act_sub/sub/client_id ile child consent-not-found-end'de temiz biter)
|
|
28
|
-
# client_id farkli client -> consent o client'a (veya relationalClients'ina) bagli degilse 204 (consent yok)
|
|
29
|
-
# inRole == false -> 403 Forbidden (role + bos roles da 403'tur, 204 degil)
|
|
30
|
-
# roles bos -> 204 No Content (body yok)
|
|
31
|
-
# diger -> 200; role verildiyse body SADECE { inRole: true },
|
|
32
|
-
# verilmediyse SADECE { roles: [...] } — ikisi ayni anda donmez
|
|
33
|
-
###############################################################################
|
|
34
|
-
|
|
35
|
-
### 1. Basarili - consent var, roller merge edilir (position + client_id header ile) — beklenen: { roles: [...] }
|
|
36
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}
|
|
37
|
-
act_sub: 41809307440
|
|
38
|
-
sub: def-inc
|
|
39
|
-
position: finance-manager
|
|
40
|
-
client_id: IbWeb
|
|
41
|
-
|
|
42
|
-
### 2. Basarili - position header'siz (org-tree merge atlanir, sadece consent.roles + scope.roles) — beklenen: { roles: [...] }
|
|
43
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}
|
|
44
|
-
act_sub: 41809307440
|
|
45
|
-
sub: def-inc
|
|
46
|
-
client_id: IbWeb
|
|
47
|
-
|
|
48
|
-
### 3. role header ile — roles icinde VAR olan bir role — beklenen: 200 + { inRole: true } (roles donmez)
|
|
49
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}
|
|
50
|
-
act_sub: 41809307440
|
|
51
|
-
sub: def-inc
|
|
52
|
-
position: finance-manager
|
|
53
|
-
client_id: IbAndroidApp
|
|
54
|
-
role: idm.full-authorized
|
|
55
|
-
|
|
56
|
-
### 4. role header ile — roles icinde OLMAYAN bir role — beklenen: 403 Forbidden (body yok)
|
|
57
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}
|
|
58
|
-
act_sub: 41809307440
|
|
59
|
-
sub: def-inc
|
|
60
|
-
position: finance-manager
|
|
61
|
-
client_id: IbWeb
|
|
62
|
-
role: idm.nonexistent-role
|
|
63
|
-
|
|
64
|
-
### 5. Eslesen aktif consent yok — get-roles instance'i consent-not-found-end'de biter — beklenen: 204 No Content (body yok)
|
|
65
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}
|
|
66
|
-
act_sub: no-such-employee
|
|
67
|
-
sub: no-such-customer
|
|
68
|
-
client_id: IbWeb
|
|
69
|
-
|
|
70
|
-
###############################################################################
|
|
71
|
-
# Eksik parametre — query'de de header'da da yok
|
|
72
|
-
###############################################################################
|
|
73
|
-
|
|
74
|
-
### 6. act_sub eksik — beklenen: 403 Forbidden + { "error": "act_sub, sub and client_id are required (query string or header)" }
|
|
75
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}
|
|
76
|
-
sub: def-inc
|
|
77
|
-
client_id: IbWeb
|
|
78
|
-
|
|
79
|
-
### 7. sub eksik, act_sub gercek bir kullanici — anonim degil; child'a sub=__missing__ gider — beklenen: 204 No Content
|
|
80
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}
|
|
81
|
-
act_sub: 41809307440
|
|
82
|
-
client_id: IbWeb
|
|
83
|
-
|
|
84
|
-
### 8. Ucu de eksik — beklenen: 403 Forbidden + { error } (client_id yok; anonim kapisi client_id ister)
|
|
85
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}
|
|
86
|
-
|
|
87
|
-
###############################################################################
|
|
88
|
-
# Anonim cagiran (login oncesi token: act_sub = client id, sub yok)
|
|
89
|
-
###############################################################################
|
|
90
|
-
|
|
91
|
-
### 8a. act_sub=IbWeb, sub yok — beklenen: 204 No Content (anonim; bos rol kumesi)
|
|
92
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}
|
|
93
|
-
act_sub: IbWeb
|
|
94
|
-
client_id: IbWeb
|
|
95
|
-
|
|
96
|
-
### 8b. act_sub bos (gateway act_sub: "" gonderir), sub yok — beklenen: 204 No Content
|
|
97
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}
|
|
98
|
-
act_sub:
|
|
99
|
-
client_id: IbWeb
|
|
100
|
-
|
|
101
|
-
### 8c. act_sub=IbAndroidApp, sub yok, role isteniyor — beklenen: 403 Forbidden (inRole=false; anonim 204 kapisi role varken devreye girmez)
|
|
102
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}
|
|
103
|
-
act_sub: IbAndroidApp
|
|
104
|
-
client_id: IbAndroidApp
|
|
105
|
-
role: idm.full-authorized
|
|
106
|
-
|
|
107
|
-
### 8d. act_sub=IbWeb ama sub DOLU — anonim degil, normal akis — beklenen: 204 (consent yok) veya 200
|
|
108
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}
|
|
109
|
-
act_sub: IbWeb
|
|
110
|
-
sub: def-inc
|
|
111
|
-
client_id: IbWeb
|
|
112
|
-
|
|
113
|
-
###############################################################################
|
|
114
|
-
# Query string ile (header yok)
|
|
115
|
-
###############################################################################
|
|
116
|
-
|
|
117
|
-
### 9. act_sub/sub/position/client_id query'de — beklenen: 200 + { roles: [...] } (senaryo 1 ile ayni)
|
|
118
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?act_sub=41809307440&sub=def-inc&position=finance-manager&client_id=IbWeb
|
|
119
|
-
|
|
120
|
-
### 10. role query'de — roles icinde VAR — beklenen: 200 + { inRole: true }
|
|
121
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?act_sub=41809307440&sub=def-inc&position=finance-manager&client_id=IbWeb&role=idm.full-authorized
|
|
122
|
-
|
|
123
|
-
### 11. role query'de — roles icinde YOK — beklenen: 403 Forbidden (senaryo 4 ile ayni)
|
|
124
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?act_sub=41809307440&sub=def-inc&client_id=IbWeb&role=idm.nonexistent-role
|
|
125
|
-
|
|
126
|
-
### 12. Oncelik — query header'i ezer: query'de gecerli, header'da eslesmeyen degerler — beklenen: 200 + { roles } (204 gelirse header kazanmistir = bug)
|
|
127
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?act_sub=41809307440&sub=def-inc&client_id=IbWeb
|
|
128
|
-
act_sub: no-such-employee
|
|
129
|
-
sub: no-such-customer
|
|
130
|
-
client_id: no-such-client
|
|
131
|
-
|
|
132
|
-
### 13. Karma kaynak — act_sub query'de, sub ve client_id header'da — beklenen: 200 + { roles }
|
|
133
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?act_sub=41809307440
|
|
134
|
-
sub: def-inc
|
|
135
|
-
client_id: IbWeb
|
|
136
|
-
|
|
137
|
-
### 14. Bos query degeri header'a duser — ?act_sub= bos, header'da dolu — beklenen: 200 + { roles }
|
|
138
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?act_sub=&sub=def-inc&client_id=IbWeb
|
|
139
|
-
act_sub: 41809307440
|
|
140
|
-
|
|
141
|
-
### 15. Bos query degeri + header da yok — beklenen: 403 Forbidden + { error }
|
|
142
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?act_sub=&sub=def-inc&client_id=IbWeb
|
|
143
|
-
|
|
144
|
-
### 16. Query key buyuk/kucuk harf duyarsiz — beklenen: 200 + { roles }
|
|
145
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?Act_Sub=41809307440&SUB=def-inc&Client_Id=IbWeb
|
|
146
|
-
|
|
147
|
-
### 17. Eslesen consent yok (query) — beklenen: 204 No Content
|
|
148
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?act_sub=no-such-employee&sub=no-such-customer&client_id=IbWeb
|
|
149
|
-
|
|
150
|
-
###############################################################################
|
|
151
|
-
# client_id — zorunlu parametre ve client filtresi (paylasimli consent-fetch)
|
|
152
|
-
###############################################################################
|
|
153
|
-
|
|
154
|
-
### 18. client_id eksik (query'de de header'da da yok) — beklenen: 403 Forbidden + { "error": "act_sub, sub and client_id are required (query string or header)" }
|
|
155
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}
|
|
156
|
-
act_sub: 41809307440
|
|
157
|
-
sub: def-inc
|
|
158
|
-
|
|
159
|
-
### 19. client_id consent'in client'i degil ve relationalClients'inda da yok — consent bulunmaz — beklenen: 204 No Content
|
|
160
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}
|
|
161
|
-
act_sub: 41809307440
|
|
162
|
-
sub: def-inc
|
|
163
|
-
client_id: no-such-client
|
|
@@ -1,126 +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-customer-by-filter
|
|
5
|
-
|
|
6
|
-
###############################################################################
|
|
7
|
-
# get-customer-by-filter
|
|
8
|
-
###############################################################################
|
|
9
|
-
# Searches for a customer via CustomerManagement REST API (priority-based),
|
|
10
|
-
# with fallback to Pusula REST API when CM returns no result and citizenshipNo provided.
|
|
11
|
-
# Mirrors Provider_Bff SearchCustomerAsync + DODGE GetCustomerByFilter 1-1.
|
|
12
|
-
#
|
|
13
|
-
# Priority order (CM):
|
|
14
|
-
# 1. citizenshipNo → GET customer-general/identity-no/{citizenshipNo}
|
|
15
|
-
# 2. taxNo → GET customer-general/identity-no/{taxNo}
|
|
16
|
-
# 3. customerNumber → GET customer-general/customer-no/{customerNumber}
|
|
17
|
-
# 4. name+surname+birthDate → GET customer-general/name/.../surname/.../birthdate/...
|
|
18
|
-
# 5. phoneAreaCode+phoneCode → GET customer-general/phone/...
|
|
19
|
-
#
|
|
20
|
-
# Pusula fallback:
|
|
21
|
-
# Triggered only when CM returns no result AND citizenshipNo is provided.
|
|
22
|
-
# GET customer/fullprofile/{citizenshipNo}
|
|
23
|
-
#
|
|
24
|
-
# URL pattern:
|
|
25
|
-
# GET /api/v1/morph-idm/functions/get-customer-by-filter?{queryParams}
|
|
26
|
-
###############################################################################
|
|
27
|
-
|
|
28
|
-
###############################################################################
|
|
29
|
-
# 1. TC Kimlik No ile ara (Priority 1 - CM)
|
|
30
|
-
###############################################################################
|
|
31
|
-
|
|
32
|
-
### 1.1 Vatandaşlık numarasıyla müşteri ara
|
|
33
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?citizenshipNo=44176742296
|
|
34
|
-
Accept-Language: tr-TR
|
|
35
|
-
|
|
36
|
-
###############################################################################
|
|
37
|
-
# 2. Vergi No ile ara (Priority 2 - CM)
|
|
38
|
-
###############################################################################
|
|
39
|
-
|
|
40
|
-
### 2.1 Vergi numarasıyla müşteri ara
|
|
41
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?taxNo=1234567890
|
|
42
|
-
Accept-Language: tr-TR
|
|
43
|
-
|
|
44
|
-
###############################################################################
|
|
45
|
-
# 3. Müşteri numarasıyla ara (Priority 3 - CM)
|
|
46
|
-
###############################################################################
|
|
47
|
-
|
|
48
|
-
### 3.1 Müşteri numarasıyla müşteri ara
|
|
49
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?customerNumber=1234567
|
|
50
|
-
Accept-Language: tr-TR
|
|
51
|
-
|
|
52
|
-
###############################################################################
|
|
53
|
-
# 4. Ad + Soyad + Doğum Tarihi ile ara (Priority 4 - CM)
|
|
54
|
-
###############################################################################
|
|
55
|
-
|
|
56
|
-
### 4.1 Ad soyad ve doğum tarihiyle müşteri ara
|
|
57
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?name=Ali&surname=Veli&birthDate=1985-06-15
|
|
58
|
-
Accept-Language: tr-TR
|
|
59
|
-
|
|
60
|
-
###############################################################################
|
|
61
|
-
# 5. Telefon Numarasıyla ara (Priority 5 - CM)
|
|
62
|
-
###############################################################################
|
|
63
|
-
|
|
64
|
-
### 5.1 Telefon numarasıyla müşteri ara
|
|
65
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?phoneCountryCode=90&phoneAreaCode=532&phoneCode=1234567
|
|
66
|
-
Accept-Language: tr-TR
|
|
67
|
-
|
|
68
|
-
###############################################################################
|
|
69
|
-
# 6. Pusula Fallback — CM bulamazsa Pusula devreye girer
|
|
70
|
-
# (citizenshipNo verilmeli, CM'de kayıt olmamalı)
|
|
71
|
-
###############################################################################
|
|
72
|
-
|
|
73
|
-
### 6.1 Sadece Pusula'da olan müşteri (contact) TC kimlikle ara
|
|
74
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?citizenshipNo=99999999999
|
|
75
|
-
Accept-Language: tr-TR
|
|
76
|
-
|
|
77
|
-
###############################################################################
|
|
78
|
-
# 7. Hata senaryoları
|
|
79
|
-
###############################################################################
|
|
80
|
-
|
|
81
|
-
### 7.1 Geçersiz istek — hiç kriter yok → "Lütfen bir değer giriniz."
|
|
82
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}
|
|
83
|
-
Accept-Language: tr-TR
|
|
84
|
-
|
|
85
|
-
### 7.2 Eksik isim bilgisi — sadece ad var, soyad/doğum tarihi yok → "Ad, Soyad ve Doğum Tarihi birlikte kullanılmalıdır."
|
|
86
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?name=Ali
|
|
87
|
-
Accept-Language: tr-TR
|
|
88
|
-
|
|
89
|
-
###############################################################################
|
|
90
|
-
# Beklenen başarılı response:
|
|
91
|
-
# {
|
|
92
|
-
# "result": [
|
|
93
|
-
# {
|
|
94
|
-
# "externalClientNo": 1234567,
|
|
95
|
-
# "mainBranchCode": 9530,
|
|
96
|
-
# "name": "Ali",
|
|
97
|
-
# "middleName": null,
|
|
98
|
-
# "surname": "Veli",
|
|
99
|
-
# "fatherName": "Hasan",
|
|
100
|
-
# "birthDate": "15.06.1985",
|
|
101
|
-
# "birthPlace": "İstanbul",
|
|
102
|
-
# "citizenshipNumber": "12345678901",
|
|
103
|
-
# "taxNo": null,
|
|
104
|
-
# "identityNo": "AB123456",
|
|
105
|
-
# "shortName": "Ali Veli",
|
|
106
|
-
# "mobileNumber": "90 532 1234567",
|
|
107
|
-
# "username": "12345678901",
|
|
108
|
-
# "businessLine": "X",
|
|
109
|
-
# "atmCustomerGroup": "7",
|
|
110
|
-
# "isPrivateBanking": 2,
|
|
111
|
-
# "customerGroup": "",
|
|
112
|
-
# "portfolioCode": "",
|
|
113
|
-
# "firstRelationDate": 0,
|
|
114
|
-
# "isCustomer": false,
|
|
115
|
-
# "isContact": false,
|
|
116
|
-
# "isBankStaff": false,
|
|
117
|
-
# "customerId": 0,
|
|
118
|
-
# "bhsVersion": null,
|
|
119
|
-
# "firmName": null,
|
|
120
|
-
# "emailAddress": null
|
|
121
|
-
# }
|
|
122
|
-
# ],
|
|
123
|
-
# "totalCount": 1,
|
|
124
|
-
# "nextLink": ""
|
|
125
|
-
# }
|
|
126
|
-
###############################################################################
|
package/morph-idm/Functions/customer-management/get-firms-by-filter/execute/get-firms-by-filter.http
DELETED
|
@@ -1,91 +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-firms-by-filter
|
|
5
|
-
|
|
6
|
-
###############################################################################
|
|
7
|
-
# get-firms-by-filter — Firma Sorgulama (TFS wiki #5855) — İNCE KABUK
|
|
8
|
-
###############################################################################
|
|
9
|
-
# Bu function LOGIC İÇERMEZ: task1 StartTask(11) ile firm-query FLOW'unu sync başlatır,
|
|
10
|
-
# task2 GetInstanceData(13) ile flow sonucunu okur, output {success,result[],totalCount,nextLink} döner.
|
|
11
|
-
# Tüm kriter dallanması + LOKAL person sorgusu firm-query flow'unda (Workflows/user-corporate/firm-query).
|
|
12
|
-
# Kaynak LOKAL firma person instance'ları (person-firm-cdc-dispatch persist eder); CM'e GİDİLMEZ (HARD CUT
|
|
13
|
-
# — 2026-08-21 kararı; hedef ortamda CDC ilk yükü tamamlanmış olmalı, yoksa sonuçlar boş döner).
|
|
14
|
-
#
|
|
15
|
-
# Kriter önceliği (flow route-criterion gateway) → GetInstances filtresi (person flow):
|
|
16
|
-
# 1. customerNo → key eq {customerNo} + currentState eq active (tekil)
|
|
17
|
-
# 2. vkn → attributes.taxNo eq {vkn} + currentState eq active (tekil; taxNo yalnız firmada)
|
|
18
|
-
# 3. firmName → attributes.name.short like {..} + currentState eq active (liste, sayfalı; ILIKE contains)
|
|
19
|
-
#
|
|
20
|
-
# Çıktı: { "success": true, "result": [ <CM alan adlarıyla firma kaydı> ], "totalCount": n, "nextLink": ""|"next" }
|
|
21
|
-
# (item alanları: firmName(=name.full), shortName(=name.short), taxNo(=VKN), externalClientNo, mainBranchCode, businessLine)
|
|
22
|
-
# NOT: totalCount SAYFA-YERELDİR (motor GetInstances için kesin toplam dönmez); nextLink="next" sayfa dolu geldiğinde.
|
|
23
|
-
#
|
|
24
|
-
# URL: GET /api/v1/morph-idm/functions/get-firms-by-filter?{queryParams}
|
|
25
|
-
###############################################################################
|
|
26
|
-
|
|
27
|
-
### 1. Müşteri Numarası ile ara (Öncelik 1 — tekil)
|
|
28
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?customerNo=37023103
|
|
29
|
-
Accept-Language: tr-TR
|
|
30
|
-
|
|
31
|
-
### 2. VKN ile ara (Öncelik 2 — tekil)
|
|
32
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?vkn=7811113358
|
|
33
|
-
Accept-Language: tr-TR
|
|
34
|
-
|
|
35
|
-
### 3. Firma Adı ile ara (Öncelik 3 — çoklu / sayfalı)
|
|
36
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?firmName=BURGAN
|
|
37
|
-
Accept-Language: tr-TR
|
|
38
|
-
|
|
39
|
-
### 3.1 Firma Adı + sayfalama
|
|
40
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?firmName=BURGAN&pageNumber=1&pageSize=10
|
|
41
|
-
Accept-Language: tr-TR
|
|
42
|
-
|
|
43
|
-
### 4. Hata — hiç kriter yok → "Lütfen bir değer giriniz."
|
|
44
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}
|
|
45
|
-
Accept-Language: tr-TR
|
|
46
|
-
|
|
47
|
-
### 5. Bulunamayan — boş liste (success:true, result:[], totalCount:0)
|
|
48
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?customerNo=00000000
|
|
49
|
-
Accept-Language: tr-TR
|
|
50
|
-
|
|
51
|
-
###############################################################################
|
|
52
|
-
# 6. Birden fazla kriter birlikte → ÖNCELİK uygulanır (customerNo > vkn > firmName).
|
|
53
|
-
# Sorun olmaz: hem InputHandler hem OutputHandler AYNI önceliği kullanır, tutarlı.
|
|
54
|
-
###############################################################################
|
|
55
|
-
|
|
56
|
-
### 6.1 Üçü birlikte → customerNo kazanır (customer-no, tekil). vkn/firmName yok sayılır.
|
|
57
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?customerNo=37023103&vkn=7811113358&firmName=BURGAN
|
|
58
|
-
Accept-Language: tr-TR
|
|
59
|
-
|
|
60
|
-
### 6.2 vkn + firmName (customerNo yok) → vkn kazanır (identity-no, tekil). firmName yok sayılır.
|
|
61
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?vkn=7811113358&firmName=BURGAN
|
|
62
|
-
Accept-Language: tr-TR
|
|
63
|
-
|
|
64
|
-
### 6.3 customerNo + firmName → customerNo kazanır (tekil). firmName yok sayılır.
|
|
65
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?customerNo=37023103&firmName=BURGAN
|
|
66
|
-
Accept-Language: tr-TR
|
|
67
|
-
|
|
68
|
-
###############################################################################
|
|
69
|
-
# Beklenen başarılı response (tekil — customerNo/vkn): result[] = customerGeneralInfo kaydı AYNEN
|
|
70
|
-
# {
|
|
71
|
-
# "success": true,
|
|
72
|
-
# "result": [
|
|
73
|
-
# {
|
|
74
|
-
# "id": 5003178536,
|
|
75
|
-
# "externalClientNo": 37023103,
|
|
76
|
-
# "mainBranchCode": 9076,
|
|
77
|
-
# "customerType": 2,
|
|
78
|
-
# "firmName": "Burgan Bank test A.ş.",
|
|
79
|
-
# "shortName": "Burgan Bank test A.ş.",
|
|
80
|
-
# "taxNo": "7811113358",
|
|
81
|
-
# "identityNo": "",
|
|
82
|
-
# "citizenshipNumber": "",
|
|
83
|
-
# "businessLine": "M"
|
|
84
|
-
# /* ... servisin döndürdüğü diğer alanlar aynen ... */
|
|
85
|
-
# }
|
|
86
|
-
# ],
|
|
87
|
-
# "totalCount": 1,
|
|
88
|
-
# "nextLink": ""
|
|
89
|
-
# }
|
|
90
|
-
# (firmName ile çoklu sorguda result[] = like-shortname'in düz firma dizisi, alanlar aynen.)
|
|
91
|
-
###############################################################################
|
|
@@ -1,141 +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 = forget
|
|
5
|
-
@workflow = device
|
|
6
|
-
@userKey = 12345678900
|
|
7
|
-
@deviceId = da-e2e-device-1
|
|
8
|
-
@installationId = da-e2e-inst-1
|
|
9
|
-
|
|
10
|
-
###############################################################################
|
|
11
|
-
# forget
|
|
12
|
-
###############################################################################
|
|
13
|
-
# Domain-scoped (scope D) MUTATING function: kayıtlı (registered) cihazdaki
|
|
14
|
-
# hatırlanan kullanıcıyı kaldırır — device'ın unassign-user transition'ını
|
|
15
|
-
# tetikler (registered -> saved, user.key = null). Cihaz kaydı silinmez,
|
|
16
|
-
# anonimleşir; user-login'in remembered lookup'ı (registered-only filtre)
|
|
17
|
-
# artık eşleşmez -> standart login view döner, yeni kullanıcı normal OTP
|
|
18
|
-
# zinciriyle (device-assign) cihaza atanır.
|
|
19
|
-
#
|
|
20
|
-
# Pre-auth çağrılır (login ekranındaki "farklı kullanıcı ile giriş" yolu).
|
|
21
|
-
# Bilinçli kabul: deviceId+installationId bilen unassign yapabilir — bu bir
|
|
22
|
-
# de-eskalasyondur (remembered/1FA -> tam OTP akışı), yetki yükseltmez.
|
|
23
|
-
#
|
|
24
|
-
# Önkoşul: cihaz registered olmalı. Ya user-login-device-assign.http bölüm 1-2
|
|
25
|
-
# ile (deviceId da-e2e-device-1 / installationId da-e2e-inst-1 uyumlu) ya da
|
|
26
|
-
# aşağıdaki seed adımlarıyla hazırlanır.
|
|
27
|
-
#
|
|
28
|
-
# URL pattern:
|
|
29
|
-
# GET /api/v1/morph-idm/functions/forget?deviceId={id}&installationId={id}
|
|
30
|
-
###############################################################################
|
|
31
|
-
|
|
32
|
-
###############################################################################
|
|
33
|
-
# Seed (alternatif): registered cihaz kur
|
|
34
|
-
###############################################################################
|
|
35
|
-
|
|
36
|
-
### 1) Start device (saved)
|
|
37
|
-
# @name startDevice
|
|
38
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
39
|
-
Accept-Language: tr-TR
|
|
40
|
-
X-Request-Id: {{$guid}}
|
|
41
|
-
Content-Type: application/json
|
|
42
|
-
|
|
43
|
-
{
|
|
44
|
-
"key": "device-{{deviceId}}",
|
|
45
|
-
"tags": ["mobile", "forget-e2e"],
|
|
46
|
-
"attributes": {
|
|
47
|
-
"deviceId": "{{deviceId}}",
|
|
48
|
-
"installationId": "{{installationId}}",
|
|
49
|
-
"clientId": "IbAndroidApp",
|
|
50
|
-
"deviceInfo": {
|
|
51
|
-
"osName": "Android",
|
|
52
|
-
"osVersion": "14",
|
|
53
|
-
"deviceModel": "Galaxy S24",
|
|
54
|
-
"manufacturer": "Samsung",
|
|
55
|
-
"language": "tr-TR",
|
|
56
|
-
"timezone": "Europe/Istanbul"
|
|
57
|
-
},
|
|
58
|
-
"appVersion": "3.0.0"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
###
|
|
63
|
-
@instanceId = {{startDevice.response.body.id}}
|
|
64
|
-
|
|
65
|
-
### 2) Assign user (saved -> registered)
|
|
66
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/assign-user?sync=true
|
|
67
|
-
Accept-Language: tr-TR
|
|
68
|
-
X-Request-Id: {{$guid}}
|
|
69
|
-
user_reference: {{userKey}}
|
|
70
|
-
Content-Type: application/json
|
|
71
|
-
|
|
72
|
-
{
|
|
73
|
-
"attributes": {
|
|
74
|
-
"user": {
|
|
75
|
-
"domain": "morph-idm",
|
|
76
|
-
"workflow": "user",
|
|
77
|
-
"key": "{{userKey}}",
|
|
78
|
-
"version": "1.0.0"
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
###############################################################################
|
|
84
|
-
# Function calls
|
|
85
|
-
###############################################################################
|
|
86
|
-
|
|
87
|
-
### 3) Happy path — registered cihazdaki kullanıcı kaldırılır
|
|
88
|
-
# Expected: 200 { "removed": true, "deviceId": "...", "installationId": "..." }
|
|
89
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?deviceId={{deviceId}}&installationId={{installationId}}
|
|
90
|
-
Accept-Language: tr-TR
|
|
91
|
-
X-Request-Id: {{$guid}}
|
|
92
|
-
|
|
93
|
-
### 4) Doğrulama: device state = saved, data.user.key = null
|
|
94
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
|
|
95
|
-
Accept-Language: tr-TR
|
|
96
|
-
X-Request-Id: {{$guid}}
|
|
97
|
-
|
|
98
|
-
###
|
|
99
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/data
|
|
100
|
-
Accept-Language: tr-TR
|
|
101
|
-
X-Request-Id: {{$guid}}
|
|
102
|
-
|
|
103
|
-
### 5) Remembered regresyonu: aynı cihazla user-login start
|
|
104
|
-
# Expected: rememberedUserFound = false, aktif view = user-login-login (standart)
|
|
105
|
-
# @name startAfterForget
|
|
106
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/start?sync=true
|
|
107
|
-
Accept-Language: tr-TR
|
|
108
|
-
X-Request-Id: {{$guid}}
|
|
109
|
-
Content-Type: application/json
|
|
110
|
-
|
|
111
|
-
{
|
|
112
|
-
"key": "login-after-forget-{{$timestamp}}-{{$randomInt 1000 9999}}",
|
|
113
|
-
"tags": ["test", "login", "forget"],
|
|
114
|
-
"attributes": {
|
|
115
|
-
"clientId": "IbAndroidApp",
|
|
116
|
-
"grantType": "authorization_code",
|
|
117
|
-
"scopes": ["IbCustomer"],
|
|
118
|
-
"deviceId": "{{deviceId}}",
|
|
119
|
-
"installationId": "{{installationId}}"
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
###
|
|
124
|
-
@loginInstanceId = {{startAfterForget.response.body.id}}
|
|
125
|
-
|
|
126
|
-
###
|
|
127
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user-login/instances/{{loginInstanceId}}/functions/data
|
|
128
|
-
Accept-Language: tr-TR
|
|
129
|
-
X-Request-Id: {{$guid}}
|
|
130
|
-
|
|
131
|
-
### 6) Negatif: tekrar çağrı (cihaz artık saved, registered eşleşme yok)
|
|
132
|
-
# Expected: 404 { "removed": false, "reason": "device-not-found", ... }
|
|
133
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?deviceId={{deviceId}}&installationId={{installationId}}
|
|
134
|
-
Accept-Language: tr-TR
|
|
135
|
-
X-Request-Id: {{$guid}}
|
|
136
|
-
|
|
137
|
-
### 7) Negatif: parametre eksik
|
|
138
|
-
# Expected: hata (ForgetStep1SearchMapping ArgumentException)
|
|
139
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?deviceId={{deviceId}}
|
|
140
|
-
Accept-Language: tr-TR
|
|
141
|
-
X-Request-Id: {{$guid}}
|
|
@@ -1,138 +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-device-list
|
|
5
|
-
@workflow = device
|
|
6
|
-
@userKey = 70858126658
|
|
7
|
-
@scopeKey = 20183007
|
|
8
|
-
@deviceId = device-list-{{$timestamp}}
|
|
9
|
-
@installationId = {{$guid}}
|
|
10
|
-
|
|
11
|
-
###############################################################################
|
|
12
|
-
# get-device-list
|
|
13
|
-
###############################################################################
|
|
14
|
-
# Domain-scoped (scope D) read-only replacement for GET /userDevice/list/{reference}
|
|
15
|
-
# (legacy getDeviceList). Lists the caller's REGISTERED devices as a BARE PascalCase
|
|
16
|
-
# DeviceInfo array (legacy-compatible: Status=10, iPhone model map applied). Each
|
|
17
|
-
# row's Id is the vNext device instance id — the input for the device-unpair flow.
|
|
18
|
-
#
|
|
19
|
-
# act_sub/sub: QUERY STRING first, header fallback.
|
|
20
|
-
# userKey = act_sub (individual: act_sub == sub)
|
|
21
|
-
# userKey = act_sub + "-" + sub (corporate: act_sub != sub)
|
|
22
|
-
#
|
|
23
|
-
# URL pattern:
|
|
24
|
-
# GET /api/v1/morph-idm/functions/get-device-list?act_sub={actSub}&sub={sub}
|
|
25
|
-
# Gateway: DMZ digital channel GET /digitalbanking/morph-idm/functions/get-device-list
|
|
26
|
-
# (DMZ strips client act_sub/sub; internal general-digital introspection re-injects
|
|
27
|
-
# them as trusted headers -> function reads them via the header fallback)
|
|
28
|
-
###############################################################################
|
|
29
|
-
|
|
30
|
-
###############################################################################
|
|
31
|
-
# Seed: create a registered iOS device for {{userKey}}
|
|
32
|
-
###############################################################################
|
|
33
|
-
|
|
34
|
-
### 1) Start device (saved) — IbIosApp, raw Apple model code (tests the model map)
|
|
35
|
-
# @name startDevice
|
|
36
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
37
|
-
Accept-Language: tr-TR
|
|
38
|
-
X-Request-Id: {{$guid}}
|
|
39
|
-
X-Device-Id: {{deviceId}}
|
|
40
|
-
Content-Type: application/json
|
|
41
|
-
|
|
42
|
-
{
|
|
43
|
-
"key": "device-{{deviceId}}",
|
|
44
|
-
"tags": ["ios", "mobile", "get-device-list"],
|
|
45
|
-
"attributes": {
|
|
46
|
-
"deviceId": "{{deviceId}}",
|
|
47
|
-
"installationId": "{{installationId}}",
|
|
48
|
-
"clientId": "IbIosApp",
|
|
49
|
-
"deviceInfo": {
|
|
50
|
-
"osName": "iOS",
|
|
51
|
-
"osVersion": "17.1",
|
|
52
|
-
"deviceModel": "iPhone14,2",
|
|
53
|
-
"manufacturer": "Apple",
|
|
54
|
-
"language": "tr-TR",
|
|
55
|
-
"timezone": "Europe/Istanbul"
|
|
56
|
-
},
|
|
57
|
-
"appVersion": "3.0.0"
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
###
|
|
62
|
-
@instanceId = {{startDevice.response.body.id}}
|
|
63
|
-
|
|
64
|
-
### 2) Assign user (saved -> registered)
|
|
65
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/assign-user?sync=true
|
|
66
|
-
Accept-Language: tr-TR
|
|
67
|
-
X-Request-Id: {{$guid}}
|
|
68
|
-
user_reference: {{userKey}}
|
|
69
|
-
Content-Type: application/json
|
|
70
|
-
|
|
71
|
-
{
|
|
72
|
-
"attributes": {
|
|
73
|
-
"user": {
|
|
74
|
-
"domain": "morph-idm",
|
|
75
|
-
"workflow": "user",
|
|
76
|
-
"key": "{{userKey}}",
|
|
77
|
-
"version": "1.0.0"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
###############################################################################
|
|
83
|
-
# Function calls
|
|
84
|
-
###############################################################################
|
|
85
|
-
|
|
86
|
-
### 3) Happy path — individual user, query string params
|
|
87
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?act_sub={{userKey}}&sub={{scopeKey}}
|
|
88
|
-
Accept-Language: tr-TR
|
|
89
|
-
X-Request-Id: {{$guid}}
|
|
90
|
-
|
|
91
|
-
###############################################################################
|
|
92
|
-
# Expected: 200, bare PascalCase array (legacy DeviceInfo contract):
|
|
93
|
-
# [
|
|
94
|
-
# {
|
|
95
|
-
# "Id": "<device instance id — device-unpair input>",
|
|
96
|
-
# "Model": "iPhone 13 Pro", <- iPhone14,2 mapped
|
|
97
|
-
# "Platform": "iOS",
|
|
98
|
-
# "Version": "17.1",
|
|
99
|
-
# "Manufacturer": "Apple",
|
|
100
|
-
# "Description": null,
|
|
101
|
-
# "Status": 10, <- legacy DeviceStatusType.Active
|
|
102
|
-
# "DeviceId": "...",
|
|
103
|
-
# "LastLogonDate": null,
|
|
104
|
-
# "RegistrationDate": "...",
|
|
105
|
-
# "ActivationRemovalDate": null,
|
|
106
|
-
# "CreatedByUserName": "26389262884"
|
|
107
|
-
# }
|
|
108
|
-
# ]
|
|
109
|
-
###############################################################################
|
|
110
|
-
|
|
111
|
-
### 4) Header fallback — act_sub/sub as headers (as APISIX would forward without rewrite)
|
|
112
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}
|
|
113
|
-
Accept-Language: tr-TR
|
|
114
|
-
X-Request-Id: {{$guid}}
|
|
115
|
-
act_sub: {{userKey}}
|
|
116
|
-
sub: {{userKey}}
|
|
117
|
-
|
|
118
|
-
### 5) Query beats header — query {{userKey}} wins over bogus header
|
|
119
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?act_sub={{userKey}}&sub={{userKey}}
|
|
120
|
-
Accept-Language: tr-TR
|
|
121
|
-
X-Request-Id: {{$guid}}
|
|
122
|
-
act_sub: 99999999999
|
|
123
|
-
sub: 99999999999
|
|
124
|
-
|
|
125
|
-
### 6) Corporate — act_sub != sub, userKey = {{userKey}}-{{scopeKey}}
|
|
126
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?act_sub={{userKey}}&sub={{scopeKey}}
|
|
127
|
-
Accept-Language: tr-TR
|
|
128
|
-
X-Request-Id: {{$guid}}
|
|
129
|
-
|
|
130
|
-
### 7) Missing params — expected: 403 { "error": "act_sub and sub are required (query string or header)" }
|
|
131
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}
|
|
132
|
-
Accept-Language: tr-TR
|
|
133
|
-
X-Request-Id: {{$guid}}
|
|
134
|
-
|
|
135
|
-
### 8) Unknown user — expected: 200 [] (legacy 404 "User Not Found" is not reproduced)
|
|
136
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/functions/{{function}}?act_sub=99999999999&sub=99999999999
|
|
137
|
-
Accept-Language: tr-TR
|
|
138
|
-
X-Request-Id: {{$guid}}
|