Skip to content

Commit 2485b0a

Browse files
bazarnovjbfbell
authored andcommitted
🐛 Source Github, Instagram, Zendesk-support, Zendesk-talk: fix CAT tests fail on spec (#28910)
1 parent 99846be commit 2485b0a

File tree

20 files changed

+74
-133
lines changed

20 files changed

+74
-133
lines changed

airbyte-integrations/connectors/source-github/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ RUN pip install .
1212
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
1313
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
1414

15-
LABEL io.airbyte.version=1.0.2
15+
LABEL io.airbyte.version=1.0.3
1616
LABEL io.airbyte.name=airbyte/source-github

airbyte-integrations/connectors/source-github/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: ef69ef6e-aa7f-4af1-a01d-ef775033524e
8-
dockerImageTag: 1.0.2
8+
dockerImageTag: 1.0.3
99
maxSecondsBetweenMessages: 5400
1010
dockerRepository: airbyte/source-github
1111
githubIssueLabel: source-github

airbyte-integrations/connectors/source-github/source_github/spec.json

-14
Original file line numberDiff line numberDiff line change
@@ -117,20 +117,6 @@
117117
"type": "string"
118118
}
119119
}
120-
},
121-
"complete_oauth_server_output_specification": {
122-
"type": "object",
123-
"additionalProperties": false,
124-
"properties": {
125-
"client_id": {
126-
"type": "string",
127-
"path_in_connector_config": ["credentials", "client_id"]
128-
},
129-
"client_secret": {
130-
"type": "string",
131-
"path_in_connector_config": ["credentials", "client_secret"]
132-
}
133-
}
134120
}
135121
}
136122
}

airbyte-integrations/connectors/source-instagram/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ RUN pip install .
1212
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
1313
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
1414

15-
LABEL io.airbyte.version=1.0.9
15+
LABEL io.airbyte.version=1.0.10
1616
LABEL io.airbyte.name=airbyte/source-instagram

airbyte-integrations/connectors/source-instagram/integration_tests/spec.json

-17
Original file line numberDiff line numberDiff line change
@@ -48,23 +48,6 @@
4848
"type": "string"
4949
}
5050
}
51-
},
52-
"complete_oauth_server_output_specification": {
53-
"type": "object",
54-
"properties": {
55-
"client_id": {
56-
"type": "string",
57-
"path_in_connector_config": [
58-
"client_id"
59-
]
60-
},
61-
"client_secret": {
62-
"type": "string",
63-
"path_in_connector_config": [
64-
"client_secret"
65-
]
66-
}
67-
}
6851
}
6952
}
7053
}

airbyte-integrations/connectors/source-instagram/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: 6acf6b55-4f1e-4fca-944e-1a3caef8aba8
8-
dockerImageTag: 1.0.9
8+
dockerImageTag: 1.0.10
99
dockerRepository: airbyte/source-instagram
1010
githubIssueLabel: source-instagram
1111
icon: instagram.svg

airbyte-integrations/connectors/source-instagram/source_instagram/source.py

-7
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,6 @@ def spec(self, *args, **kwargs) -> ConnectorSpecification:
9696
"type": "object",
9797
"properties": {"client_id": {"type": "string"}, "client_secret": {"type": "string"}},
9898
},
99-
complete_oauth_server_output_specification={
100-
"type": "object",
101-
"properties": {
102-
"client_id": {"type": "string", "path_in_connector_config": ["client_id"]},
103-
"client_secret": {"type": "string", "path_in_connector_config": ["client_secret"]},
104-
},
105-
},
10699
),
107100
),
108101
)

airbyte-integrations/connectors/source-zendesk-support/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ COPY source_zendesk_support ./source_zendesk_support
2525
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
2626
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
2727

28-
LABEL io.airbyte.version=0.10.4
28+
LABEL io.airbyte.version=0.10.5
2929
LABEL io.airbyte.name=airbyte/source-zendesk-support

airbyte-integrations/connectors/source-zendesk-support/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,4 @@ You've checked out the repo, implemented a million dollar feature, and you're re
129129
1. Bump the connector version in `Dockerfile` -- just increment the value of the `LABEL io.airbyte.version` appropriately (we use [SemVer](https://semver.org/)).
130130
1. Create a Pull Request.
131131
1. Pat yourself on the back for being an awesome contributor.
132-
1. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master.
132+
1. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master.

airbyte-integrations/connectors/source-zendesk-support/acceptance-test-config.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ acceptance_tests:
2929
extra_records: yes
3030
fail_on_extra_columns: false
3131
empty_streams:
32-
# This stream is only available for enterprise accounts https://developer.zendesk.com/api-reference/ticketing/account-configuration/audit_logs/
33-
- name: "audit_logs"
34-
bypass_reason: "no records"
3532
- name: "post_comments"
3633
bypass_reason: "not available in current subscription plan"
3734
- name: "post_votes"
@@ -46,6 +43,7 @@ acceptance_tests:
4643
future_state_path: "integration_tests/abnormal_state.json"
4744
cursor_paths:
4845
ticket_comments: ["created_at"]
46+
threshold_days: 100
4947
full_refresh:
5048
tests:
5149
- config_path: "secrets/config.json"

airbyte-integrations/connectors/source-zendesk-support/integration_tests/expected_records.jsonl

+60-55
Large diffs are not rendered by default.

airbyte-integrations/connectors/source-zendesk-support/metadata.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ data:
77
connectorType: source
88
maxSecondsBetweenMessages: 10800
99
definitionId: 79c1aa37-dae3-42ae-b333-d1c105477715
10-
dockerImageTag: 0.10.4
10+
dockerImageTag: 0.10.5
1111
dockerRepository: airbyte/source-zendesk-support
1212
githubIssueLabel: source-zendesk-support
1313
icon: zendesk-support.svg

airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/spec.json

-14
Original file line numberDiff line numberDiff line change
@@ -106,20 +106,6 @@
106106
}
107107
}
108108
},
109-
"complete_oauth_server_output_specification": {
110-
"type": "object",
111-
"additionalProperties": false,
112-
"properties": {
113-
"client_id": {
114-
"type": "string",
115-
"path_in_connector_config": ["credentials", "client_id"]
116-
},
117-
"client_secret": {
118-
"type": "string",
119-
"path_in_connector_config": ["credentials", "client_secret"]
120-
}
121-
}
122-
},
123109
"oauth_user_input_from_connector_config_specification": {
124110
"type": "object",
125111
"additionalProperties": false,

airbyte-integrations/connectors/source-zendesk-talk/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ RUN pip install .
1212
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
1313
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
1414

15-
LABEL io.airbyte.version=0.1.7
15+
LABEL io.airbyte.version=0.1.8
1616
LABEL io.airbyte.name=airbyte/source-zendesk-talk

airbyte-integrations/connectors/source-zendesk-talk/metadata.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ data:
66
connectorSubtype: api
77
connectorType: source
88
definitionId: c8630570-086d-4a40-99ae-ea5b18673071
9-
dockerImageTag: 0.1.7
9+
dockerImageTag: 0.1.8
1010
dockerRepository: airbyte/source-zendesk-talk
1111
githubIssueLabel: source-zendesk-talk
1212
icon: zendesk-talk.svg

airbyte-integrations/connectors/source-zendesk-talk/source_zendesk_talk/spec.json

-14
Original file line numberDiff line numberDiff line change
@@ -100,20 +100,6 @@
100100
}
101101
}
102102
},
103-
"complete_oauth_server_output_specification": {
104-
"type": "object",
105-
"additionalProperties": false,
106-
"properties": {
107-
"client_id": {
108-
"type": "string",
109-
"path_in_connector_config": ["credentials", "client_id"]
110-
},
111-
"client_secret": {
112-
"type": "string",
113-
"path_in_connector_config": ["credentials", "client_secret"]
114-
}
115-
}
116-
},
117103
"oauth_user_input_from_connector_config_specification": {
118104
"type": "object",
119105
"additionalProperties": false,

docs/integrations/sources/github.md

+1
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ The GitHub connector should not run into GitHub API limitations under normal usa
163163

164164
| Version | Date | Pull Request | Subject |
165165
|:--------|:-----------|:------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
166+
| 1.0.3 | 2023-08-01 | [28910](https://github.com/airbytehq/airbyte/pull/28910) | Updated `advancedAuth` broken references |
166167
| 1.0.2 | 2023-07-11 | [28144](https://github.com/airbytehq/airbyte/pull/28144) | Add `archived_at` property to `Organizations` schema parameter |
167168
| 1.0.1 | 2023-05-22 | [25838](https://github.com/airbytehq/airbyte/pull/25838) | Deprecate "page size" input parameter |
168169
| 1.0.0 | 2023-05-19 | [25778](https://github.com/airbytehq/airbyte/pull/25778) | Improve repo(s) name validation on UI |

docs/integrations/sources/instagram.md

+1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ AirbyteRecords are required to conform to the [Airbyte type](https://docs.airbyt
8282

8383
| Version | Date | Pull Request | Subject |
8484
|:--------|:-----|:-------------|:--------|
85+
| 1.0.10 | 2023-08-01 | [28910](https://github.com/airbytehq/airbyte/pull/28910) | Updated `advancedAuth` broken references |
8586
| 1.0.9 | 2023-07-01 | [27908](https://github.com/airbytehq/airbyte/pull/27908) | Fix bug when `user_lifetime_insights` stream returns `Key Error (end_time)`, refactored `state` to use `IncrementalMixin` |
8687
| 1.0.8 | 2023-05-26 | [26767](https://github.com/airbytehq/airbyte/pull/26767) | Handle permission error for `insights` |
8788
| 1.0.7 | 2023-05-26 | [26656](https://github.com/airbytehq/airbyte/pull/26656) | Remove `authSpecification` from connector specification in favour of `advancedAuth` |

docs/integrations/sources/zendesk-support.md

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ The Zendesk connector ideally should not run into Zendesk API limitations under
7979

8080
| Version | Date | Pull Request | Subject |
8181
|:---------|:-----------|:---------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
82+
| `0.10.5` | 2023-08-01 | [28910](https://github.com/airbytehq/airbyte/pull/28910) | Updated `advancedAuth` broken references |
8283
| `0.10.4` | 2023-07-25 | [28397](https://github.com/airbytehq/airbyte/pull/28397) | Handle 404 Error |
8384
| `0.10.3` | 2023-07-24 | [28612](https://github.com/airbytehq/airbyte/pull/28612) | Fix pagination for stream `TicketMetricEvents` |
8485
| `0.10.2` | 2023-07-19 | [28487](https://github.com/airbytehq/airbyte/pull/28487) | Remove extra page from params |

docs/integrations/sources/zendesk-talk.md

+1
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ The Zendesk connector should not run into Zendesk API limitations under normal u
7676

7777
| Version | Date | Pull Request | Subject |
7878
|:--------|:-----------| :----- |:----------------------------------|
79+
| `0.1.8` | 2023-08-01 | [28910](https://github.com/airbytehq/airbyte/pull/28910) | Updated `advancedAuth` broken references |
7980
| `0.1.7` | 2023-02-10 | [22815](https://github.com/airbytehq/airbyte/pull/22815) | Specified date formatting in specification |
8081
| `0.1.6` | 2023-01-27 | [22028](https://github.com/airbytehq/airbyte/pull/22028) | Set `AvailabilityStrategy` for streams explicitly to `None` |
8182
| `0.1.5` | 2022-09-29 | [17362](https://github.com/airbytehq/airbyte/pull/17362) | always use the latest CDK version |

0 commit comments

Comments
 (0)