mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 21:12:09 +03:00
955db8ab11
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4413 Co-authored-by: Karthikeyan Chinnakonda <15602904+codingkarthik@users.noreply.github.com> GitOrigin-RevId: 721fae15587bdab6f27b8d1189fe6e41c42097e7
105 lines
2.0 KiB
YAML
105 lines
2.0 KiB
YAML
- description: create and then drop an event trigger
|
|
url: /v1/query
|
|
status: 200
|
|
query:
|
|
type: bulk
|
|
args:
|
|
- type: track_table
|
|
args:
|
|
schema: hge_tests
|
|
name: test_t1
|
|
|
|
- type: create_event_trigger
|
|
args:
|
|
name: t1_1
|
|
table:
|
|
schema: hge_tests
|
|
name: test_t1
|
|
insert:
|
|
columns: "*"
|
|
update:
|
|
columns: "*"
|
|
delete:
|
|
columns: "*"
|
|
webhook: http://127.0.0.1:5592
|
|
|
|
- type: delete_event_trigger
|
|
args:
|
|
name: t1_1
|
|
|
|
- type: untrack_table
|
|
args:
|
|
table:
|
|
schema: hge_tests
|
|
name: test_t1
|
|
|
|
- description: create an event trigger on case sensitive table name and then drop that event trigger
|
|
url: /v1/query
|
|
status: 200
|
|
query:
|
|
type: bulk
|
|
args:
|
|
- type: track_table
|
|
args:
|
|
schema: hge_tests
|
|
name: TEST_T2
|
|
|
|
- type: create_event_trigger
|
|
args:
|
|
name: t1_2
|
|
table:
|
|
schema: hge_tests
|
|
name: TEST_T2
|
|
insert:
|
|
columns: "*"
|
|
update:
|
|
columns: "*"
|
|
delete:
|
|
columns: "*"
|
|
webhook: http://127.0.0.1:5592
|
|
|
|
- type: delete_event_trigger
|
|
args:
|
|
name: t1_2
|
|
|
|
- type: untrack_table
|
|
args:
|
|
table:
|
|
schema: hge_tests
|
|
name: TEST_T2
|
|
|
|
- description: create an event trigger on case sensitive table name on public schema and then drop that event trigger
|
|
url: /v1/query
|
|
status: 200
|
|
query:
|
|
type: bulk
|
|
args:
|
|
- type: track_table
|
|
args:
|
|
schema: public
|
|
name: Test_T3
|
|
|
|
- type: create_event_trigger
|
|
args:
|
|
name: t1_3
|
|
table:
|
|
schema: public
|
|
name: Test_T3
|
|
insert:
|
|
columns: "*"
|
|
update:
|
|
columns: "*"
|
|
delete:
|
|
columns: "*"
|
|
webhook: http://127.0.0.1:5592
|
|
|
|
- type: delete_event_trigger
|
|
args:
|
|
name: t1_3
|
|
|
|
- type: untrack_table
|
|
args:
|
|
table:
|
|
schema: public
|
|
name: Test_T3
|