Skip to content

Commit

Permalink
add other SAT tests to the template
Browse files Browse the repository at this point in the history
  • Loading branch information
DoNotPanicUA committed Nov 28, 2022
1 parent 90d9f45 commit c15b4dc
Show file tree
Hide file tree
Showing 10 changed files with 116 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,17 @@ tests:
spec:
- spec_path: "src/test-integration/resources/expected_spec.json"
config_path: "src/test-integration/resources/dummy_config.json"
connection:
- config_path: "secrets/sat-config.json"
status: "succeed"
discovery:
- config_path: "secrets/sat-config.json"
basic_read:
- config_path: "secrets/sat-config.json"
expect_records:
path: "integration_tests/expected_records.json"
full_refresh:
- config_path: "secrets/sat-config.json"
incremental:
- config_path: "secrets/sat-config.json"
configured_catalog_path: "integration_tests/configured_catalog_inc.json"
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"streams": [
{
"stream": {
"name": "stream_name",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_cursor": null,
"default_cursor_field": null,
"source_defined_primary_key": [["pk_name"]],
"namespace": null
},
"sync_mode": "stream_name",
"cursor_field": null,
"destination_sync_mode": "append",
"primary_key": null
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"streams": [
{
"stream": {
"name": "stream_name",
"json_schema": {},
"supported_sync_modes": ["incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["cursor_name"]
},
"sync_mode": "incremental",
"cursor_field": ["cursor_name"],
"destination_sync_mode": "append"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{"stream": "stream_name", "data": {"column_1": "value_1", "column_2": -128 }, "emitted_at": 1626172757000 }
{"stream": "stream_name", "data": {"column_1": "value_2", "column_2": 128 }, "emitted_at": 1626172757000 }
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"host": "host",
"port": 5555,
"database": "database",
"username": "username",
"replication_method": "STANDARD"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,17 @@ tests:
spec:
- spec_path: "src/test-integration/resources/expected_spec.json"
config_path: "src/test-integration/resources/dummy_config.json"
connection:
- config_path: "secrets/sat-config.json"
status: "succeed"
discovery:
- config_path: "secrets/sat-config.json"
basic_read:
- config_path: "secrets/sat-config.json"
expect_records:
path: "integration_tests/expected_records.json"
full_refresh:
- config_path: "secrets/sat-config.json"
incremental:
- config_path: "secrets/sat-config.json"
configured_catalog_path: "integration_tests/configured_catalog_inc.json"
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"streams": [
{
"stream": {
"name": "stream_name",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_cursor": null,
"default_cursor_field": null,
"source_defined_primary_key": [["pk_name"]],
"namespace": null
},
"sync_mode": "stream_name",
"cursor_field": null,
"destination_sync_mode": "append",
"primary_key": null
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"streams": [
{
"stream": {
"name": "stream_name",
"json_schema": {},
"supported_sync_modes": ["incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["cursor_name"]
},
"sync_mode": "incremental",
"cursor_field": ["cursor_name"],
"destination_sync_mode": "append"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{"stream": "stream_name", "data": {"column_1": "value_1", "column_2": -128 }, "emitted_at": 1626172757000 }
{"stream": "stream_name", "data": {"column_1": "value_2", "column_2": 128 }, "emitted_at": 1626172757000 }
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"host": "host",
"port": 5555,
"database": "database",
"username": "username",
"replication_method": "STANDARD"
}

0 comments on commit c15b4dc

Please sign in to comment.