Skip to content

Commit 99f1903

Browse files
btkcodedevnatikgadzhioctavia-squidington-iii
authored
Source ClickupApi: Add streams time_tracking, time_tracking_tags, team_goals, space_tags, team_custom_fields, list_custom_fields, list_comments, Add error handlers, Parent stream flow correction, Update spec (#44180)
Co-authored-by: Natik Gadzhi <[email protected]> Co-authored-by: Octavia Squidington III <[email protected]>
1 parent 6b60095 commit 99f1903

File tree

11 files changed

+1869
-603
lines changed

11 files changed

+1869
-603
lines changed

airbyte-integrations/connectors/source-clickup-api/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ poetry install --with dev
2626
**If you are a community contributor**, follow the instructions in the [documentation](https://docs.airbyte.com/integrations/sources/clickup-api)
2727
to generate the necessary credentials. Then create a file `secrets/config.json` conforming to the `spec` inside `source_clickup_api/manifest.yaml` file.
2828
Note that any directory named `secrets` is gitignored across the entire Airbyte repo, so there is no danger of accidentally checking in sensitive information.
29-
See `sample_files/sample_config.json` for a sample config file.
29+
See `integration_tests/sample_config.json` for a sample config file.
3030

3131

3232
### Locally running the connector

airbyte-integrations/connectors/source-clickup-api/acceptance-test-config.yml

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ acceptance_tests:
3030
tests:
3131
- spec_path: source_clickup_api/spec.yaml
3232
timeout_seconds: 1200
33+
backward_compatibility_tests_config:
34+
disable_for_version: 0.1.12 # All the parent Ids are now taken from responses itself
3335
incremental:
3436
bypass_reason: "Incremental syncs are not supported on this connector."
3537
connector_image: airbyte/source-clickup-api:dev

airbyte-integrations/connectors/source-clickup-api/integration_tests/abnormal_state.json

-5
This file was deleted.

airbyte-integrations/connectors/source-clickup-api/integration_tests/configured_catalog.json

+72
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,78 @@
5353
},
5454
"sync_mode": "full_refresh",
5555
"destination_sync_mode": "overwrite"
56+
},
57+
{
58+
"stream": {
59+
"name": "time_tracking_tags",
60+
"json_schema": {},
61+
"supported_sync_modes": ["full_refresh"]
62+
},
63+
"sync_mode": "full_refresh",
64+
"destination_sync_mode": "overwrite"
65+
},
66+
{
67+
"stream": {
68+
"name": "time_tracking",
69+
"json_schema": {},
70+
"supported_sync_modes": ["full_refresh"]
71+
},
72+
"sync_mode": "full_refresh",
73+
"destination_sync_mode": "overwrite"
74+
},
75+
{
76+
"stream": {
77+
"name": "list_custom_fields",
78+
"json_schema": {},
79+
"supported_sync_modes": ["full_refresh"]
80+
},
81+
"sync_mode": "full_refresh",
82+
"destination_sync_mode": "overwrite"
83+
},
84+
{
85+
"stream": {
86+
"name": "list_comments",
87+
"json_schema": {},
88+
"supported_sync_modes": ["full_refresh"]
89+
},
90+
"sync_mode": "full_refresh",
91+
"destination_sync_mode": "overwrite"
92+
},
93+
{
94+
"stream": {
95+
"name": "team_custom_fields",
96+
"json_schema": {},
97+
"supported_sync_modes": ["full_refresh"]
98+
},
99+
"sync_mode": "full_refresh",
100+
"destination_sync_mode": "overwrite"
101+
},
102+
{
103+
"stream": {
104+
"name": "space_tags",
105+
"json_schema": {},
106+
"supported_sync_modes": ["full_refresh"]
107+
},
108+
"sync_mode": "full_refresh",
109+
"destination_sync_mode": "overwrite"
110+
},
111+
{
112+
"stream": {
113+
"name": "team_goals",
114+
"json_schema": {},
115+
"supported_sync_modes": ["full_refresh"]
116+
},
117+
"sync_mode": "full_refresh",
118+
"destination_sync_mode": "overwrite"
119+
},
120+
{
121+
"stream": {
122+
"name": "list_comments",
123+
"json_schema": {},
124+
"supported_sync_modes": ["full_refresh"]
125+
},
126+
"sync_mode": "full_refresh",
127+
"destination_sync_mode": "overwrite"
56128
}
57129
]
58130
}
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
{ "api_token": "abcdefgh" }
1+
{
2+
"api_token": "Valid"
3+
}

airbyte-integrations/connectors/source-clickup-api/integration_tests/sample_state.json

-5
This file was deleted.

airbyte-integrations/connectors/source-clickup-api/metadata.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ data:
55
connectorSubtype: api
66
connectorType: source
77
definitionId: 311a7a27-3fb5-4f7e-8265-5e4afe258b66
8-
dockerImageTag: 0.1.13
8+
dockerImageTag: 0.2.0
99
dockerRepository: airbyte/source-clickup-api
1010
githubIssueLabel: source-clickup-api
1111
icon: clickup.svg

airbyte-integrations/connectors/source-clickup-api/poetry.lock

+298-67
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

airbyte-integrations/connectors/source-clickup-api/pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
33
build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
6-
version = "0.1.13"
6+
version = "0.2.0"
77
name = "source-clickup-api"
88
description = "Source implementation for clickup-api."
99
authors = [ "Airbyte <[email protected]>",]
@@ -15,8 +15,8 @@ repository = "https://github.com/airbytehq/airbyte"
1515
packages = [ { include = "source_clickup_api" }, {include = "main.py" } ]
1616

1717
[tool.poetry.dependencies]
18-
python = "^3.9,<3.12"
19-
airbyte-cdk = "^0"
18+
python = "^3.10,<3.12"
19+
airbyte-cdk = "^4"
2020

2121
[tool.poetry.scripts]
2222
source-clickup-api = "source_clickup_api.run:run"

0 commit comments

Comments
 (0)