@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,266 +0,0 @@
|
|
|
1
|
-
### Variables
|
|
2
|
-
@baseUrl = http://localhost:4251
|
|
3
|
-
@apiVersion = v1
|
|
4
|
-
@domain = morph-idm
|
|
5
|
-
@workflow = person-firm-cdc-dispatch
|
|
6
|
-
@extNo = 766
|
|
7
|
-
### eventTime 2026-09-13T15:40:12.2967967+03:00 → UTC 12:40:12.2967967 → sequence (yyyyMMddHHmmssfffffff)
|
|
8
|
-
@eventTime = 2026-09-13T15:40:12.2967967+03:00
|
|
9
|
-
@seq = 202609131240122967967
|
|
10
|
-
|
|
11
|
-
### -----------------------------------------------------------------------------
|
|
12
|
-
### FİRMA CDC dispatcher (UPSERT, SCOPE-ÖNCE). Topic jupiter.corporate-customers-mobile-info (JUPITER Kafka,
|
|
13
|
-
### pubsub morph-idm-kafka-jupiter-pubsub) → Dapr Subscription morph-idm-firm-cdc-sub (rawPayload:false)
|
|
14
|
-
### → events endpoint'i.
|
|
15
|
-
### ZARF (gerçek mesaj, 2026-09-13): yapısal Dapr CloudEvent — producer cm-customergeneral. Motor
|
|
16
|
-
### (EventAppService.UnwrapCloudEvent) data'yı açar; mapping DÜZ kaydı görür:
|
|
17
|
-
### { eventTime, externalClientNo, firmName, shortName, taxNo, mainBranchCode,
|
|
18
|
-
### recordStatus(A/P), operation(INSERT/UPDATE/DELETE), hasMobApproval, unitStatus }
|
|
19
|
-
### Aşağıdaki istekler tel üzerindeki CloudEvent şeklini gönderir (unwrap yolu da test edilir);
|
|
20
|
-
### 7 no'lu istek düz kaydı zarfsız gönderir (doğrudan çağıran / açılmış şekil).
|
|
21
|
-
### SIRA: önce SCOPE (yoksa create+publish; P/DELETE'te pasifleştir, A'da reaktive et),
|
|
22
|
-
### scope garanti edildikten SONRA PERSON (create+publish / update / pasif-aktif eşleme).
|
|
23
|
-
### Scope olmadan person OLMAZ; scope create başarısızsa person'a dokunulmaz.
|
|
24
|
-
### recordStatus person'a/scope'a VERİ olarak yazılmaz: A→active, P→passive (state eşleme).
|
|
25
|
-
### Instance key {externalClientNo}-{eventTime UTC yyyyMMddHHmmssfffffff} → redelivery idempotent.
|
|
26
|
-
### unitStatus GATE DEĞİL (dispatcher instance'ında iz; !=2 ise uyarı logu).
|
|
27
|
-
###
|
|
28
|
-
### DİKKAT: events endpoint yanıtı Dapr protokol gövdesidir → "status": "SUCCESS" | "DROP" alanına bak.
|
|
29
|
-
### Sonuç kontrolü: person + scope instance'larını 8/9 no'lu isteklerle sorgula.
|
|
30
|
-
### -----------------------------------------------------------------------------
|
|
31
|
-
|
|
32
|
-
### 1) INSERT, recordStatus=A → ÖNCE scope create+publish, SONRA person create+publish (ikisi de active)
|
|
33
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/events?action=start&sync=true
|
|
34
|
-
Content-Type: application/json
|
|
35
|
-
|
|
36
|
-
{
|
|
37
|
-
"specversion": "1.0",
|
|
38
|
-
"id": "70a2397b-02f2-4fa9-a183-da19eaab6e6d",
|
|
39
|
-
"source": "cm-customergeneral",
|
|
40
|
-
"type": "com.dapr.event.sent",
|
|
41
|
-
"datacontenttype": "application/json",
|
|
42
|
-
"pubsubname": "asgard-jupiter-cdc-pub-sub",
|
|
43
|
-
"topic": "jupiter.corporate-customers-mobile-info",
|
|
44
|
-
"time": "2026-09-13T12:40:12Z",
|
|
45
|
-
"data": {
|
|
46
|
-
"eventTime": "{{eventTime}}",
|
|
47
|
-
"externalClientNo": {{extNo}},
|
|
48
|
-
"firmName": "GARANTİ-KOZA İNŞAAT SAN VE TİC A.Ş",
|
|
49
|
-
"shortName": "GARANTİ-KOZA İNŞ.SAN",
|
|
50
|
-
"taxNo": "3890006679",
|
|
51
|
-
"mainBranchCode": 9027,
|
|
52
|
-
"recordStatus": "A",
|
|
53
|
-
"operation": "INSERT",
|
|
54
|
-
"hasMobApproval": true,
|
|
55
|
-
"unitStatus": 2
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
### 1a) Dispatcher state — BEKLENEN: completed-end (önce scope create+publish, sonra person
|
|
60
|
-
### create+publish; durumlar uyumlu)
|
|
61
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{extNo}}-{{seq}}/functions/state
|
|
62
|
-
|
|
63
|
-
### 2) REDELIVERY — 1 ile AYNI eventTime → aynı instance key, idempotent (yeni iş yapılmaz)
|
|
64
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/events?action=start&sync=true
|
|
65
|
-
Content-Type: application/json
|
|
66
|
-
|
|
67
|
-
{
|
|
68
|
-
"specversion": "1.0",
|
|
69
|
-
"id": "11111111-2222-4333-8444-555555555555",
|
|
70
|
-
"source": "cm-customergeneral",
|
|
71
|
-
"type": "com.dapr.event.sent",
|
|
72
|
-
"datacontenttype": "application/json",
|
|
73
|
-
"pubsubname": "asgard-jupiter-cdc-pub-sub",
|
|
74
|
-
"topic": "jupiter.corporate-customers-mobile-info",
|
|
75
|
-
"time": "2026-09-13T12:40:12Z",
|
|
76
|
-
"data": {
|
|
77
|
-
"eventTime": "{{eventTime}}",
|
|
78
|
-
"externalClientNo": {{extNo}},
|
|
79
|
-
"firmName": "GARANTİ-KOZA İNŞAAT SAN VE TİC A.Ş",
|
|
80
|
-
"shortName": "GARANTİ-KOZA İNŞ.SAN",
|
|
81
|
-
"taxNo": "3890006679",
|
|
82
|
-
"mainBranchCode": 9027,
|
|
83
|
-
"recordStatus": "A",
|
|
84
|
-
"operation": "INSERT",
|
|
85
|
-
"hasMobApproval": true,
|
|
86
|
-
"unitStatus": 2
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
### 3) UPDATE — firma adı + hasMobApproval değişti → scope var+aktif → lastSyncAt tazelenir
|
|
91
|
-
### (refresh-scope-sync) → person update → completed-end
|
|
92
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/events?action=start&sync=true
|
|
93
|
-
Content-Type: application/json
|
|
94
|
-
|
|
95
|
-
{
|
|
96
|
-
"specversion": "1.0",
|
|
97
|
-
"id": "22222222-2222-4333-8444-555555555555",
|
|
98
|
-
"source": "cm-customergeneral",
|
|
99
|
-
"type": "com.dapr.event.sent",
|
|
100
|
-
"datacontenttype": "application/json",
|
|
101
|
-
"pubsubname": "asgard-jupiter-cdc-pub-sub",
|
|
102
|
-
"topic": "jupiter.corporate-customers-mobile-info",
|
|
103
|
-
"time": "2026-09-13T12:41:00Z",
|
|
104
|
-
"data": {
|
|
105
|
-
"eventTime": "2026-09-13T15:41:00.0000000+03:00",
|
|
106
|
-
"externalClientNo": {{extNo}},
|
|
107
|
-
"firmName": "GARANTİ-KOZA İNŞAAT SANAYİ VE TİCARET A.Ş.",
|
|
108
|
-
"shortName": "GARANTİ-KOZA",
|
|
109
|
-
"taxNo": "3890006679",
|
|
110
|
-
"mainBranchCode": 9027,
|
|
111
|
-
"recordStatus": "A",
|
|
112
|
-
"operation": "UPDATE",
|
|
113
|
-
"hasMobApproval": false,
|
|
114
|
-
"unitStatus": 2
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
### 4) UPDATE, recordStatus=P → ÖNCE scope passivate, sonra person update + passivate
|
|
119
|
-
### → person-passivated-end (scope da person da passive)
|
|
120
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/events?action=start&sync=true
|
|
121
|
-
Content-Type: application/json
|
|
122
|
-
|
|
123
|
-
{
|
|
124
|
-
"specversion": "1.0",
|
|
125
|
-
"id": "33333333-2222-4333-8444-555555555555",
|
|
126
|
-
"source": "cm-customergeneral",
|
|
127
|
-
"type": "com.dapr.event.sent",
|
|
128
|
-
"datacontenttype": "application/json",
|
|
129
|
-
"pubsubname": "asgard-jupiter-cdc-pub-sub",
|
|
130
|
-
"topic": "jupiter.corporate-customers-mobile-info",
|
|
131
|
-
"time": "2026-09-13T12:42:00Z",
|
|
132
|
-
"data": {
|
|
133
|
-
"eventTime": "2026-09-13T15:42:00.0000000+03:00",
|
|
134
|
-
"externalClientNo": {{extNo}},
|
|
135
|
-
"firmName": "GARANTİ-KOZA İNŞAAT SANAYİ VE TİCARET A.Ş.",
|
|
136
|
-
"shortName": "GARANTİ-KOZA",
|
|
137
|
-
"taxNo": "3890006679",
|
|
138
|
-
"mainBranchCode": 9027,
|
|
139
|
-
"recordStatus": "P",
|
|
140
|
-
"operation": "UPDATE",
|
|
141
|
-
"hasMobApproval": false,
|
|
142
|
-
"unitStatus": 2
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
### 5) UPDATE, tekrar recordStatus=A → ÖNCE scope reactivate, sonra person update + reactivate
|
|
147
|
-
### → person-reactivated-end (ikisi de tekrar active)
|
|
148
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/events?action=start&sync=true
|
|
149
|
-
Content-Type: application/json
|
|
150
|
-
|
|
151
|
-
{
|
|
152
|
-
"specversion": "1.0",
|
|
153
|
-
"id": "44444444-2222-4333-8444-555555555555",
|
|
154
|
-
"source": "cm-customergeneral",
|
|
155
|
-
"type": "com.dapr.event.sent",
|
|
156
|
-
"datacontenttype": "application/json",
|
|
157
|
-
"pubsubname": "asgard-jupiter-cdc-pub-sub",
|
|
158
|
-
"topic": "jupiter.corporate-customers-mobile-info",
|
|
159
|
-
"time": "2026-09-13T12:43:00Z",
|
|
160
|
-
"data": {
|
|
161
|
-
"eventTime": "2026-09-13T15:43:00.0000000+03:00",
|
|
162
|
-
"externalClientNo": {{extNo}},
|
|
163
|
-
"firmName": "GARANTİ-KOZA İNŞAAT SANAYİ VE TİCARET A.Ş.",
|
|
164
|
-
"shortName": "GARANTİ-KOZA",
|
|
165
|
-
"taxNo": "3890006679",
|
|
166
|
-
"mainBranchCode": 9027,
|
|
167
|
-
"recordStatus": "A",
|
|
168
|
-
"operation": "UPDATE",
|
|
169
|
-
"hasMobApproval": true,
|
|
170
|
-
"unitStatus": 2
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
### 6) DELETE — kimlik kaydın kendisinden (beforeData YOK); alan EZMEZ: önce scope passivate, sonra
|
|
175
|
-
### person passivate → person-passivated-end. Bilinmeyen firma (extNo'yu değiştir) → delete-noop-end
|
|
176
|
-
### (scope yok → hiçbir şey yapılmaz; DELETE asla create etmez).
|
|
177
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/events?action=start&sync=true
|
|
178
|
-
Content-Type: application/json
|
|
179
|
-
|
|
180
|
-
{
|
|
181
|
-
"specversion": "1.0",
|
|
182
|
-
"id": "55555555-2222-4333-8444-555555555555",
|
|
183
|
-
"source": "cm-customergeneral",
|
|
184
|
-
"type": "com.dapr.event.sent",
|
|
185
|
-
"datacontenttype": "application/json",
|
|
186
|
-
"pubsubname": "asgard-jupiter-cdc-pub-sub",
|
|
187
|
-
"topic": "jupiter.corporate-customers-mobile-info",
|
|
188
|
-
"time": "2026-09-13T12:44:00Z",
|
|
189
|
-
"data": {
|
|
190
|
-
"eventTime": "2026-09-13T15:44:00.0000000+03:00",
|
|
191
|
-
"externalClientNo": {{extNo}},
|
|
192
|
-
"firmName": "GARANTİ-KOZA İNŞAAT SANAYİ VE TİCARET A.Ş.",
|
|
193
|
-
"shortName": "GARANTİ-KOZA",
|
|
194
|
-
"taxNo": "3890006679",
|
|
195
|
-
"mainBranchCode": 9027,
|
|
196
|
-
"recordStatus": "A",
|
|
197
|
-
"operation": "DELETE",
|
|
198
|
-
"hasMobApproval": true,
|
|
199
|
-
"unitStatus": 2
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
### 7) ZARFSIZ düz kayıt (motorun açtığı şekil / doğrudan çağıran) — yeni firma. Gerçek örnek mesajın
|
|
204
|
-
### data'sı (COİNTR). PascalCase alan adları da tolere edilir; fazladan customerType yok sayılır.
|
|
205
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/events?action=start&sync=true
|
|
206
|
-
Content-Type: application/json
|
|
207
|
-
|
|
208
|
-
{
|
|
209
|
-
"eventTime": "2026-09-13T15:40:12.2967967+03:00",
|
|
210
|
-
"externalClientNo": 52580550,
|
|
211
|
-
"firmName": "COİNTR KRİPTO VARLIK ALIM A",
|
|
212
|
-
"hasMobApproval": true,
|
|
213
|
-
"mainBranchCode": 9019,
|
|
214
|
-
"operation": "UPDATE",
|
|
215
|
-
"recordStatus": "A",
|
|
216
|
-
"shortName": "COİNTR KRİPTO VARLIK ALIM",
|
|
217
|
-
"taxNo": "6201367873",
|
|
218
|
-
"unitStatus": 2,
|
|
219
|
-
"customerType": 2
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
### 7a) unitStatus=1 (kontak) — GATE YOK: işlenir, start mapping uyarı loglar (semantik üreticiyle
|
|
223
|
-
### teyit edilecek). eventTime YOK → UtcNow tabanlı anahtar + uyarı (redelivery idempotent DEĞİL).
|
|
224
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/events?action=start&sync=true
|
|
225
|
-
Content-Type: application/json
|
|
226
|
-
|
|
227
|
-
{
|
|
228
|
-
"externalClientNo": 100078,
|
|
229
|
-
"firmName": "POLAT A.Ş.",
|
|
230
|
-
"shortName": "POLAT",
|
|
231
|
-
"taxNo": "50031539176",
|
|
232
|
-
"mainBranchCode": 640,
|
|
233
|
-
"recordStatus": "A",
|
|
234
|
-
"operation": "INSERT",
|
|
235
|
-
"hasMobApproval": false,
|
|
236
|
-
"unitStatus": 1
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
### 7b) externalClientNo YOK → isValid=false → ignored-end (mesaj ack'lenir)
|
|
240
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/events?action=start&sync=true
|
|
241
|
-
Content-Type: application/json
|
|
242
|
-
|
|
243
|
-
{
|
|
244
|
-
"eventTime": "2026-09-13T15:45:00.0000000+03:00",
|
|
245
|
-
"firmName": "KİMLİKSİZ A.Ş.",
|
|
246
|
-
"recordStatus": "A",
|
|
247
|
-
"operation": "UPDATE"
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
### 8) SONUÇ — firma person kaydı (BEKLENEN: active; name.full/short + taxNo/mainBranchCode/
|
|
251
|
-
### externalClientNo + hasMobApproval + unitStatus; personType=corporate-customers. recordStatus/
|
|
252
|
-
### operation/eventTime ALANLARI YOK — statü=state. businessLine/isPrivateBanking/
|
|
253
|
-
### citizenshipNumber/mobApprovalReasonCode kontratta olmadığından YAZILMAZ (false/boş uydurulmaz).
|
|
254
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/person/instances/{{extNo}}/functions/data
|
|
255
|
-
|
|
256
|
-
### 8a) Person state — 4'ten sonra passive, 5'ten sonra active, 6'dan sonra passive beklenir
|
|
257
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/person/instances/{{extNo}}/functions/state
|
|
258
|
-
|
|
259
|
-
### 9) SONUÇ — firma scope kaydı (group=corporate-customers, externalSystems[CIF];
|
|
260
|
-
### state 4'ten sonra passive, 5'ten sonra active — scope da recordStatus'la eşlenir.
|
|
261
|
-
### lastSyncAt: 3 ve 5'ten sonra TAZELENMİŞ olmalı (refresh-scope-sync); 4'ten (P) sonra
|
|
262
|
-
### tazelenMEZ — scope.update yalnız active state'te tanımlı, kabul edilen sınır)
|
|
263
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/scope/instances/{{extNo}}/functions/data
|
|
264
|
-
|
|
265
|
-
### 10) Dispatcher instance data — normalize alanlar + isValid/cdcOperation/unitStatus/eventTime izi
|
|
266
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{extNo}}-{{seq}}/functions/data
|
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
### Variables
|
|
2
|
-
@workflow = remember-password
|
|
3
|
-
# save-new-password sonrası akış: scope-fetch -> scope-group-fetch -> organization-fetch
|
|
4
|
-
# -> consent-selection -> ensure-certificate -> request-token -> login-success
|
|
5
|
-
# Bu adımlar user-login'den kopyalanan mapping/rule'ları kullanır (src/ altında).
|
|
6
|
-
# İKİ AYRI KİMLİK vardır, karıştırılmamalı:
|
|
7
|
-
# userName (düz kullanıcı adı / TCKN) -> token'da act_sub, cert-management instance key'i
|
|
8
|
-
# userIdentifier (= userName + "-" + scope, GetClientMapping üretir)
|
|
9
|
-
# -> kurumsal kullanıcı instance key'i; user / security-question /
|
|
10
|
-
# password-set fetch'leri ve consent aramasi (attributes.user.key)
|
|
11
|
-
# scope -> ScopeGetMapping fetch key'i; token'da sub
|
|
12
|
-
# (selectedScopeSnapshot uzerinden)
|
|
13
|
-
# Start attribute'lari:
|
|
14
|
-
# scope -> zorunlu (ScopeGetMapping + userIdentifier bilesimi)
|
|
15
|
-
# userName -> act_sub / cert key (yoksa `user` alanina duser)
|
|
16
|
-
# deviceId -> ensure-certificate (best-effort; eksikse akis devam eder)
|
|
17
|
-
# installationId -> ensure-certificate (best-effort; eksikse akis devam eder)
|
|
18
|
-
|
|
19
|
-
### Start Remember Password
|
|
20
|
-
# @name rememberPassword
|
|
21
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
22
|
-
Accept-Language: tr-TR
|
|
23
|
-
Accept-ll: tr-TR12512512512
|
|
24
|
-
x-request-id: {{$guid}}
|
|
25
|
-
x-deviceid: device-iphone-12-john
|
|
26
|
-
x-tokenid: {{$guid}}
|
|
27
|
-
x-Device-Info: Mobile Banking App iOS/2.0
|
|
28
|
-
x-Forwarded-For: 192.168.1.100
|
|
29
|
-
user_reference: 12345678900
|
|
30
|
-
act_sub: 123
|
|
31
|
-
ActorUserId: 124
|
|
32
|
-
UserName: 142
|
|
33
|
-
Content-Type: application/json
|
|
34
|
-
|
|
35
|
-
{
|
|
36
|
-
"key": "{{$guid}}",
|
|
37
|
-
"tags": [
|
|
38
|
-
"test",
|
|
39
|
-
"rememberPassword"
|
|
40
|
-
],
|
|
41
|
-
"attributes": {
|
|
42
|
-
"clientId":"IbAndroidApp",
|
|
43
|
-
"scopes":["IbCustomer"],
|
|
44
|
-
"scopeGroup":"corporate-customers",
|
|
45
|
-
"grantType":"authorization_code",
|
|
46
|
-
"userName":"10897973172",
|
|
47
|
-
"deviceId":"device-iphone-12-john",
|
|
48
|
-
"installationId":"installation-ios-sample-001"
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
###
|
|
53
|
-
@instanceId = {{rememberPassword.response.body.id}}
|
|
54
|
-
@rememberPasswordKey = {{rememberPassword.response.body.key}}
|
|
55
|
-
|
|
56
|
-
### Continue
|
|
57
|
-
# @name continue
|
|
58
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/continue?sync=true
|
|
59
|
-
Accept-Language: tr-TR
|
|
60
|
-
X-Request-Id: {{$guid}}
|
|
61
|
-
X-Device-Id: admin-portal
|
|
62
|
-
X-Token-Id: {{$guid}}
|
|
63
|
-
X-Deviceid: admin-portal
|
|
64
|
-
X-Tokenid: {{$guid}}
|
|
65
|
-
X-Device-Info: Admin Portal/1.0
|
|
66
|
-
X-Forwarded-For: 192.168.1.100
|
|
67
|
-
user_reference: admin-001
|
|
68
|
-
Content-Type: application/json
|
|
69
|
-
|
|
70
|
-
{
|
|
71
|
-
"attributes": {
|
|
72
|
-
"user":"10897973172-20075690",
|
|
73
|
-
"phone":"905336870042"
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
### Send otp code
|
|
78
|
-
# @name sendOtpCode
|
|
79
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/send-otp?sync=true
|
|
80
|
-
Accept-Language: tr-TR
|
|
81
|
-
X-Request-Id: {{$guid}}
|
|
82
|
-
X-Device-Id: admin-portal
|
|
83
|
-
X-Token-Id: {{$guid}}
|
|
84
|
-
X-Deviceid: admin-portal
|
|
85
|
-
X-Tokenid: {{$guid}}
|
|
86
|
-
X-Device-Info: Admin Portal/1.0
|
|
87
|
-
X-Forwarded-For: 192.168.1.100
|
|
88
|
-
user_reference: admin-001
|
|
89
|
-
Content-Type: application/json
|
|
90
|
-
|
|
91
|
-
{
|
|
92
|
-
"attributes": {
|
|
93
|
-
"otp": "123456"
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
### Send answer
|
|
98
|
-
# @name sendAnswer
|
|
99
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/send-answer?sync=true
|
|
100
|
-
Accept-Language: tr-TR
|
|
101
|
-
X-Request-Id: {{$guid}}
|
|
102
|
-
X-Device-Id: admin-portal
|
|
103
|
-
X-Token-Id: {{$guid}}
|
|
104
|
-
X-Deviceid: admin-portal
|
|
105
|
-
X-Tokenid: {{$guid}}
|
|
106
|
-
X-Device-Info: Admin Portal/1.0
|
|
107
|
-
X-Forwarded-For: 192.168.1.100
|
|
108
|
-
user_reference: admin-001
|
|
109
|
-
Content-Type: application/json
|
|
110
|
-
|
|
111
|
-
{
|
|
112
|
-
"attributes": {
|
|
113
|
-
"securityQuestionAnswer": {
|
|
114
|
-
"firstCharAnswer" : "y",
|
|
115
|
-
"secondCharAnswer" : "m"
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
### Send password
|
|
122
|
-
# @name sendPassword
|
|
123
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/send-password?sync=true
|
|
124
|
-
Accept-Language: tr-TR
|
|
125
|
-
X-Request-Id: {{$guid}}
|
|
126
|
-
X-Device-Id: admin-portal
|
|
127
|
-
X-Token-Id: {{$guid}}
|
|
128
|
-
X-Deviceid: admin-portal
|
|
129
|
-
X-Tokenid: {{$guid}}
|
|
130
|
-
X-Device-Info: Admin Portal/1.0
|
|
131
|
-
X-Forwarded-For: 192.168.1.100
|
|
132
|
-
user_reference: admin-001
|
|
133
|
-
Content-Type: application/json
|
|
134
|
-
|
|
135
|
-
{
|
|
136
|
-
"attributes": {
|
|
137
|
-
"newPassword":"112233",
|
|
138
|
-
"newPasswordConfirm":"112233"
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
### Get Instance State - send-password sonrası otomatik zincir
|
|
143
|
-
# set-new-password -> save-new-password -> scope-fetch -> scope-group-fetch -> organization-fetch
|
|
144
|
-
# -> consent-selection -> ensure-certificate -> request-token -> login-success
|
|
145
|
-
# Tüm adımlar auto transition (triggerType 1) olduğu için ek bir PATCH gerekmez;
|
|
146
|
-
# state'i buradan takip edin. Token sonucu instance data'daki tokenStatus/tokenData alanlarındadır.
|
|
147
|
-
# @name getStateAfterPassword
|
|
148
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
|
|
149
|
-
Accept-Language: tr-TR
|
|
150
|
-
X-Request-Id: {{$guid}}
|
|
151
|
-
X-Device-Id: {{$guid}}
|
|
152
|
-
X-Token-Id: {{$guid}}
|
|
153
|
-
user_reference: 12345678900
|
|
154
|
-
|
|
155
|
-
### Resend otp code
|
|
156
|
-
# @name reSendOtpCode
|
|
157
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/resend-otp?sync=true
|
|
158
|
-
Accept-Language: tr-TR
|
|
159
|
-
X-Request-Id: {{$guid}}
|
|
160
|
-
X-Device-Id: admin-portal
|
|
161
|
-
X-Token-Id: {{$guid}}
|
|
162
|
-
X-Device-Info: Admin Portal/1.0
|
|
163
|
-
X-Forwarded-For: 192.168.1.100
|
|
164
|
-
user_reference: admin-001
|
|
165
|
-
Content-Type: application/json
|
|
166
|
-
|
|
167
|
-
{
|
|
168
|
-
"attributes": {
|
|
169
|
-
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
### Get Remember Password Instance State
|
|
175
|
-
# @name getRememberPasswordInstanceState
|
|
176
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
|
|
177
|
-
Accept-Language: tr-TR
|
|
178
|
-
X-Request-Id: {{$guid}}
|
|
179
|
-
X-Device-Id: {{$guid}}
|
|
180
|
-
X-Token-Id: {{$guid}}
|
|
181
|
-
user_reference: 12345678900
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
### Get Remember Password Instance Data
|
|
185
|
-
# @name getRememberPasswordInstanceData
|
|
186
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/data
|
|
187
|
-
Accept-Language: tr-TR
|
|
188
|
-
X-Request-Id: {{$guid}}
|
|
189
|
-
X-Device-Id: {{$guid}}
|
|
190
|
-
X-Token-Id: {{$guid}}
|
|
191
|
-
user_reference: 12345678900
|
|
192
|
-
|
|
193
|
-
@instanceId2 = 6f18dd13-caf6-4b3b-afa0-ff77bcbeaca7
|
|
194
|
-
|
|
195
|
-
### Get Remember Password Instance Data
|
|
196
|
-
# @name getRememberPasswordInstanceData
|
|
197
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId2}}/functions/data
|
|
198
|
-
Accept-Language: tr-TR
|
|
199
|
-
X-Request-Id: {{$guid}}
|
|
200
|
-
X-Device-Id: {{$guid}}
|
|
201
|
-
X-Token-Id: {{$guid}}
|
|
202
|
-
user_reference: 12345678900
|
|
203
|
-
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
### Variables
|
|
2
|
-
@workflow = role
|
|
3
|
-
|
|
4
|
-
### ===========================================
|
|
5
|
-
### ROLE WORKFLOW
|
|
6
|
-
### ===========================================
|
|
7
|
-
### States: active (initial) → passive → closed (final)
|
|
8
|
-
### active → closed (final)
|
|
9
|
-
### passive → active (reactivate)
|
|
10
|
-
### ===========================================
|
|
11
|
-
|
|
12
|
-
### Start Role - Begins directly in 'active' state
|
|
13
|
-
# @name startRole
|
|
14
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/start?sync=true
|
|
15
|
-
Accept-Language: tr-TR
|
|
16
|
-
X-Request-Id: {{$guid}}
|
|
17
|
-
X-Device-Id: admin-portal
|
|
18
|
-
X-Token-Id: {{$guid}}
|
|
19
|
-
X-Device-Info: Admin Portal/1.0
|
|
20
|
-
X-Forwarded-For: 192.168.1.100
|
|
21
|
-
user_reference: admin-001
|
|
22
|
-
Content-Type: application/json
|
|
23
|
-
|
|
24
|
-
{
|
|
25
|
-
"key": "role-{{$timestamp}}-{{$randomInt 1000 9999}}",
|
|
26
|
-
"tags": [
|
|
27
|
-
"role",
|
|
28
|
-
"authorization",
|
|
29
|
-
"admin"
|
|
30
|
-
],
|
|
31
|
-
"attributes": {
|
|
32
|
-
"name": "Viewer",
|
|
33
|
-
"domain": "morph-idm"
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
###
|
|
38
|
-
@instanceId = {{startRole.response.body.id}}
|
|
39
|
-
@roleKey = {{startRole.response.body.key}}
|
|
40
|
-
|
|
41
|
-
### ===========================================
|
|
42
|
-
### TRANSITIONS - PATH 1: active → passive → closed
|
|
43
|
-
### ===========================================
|
|
44
|
-
|
|
45
|
-
### Deactivate Role (active → passive)
|
|
46
|
-
# @name deactivateRole
|
|
47
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/deactivate?sync=true
|
|
48
|
-
Accept-Language: tr-TR
|
|
49
|
-
X-Request-Id: {{$guid}}
|
|
50
|
-
X-Device-Id: admin-portal
|
|
51
|
-
X-Token-Id: {{$guid}}
|
|
52
|
-
X-Device-Info: Admin Portal/1.0
|
|
53
|
-
X-Forwarded-For: 192.168.1.100
|
|
54
|
-
user_reference: admin-001
|
|
55
|
-
Content-Type: application/json
|
|
56
|
-
|
|
57
|
-
{
|
|
58
|
-
"attributes": {}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
### Reactivate Role (passive → active)
|
|
62
|
-
# @name reactivateRole
|
|
63
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/reactivate?sync=true
|
|
64
|
-
Accept-Language: tr-TR
|
|
65
|
-
X-Request-Id: {{$guid}}
|
|
66
|
-
X-Device-Id: admin-portal
|
|
67
|
-
X-Token-Id: {{$guid}}
|
|
68
|
-
X-Device-Info: Admin Portal/1.0
|
|
69
|
-
X-Forwarded-For: 192.168.1.100
|
|
70
|
-
user_reference: admin-001
|
|
71
|
-
Content-Type: application/json
|
|
72
|
-
|
|
73
|
-
{
|
|
74
|
-
"attributes": {}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
### Close Role from Passive (passive → closed)
|
|
78
|
-
# @name closeRoleFromPassive
|
|
79
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/close?sync=true
|
|
80
|
-
Accept-Language: tr-TR
|
|
81
|
-
X-Request-Id: {{$guid}}
|
|
82
|
-
X-Device-Id: admin-portal
|
|
83
|
-
X-Token-Id: {{$guid}}
|
|
84
|
-
X-Device-Info: Admin Portal/1.0
|
|
85
|
-
X-Forwarded-For: 192.168.1.100
|
|
86
|
-
user_reference: admin-001
|
|
87
|
-
Content-Type: application/json
|
|
88
|
-
|
|
89
|
-
{
|
|
90
|
-
"attributes": {}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
### ===========================================
|
|
94
|
-
### TRANSITIONS - PATH 2: active → closed (direct)
|
|
95
|
-
### ===========================================
|
|
96
|
-
|
|
97
|
-
### Close Role directly from Active (active → closed)
|
|
98
|
-
# @name closeRoleFromActive
|
|
99
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/transitions/close?sync=true
|
|
100
|
-
Accept-Language: tr-TR
|
|
101
|
-
X-Request-Id: {{$guid}}
|
|
102
|
-
X-Device-Id: admin-portal
|
|
103
|
-
X-Token-Id: {{$guid}}
|
|
104
|
-
X-Device-Info: Admin Portal/1.0
|
|
105
|
-
X-Forwarded-For: 192.168.1.100
|
|
106
|
-
user_reference: admin-001
|
|
107
|
-
Content-Type: application/json
|
|
108
|
-
|
|
109
|
-
{
|
|
110
|
-
"attributes": {}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
### ===========================================
|
|
114
|
-
### QUERIES
|
|
115
|
-
### ===========================================
|
|
116
|
-
|
|
117
|
-
### Get Role Instance State
|
|
118
|
-
# @name getRoleState
|
|
119
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/state
|
|
120
|
-
Accept-Language: tr-TR
|
|
121
|
-
X-Request-Id: {{$guid}}
|
|
122
|
-
X-Device-Id: admin-portal
|
|
123
|
-
X-Token-Id: {{$guid}}
|
|
124
|
-
user_reference: admin-001
|
|
125
|
-
|
|
126
|
-
### Get Role Instance Data
|
|
127
|
-
# @name getRoleData
|
|
128
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{instanceId}}/functions/data
|
|
129
|
-
Accept-Language: tr-TR
|
|
130
|
-
X-Request-Id: {{$guid}}
|
|
131
|
-
X-Device-Id: admin-portal
|
|
132
|
-
X-Token-Id: {{$guid}}
|
|
133
|
-
user_reference: admin-001
|
|
134
|
-
|
|
135
|
-
### Get Role by Key
|
|
136
|
-
# @name getRoleByKey
|
|
137
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/{{workflow}}/instances/{{roleKey}}/functions/data
|
|
138
|
-
Accept-Language: tr-TR
|
|
139
|
-
X-Request-Id: {{$guid}}
|
|
140
|
-
X-Device-Id: admin-portal
|
|
141
|
-
X-Token-Id: {{$guid}}
|
|
142
|
-
user_reference: admin-001
|