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 Gitlab: certification improvements: epics pk, date-time format, docs, allowed hosts #31700

Merged
merged 11 commits into from
Oct 26, 2023
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ acceptance_tests:
tests:
- config_path: "secrets/config.json"
backward_compatibility_tests_config:
disable_for_version: 1.7.1
disable_for_version: 1.8.4
darynaishchenko marked this conversation as resolved.
Show resolved Hide resolved
basic_read:
tests:
- config_path: "secrets/config.json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,11 @@
"name": "epics",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_primary_key": [["iid"]]
"source_defined_primary_key": [["id"]]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite",
"primary_key": [["iid"]]
"primary_key": [["id"]]
},
{
"stream": {
Expand Down
4 changes: 2 additions & 2 deletions airbyte-integrations/connectors/source-gitlab/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ data:
sl: 200
allowedHosts:
hosts:
- "*"
- ${api_url}
davydov-d marked this conversation as resolved.
Show resolved Hide resolved
connectorBuildOptions:
baseImage: docker.io/airbyte/python-connector-base:1.1.0@sha256:bd98f6505c6764b1b5f99d3aedc23dfc9e9af631a62533f60eb32b1d3dbab20c
connectorSubtype: api
connectorType: source
definitionId: 5e6175e5-68e1-4c17-bff9-56103bbb0d80
dockerImageTag: 1.8.4
dockerImageTag: 1.9.0
dockerRepository: airbyte/source-gitlab
documentationUrl: https://docs.airbyte.com/integrations/sources/gitlab
githubIssueLabel: source-gitlab
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@
"type": ["null", "object"],
"properties": {
"created_at": {
"type": ["null", "string"]
"type": ["null", "string"],
"format": "date-time"
},
"id": {
"type": ["null", "integer"]
Expand All @@ -195,7 +196,8 @@
"type": ["null", "string"]
},
"updated_at": {
"type": ["null", "string"]
"type": ["null", "string"],
"format": "date-time"
},
"web_url": {
"type": ["null", "string"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"expires_at": {
"type": ["null", "string"],
"format": "date"
"format": "date-time"
},
"created_by": {
"avatar_url": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"expires_at": {
"type": ["null", "string"],
"format": "date"
"format": "date-time"
},
"created_by": {
"avatar_url": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ class Users(GitlabChildStream):


class Epics(GitlabChildStream):
primary_key = "iid"
darynaishchenko marked this conversation as resolved.
Show resolved Hide resolved
primary_key = "id"
darynaishchenko marked this conversation as resolved.
Show resolved Hide resolved
flatten_id_keys = ["author"]


Expand Down
84 changes: 41 additions & 43 deletions docs/integrations/sources/gitlab.md

Large diffs are not rendered by default.

Loading