Skip to content

Commit

Permalink
🐛 Source Freshservice - add backoff policy to requested_items stream …
Browse files Browse the repository at this point in the history
…and bump changelog (#34633)
  • Loading branch information
sajarin authored and xiaohansong committed Feb 27, 2024
1 parent 04a1af8 commit 346db72
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ COPY source_freshservice ./source_freshservice
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=1.3.0
LABEL io.airbyte.version=1.3.1
LABEL io.airbyte.name=airbyte/source-freshservice
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: 9bb85338-ea95-4c93-b267-6be89125b267
dockerImageTag: 1.3.0
dockerImageTag: 1.3.1
dockerRepository: airbyte/source-freshservice
githubIssueLabel: source-freshservice
icon: freshservice.svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,20 @@ definitions:
$ref: "#/definitions/requester"
path: "tickets/{{ stream_slice.parent_id }}/requested_items"
error_handler:
type: DefaultErrorHandler
response_filters:
- http_codes: [404]
action: IGNORE
error_message: No data collected
type: CompositeErrorHandler
error_handlers:
- type: DefaultErrorHandler
response_filters:
- http_codes: [404]
action: IGNORE
error_message: No data collected
- type: DefaultErrorHandler
response_filters:
- http_codes: [429]
action: RETRY
backoff_strategies:
- type: WaitTimeFromHeader
header: "Retry-After"
partition_router:
type: SubstreamPartitionRouter
parent_stream_configs:
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/freshservice.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Please read [How to find your API key](https://api.freshservice.com/#authenticat

| Version | Date | Pull Request | Subject |
| :--- | :--- | :--- | :--- |
| 1.3.1 | 2024-01-29 | [34633](https://github.com/airbytehq/airbyte/pull/34633) | Add backoff policy for `Requested Items` stream |
| 1.3.0 | 2024-01-15 | [29126](https://github.com/airbytehq/airbyte/pull/29126) | Add `Requested Items` stream |
| 1.2.0 | 2023-08-06 | [29126](https://github.com/airbytehq/airbyte/pull/29126) | Migrated to Low-Code CDK |
| 1.1.0 | 2023-05-09 | [25929](https://github.com/airbytehq/airbyte/pull/25929) | Add stream for customer satisfaction survey responses endpoint |
Expand Down

0 comments on commit 346db72

Please sign in to comment.