File tree Expand file tree Collapse file tree 5 files changed +10
-4
lines changed
airbyte-config/init/src/main/resources/seed
airbyte-integrations/connectors/source-gitlab
docs/integrations/sources Expand file tree Collapse file tree 5 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 625
625
- name : Gitlab
626
626
sourceDefinitionId : 5e6175e5-68e1-4c17-bff9-56103bbb0d80
627
627
dockerRepository : airbyte/source-gitlab
628
- dockerImageTag : 1.0.1
628
+ dockerImageTag : 1.0.2
629
629
documentationUrl : https://docs.airbyte.com/integrations/sources/gitlab
630
630
icon : gitlab.svg
631
631
sourceType : api
Original file line number Diff line number Diff line change 4850
4850
path_in_connector_config:
4851
4851
- "credentials"
4852
4852
- "client_secret"
4853
- - dockerImage: "airbyte/source-gitlab:1.0.1 "
4853
+ - dockerImage: "airbyte/source-gitlab:1.0.2 "
4854
4854
spec:
4855
4855
documentationUrl: "https://docs.airbyte.com/integrations/sources/gitlab"
4856
4856
connectionSpecification:
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ COPY main.py ./
13
13
14
14
ENTRYPOINT ["python" , "/airbyte/integration_code/main.py" ]
15
15
16
- LABEL io.airbyte.version=1.0.1
16
+ LABEL io.airbyte.version=1.0.2
17
17
LABEL io.airbyte.name=airbyte/source-gitlab
Original file line number Diff line number Diff line change 9
9
import pendulum
10
10
import requests
11
11
from airbyte_cdk .models import SyncMode
12
+ from airbyte_cdk .sources .streams .availability_strategy import AvailabilityStrategy
12
13
from airbyte_cdk .sources .streams .core import StreamData
13
14
from airbyte_cdk .sources .streams .http import HttpStream
14
15
@@ -52,6 +53,10 @@ def request_params(
52
53
def url_base (self ) -> str :
53
54
return f"https://{ self .api_url } /api/v4/"
54
55
56
+ @property
57
+ def availability_strategy (self ) -> Optional ["AvailabilityStrategy" ]:
58
+ return None
59
+
55
60
def should_retry (self , response : requests .Response ) -> bool :
56
61
# Gitlab API returns a 403 response in case a feature is disabled in a project (pipelines/jobs for instance).
57
62
if response .status_code == 403 :
Original file line number Diff line number Diff line change @@ -105,7 +105,8 @@ Gitlab has the [rate limits](https://docs.gitlab.com/ee/user/gitlab_com/index.ht
105
105
106
106
| Version | Date | Pull Request | Subject |
107
107
| :--------| :-----------| :---------------------------------------------------------| :-------------------------------------------------------------------------------------------|
108
- | 1.0.1 | 2022-01-23 | [ 21713] ( https://github.com/airbytehq/airbyte/pull/21713 ) | Fix missing data issue |
108
+ | 1.0.2 | 2023-01-27 | [ 22001] ( https://github.com/airbytehq/airbyte/pull/22001 ) | Set ` AvailabilityStrategy ` for streams explicitly to ` None ` |
109
+ | 1.0.1 | 2023-01-23 | [ 21713] ( https://github.com/airbytehq/airbyte/pull/21713 ) | Fix missing data issue |
109
110
| 1.0.0 | 2022-12-05 | [ 7506] ( https://github.com/airbytehq/airbyte/pull/7506 ) | Add ` OAuth2.0 ` authentication option |
110
111
| 0.1.12 | 2022-12-15 | [ 20542] ( https://github.com/airbytehq/airbyte/pull/20542 ) | Revert HttpAvailability changes, run on cdk 0.15.0 |
111
112
| 0.1.11 | 2022-12-14 | [ 20479] ( https://github.com/airbytehq/airbyte/pull/20479 ) | Use HttpAvailabilityStrategy + add unit tests |
You can’t perform that action at this time.
0 commit comments