@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,428 +0,0 @@
|
|
|
1
|
-
### Variables
|
|
2
|
-
### baseUrl1, apiVersion, domain → .vscode/settings.json (rest-client.environmentVariables.$shared)
|
|
3
|
-
### baseUrl1: https://test-vnext-morph-idm.apps.nonprod.ebt.bank (nonprod TEST) ← bu dosya bunu kullanir
|
|
4
|
-
### baseUrl: http://localhost:4251 (local) | baseUrl2: preprod
|
|
5
|
-
### apiVersion: v1 domain: morph-idm
|
|
6
|
-
|
|
7
|
-
###############################################################################
|
|
8
|
-
# SORT MIGRATION — GetInstancesTask "-CreatedAt" → JSON orderBy
|
|
9
|
-
###############################################################################
|
|
10
|
-
# Ref: burgan-tech/vnext → docs/contracts/instance-query-validation-breaking-changes.md
|
|
11
|
-
#
|
|
12
|
-
# Migration (task config `sort` is a JSON *string*, so quotes are escaped):
|
|
13
|
-
# "-CreatedAt" → "{\"field\":\"createdAt\",\"direction\":\"desc\"}"
|
|
14
|
-
# "key" → "{\"field\":\"key\",\"direction\":\"asc\"}"
|
|
15
|
-
#
|
|
16
|
-
# ---------------------------------------------------------------------------
|
|
17
|
-
# NEDEN BU DOSYADA HAM ?sort= SORGUSU YOK
|
|
18
|
-
#
|
|
19
|
-
# Aldigin hata task sinirindan geliyor:
|
|
20
|
-
# "Task filter rejected. TaskKey: query-all-...-task ... (Parameter 'jsonOrderBy')"
|
|
21
|
-
#
|
|
22
|
-
# GetInstancesTask, public instance-list endpoint'ini KULLANMIYOR — dogrulama
|
|
23
|
-
# task'in kendi icinde, local ve Dapr yollarinda yapiliyor. Task'i HTTP ile
|
|
24
|
-
# dogrudan tetiklemenin yolu yok. Dolayisiyla
|
|
25
|
-
# GET .../instances?sort={"field":"createdAt"}
|
|
26
|
-
# cagrisi ayni parser'i test eder ama AYNI YOLU test etmez — yesil donmesi
|
|
27
|
-
# task'in calistigini kanitlamaz. O yuzden bu dosyada yalnizca task'i GERCEKTEN
|
|
28
|
-
# tetikleyen cagrilar var.
|
|
29
|
-
#
|
|
30
|
-
# ---------------------------------------------------------------------------
|
|
31
|
-
# KULLANIM
|
|
32
|
-
# 1. Task JSON'undaki sort'u JSON forma cevir
|
|
33
|
-
# 2. VS Code'da vNext eklentisiyle kaydet / publish et
|
|
34
|
-
# 3. Asagidaki ilgili istegi cagir
|
|
35
|
-
# 4. Hata devam ediyorsa runtime logunda EventId 20442
|
|
36
|
-
# (InstanceTaskFilterRejected) kesin sinyaldir
|
|
37
|
-
#
|
|
38
|
-
# DURUM: 24 task'in 1'i migrate edildi
|
|
39
|
-
###############################################################################
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
###############################################################################
|
|
43
|
-
# 1. [x] security-question-definition/query-all-security-question-definitions-task
|
|
44
|
-
###############################################################################
|
|
45
|
-
# Tuketici: Functions/security-check/get-active-security-question-definitions
|
|
46
|
-
# Bu migrate edildi ve dogrulandi.
|
|
47
|
-
|
|
48
|
-
### 1.1 Question LOV → { "data": [ { id, descriptionTr, descriptionEn } ] }
|
|
49
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/functions/get-active-security-question-definitions
|
|
50
|
-
Accept-Language: tr-TR
|
|
51
|
-
X-Request-Id: {{$guid}}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
###############################################################################
|
|
55
|
-
# 2. [ ] anti-phishing-image-definition/query-active-definitions-task
|
|
56
|
-
###############################################################################
|
|
57
|
-
# IKI fonksiyon bu tek task'i paylasiyor — dosyayi degistirmek ikisini birden etkiler.
|
|
58
|
-
# 2.1 user-login gate view'ini besleyen LOV. Login yolunda.
|
|
59
|
-
|
|
60
|
-
### 2.1 Image LOV (scope D, parametresiz)
|
|
61
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/functions/get-active-image-definitions
|
|
62
|
-
Accept-Language: tr-TR
|
|
63
|
-
X-Request-Id: {{$guid}}
|
|
64
|
-
|
|
65
|
-
### 2.2 Ayni task, get-security-images uzerinden (scope I, userKey gerekli, isSelected ekler)
|
|
66
|
-
@userKey = 20903420774-766
|
|
67
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/functions/get-security-images?userKey={{userKey}}
|
|
68
|
-
Accept-Language: tr-TR
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
###############################################################################
|
|
72
|
-
# 3. [ ] token/user-login-get-as-filterable
|
|
73
|
-
###############################################################################
|
|
74
|
-
# Tuketici: Functions/user-login/get-user-login-by-tckn (scope D)
|
|
75
|
-
# Dogrudan login yolunda — oncelik burada.
|
|
76
|
-
|
|
77
|
-
### 3.1 TCKN ile login kaydi sorgula
|
|
78
|
-
@tckn = 42460487106-766
|
|
79
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/functions/get-user-login-by-tckn?tckn={{tckn}}
|
|
80
|
-
Accept-Language: tr-TR
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
###############################################################################
|
|
84
|
-
# 4. [ ] organization/load-organization-task
|
|
85
|
-
###############################################################################
|
|
86
|
-
# Tuketiciler: Functions/organization/get-position-levels-by-scope
|
|
87
|
-
# Workflows/approval (bkz. bolum 7)
|
|
88
|
-
|
|
89
|
-
### 4.1 Scope'a gore pozisyon seviyeleri
|
|
90
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/functions/get-position-levels-by-scope?scopeKey=16160400222
|
|
91
|
-
Accept-Language: tr-TR
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
###############################################################################
|
|
95
|
-
# 5. [ ] consent/search-consent-by-task — EN GENIS YAYILIM (7 tuketici)
|
|
96
|
-
###############################################################################
|
|
97
|
-
# Fonksiyonlar: get-users-by-scope, get-position, check-consent-role,
|
|
98
|
-
# get-consent-role-position
|
|
99
|
-
# Akislar: user-corporate/update-provision, get-roles, consent-selection
|
|
100
|
-
# → execute/user-corporate-update-provision.http
|
|
101
|
-
# → execute/get-roles.http
|
|
102
|
-
# → execute/consent-selection.http
|
|
103
|
-
|
|
104
|
-
### 5.1 Scope'a gore kullanicilar
|
|
105
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/functions/get-users-by-scope?scopeKey=425&pageNumber=1&pageSize=10
|
|
106
|
-
Accept-Language: tr-TR
|
|
107
|
-
|
|
108
|
-
### 5.2 Calisan + musteri ikilisine gore pozisyon
|
|
109
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/functions/get-position?act_sub=21790665422&sub=766
|
|
110
|
-
Accept-Language: tr-TR
|
|
111
|
-
|
|
112
|
-
### 5.3 Consent rol kontrolu
|
|
113
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/functions/check-consent-role?role=morph-idm.maker
|
|
114
|
-
Accept-Language: tr-TR
|
|
115
|
-
|
|
116
|
-
### 5.4 Consent rol + pozisyon
|
|
117
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/functions/get-consent-role-position?act_sub=21790665422&sub=766
|
|
118
|
-
Accept-Language: tr-TR
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
###############################################################################
|
|
122
|
-
# 6. [ ] security-question-change/get-active-definition-by-key-task (sort=key ASC)
|
|
123
|
-
###############################################################################
|
|
124
|
-
# TEK farkli task: artan, key'e gore. Karsiligi {"field":"key","direction":"asc"}
|
|
125
|
-
# Fonksiyon wrapper'i YOK — sadece uc akisin icinden calisir:
|
|
126
|
-
# Workflows/security-question/security-question-set (execute .http yok)
|
|
127
|
-
# Workflows/security-question/security-question-change
|
|
128
|
-
# → execute/security-question-change.http
|
|
129
|
-
# Workflows/security-check ← user-login gate
|
|
130
|
-
# → execute/security-check-test.http
|
|
131
|
-
#
|
|
132
|
-
# Read-only probe'u yok; akisi surmek zorundasin. Soru adiminda instance
|
|
133
|
-
# Faulted olursa sebep bu task'tir.
|
|
134
|
-
|
|
135
|
-
### 6.1 Suren bir security-check instance'inin durumu (Faulted mi?)
|
|
136
|
-
@securityCheckInstance = REPLACE_ME
|
|
137
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/workflows/security-check/instances/{{securityCheckInstance}}/functions/state
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
###############################################################################
|
|
141
|
-
# 7. [x] approval — 4 task KALDIRILDI (cache-aside'a gecildi)
|
|
142
|
-
###############################################################################
|
|
143
|
-
# approval/load-approval-matrix-scope-level-task -> get-approval-matrix-cached-task (type 18)
|
|
144
|
-
# approval/load-approval-matrix-scopegroup-level-task -> get-approval-matrix-cached-task (type 18)
|
|
145
|
-
# scope/load-scope-task -> get-scope-cached-task (type 18)
|
|
146
|
-
# scope-group/load-scope-group-task -> get-scope-group-cached-task (type 18)
|
|
147
|
-
#
|
|
148
|
-
# approval-1.0.0 artik GetInstances (type 15) kullanmiyor; loading-* state'leri paylasimli
|
|
149
|
-
# cache-aside task'lari + sys-mappings (REF) ile calisiyor. Sort migration bu akis icin konu disi.
|
|
150
|
-
# organization/load-organization-task (bolum 4) artik yalnizca Functions/organization/get-position-levels-by-scope tarafindan kullaniliyor.
|
|
151
|
-
#
|
|
152
|
-
# Fonksiyon wrapper'i yok. Akisi surmek icin:
|
|
153
|
-
# Workflows/approval/execute/approval-new.http ← en kisa senaryo
|
|
154
|
-
# Workflows/approval/execute/approval-limit-management.http
|
|
155
|
-
# Workflows/approval/execute/approval-super-authority.http
|
|
156
|
-
# Workflows/approval/execute/approval-new-reject.http
|
|
157
|
-
# Workflows/approval/execute/approval-corporate-customers-non-amount.http
|
|
158
|
-
# Workflows/approval/execute/approval-corporate-customers-time-deposit.http
|
|
159
|
-
|
|
160
|
-
### 7.1 Suren bir approval instance'inin durumu
|
|
161
|
-
@approvalInstance = REPLACE_ME
|
|
162
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/workflows/approval/instances/{{approvalInstance}}/functions/state
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
###############################################################################
|
|
166
|
-
# 8. [ ] consent/consent-search-task
|
|
167
|
-
###############################################################################
|
|
168
|
-
# Tek tuketici: Workflows/simple-subflow. Fonksiyon wrapper'i yok.
|
|
169
|
-
# → Workflows/simple-subflow/execute/simple-subflow.http
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
###############################################################################
|
|
173
|
-
# 9. [ ] user-otp-setting/get-pending-approval-instances-task
|
|
174
|
-
###############################################################################
|
|
175
|
-
# Tek tuketici: Workflows/user-otp-setting-backoffice. Fonksiyon wrapper'i yok.
|
|
176
|
-
# → Workflows/user-otp-setting/execute/user-otp-setting-backoffice.http
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
###############################################################################
|
|
180
|
-
# 10. [ ] transaction-limit — 5 task (tuketicisi olanlar)
|
|
181
|
-
###############################################################################
|
|
182
|
-
# search-limit-definition-task → resolve, cascade, cascade-daily,
|
|
183
|
-
# cascade-approve-daily, cascade-approve-transaction,
|
|
184
|
-
# user-corporate/update-provision
|
|
185
|
-
# search-management-task → management, cascade-daily,
|
|
186
|
-
# cascade-approve-daily, remaining
|
|
187
|
-
# check-scope-limit-task / check-scope-group-limit-task → definition, definition-verify
|
|
188
|
-
# check-duplicate-limit-task → definition
|
|
189
|
-
#
|
|
190
|
-
# En verimli probe: remaining akisi READ-ONLY ve search-limit-definition-task ile
|
|
191
|
-
# search-management-task'i birlikte calistirir. Once bunu sur.
|
|
192
|
-
# → Workflows/transaction-limit/remaining/execute/transaction-limit-remaining.http
|
|
193
|
-
#
|
|
194
|
-
# Diger ikisi veri yazar, dikkat:
|
|
195
|
-
# → Workflows/transaction-limit/... definition / management execute dosyalari
|
|
196
|
-
|
|
197
|
-
### 10.1 Suren bir remaining instance'inin durumu
|
|
198
|
-
@remainingInstance = REPLACE_ME
|
|
199
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/workflows/transaction-limit-remaining/instances/{{remainingInstance}}/functions/state
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
###############################################################################
|
|
203
|
-
# 11. [ ] TUKETICISI BULUNAMAYAN 7 TASK — once olu mu diye teyit et
|
|
204
|
-
###############################################################################
|
|
205
|
-
# Bu 7 task'i cagiran hicbir function/workflow grep'te cikmadi. Migrate etmek
|
|
206
|
-
# zarar vermez ama once gercekten kullanilmadiklarini dogrulamak zaman kazandirir:
|
|
207
|
-
#
|
|
208
|
-
# approval/load-approval-matrix-task
|
|
209
|
-
# (-scope-level ve -scopegroup-level varyantlari kullaniliyor, base olan yok)
|
|
210
|
-
# scope/search-scope-by-user-task
|
|
211
|
-
# cert/search-cert-by-user-task
|
|
212
|
-
# transaction-limit/check-scope-usage-task
|
|
213
|
-
# transaction-limit/check-scopegroup-usage-task
|
|
214
|
-
# transaction-limit/check-user-usage-task
|
|
215
|
-
# transaction-limit/verify-approver-usage-task
|
|
216
|
-
#
|
|
217
|
-
# Teyit yontemi: task key'ini repo'da ara —
|
|
218
|
-
# grep -rl '"<task-key>"' morph-idm/Functions morph-idm/Workflows
|
|
219
|
-
# Bos donuyorsa referans yok. Yine de dinamik cagri olabilecegi icin
|
|
220
|
-
# runtime logunda EventId 20442'yi izlemek en kesin dogrulama.
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
###############################################################################
|
|
224
|
-
# TRIAGE
|
|
225
|
-
###############################################################################
|
|
226
|
-
# Bos liste donuyor, hata yok → sort sorunu degil. Image ve question
|
|
227
|
-
# LOV'lari currentState=active filtreler;
|
|
228
|
-
# bos sonuc genelde "yayinlanmis kayit yok"
|
|
229
|
-
# demektir.
|
|
230
|
-
# Instance status "F" / Faulted → task'in sort'u hala eski kisayolda ya da
|
|
231
|
-
# migration publish edilmedi. Task JSON'unu
|
|
232
|
-
# VS Code'da vNext eklentisiyle tekrar kaydet.
|
|
233
|
-
# EventId 20442 → InstanceTaskFilterRejected: task'in yazili
|
|
234
|
-
# filter/sort'u reddedildi. Kesin sinyal.
|
|
235
|
-
# EventId 20441 → validator ile SQL builder ayrismis; bu
|
|
236
|
-
# runtime defect'i, hic firmamasi gerekir.
|
|
237
|
-
#
|
|
238
|
-
# Not: bu dosya nonprod TEST ortamina gidiyor (baseUrl1). Buradaki tckn/scopeKey/
|
|
239
|
-
# act_sub degerleri local seed verisinden alindi, test ortaminda karsiligi
|
|
240
|
-
# olmayabilir — bos sonuc alirsan once verinin varligini kontrol et.
|
|
241
|
-
###############################################################################
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
###############################################################################
|
|
245
|
-
# EK: anti-phishing-image-change — TUM RESIMLER + SECILI OLAN
|
|
246
|
-
###############################################################################
|
|
247
|
-
# Sort migration'in parcasi DEGIL. get-security-images (scope I, cagrilamiyor)
|
|
248
|
-
# yerine ayni bilgiyi change akisindan okumak icin.
|
|
249
|
-
#
|
|
250
|
-
# Bu akista `isSelected` diye bir alan YOK. Secili olan iki parcadan cikar:
|
|
251
|
-
# 1. LISTE → select-image semasinin x-lov'u: get-active-image-definitions
|
|
252
|
-
# (valueField definitionId, displayField titleTr, imageField imagePath)
|
|
253
|
-
# 2. SECILI → draft state'inin onEntries'i instance data'ya yaziyor:
|
|
254
|
-
# FetchCurrentImageMapping → currentImageFound,
|
|
255
|
-
# currentImage.imageDefinitionId, imageDefinitionId
|
|
256
|
-
# Yani "selected" = LOV degeri ile prefill edilen imageDefinitionId'nin eslesmesi.
|
|
257
|
-
#
|
|
258
|
-
# ONKOSUL: bu userKey icin AKTIF bir anti-phishing-image-user kaydi olmali,
|
|
259
|
-
# yoksa currentImageFound=false doner (hata degil, sadece secili resim yok).
|
|
260
|
-
#
|
|
261
|
-
# Kurumsal composite userKey = {act_sub}-{sub}. 20903420774-766 icin:
|
|
262
|
-
@apActSub = 20903420774
|
|
263
|
-
@apSub = 766
|
|
264
|
-
@apUserKey = {{apActSub}}-{{apSub}}
|
|
265
|
-
### user instance id (32 hex) → holder key (anti-phishing-image-user artık {userKey}-{userInstanceId})
|
|
266
|
-
@apUserInstanceId = 00000000000000000000000000000000
|
|
267
|
-
@apUserHolderKey = {{apUserKey}}-{{apUserInstanceId}}
|
|
268
|
-
# Hedef yeni tanim (mevcut olandan FARKLI olsun ki gercek degisim gorulsun)
|
|
269
|
-
@apImageDefinitionId = 11111111-2222-3333-4444-555555555556
|
|
270
|
-
|
|
271
|
-
### E.1 Mevcut aktif resim — degisiklik ONCESI (history-mirror: by-key DEGIL, filter)
|
|
272
|
-
### Decoded: {"and":[{"key":{"eq":"{{apUserKey}}"}},{"currentState":{"eq":"active"}}]}
|
|
273
|
-
### Beklenen: items[0].attributes.imageEntry.imageDefinitionId = su anki secili
|
|
274
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/workflows/anti-phishing-image-user/instances?pageSize=1&filter=%7B%22and%22%3A%5B%7B%22key%22%3A%7B%22eq%22%3A%22{{apUserHolderKey}}%22%7D%7D%2C%7B%22currentState%22%3A%7B%22eq%22%3A%22active%22%7D%7D%5D%7D
|
|
275
|
-
Accept-Language: tr-TR
|
|
276
|
-
X-Request-Id: {{$guid}}
|
|
277
|
-
|
|
278
|
-
### E.2 Tum aktif resimler (LOV'un besledigi liste — UI'da gorunen secenekler)
|
|
279
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/functions/get-active-image-definitions
|
|
280
|
-
Accept-Language: tr-TR
|
|
281
|
-
X-Request-Id: {{$guid}}
|
|
282
|
-
|
|
283
|
-
### E.3 Change akisini BASLAT — draft onEntries calisir, confirm state'inde park eder
|
|
284
|
-
### userKey body'den DEGIL, act_sub/sub header claim'lerinden turetilir.
|
|
285
|
-
# @name apChange
|
|
286
|
-
POST {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/workflows/anti-phishing-image-change/instances/start?sync=true
|
|
287
|
-
Content-Type: application/json
|
|
288
|
-
act_sub: {{apActSub}}
|
|
289
|
-
sub: {{apSub}}
|
|
290
|
-
|
|
291
|
-
{
|
|
292
|
-
"key": "{{apUserKey}}-chg-{{$timestamp}}",
|
|
293
|
-
"tags": ["anti-phishing-image", "change", "sort-verify"],
|
|
294
|
-
"attributes": {
|
|
295
|
-
"imageDefinitionId": "{{apImageDefinitionId}}"
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
###
|
|
300
|
-
@apChangeId = {{apChange.response.body.id}}
|
|
301
|
-
|
|
302
|
-
### E.4 State — beklenen: update-security-image-confirm
|
|
303
|
-
### View render edildigi icin LOV cozumlenmis secenek listesi de burada gelir.
|
|
304
|
-
### CONFIRM ETMEDEN bak: akis kullanici onayini bekliyor, veri henuz degismedi.
|
|
305
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/workflows/anti-phishing-image-change/instances/{{apChangeId}}/functions/state
|
|
306
|
-
|
|
307
|
-
### E.5 Data — SECILI olan burada
|
|
308
|
-
### Beklenen: currentImageFound=true, currentImage.imageDefinitionId = mevcut secili,
|
|
309
|
-
### imageDefinitionId = E.3'te gonderdigin yeni hedef
|
|
310
|
-
### currentImageFound=false ise: bu userKey'in aktif image-user kaydi yok (E.1 bos donmustur)
|
|
311
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/workflows/anti-phishing-image-change/instances/{{apChangeId}}/functions/data
|
|
312
|
-
|
|
313
|
-
### E.6 (opsiyonel) ONAYLA — resmi gercekten degistirir
|
|
314
|
-
PATCH {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/workflows/anti-phishing-image-change/instances/{{apChangeId}}/transitions/confirm?sync=true
|
|
315
|
-
Content-Type: application/json
|
|
316
|
-
|
|
317
|
-
{
|
|
318
|
-
"attributes": {}
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
### E.7 Degisiklik SONRASI aktif resim — imageDefinitionId degisti mi?
|
|
322
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/workflows/anti-phishing-image-user/instances?pageSize=1&filter=%7B%22and%22%3A%5B%7B%22key%22%3A%7B%22eq%22%3A%22{{apUserHolderKey}}%22%7D%7D%2C%7B%22currentState%22%3A%7B%22eq%22%3A%22active%22%7D%7D%5D%7D
|
|
323
|
-
Accept-Language: tr-TR
|
|
324
|
-
X-Request-Id: {{$guid}}
|
|
325
|
-
|
|
326
|
-
###############################################################################
|
|
327
|
-
# E.* NOTLARI
|
|
328
|
-
###############################################################################
|
|
329
|
-
# • E.3 instance key'i {{$timestamp}} ile uniq — ayni key'le tekrar denersen
|
|
330
|
-
# onceki calisma F (Faulted) biraktiysa "instance already completed" alirsin.
|
|
331
|
-
# • E.2 change akisindan BAGIMSIZ, dogrudan LOV fonksiyonu. Bu ayni zamanda
|
|
332
|
-
# bolum 2'nin testi: query-active-definitions-task'in sort'unu dogrular.
|
|
333
|
-
# • E.6'yi calistirmazsan hicbir veri degismez — sadece okuma yapmis olursun.
|
|
334
|
-
###############################################################################
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
###############################################################################
|
|
338
|
-
# EK-2: "desc CALISMIYOR, ASC SIRALIYOR" IDDIASINI ISPATLAMA
|
|
339
|
-
###############################################################################
|
|
340
|
-
# BILINEN CEVAP (DB'den, anti_phishing_image_user."Instances"):
|
|
341
|
-
# key = 62281181908-20183007 → 8 kayit
|
|
342
|
-
# EN ESKI : 2026-08-19 16:13:15.197 (force-changed-end)
|
|
343
|
-
# EN YENI : 2026-08-24 00:22:24.414 (active)
|
|
344
|
-
#
|
|
345
|
-
# Bu yuzden pageSize=1 ile:
|
|
346
|
-
# desc → 08-24 00:22:24 donmeli
|
|
347
|
-
# asc → 08-19 16:13:15 donmeli
|
|
348
|
-
# Ikisi de AYNI kaydi donuyorsa siralama uygulanmiyor.
|
|
349
|
-
#
|
|
350
|
-
# Ama "uygulanmiyor" ile "parametre hic okunmuyor" ayri seyler. Ikisini ayirmak
|
|
351
|
-
# icin P.5/P.6 kontrol testleri var: bunlar 400 donerse parametre OKUNUYOR
|
|
352
|
-
# demektir (parser calisiyor), o zaman sorun uygulama katmanindadir.
|
|
353
|
-
# P.5/P.6 200 donerse parametre tamamen YOK SAYILIYOR demektir.
|
|
354
|
-
#
|
|
355
|
-
# NOT: bu testler yalnizca HTTP instance-list API'sini olcer. GetInstancesTask
|
|
356
|
-
# ayri bir yoldur (bkz. dosyanin basi) — buradaki sonuc task'in davranisini
|
|
357
|
-
# kanitlamaz, sadece runtime'in orderBy motorunu olcer.
|
|
358
|
-
###############################################################################
|
|
359
|
-
|
|
360
|
-
@probeFlow = anti-phishing-image-user
|
|
361
|
-
@probeKey = 62281181908-20183007
|
|
362
|
-
@probeFilter = {"key":{"eq":"62281181908-20183007"}}
|
|
363
|
-
|
|
364
|
-
### P.1 desc — TAM LISTE. createdAt dizisini not al.
|
|
365
|
-
### Beklenen (desc dogruysa): 08-24 → 08-19 azalan
|
|
366
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/workflows/{{probeFlow}}/instances?page=1&pageSize=20&filter={{probeFilter}}&sort={"field":"createdAt","direction":"desc"}
|
|
367
|
-
Accept-Language: tr-TR
|
|
368
|
-
|
|
369
|
-
### P.2 asc — TAM LISTE. P.1 ile KARSILASTIR.
|
|
370
|
-
### P.1 ve P.2 ayni sirayi donuyorsa siralama uygulanmiyor (iddia dogrulanir).
|
|
371
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/workflows/{{probeFlow}}/instances?page=1&pageSize=20&filter={{probeFilter}}&sort={"field":"createdAt","direction":"asc"}
|
|
372
|
-
Accept-Language: tr-TR
|
|
373
|
-
|
|
374
|
-
### P.3 desc + pageSize=1 → EN YENI gelmeli: 2026-08-24 00:22:24 (currentState=active)
|
|
375
|
-
### 08-19 gelirse: desc yerine asc uygulaniyor. TEK BASINA EN NET KANIT.
|
|
376
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/workflows/{{probeFlow}}/instances?page=1&pageSize=1&filter={{probeFilter}}&sort={"field":"createdAt","direction":"desc"}
|
|
377
|
-
Accept-Language: tr-TR
|
|
378
|
-
|
|
379
|
-
### P.4 asc + pageSize=1 → EN ESKI gelmeli: 2026-08-19 16:13:15
|
|
380
|
-
### P.3 ve P.4 ayni kaydi donuyorsa direction hic dikkate alinmiyor.
|
|
381
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/workflows/{{probeFlow}}/instances?page=1&pageSize=1&filter={{probeFilter}}&sort={"field":"createdAt","direction":"asc"}
|
|
382
|
-
Accept-Language: tr-TR
|
|
383
|
-
|
|
384
|
-
### P.5 KONTROL — gecersiz direction → 400 sort.invalidDirection BEKLENIYOR
|
|
385
|
-
### 400 gelirse: parametre okunuyor ve dogrulaniyor → sorun uygulamada.
|
|
386
|
-
### 200 gelirse: parametre tamamen yok sayiliyor → P.1-P.4 sonucu da bunun sonucu.
|
|
387
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/workflows/{{probeFlow}}/instances?page=1&pageSize=1&filter={{probeFilter}}&sort={"field":"createdAt","direction":"descending"}
|
|
388
|
-
Accept-Language: tr-TR
|
|
389
|
-
|
|
390
|
-
### P.6 KONTROL — bilinmeyen alan → 400 sort.unknownField BEKLENIYOR
|
|
391
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/workflows/{{probeFlow}}/instances?page=1&pageSize=1&filter={{probeFilter}}&sort={"field":"buAlanYok"}
|
|
392
|
-
Accept-Language: tr-TR
|
|
393
|
-
|
|
394
|
-
### P.7 `orderBy` parametresi — dokuman ikisini de kabul ettigini, ikisi birlikte
|
|
395
|
-
### verilirse orderBy'in kazandigini soyluyor. `sort` yok sayiliyor olabilir.
|
|
396
|
-
### P.3 ile FARKLI sonuc verirse: sadece orderBy uygulaniyor demektir.
|
|
397
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/workflows/{{probeFlow}}/instances?page=1&pageSize=1&filter={{probeFilter}}&orderBy={"field":"createdAt","direction":"desc"}
|
|
398
|
-
Accept-Language: tr-TR
|
|
399
|
-
|
|
400
|
-
### P.8 cok alanli `fields` formu — dokumanda gecerli sayilan ucuncu bicim
|
|
401
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/workflows/{{probeFlow}}/instances?page=1&pageSize=20&filter={{probeFilter}}&sort={"fields":[{"field":"createdAt","direction":"desc"}]}
|
|
402
|
-
Accept-Language: tr-TR
|
|
403
|
-
|
|
404
|
-
### P.9 modifiedAt ile desc — createdAt'e ozgu bir sorun mu, genel mi?
|
|
405
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/workflows/{{probeFlow}}/instances?page=1&pageSize=20&filter={{probeFilter}}&sort={"field":"modifiedAt","direction":"desc"}
|
|
406
|
-
Accept-Language: tr-TR
|
|
407
|
-
|
|
408
|
-
### P.10 SIRALAMASIZ referans — motorun "dogal" sirasi bu.
|
|
409
|
-
### P.1/P.2 bununla AYNI ise siralama hic uygulanmiyor; farkliysa uygulaniyor
|
|
410
|
-
### ama yon ters olabilir. Bu istegi mutlaka calistir, kiyas noktasi.
|
|
411
|
-
GET {{baseUrl1}}/api/{{apiVersion}}/{{domain}}/workflows/{{probeFlow}}/instances?page=1&pageSize=20&filter={{probeFilter}}
|
|
412
|
-
Accept-Language: tr-TR
|
|
413
|
-
|
|
414
|
-
###############################################################################
|
|
415
|
-
# SONUC TABLOSU — hangi kombinasyon ne anlama gelir
|
|
416
|
-
###############################################################################
|
|
417
|
-
# P.3=08-24, P.4=08-19 → desc CALISIYOR, iddia yanlis
|
|
418
|
-
# P.3=08-19, P.4=08-24 → yonler TERS uygulaniyor (gercek bug)
|
|
419
|
-
# P.3=P.4=P.10'un ilki → siralama hic uygulanmiyor
|
|
420
|
-
# ve P.5=400 → parametre okunuyor ama uygulanmiyor
|
|
421
|
-
# ve P.5=200 → parametre tamamen yok sayiliyor
|
|
422
|
-
# P.7 != P.3 → sadece orderBy calisiyor, sort degil
|
|
423
|
-
# P.8 calisiyor, P.1 calismiyor → tek-alan formu bozuk, fields formu saglam
|
|
424
|
-
# P.9 calisiyor, P.1 calismiyor → sorun createdAt kolonuna ozgu
|
|
425
|
-
#
|
|
426
|
-
# Raporlanabilir bir bug icin gereken minimum: P.10 (referans) + P.3 + P.4 + P.5
|
|
427
|
-
# ciktilari, x-trace-id'lerle birlikte.
|
|
428
|
-
###############################################################################
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"environments": {
|
|
3
|
-
"dev": {
|
|
4
|
-
"baseUrl": "http://localhost:4201",
|
|
5
|
-
"apiVersion": "v1",
|
|
6
|
-
"domain": "morph-idm",
|
|
7
|
-
"personKey": "123",
|
|
8
|
-
"userKey": "123",
|
|
9
|
-
"scopeKey": "123-123",
|
|
10
|
-
"clientKey": "IbWeb",
|
|
11
|
-
"consentKey": "123-IbWeb-123-123",
|
|
12
|
-
"deviceId": "test-device-123"
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
###############################################################################
|
|
2
|
-
# STEP 1: Person 123 - (user'da securityQuestion boş olacak)
|
|
3
|
-
###############################################################################
|
|
4
|
-
|
|
5
|
-
### Start Person - person'da securityQuestion yok; user start'ta boş array kullanılır
|
|
6
|
-
# @name startPerson
|
|
7
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/person/instances/start?sync=true
|
|
8
|
-
Accept-Language: tr-TR
|
|
9
|
-
X-Request-Id: {{$guid}}
|
|
10
|
-
X-Device-Id: admin-portal
|
|
11
|
-
X-Token-Id: {{$guid}}
|
|
12
|
-
X-Device-Info: Test Suite/1.0
|
|
13
|
-
X-Forwarded-For: 192.168.1.100
|
|
14
|
-
user_reference: test-admin
|
|
15
|
-
Content-Type: application/json
|
|
16
|
-
|
|
17
|
-
{
|
|
18
|
-
"key": "{{personKey}}",
|
|
19
|
-
"tags": ["test", "person", "security-test"],
|
|
20
|
-
"attributes": {
|
|
21
|
-
"personType": "retail-customers",
|
|
22
|
-
"name": {
|
|
23
|
-
"first": "Test",
|
|
24
|
-
"last": "User123"
|
|
25
|
-
},
|
|
26
|
-
"emails": [
|
|
27
|
-
{
|
|
28
|
-
"address": "test123@example.com",
|
|
29
|
-
"validations": [
|
|
30
|
-
{
|
|
31
|
-
"source": "otp",
|
|
32
|
-
"validatedAt": "{{$datetime iso8601}}",
|
|
33
|
-
"validatingProcess": "email-verification",
|
|
34
|
-
"status": "valid"
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
"useForAlerts": true
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
### Publish Person (draft -> active)
|
|
44
|
-
# @name publishPerson
|
|
45
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/person/instances/{{personKey}}/transitions/publish?sync=true
|
|
46
|
-
Accept-Language: tr-TR
|
|
47
|
-
X-Request-Id: {{$guid}}
|
|
48
|
-
X-Device-Id: admin-portal
|
|
49
|
-
X-Token-Id: {{$guid}}
|
|
50
|
-
X-Device-Info: Test Suite/1.0
|
|
51
|
-
X-Forwarded-For: 192.168.1.100
|
|
52
|
-
user_reference: test-admin
|
|
53
|
-
Content-Type: application/json
|
|
54
|
-
|
|
55
|
-
{
|
|
56
|
-
"attributes": {
|
|
57
|
-
"publishedBy": "test-admin",
|
|
58
|
-
"publishedAt": "{{$datetime iso8601}}"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
### Get Person Data
|
|
63
|
-
# @name getPersonData
|
|
64
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/person/instances/{{personKey}}/functions/data
|
|
65
|
-
Accept-Language: tr-TR
|
|
66
|
-
X-Request-Id: {{$guid}}
|
|
67
|
-
X-Device-Id: admin-portal
|
|
68
|
-
X-Token-Id: {{$guid}}
|
|
69
|
-
user_reference: test-admin
|
|
70
|
-
|
|
71
|
-
### Get Person State
|
|
72
|
-
# @name getPersonState
|
|
73
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/person/instances/{{personKey}}/functions/state
|
|
74
|
-
Accept-Language: tr-TR
|
|
75
|
-
X-Request-Id: {{$guid}}
|
|
76
|
-
X-Device-Id: admin-portal
|
|
77
|
-
X-Token-Id: {{$guid}}
|
|
78
|
-
user_reference: test-admin
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
###############################################################################
|
|
2
|
-
# STEP 2: User 123 - Person 123'e bağlı
|
|
3
|
-
###############################################################################
|
|
4
|
-
|
|
5
|
-
### Start User - Person 123'e bağlı
|
|
6
|
-
# @name createUser
|
|
7
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user/instances/start?sync=true
|
|
8
|
-
Accept-Language: tr-TR
|
|
9
|
-
X-Request-Id: {{$guid}}
|
|
10
|
-
X-Device-Id: admin-portal
|
|
11
|
-
X-Token-Id: {{$guid}}
|
|
12
|
-
X-Device-Info: Test Suite/1.0
|
|
13
|
-
X-Forwarded-For: 192.168.1.100
|
|
14
|
-
user_reference: test-admin
|
|
15
|
-
Content-Type: application/json
|
|
16
|
-
|
|
17
|
-
{
|
|
18
|
-
"key": "{{userKey}}",
|
|
19
|
-
"tags": ["test", "user", "security-test"],
|
|
20
|
-
"attributes": {
|
|
21
|
-
"person": {
|
|
22
|
-
"key": "{{personKey}}"
|
|
23
|
-
},
|
|
24
|
-
"status": "active",
|
|
25
|
-
"username": "testuser123",
|
|
26
|
-
"password": "$argon2id$v=19$m=65536,t=3,p=4$c29tZXNhbHQ$hashedPassword123",
|
|
27
|
-
"loginAttempts": 0,
|
|
28
|
-
"maxLoginAttempts": 5,
|
|
29
|
-
"isLocked": false,
|
|
30
|
-
"mustChangePassword": false,
|
|
31
|
-
"permissions": [
|
|
32
|
-
"login",
|
|
33
|
-
"view-profile"
|
|
34
|
-
]
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
### Publish User (draft -> active)
|
|
39
|
-
# @name publishUser
|
|
40
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user/instances/{{userKey}}/transitions/publish?sync=true
|
|
41
|
-
Accept-Language: tr-TR
|
|
42
|
-
X-Request-Id: {{$guid}}
|
|
43
|
-
X-Device-Id: admin-portal
|
|
44
|
-
X-Token-Id: {{$guid}}
|
|
45
|
-
X-Device-Info: Test Suite/1.0
|
|
46
|
-
X-Forwarded-For: 192.168.1.100
|
|
47
|
-
user_reference: test-admin
|
|
48
|
-
Content-Type: application/json
|
|
49
|
-
|
|
50
|
-
{
|
|
51
|
-
"attributes": {
|
|
52
|
-
"publishedBy": "test-admin",
|
|
53
|
-
"publishedAt": "{{$datetime iso8601}}"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
### Get User Data
|
|
58
|
-
# @name getUserData
|
|
59
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user/instances/{{userKey}}/functions/data
|
|
60
|
-
Accept-Language: tr-TR
|
|
61
|
-
X-Request-Id: {{$guid}}
|
|
62
|
-
X-Device-Id: admin-portal
|
|
63
|
-
X-Token-Id: {{$guid}}
|
|
64
|
-
user_reference: test-admin
|
|
65
|
-
|
|
66
|
-
### Get User State
|
|
67
|
-
# @name getUserState
|
|
68
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/user/instances/{{userKey}}/functions/state
|
|
69
|
-
Accept-Language: tr-TR
|
|
70
|
-
X-Request-Id: {{$guid}}
|
|
71
|
-
X-Device-Id: admin-portal
|
|
72
|
-
X-Token-Id: {{$guid}}
|
|
73
|
-
user_reference: test-admin
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
###############################################################################
|
|
2
|
-
# STEP 3: Scope - User 123 için IbWeb client scope
|
|
3
|
-
###############################################################################
|
|
4
|
-
|
|
5
|
-
### Start Scope
|
|
6
|
-
# @name createScope
|
|
7
|
-
POST {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/scope/instances/start?sync=true
|
|
8
|
-
Accept-Language: tr-TR
|
|
9
|
-
X-Request-Id: {{$guid}}
|
|
10
|
-
X-Device-Id: admin-portal
|
|
11
|
-
X-Token-Id: {{$guid}}
|
|
12
|
-
X-Device-Info: Test Suite/1.0
|
|
13
|
-
X-Forwarded-For: 192.168.1.100
|
|
14
|
-
user_reference: test-admin
|
|
15
|
-
Content-Type: application/json
|
|
16
|
-
|
|
17
|
-
{
|
|
18
|
-
"key": "{{scopeKey}}",
|
|
19
|
-
"tags": ["test", "scope", "security-test"],
|
|
20
|
-
"attributes": {
|
|
21
|
-
"group": {
|
|
22
|
-
"domain": "morph-idm",
|
|
23
|
-
"workflow": "scope-group",
|
|
24
|
-
"key": "retail-customers"
|
|
25
|
-
},
|
|
26
|
-
"searchKey": "{{userKey}}"
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
### Publish Scope (draft -> active)
|
|
31
|
-
# @name publishScope
|
|
32
|
-
PATCH {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/scope/instances/{{scopeKey}}/transitions/publish?sync=true
|
|
33
|
-
Accept-Language: tr-TR
|
|
34
|
-
X-Request-Id: {{$guid}}
|
|
35
|
-
X-Device-Id: admin-portal
|
|
36
|
-
X-Token-Id: {{$guid}}
|
|
37
|
-
X-Device-Info: Test Suite/1.0
|
|
38
|
-
X-Forwarded-For: 192.168.1.100
|
|
39
|
-
user_reference: test-admin
|
|
40
|
-
Content-Type: application/json
|
|
41
|
-
|
|
42
|
-
{
|
|
43
|
-
"attributes": {
|
|
44
|
-
"publishedBy": "test-admin",
|
|
45
|
-
"publishedAt": "{{$datetime iso8601}}"
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
### Get Scope Data
|
|
50
|
-
# @name getScopeData
|
|
51
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/scope/instances/{{scopeKey}}/functions/data
|
|
52
|
-
Accept-Language: tr-TR
|
|
53
|
-
X-Request-Id: {{$guid}}
|
|
54
|
-
X-Device-Id: admin-portal
|
|
55
|
-
X-Token-Id: {{$guid}}
|
|
56
|
-
user_reference: test-admin
|
|
57
|
-
|
|
58
|
-
### Get Scope State
|
|
59
|
-
# @name getScopeState
|
|
60
|
-
GET {{baseUrl}}/api/{{apiVersion}}/{{domain}}/workflows/scope/instances/{{scopeKey}}/functions/state
|
|
61
|
-
Accept-Language: tr-TR
|
|
62
|
-
X-Request-Id: {{$guid}}
|
|
63
|
-
X-Device-Id: admin-portal
|
|
64
|
-
X-Token-Id: {{$guid}}
|
|
65
|
-
user_reference: test-admin
|