From be303bdbadc7fe9591d6f0b030702b1e3faa8cdb Mon Sep 17 00:00:00 2001 From: Iryna Grankova <87977540+igrankova@users.noreply.github.com> Date: Thu, 23 Dec 2021 12:24:12 +0200 Subject: [PATCH] Update fields in source-connectors specifications: gitlab (#8991) --- .../5e6175e5-68e1-4c17-bff9-56103bbb0d80.json | 2 +- .../resources/seed/source_definitions.yaml | 2 +- .../src/main/resources/seed/source_specs.yaml | 19 ++++++++++++------- .../connectors/source-gitlab/Dockerfile | 2 +- .../source-gitlab/source_gitlab/spec.json | 17 +++++++++++------ docs/integrations/sources/gitlab.md | 1 + 6 files changed, 27 insertions(+), 16 deletions(-) diff --git a/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/5e6175e5-68e1-4c17-bff9-56103bbb0d80.json b/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/5e6175e5-68e1-4c17-bff9-56103bbb0d80.json index 9b7ada252e1c..5fd94f2e3368 100644 --- a/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/5e6175e5-68e1-4c17-bff9-56103bbb0d80.json +++ b/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/5e6175e5-68e1-4c17-bff9-56103bbb0d80.json @@ -2,7 +2,7 @@ "sourceDefinitionId": "5e6175e5-68e1-4c17-bff9-56103bbb0d80", "name": "Gitlab", "dockerRepository": "airbyte/source-gitlab", - "dockerImageTag": "0.1.2", + "dockerImageTag": "0.1.3", "documentationUrl": "https://docs.airbyte.io/integrations/sources/gitlab", "icon": "gitlab.svg" } 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 0beddc61fff6..e86bd39ae1fd 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -224,7 +224,7 @@ - name: Gitlab sourceDefinitionId: 5e6175e5-68e1-4c17-bff9-56103bbb0d80 dockerRepository: airbyte/source-gitlab - dockerImageTag: 0.1.2 + dockerImageTag: 0.1.3 documentationUrl: https://docs.airbyte.io/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 803d844e88c2..0ba56bd6e161 100644 --- a/airbyte-config/init/src/main/resources/seed/source_specs.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_specs.yaml @@ -2044,12 +2044,12 @@ oauthFlowInitParameters: [] oauthFlowOutputParameters: - - "access_token" -- dockerImage: "airbyte/source-gitlab:0.1.2" +- dockerImage: "airbyte/source-gitlab:0.1.3" spec: documentationUrl: "https://docs.airbyte.io/integrations/sources/gitlab" connectionSpecification: $schema: "http://json-schema.org/draft-07/schema#" - title: "Source Gitlab Singer Spec" + title: "Source GitLab Singer Spec" type: "object" required: - "api_url" @@ -2061,26 +2061,31 @@ type: "string" examples: - "gitlab.com" - description: "Please enter your basic URL from Gitlab instance" + title: "API URL" + description: "Please enter your basic URL from GitLab instance." private_token: type: "string" - description: "Log into your Gitlab account and then generate a personal\ + title: "Privat Token" + description: "Log into your GitLab account and then generate a personal\ \ Access Token." airbyte_secret: true groups: type: "string" examples: - "airbyte.io" - description: "Space-delimited list of groups. e.g. airbyte.io" + title: "Groups" + description: "Space-delimited list of groups. e.g. airbyte.io." projects: type: "string" + title: "Projects" examples: - "airbyte.io/documentation" description: "Space-delimited list of projects. e.g. airbyte.io/documentation\ - \ meltano/tap-gitlab" + \ meltano/tap-gitlab." start_date: type: "string" - description: "The date from which you'd like to replicate data for Gitlab\ + title: "Start Date" + description: "The date from which you'd like to replicate data for GitLab\ \ API, in the format YYYY-MM-DDT00:00:00Z. All data generated after this\ \ date will be replicated." examples: diff --git a/airbyte-integrations/connectors/source-gitlab/Dockerfile b/airbyte-integrations/connectors/source-gitlab/Dockerfile index 90eb75a2fee4..b4454450cee2 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.2 +LABEL io.airbyte.version=0.1.3 LABEL io.airbyte.name=airbyte/source-gitlab diff --git a/airbyte-integrations/connectors/source-gitlab/source_gitlab/spec.json b/airbyte-integrations/connectors/source-gitlab/source_gitlab/spec.json index d35f13333570..f080158cb3dd 100644 --- a/airbyte-integrations/connectors/source-gitlab/source_gitlab/spec.json +++ b/airbyte-integrations/connectors/source-gitlab/source_gitlab/spec.json @@ -2,7 +2,7 @@ "documentationUrl": "https://docs.airbyte.io/integrations/sources/gitlab", "connectionSpecification": { "$schema": "http://json-schema.org/draft-07/schema#", - "title": "Source Gitlab Singer Spec", + "title": "Source GitLab Singer Spec", "type": "object", "required": ["api_url", "private_token", "start_date"], "additionalProperties": false, @@ -10,26 +10,31 @@ "api_url": { "type": "string", "examples": ["gitlab.com"], - "description": "Please enter your basic URL from Gitlab instance" + "title": "API URL", + "description": "Please enter your basic URL from GitLab instance." }, "private_token": { "type": "string", - "description": "Log into your Gitlab account and then generate a personal Access Token.", + "title": "Privat Token", + "description": "Log into your GitLab account and then generate a personal Access Token.", "airbyte_secret": true }, "groups": { "type": "string", "examples": ["airbyte.io"], - "description": "Space-delimited list of groups. e.g. airbyte.io" + "title": "Groups", + "description": "Space-delimited list of groups. e.g. airbyte.io." }, "projects": { "type": "string", + "title": "Projects", "examples": ["airbyte.io/documentation"], - "description": "Space-delimited list of projects. e.g. airbyte.io/documentation meltano/tap-gitlab" + "description": "Space-delimited list of projects. e.g. airbyte.io/documentation meltano/tap-gitlab." }, "start_date": { "type": "string", - "description": "The date from which you'd like to replicate data for Gitlab API, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated.", + "title": "Start Date", + "description": "The date from which you'd like to replicate data for GitLab API, in the format YYYY-MM-DDT00:00:00Z. All data generated after this date will be replicated.", "examples": ["2021-03-01T00:00:00Z"], "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$" } diff --git a/docs/integrations/sources/gitlab.md b/docs/integrations/sources/gitlab.md index b9066b94eaf6..7848c23fae8d 100644 --- a/docs/integrations/sources/gitlab.md +++ b/docs/integrations/sources/gitlab.md @@ -61,6 +61,7 @@ GitLab source is working with GitLab API v4. It can also work with self-hosted G | Version | Date | Pull Request | Subject | | :--- | :--- | :--- | :--- | +| 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 |