-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Source Onesignal: Update connectors spec; fix incremental sync (#24076
) * Source Onesignal: Update connectors spec; fix incremental sync * Source Onesignal: Update connectors spec; fix incremental sync * Source Onesignal: fix unit tests * Source Onesignal: fix tests * Source Onesignal: update config * Source Onesignal: update schemas * Source Onesignal: add order * Source Onesignal: update docs * Source Onesignal: bump version * auto-bump connector version --------- Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
- Loading branch information
1 parent
1aaa221
commit 2a66839
Showing
21 changed files
with
276 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 14 additions & 6 deletions
20
airbyte-integrations/connectors/source-onesignal/integration_tests/abnormal_state.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
{ | ||
"devices": { | ||
"created_at": 33190962600 | ||
[ | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "8d466489-38af-4067-a6b8-2645ad83f4c2": { "last_active": 2598826148 }}, | ||
"stream_descriptor": { "name": "devices" } | ||
} | ||
}, | ||
"notifications": { | ||
"queued_at": 33190962600 | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "8d466489-38af-4067-a6b8-2645ad83f4c2": { "last_active": 2598826148 }}, | ||
"stream_descriptor": { "name": "notifications" } | ||
} | ||
} | ||
} | ||
] |
30 changes: 0 additions & 30 deletions
30
airbyte-integrations/connectors/source-onesignal/integration_tests/catalog.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
airbyte-integrations/connectors/source-onesignal/integration_tests/expected_records.jsonl
This file was deleted.
Oops, something went wrong.
9 changes: 8 additions & 1 deletion
9
airbyte-integrations/connectors/source-onesignal/integration_tests/sample_config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
{ | ||
"user_auth_key": "some auth key", | ||
"start_date": "2021-04-01T04:20:02Z", | ||
"outcome_names": "os__click.count" | ||
"outcome_names": "os__click.count", | ||
"applications": [ | ||
{ | ||
"app_name": "test_app", | ||
"app_id": "fake_app_id", | ||
"app_api_key": "fake_app_api_key" | ||
} | ||
] | ||
} |
20 changes: 14 additions & 6 deletions
20
airbyte-integrations/connectors/source-onesignal/integration_tests/sample_state.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
{ | ||
"devices": { | ||
"created_at": 1580510247 | ||
[ | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "fake_app_id": { "last_active": 1598826147 }}, | ||
"stream_descriptor": { "name": "devices" } | ||
} | ||
}, | ||
"notifications": { | ||
"queued_at": 1580510247 | ||
{ | ||
"type": "STREAM", | ||
"stream": { | ||
"stream_state": { "fake_app_id": { "last_active": 1598826147 }}, | ||
"stream_descriptor": { "name": "notifications" } | ||
} | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.