1
0
mirror of synced 2026-01-06 06:04:16 -05:00

🎉 Native GitHub connector (#4174)

* GitHub source initial version

All streams are in `full_refresh` mode only.

* Run format command

* Add handling for 404 error in Teams stream

* Update creds naming for github

* Update acceptance tests

* Update check_connection()

* Code review fixes

Remove `/integration_tests/catalog.json` file.
Use `Collaborators` class in `check_connection()` function.
Remove excessive data from GithubStream class.

* Remove unused import

* Implement requested changes

* Add incremental streams

* Remove `supports_incremental`

* Update docs

* Implement requested changes

* Implement requested changes

* Implement requested changes

* Bump connector version
This commit is contained in:
oleh.zorenko
2021-07-06 17:06:34 +03:00
committed by GitHub
parent 2efac85c1f
commit 84ba3e79b3
49 changed files with 2760 additions and 51 deletions

View File

@@ -0,0 +1,123 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"_ab_github_repository": {
"type": ["string"]
},
"created_at": {
"type": ["null", "string"],
"format": "date-time"
},
"url": {
"type": ["null", "string"]
},
"sha": {
"type": ["null", "string"]
},
"node_id": {
"type": ["null", "string"]
},
"html_url": {
"type": ["null", "string"]
},
"comments_url": {
"type": ["null", "string"]
},
"commit": {
"type": ["null", "object"],
"properties": {
"author": {
"type": ["null", "object"],
"properties": {
"name": {
"type": ["null", "string"]
},
"email": {
"type": ["null", "string"]
},
"date": {
"type": ["null", "string"],
"format": "date-time"
}
}
},
"committer": {
"type": ["null", "object"],
"properties": {
"name": {
"type": ["null", "string"]
},
"email": {
"type": ["null", "string"]
},
"date": {
"type": ["null", "string"],
"format": "date-time"
}
}
},
"message": {
"type": ["null", "string"]
},
"tree": {
"type": ["null", "object"],
"properties": {
"sha": {
"type": ["null", "string"]
},
"url": {
"type": ["null", "string"]
}
}
},
"url": {
"type": ["null", "string"]
},
"comment_count": {
"type": ["null", "integer"]
},
"verification": {
"type": ["null", "object"],
"properties": {
"verified": {
"type": ["null", "boolean"]
},
"reason": {
"type": ["null", "string"]
},
"signature": {
"type": ["null", "string"]
},
"payload": {
"type": ["null", "string"]
}
}
}
}
},
"author_id": {
"type": ["null", "integer"]
},
"committer_id": {
"type": ["null", "integer"]
},
"parents": {
"type": ["null", "array"],
"items": {
"type": ["null", "object"],
"properties": {
"sha": {
"type": ["null", "string"]
},
"url": {
"type": ["null", "string"]
},
"html_url": {
"type": ["null", "string"]
}
}
}
}
}
}