graphql-engine/server/tests-py/queries/event_triggers/retry_conf/setup_mssql.yaml
Naveen Naidu abb57e58c8 server/MSSQL: Event Delivery System (Incremental PR - 3)
</details>

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3392
Co-authored-by: Divi <32202683+imperfect-fourth@users.noreply.github.com>
GitOrigin-RevId: 9df6b0aa7d91f22571b72d3e467da23b916c9140
2022-04-21 07:20:34 +00:00

79 lines
1.4 KiB
YAML

type: bulk
args:
- type: mssql_track_table
args:
source: mssql
table:
schema: hge_tests
name: test_t1
- type: mssql_track_table
args:
source: mssql
table:
schema: hge_tests
name: test_t2
- type: mssql_track_table
args:
source: mssql
table:
schema: hge_tests
name: test_t3
- type: mssql_create_event_trigger
args:
source: mssql
name: t1_retry
table:
schema: hge_tests
name: test_t1
insert:
columns: "*"
update:
columns: "*"
delete:
columns: "*"
webhook: http://127.0.0.1:5592/fail
retry_conf:
num_retries: 4
interval_sec: 1
- type: mssql_create_event_trigger
args:
source: mssql
name: t2_timeout_short
table:
schema: hge_tests
name: test_t2
insert:
columns: "*"
update:
columns: "*"
delete:
columns: "*"
webhook: http://127.0.0.1:5592/sleep_2s
retry_conf:
num_retries: 2
interval_sec: 1
timeout_sec: 1
- type: mssql_create_event_trigger
args:
source: mssql
name: t3_timeout_long
table:
schema: hge_tests
name: test_t3
insert:
columns: "*"
update:
columns: "*"
delete:
columns: "*"
webhook: http://127.0.0.1:5592/sleep_2s
retry_conf:
num_retries: 0
interval_sec: 2
timeout_sec: 10