Skip to content

Commit

Permalink
Update fields in source-connectors specifications: gitlab (#8991)
Browse files Browse the repository at this point in the history
  • Loading branch information
igrankova authored Dec 23, 2021
1 parent 41d65f0 commit be303bd
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
19 changes: 12 additions & 7 deletions airbyte-config/init/src/main/resources/seed/source_specs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-gitlab/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,39 @@
"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,
"properties": {
"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$"
}
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/gitlab.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit be303bd

Please sign in to comment.