Skip to content
This repository was archived by the owner on Jan 16, 2023. It is now read-only.

Commit 48a3b0d

Browse files
committed
more entities
1 parent 9cb5714 commit 48a3b0d

6 files changed

Lines changed: 585 additions & 0 deletions

File tree

airbyte-integrations/connectors/source-gitlab/integration_tests/configured_catalog.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,36 @@
211211
},
212212
"sync_mode": "full_refresh",
213213
"destination_sync_mode": "overwrite"
214+
},
215+
{
216+
"stream": {
217+
"name": "merge_request_approvals",
218+
"json_schema": {},
219+
"supported_sync_modes": ["full_refresh"],
220+
"source_defined_primary_key": [["id"]]
221+
},
222+
"sync_mode": "full_refresh",
223+
"destination_sync_mode": "overwrite"
224+
},
225+
{
226+
"stream": {
227+
"name": "merge_request_notes",
228+
"json_schema": {},
229+
"supported_sync_modes": ["full_refresh"],
230+
"source_defined_primary_key": [["id"]]
231+
},
232+
"sync_mode": "full_refresh",
233+
"destination_sync_mode": "overwrite"
234+
},
235+
{
236+
"stream": {
237+
"name": "merge_request_pipelines",
238+
"json_schema": {},
239+
"supported_sync_modes": ["full_refresh"],
240+
"source_defined_primary_key": [["id"]]
241+
},
242+
"sync_mode": "full_refresh",
243+
"destination_sync_mode": "overwrite"
214244
}
215245
]
216246
}
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"type": "object",
4+
"properties": {
5+
"id": {
6+
"type": ["null", "integer"]
7+
},
8+
"iid": {
9+
"type": ["null", "integer"]
10+
},
11+
"project_id": {
12+
"type": ["null", "integer"]
13+
},
14+
"merge_request_iid": {
15+
"type": ["null", "integer"]
16+
},
17+
"title": {
18+
"type": ["null", "string"]
19+
},
20+
"description": {
21+
"type": ["null", "string"]
22+
},
23+
"state": {
24+
"type": ["null", "string"]
25+
},
26+
"created_at": {
27+
"type": ["null", "string"],
28+
"format": "date-time"
29+
},
30+
"updated_at": {
31+
"type": ["null", "string"],
32+
"format": "date-time"
33+
},
34+
"merge_status": {
35+
"type": ["null", "string"]
36+
},
37+
"approved": {
38+
"type": ["null", "boolean"]
39+
},
40+
"approvals_required" : {
41+
"type": ["null", "integer"]
42+
},
43+
"approvals_left": {
44+
"type": ["null", "integer"]
45+
},
46+
"require_password_to_approve" : {
47+
"type": ["null", "boolean"]
48+
},
49+
"approved_by": {
50+
"type": ["null", "array"],
51+
"items": {
52+
"type": "object",
53+
"properties": {
54+
"user": {
55+
"type": ["null", "object"],
56+
"properties": {
57+
"id": {
58+
"type": ["null", "integer"]
59+
},
60+
"name": {
61+
"type": ["null", "string"]
62+
},
63+
"username": {
64+
"type": ["null", "string"]
65+
},
66+
"state": {
67+
"type": ["null", "string"]
68+
},
69+
"avatar_url": {
70+
"type": ["null", "string"]
71+
},
72+
"web_url": {
73+
"type": ["null", "string"]
74+
}
75+
}
76+
}
77+
}
78+
}
79+
},
80+
"suggested_approvers": {
81+
"type": ["null", "array"],
82+
"items": {
83+
"type": "object",
84+
"properties": {
85+
"id": {
86+
"type": ["null", "integer"]
87+
},
88+
"name": {
89+
"type": ["null", "string"]
90+
},
91+
"username": {
92+
"type": ["null", "string"]
93+
},
94+
"state": {
95+
"type": ["null", "string"]
96+
},
97+
"avatar_url": {
98+
"type": ["null", "string"]
99+
},
100+
"web_url": {
101+
"type": ["null", "string"]
102+
}
103+
}
104+
}
105+
},
106+
"approval_rules_left": {
107+
"type": ["null", "array"],
108+
"items": {
109+
"type": "object",
110+
"properties": {
111+
"id": {
112+
"type": ["null", "integer"]
113+
},
114+
"name": {
115+
"type": ["null", "string"]
116+
},
117+
"rule_type": {
118+
"type": ["null", "string"]
119+
}
120+
}
121+
}
122+
},
123+
"user_has_approved": {
124+
"type": ["null", "boolean"]
125+
},
126+
"user_can_approve": {
127+
"type": ["null", "boolean"]
128+
},
129+
"has_approval_rules": {
130+
"type": ["null", "boolean"]
131+
},
132+
"merge_request_approvers_available": {
133+
"type": ["null", "boolean"]
134+
},
135+
"multiple_approval_rules_available": {
136+
"type": ["null", "boolean"]
137+
}
138+
}
139+
}

0 commit comments

Comments
 (0)