You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A flag is added that disables the generation of events when creating, updating or deleting dialogs
Description
When creating dialogs as part of the migration process (or synth test data generation), it is not desirable to generate dialog created/updated events. This applies to all commands that cause any of the dialog event types to be produced (dialog created/updated/deleted, activity created).
Implementation
This should be a query flag, ?produceDialogEvents=false, that if set to false, disables any event generation.
The content you are editing has changed. Please copy your edits and refresh the page.
GIVEN a client performs a request to create, update, or delete a dialog, WHEN the ?produceDialogEvents flag is not provided or is set to true, THEN dialog events (created, updated, deleted) are generated as usual.
Case 2: Flag Set to False
GIVEN a client performs a request to create, update, or delete a dialog, WHEN the ?produceDialogEvents flag is provided and set to false, THEN no dialog events (created, updated, deleted) are generated, AND the operation is processed normally without event side effects.
Case 3: Activity Creation with Flag Set to False
GIVEN a client performs a request to add an activity to a dialog, WHEN the ?produceDialogEvents flag is provided and set to false, THEN no activity created events are generated, AND the operation completes as expected.
Negative Case: Invalid Flag Value
GIVEN a client performs a request with an invalid value for the ?produceDialogEvents flag (e.g., ?produceDialogEvents=invalid), WHEN the request is processed, THEN the system defaults to generating dialog events as if the flag was set to true, AND no errors are returned to the client.
The text was updated successfully, but these errors were encountered:
Introduction
A flag is added that disables the generation of events when creating, updating or deleting dialogs
Description
When creating dialogs as part of the migration process (or synth test data generation), it is not desirable to generate dialog created/updated events. This applies to all commands that cause any of the dialog event types to be produced (dialog created/updated/deleted, activity created).
Implementation
This should be a query flag,
?produceDialogEvents=false
, that if set to false, disables any event generation.Tasks
Threat modelling
Acceptance criteria
Case 1: Flag Not Provided
GIVEN a client performs a request to create, update, or delete a dialog,
WHEN the
?produceDialogEvents
flag is not provided or is set totrue
,THEN dialog events (created, updated, deleted) are generated as usual.
Case 2: Flag Set to False
GIVEN a client performs a request to create, update, or delete a dialog,
WHEN the
?produceDialogEvents
flag is provided and set tofalse
,THEN no dialog events (created, updated, deleted) are generated,
AND the operation is processed normally without event side effects.
Case 3: Activity Creation with Flag Set to False
GIVEN a client performs a request to add an activity to a dialog,
WHEN the
?produceDialogEvents
flag is provided and set tofalse
,THEN no activity created events are generated,
AND the operation completes as expected.
Negative Case: Invalid Flag Value
GIVEN a client performs a request with an invalid value for the
?produceDialogEvents
flag (e.g.,?produceDialogEvents=invalid
),WHEN the request is processed,
THEN the system defaults to generating dialog events as if the flag was set to
true
,AND no errors are returned to the client.
The text was updated successfully, but these errors were encountered: