diff --git a/src/test/resources/TEST_config_live.xml b/src/test/resources/TEST_config_live.xml new file mode 100644 index 0000000..90a65f5 --- /dev/null +++ b/src/test/resources/TEST_config_live.xml @@ -0,0 +1,52 @@ + + + 360000 + 10000 + 1000 + + jdbc:postgresql://localhost:5432/test + test + test + 600000 + + + jdbc:postgresql://localhost:5432/test + test + test + + + + test + select coalesce(-1,max(id),-1) as key from dest + + + insert into public.dest( + id, + test_int, + test_text, + test_ts + )values( + ?::bigint, + ?::integer, + ?::text, + ?::timestamp with time zone + )ON CONFLICT(id) DO UPDATE + set + test_int = EXCLUDED.test_int, + test_text = EXCLUDED.test_text, + test_ts = EXCLUDED.test_ts + WHERE + dest.test_int = EXCLUDED.test_int + OR dest.test_text = EXCLUDED.test_text + OR dest.test_ts = EXCLUDED.test_ts + + + + diff --git a/src/test/resources/copying_defaults_log4j.xml b/src/test/resources/copying_defaults_log4j.xml new file mode 100644 index 0000000..adeb7a4 --- /dev/null +++ b/src/test/resources/copying_defaults_log4j.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + +