Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@
{% capture selection-options %}
For {{ integration.display_name }} integrations, you can select:

1. **Individual {{ object }}s {% if integration.column-selection == true %} and {{ col }}s{% endif %}**
1. **Individual {{ object }}s{% if integration.column-selection == true %} and {{ col }}s{% endif %}**
{% if select-all == true %}
2. **All {{ object }}s and {{ col }}s** {% if integration.collection == "database-integrations" and view-selection == true %}(except views){% endif %}
2. **All {{ object }}s{% if integration.column-selection == true %} and {{ col }}s{% endif %}** {% if integration.collection == "database-integrations" and view-selection == true %}(except views){% endif %}
{% endif %}

{% if view-selection == true %}
Expand Down
12 changes: 7 additions & 5 deletions _saas-integrations/gitlab/gitlab-latest.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,8 @@ api-type: "platform.gitlab"
anchor-scheduling: true
cron-scheduling: true

table-selection: false
column-selection: false
select-all: false
select-all-reason: |
As this integration doesn't support table or column selection, all available tables and columns are automatically replicated.
table-selection: true
column-selection: true

extraction-logs: true
loading-reports: true
Expand Down Expand Up @@ -100,6 +97,11 @@ setup-steps:
content: |
{% include integrations/shared-setup/replication-frequency.html %}

- title: "Set objects to replicate"
anchor: "setting-data-to-replicate"
content: |
{% include integrations/shared-setup/data-selection/object-selection.html %}


# -------------------------- #
# Table Schemas #
Expand Down
4 changes: 2 additions & 2 deletions archive/_integration-schemas/gitlab/branches.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ tap: "gitlab"
version: "1"

name: "branches"
doc-link: https://gitlab.com/help/api/branches.html
doc-link: https://docs.gitlab.com/ee/api/branches.html
singer-schema: https://github.com/singer-io/tap-gitlab/blob/master/tap_gitlab/schemas/branches.json
description: |
The `{{ table.name }}` table contains high-level info about repository branches in your projects.
Expand All @@ -16,7 +16,7 @@ replication-key:

api-method:
name: "listRepositoryBranches"
doc-link: https://gitlab.com/help/api/branches.html#list-repository-branches
doc-link: https://docs.gitlab.com/ee/api/branches.html#list-repository-branches

attributes:
- name: "project_id"
Expand Down
4 changes: 2 additions & 2 deletions archive/_integration-schemas/gitlab/commits.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ tap: "gitlab"
version: "1"

name: "commits"
doc-link: https://gitlab.com/help/api/commits.md
doc-link: https://docs.gitlab.com/ee/api/commits.html
singer-schema: https://github.com/singer-io/tap-gitlab/blob/master/tap_gitlab/schemas/commits.json
description: |
The `{{ table.name }}` table contains info about repository commits in a project.
Expand All @@ -16,7 +16,7 @@ replication-key:

api-method:
name: "listRepositoryCommits"
doc-link: https://gitlab.com/help/api/commits.md#list-repository-commits
doc-link: https://docs.gitlab.com/ee/api/commits.html#list-repository-commits

attributes:
- name: "id"
Expand Down
87 changes: 87 additions & 0 deletions archive/_integration-schemas/gitlab/group_milestones.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"type": "object",
"properties": {
"id": {
"type": [
"null",
"integer"
]
},
"iid": {
"type": [
"null",
"integer"
]
},
"group_id": {
"type": [
"null",
"integer"
]
},
"title": {
"type": [
"null",
"string"
]
},
"description": {
"type": [
"null",
"string"
]
},
"state": {
"type": [
"null",
"string"
]
},
"created_at": {
"type": [
"null",
"string"
],
"format": "date-time"
},
"updated_at": {
"type": [
"null",
"string"
],
"format": "date-time"
},
"start_date": {
"type": [
"null",
"string"
],
"format": "date-time"
},
"due_date": {
"type": [
"null",
"string"
],
"format": "date-time"
},
"expired": {
"type": [
"null",
"boolean"
]
},
"web_url": {
"type": [
"null",
"string"
]
}
},
"required": [
"id",
"iid",
"title",
"state"
]
}
71 changes: 71 additions & 0 deletions archive/_integration-schemas/gitlab/group_milestones.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
tap: "gitlab"
version: "1"

name: "group_milestones"
doc-link: https://docs.gitlab.com/ee/api/milestones.html#group-level-mr-approvals
singer-schema: https://github.com/singer-io/tap-gitlab/blob/master/tap_gitlab/schemas/group_milestones.json
description: |
The `{{ table.name }}` table contains info about group-level milestones.

**Note**: To replicate group milestone data, you must set this table and the [`groups`](#groups) table to replicate. Data for this table will only be replicated when the associated group (in the [`groups`](#groups) table) is also updated.

replication-method: "Key-based Incremental"

api-method:
name: "listGroupMilestones"
doc-link: https://docs.gitlab.com/ee/api/milestones.html#list-all-group-milestones

attributes:
- name: "id"
type: "integer"
primary-key: true
description: "The milestone ID."
foreign-key-id: "milestone-id"

- name: "iid"
type: "integer"
primary-key: true
description: "The milestone internal ID."

- name: "group_id"
type: "integer"
description: "The ID of the group associated with the milestone."
foreign-key-id: "group-id"

- name: "title"
type: "string"
description: "The milestone title."

- name: "description"
type: "string"
description: "The milestone description."

- name: "state"
type: "string"
description: "The milestone state. Ex: `active` or `closed`"

- name: "created_at"
type: "date-time"
description: "The time the milestone was created."

- name: "updated_at"
type: "date-time"
description: "The time the milestone was last updated."

- name: "start_date"
type: "date-time"
description: "The milestone start date."

- name: "due_date"
type: "date-time"
description: "The milestone due date."

- name: "expired"
type: "boolean"
description: "Indicates if the milestone has expired."

- name: "web_url"
type: "string"
description: "The URL of the milestone."
---
4 changes: 2 additions & 2 deletions archive/_integration-schemas/gitlab/issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ tap: "gitlab"
version: "1"

name: "issues"
doc-link: https://gitlab.com/help/api/issues.md#list-project-issues
doc-link: https://docs.gitlab.com/ee/api/issues.html#list-project-issues
singer-schema: https://github.com/singer-io/tap-gitlab/blob/master/tap_gitlab/schemas/issues.json
description: |
The `{{ table.name }}` table contains info about issues contained within projects.

replication-method: "Key-based Incremental"
api-method:
name: "listProjectIssues"
doc-link: https://gitlab.com/help/api/issues.md#list-project-issues
doc-link: https://docs.gitlab.com/ee/api/issues.html#list-project-issues

attributes:
- name: "id"
Expand Down
62 changes: 0 additions & 62 deletions archive/_integration-schemas/gitlab/milestones.md

This file was deleted.

Loading
Loading