From 7e44a6cffcc9d009d61deb65775cce661ffc6411 Mon Sep 17 00:00:00 2001 From: Denys Davydov Date: Thu, 1 Dec 2022 18:34:39 +0200 Subject: [PATCH 1/4] #12901 source gitlab: fix schema --- .../connectors/source-gitlab/Dockerfile | 2 +- .../source_gitlab/schemas/group_milestones.json | 4 ++-- docs/integrations/sources/gitlab.md | 17 +++++++++-------- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/airbyte-integrations/connectors/source-gitlab/Dockerfile b/airbyte-integrations/connectors/source-gitlab/Dockerfile index 68047e54ba2d..f888bc1897fa 100644 --- a/airbyte-integrations/connectors/source-gitlab/Dockerfile +++ b/airbyte-integrations/connectors/source-gitlab/Dockerfile @@ -13,5 +13,5 @@ RUN pip install . ENTRYPOINT ["python", "/airbyte/integration_code/main.py"] -LABEL io.airbyte.version=0.1.6 +LABEL io.airbyte.version=0.1.7 LABEL io.airbyte.name=airbyte/source-gitlab diff --git a/airbyte-integrations/connectors/source-gitlab/source_gitlab/schemas/group_milestones.json b/airbyte-integrations/connectors/source-gitlab/source_gitlab/schemas/group_milestones.json index eaaee94434ae..71f833d9c4b2 100644 --- a/airbyte-integrations/connectors/source-gitlab/source_gitlab/schemas/group_milestones.json +++ b/airbyte-integrations/connectors/source-gitlab/source_gitlab/schemas/group_milestones.json @@ -30,11 +30,11 @@ }, "due_date": { "type": ["null", "string"], - "format": "date-time" + "format": "date" }, "start_date": { "type": ["null", "string"], - "format": "date-time" + "format": "date" }, "expired": { "type": ["null", "boolean"] diff --git a/docs/integrations/sources/gitlab.md b/docs/integrations/sources/gitlab.md index b01a0e598f70..cfe462f64203 100644 --- a/docs/integrations/sources/gitlab.md +++ b/docs/integrations/sources/gitlab.md @@ -61,13 +61,14 @@ GitLab source is working with GitLab API v4. It can also work with self-hosted G ## Changelog -| Version | Date | Pull Request | Subject | -|:--------|:-----------|:---------------------------------------------------------| :--- | -| 0.1.6 | 2022-06-23 | [13252](https://github.com/airbytehq/airbyte/pull/13252) | Add GroupIssueBoards stream | -| 0.1.5 | 2022-05-02 | [11907](https://github.com/airbytehq/airbyte/pull/11907) | Fix null projects param and `container_expiration_policy` | -| 0.1.4 | 2022-03-23 | [11140](https://github.com/airbytehq/airbyte/pull/11140) | Ingest All Accessible Groups if not Specified in Config | -| 0.1.3 | 2021-12-21 | [8991](https://github.com/airbytehq/airbyte/pull/8991) | Update connector fields title/description | -| 0.1.2 | 2021-10-18 | [7108](https://github.com/airbytehq/airbyte/pull/7108) | Allow all domains to be used as `api_url` | +| Version | Date | Pull Request | Subject | +|:--------|:-----------|:---------------------------------------------------------|:-------------------------------------------------------------------------------------------| +| 0.1.7 | 2022-12-01 | [00000](https://github.com/airbytehq/airbyte/pull/00000) | Fix `GroupMilestones` stream schema | +| 0.1.6 | 2022-06-23 | [13252](https://github.com/airbytehq/airbyte/pull/13252) | Add GroupIssueBoards stream | +| 0.1.5 | 2022-05-02 | [11907](https://github.com/airbytehq/airbyte/pull/11907) | Fix null projects param and `container_expiration_policy` | +| 0.1.4 | 2022-03-23 | [11140](https://github.com/airbytehq/airbyte/pull/11140) | Ingest All Accessible Groups if not Specified in Config | +| 0.1.3 | 2021-12-21 | [8991](https://github.com/airbytehq/airbyte/pull/8991) | Update connector fields title/description | +| 0.1.2 | 2021-10-18 | [7108](https://github.com/airbytehq/airbyte/pull/7108) | Allow all domains to be used as `api_url` | | 0.1.1 | 2021-10-12 | [6932](https://github.com/airbytehq/airbyte/pull/6932) | Fix pattern field in spec file, remove unused fields from config files, use cache from CDK | -| 0.1.0 | 2021-07-06 | [4174](https://github.com/airbytehq/airbyte/pull/4174) | Initial Release | +| 0.1.0 | 2021-07-06 | [4174](https://github.com/airbytehq/airbyte/pull/4174) | Initial Release | From 8945137a5b87edd3631927cd13856dd31cb9819d Mon Sep 17 00:00:00 2001 From: Denys Davydov Date: Thu, 1 Dec 2022 18:36:52 +0200 Subject: [PATCH 2/4] #12901 source gitlab: upd changelog --- docs/integrations/sources/gitlab.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integrations/sources/gitlab.md b/docs/integrations/sources/gitlab.md index cfe462f64203..5a58dd482517 100644 --- a/docs/integrations/sources/gitlab.md +++ b/docs/integrations/sources/gitlab.md @@ -63,7 +63,7 @@ GitLab source is working with GitLab API v4. It can also work with self-hosted G | Version | Date | Pull Request | Subject | |:--------|:-----------|:---------------------------------------------------------|:-------------------------------------------------------------------------------------------| -| 0.1.7 | 2022-12-01 | [00000](https://github.com/airbytehq/airbyte/pull/00000) | Fix `GroupMilestones` stream schema | +| 0.1.7 | 2022-12-01 | [19986](https://github.com/airbytehq/airbyte/pull/19986) | Fix `GroupMilestones` stream schema | | 0.1.6 | 2022-06-23 | [13252](https://github.com/airbytehq/airbyte/pull/13252) | Add GroupIssueBoards stream | | 0.1.5 | 2022-05-02 | [11907](https://github.com/airbytehq/airbyte/pull/11907) | Fix null projects param and `container_expiration_policy` | | 0.1.4 | 2022-03-23 | [11140](https://github.com/airbytehq/airbyte/pull/11140) | Ingest All Accessible Groups if not Specified in Config | From 898b74fbd5cb277ebf1d4219157b813515bbf86c Mon Sep 17 00:00:00 2001 From: Denys Davydov Date: Thu, 1 Dec 2022 19:04:44 +0200 Subject: [PATCH 3/4] #12901 fix SAT --- .../connectors/source-gitlab/source_gitlab/spec.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airbyte-integrations/connectors/source-gitlab/source_gitlab/spec.json b/airbyte-integrations/connectors/source-gitlab/source_gitlab/spec.json index 42ceafa8ecc6..e394af032bbf 100644 --- a/airbyte-integrations/connectors/source-gitlab/source_gitlab/spec.json +++ b/airbyte-integrations/connectors/source-gitlab/source_gitlab/spec.json @@ -5,7 +5,7 @@ "title": "Source GitLab Singer Spec", "type": "object", "required": ["api_url", "private_token", "start_date"], - "additionalProperties": false, + "additionalProperties": true, "properties": { "api_url": { "type": "string", From ff7abd19c3f2a0593ae07acf7b93b85fcd3cbafd Mon Sep 17 00:00:00 2001 From: Octavia Squidington III Date: Thu, 1 Dec 2022 18:36:02 +0000 Subject: [PATCH 4/4] auto-bump connector version --- .../init/src/main/resources/seed/source_definitions.yaml | 2 +- airbyte-config/init/src/main/resources/seed/source_specs.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml index 4cade59107a4..1e6af2415c14 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -554,7 +554,7 @@ - name: Gitlab sourceDefinitionId: 5e6175e5-68e1-4c17-bff9-56103bbb0d80 dockerRepository: airbyte/source-gitlab - dockerImageTag: 0.1.6 + dockerImageTag: 0.1.7 documentationUrl: https://docs.airbyte.com/integrations/sources/gitlab icon: gitlab.svg sourceType: api diff --git a/airbyte-config/init/src/main/resources/seed/source_specs.yaml b/airbyte-config/init/src/main/resources/seed/source_specs.yaml index 4c387ba4eea5..ae0dc426d29e 100644 --- a/airbyte-config/init/src/main/resources/seed/source_specs.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_specs.yaml @@ -4638,7 +4638,7 @@ path_in_connector_config: - "credentials" - "client_secret" -- dockerImage: "airbyte/source-gitlab:0.1.6" +- dockerImage: "airbyte/source-gitlab:0.1.7" spec: documentationUrl: "https://docs.airbyte.com/integrations/sources/gitlab" connectionSpecification: @@ -4649,7 +4649,7 @@ - "api_url" - "private_token" - "start_date" - additionalProperties: false + additionalProperties: true properties: api_url: type: "string"