Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎉Source GitHub: Add more streams #5757

Merged
merged 18 commits into from
Sep 1, 2021
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,18 @@ tests:
configured_catalog_path: "integration_tests/configured_catalog.json"
future_state_path: "integration_tests/abnormal_state.json"
cursor_paths:
events: ["airbytehq/integration-test", "created_at"]
comments: ["airbytehq/integration-test", "updated_at"]
pull_requests: ["airbytehq/integration-test", "updated_at"]
commit_comments: ["airbytehq/integration-test", "updated_at"]
issue_milestones: ["airbytehq/integration-test", "updated_at"]
commits: ["airbytehq/integration-test", "created_at"]
stargazers: ["airbytehq/integration-test", "starred_at"]
projects: ["airbytehq/integration-test", "updated_at"]
issues: ["airbytehq/integration-test", "updated_at"]
events: ["airbytehq/integration-test", "created_at"]
issue_events: ["airbytehq/integration-test", "created_at"]
issue_milestones: ["airbytehq/integration-test", "updated_at"]
issues: ["airbytehq/integration-test", "updated_at"]
projects: ["airbytehq/integration-test", "updated_at"]
pull_requests: ["airbytehq/integration-test", "updated_at"]
releases: ["airbytehq/integration-test", "created_at"]
review_comments: ["airbytehq/integration-test", "updated_at"]
stargazers: ["airbytehq/integration-test", "starred_at"]
full_refresh:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
{
"comments": {
"airbytehq/integration-test": {
"updated_at": "2121-06-30T10:22:10Z"
}
},
"commit_comments": {
"airbytehq/integration-test": {
"updated_at": "2121-04-30T20:36:17Z"
}
},
"projects": {
"commits": {
"airbytehq/integration-test": {
"updated_at": "2121-06-28T17:24:51Z"
"created_at": "2121-06-30T10:04:41Z"
}
},
"releases": {
"events": {
"airbytehq/integration-test": {
"created_at": "2121-06-23T23:57:07Z"
"created_at": "2121-06-29T03:44:45Z"
}
},
"issue_events": {
"airbytehq/integration-test": {
"created_at": "2121-06-29T01:49:42Z"
}
},
"issue_milestones": {
Expand All @@ -24,35 +34,29 @@
"updated_at": "2121-06-30T06:44:42Z"
}
},
"comments": {
"airbytehq/integration-test": {
"updated_at": "2121-06-30T10:22:10Z"
}
},
"commits": {
"projects": {
"airbytehq/integration-test": {
"created_at": "2121-06-30T10:04:41Z"
"updated_at": "2121-06-28T17:24:51Z"
}
},

"stargazers": {
"pull_requests": {
"airbytehq/integration-test": {
"starred_at": "2121-06-29T02:04:57Z"
"updated_at": "2121-06-28T23:36:35Z"
}
},
"events": {
"releases": {
"airbytehq/integration-test": {
"created_at": "2121-06-29T03:44:45Z"
"created_at": "2121-06-23T23:57:07Z"
}
},
"issue_events": {
"review_comments": {
"airbytehq/integration-test": {
"created_at": "2121-06-29T01:49:42Z"
"updated_at": "2121-06-23T23:57:07Z"
}
},
"pull_requests": {
"stargazers": {
"airbytehq/integration-test": {
"updated_at": "2121-06-28T23:36:35Z"
"starred_at": "2121-06-29T02:04:57Z"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,37 @@
"name": "assignees",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_cursor": false
"source_defined_primary_key": [["id"]]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "reviews",
"name": "branches",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_cursor": false
"source_defined_primary_key": [["id"]]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "events",
"name": "collaborators",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": false,
"default_cursor_field": ["created_at"],
"supported_sync_modes": ["full_refresh"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "incremental",
"destination_sync_mode": "append",
"cursor_field": ["created_at"]
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "comments",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": false,
"source_defined_cursor": true,
"default_cursor_field": ["updated_at"],
"source_defined_primary_key": [["id"]]
},
Expand All @@ -48,10 +45,10 @@
},
{
"stream": {
"name": "pull_requests",
"name": "commit_comments",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": false,
"source_defined_cursor": true,
"default_cursor_field": ["updated_at"],
"source_defined_primary_key": [["id"]]
},
Expand All @@ -61,36 +58,36 @@
},
{
"stream": {
"name": "commit_comments",
"name": "commits",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": false,
"default_cursor_field": ["updated_at"],
"source_defined_primary_key": [["id"]]
"source_defined_cursor": true,
"default_cursor_field": ["created_at"],
"source_defined_primary_key": [["sha"]]
},
"sync_mode": "incremental",
"destination_sync_mode": "append",
"cursor_field": ["updated_at"]
"cursor_field": ["created_at"]
},
{
"stream": {
"name": "issue_milestones",
"name": "events",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": false,
"default_cursor_field": ["updated_at"],
"source_defined_cursor": true,
"default_cursor_field": ["created_at"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "incremental",
"destination_sync_mode": "append",
"cursor_field": ["updated_at"]
"cursor_field": ["created_at"]
},
{
"stream": {
"name": "commits",
"name": "issue_events",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": false,
"source_defined_cursor": true,
"default_cursor_field": ["created_at"],
"source_defined_primary_key": [["id"]]
},
Expand All @@ -100,33 +97,46 @@
},
{
"stream": {
"name": "collaborators",
"name": "issue_labels",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_cursor": false
"source_defined_primary_key": [["id"]]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "stargazers",
"name": "issue_milestones",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": false,
"default_cursor_field": ["starred_at"],
"source_defined_primary_key": [["user_id"]]
"source_defined_cursor": true,
"default_cursor_field": ["updated_at"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "incremental",
"destination_sync_mode": "append",
"cursor_field": ["starred_at"]
"cursor_field": ["updated_at"]
},
{
"stream": {
"name": "teams",
"name": "issues",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["updated_at"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "incremental",
"destination_sync_mode": "append",
"cursor_field": ["updated_at"]
},
{
"stream": {
"name": "organizations",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_cursor": false
"source_defined_primary_key": [["id"]]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
Expand All @@ -136,7 +146,7 @@
"name": "projects",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": false,
"source_defined_cursor": true,
"default_cursor_field": ["updated_at"],
"source_defined_primary_key": [["id"]]
},
Expand All @@ -146,20 +156,20 @@
},
{
"stream": {
"name": "issue_labels",
"name": "pull_request_stats",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_cursor": false
"source_defined_primary_key": [["id"]]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "issues",
"name": "pull_requests",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": false,
"source_defined_cursor": true,
"default_cursor_field": ["updated_at"],
"source_defined_primary_key": [["id"]]
},
Expand All @@ -169,10 +179,10 @@
},
{
"stream": {
"name": "issue_events",
"name": "releases",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": false,
"source_defined_cursor": true,
"default_cursor_field": ["created_at"],
"source_defined_primary_key": [["id"]]
},
Expand All @@ -182,16 +192,79 @@
},
{
"stream": {
"name": "releases",
"name": "repositories",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "review_comments",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": false,
"default_cursor_field": ["created_at"],
"source_defined_cursor": true,
"default_cursor_field": ["updated_at"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "incremental",
"destination_sync_mode": "append",
"cursor_field": ["created_at"]
"cursor_field": ["updated_at"]
},
{
"stream": {
"name": "reviews",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "stargazers",
"json_schema": {},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["starred_at"],
"source_defined_primary_key": [["user_id"]]
},
"sync_mode": "incremental",
"destination_sync_mode": "append",
"cursor_field": ["starred_at"]
},
{
"stream": {
"name": "tags",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "teams",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "users",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_primary_key": [["id"]]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
}
]
}
Loading