2018-09-24 14:50:11 +03:00
|
|
|
type: bulk
|
|
|
|
args:
|
2021-01-06 19:06:24 +03:00
|
|
|
|
2018-09-24 14:50:11 +03:00
|
|
|
- type: run_sql
|
|
|
|
args:
|
|
|
|
sql: |
|
|
|
|
create table hge_tests.test_t1(
|
|
|
|
c1 int,
|
|
|
|
c2 text
|
|
|
|
);
|
2021-01-06 19:06:24 +03:00
|
|
|
|
2018-09-24 14:50:11 +03:00
|
|
|
- type: track_table
|
|
|
|
args:
|
|
|
|
schema: hge_tests
|
|
|
|
name: test_t1
|
|
|
|
- type: create_event_trigger
|
|
|
|
args:
|
|
|
|
name: t1_all
|
|
|
|
table:
|
|
|
|
schema: hge_tests
|
|
|
|
name: test_t1
|
|
|
|
insert:
|
2021-01-06 19:06:24 +03:00
|
|
|
columns: '*'
|
2018-09-24 14:50:11 +03:00
|
|
|
update:
|
2021-01-06 19:06:24 +03:00
|
|
|
columns: '*'
|
2018-09-24 14:50:11 +03:00
|
|
|
delete:
|
2021-01-06 19:06:24 +03:00
|
|
|
columns: '*'
|
2018-09-24 14:50:11 +03:00
|
|
|
webhook: http://127.0.0.1:5592
|
|
|
|
headers:
|
2021-01-06 19:06:24 +03:00
|
|
|
- name: X-Header-From-Value
|
|
|
|
value: MyValue
|
|
|
|
- name: X-Header-From-Env
|
|
|
|
value_from_env: EVENT_WEBHOOK_HEADER
|