Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(source-getlago): ignore 405 response for customer usage #45193

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions airbyte-integrations/connectors/source-getlago/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,17 @@ definitions:
$ref: "#/definitions/base_requester"
path: /customers/{{stream_slice.customer_external_id}}/current_usage
http_method: GET
error_handler:
sviande marked this conversation as resolved.
Show resolved Hide resolved
type: CompositeErrorHandler
error_handlers:
- type: DefaultErrorHandler
response_filters:
- type: HttpResponseFilter
action: IGNORE
predicate: >-
{{response.status == 405 and response.code ==
'no_active_subscription' }}
http_codes: []
record_selector:
type: RecordSelector
extractor:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: e1a3866b-d3b2-43b6-b6d7-8c1ee4d7f53f
dockerImageTag: 0.5.0
dockerImageTag: 0.6.0
dockerRepository: airbyte/source-getlago
githubIssueLabel: source-getlago
icon: getlago.svg
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/getlago.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ This source can sync data from the [Lago API](https://doc.getlago.com/docs/guide

| Version | Date | Pull Request | Subject |
| :------ | :--------- | :-------------------------------------------------------- | :---------------------------------------- |
| 0.6.0 | 2024-09-06 | [45193](https://github.com/airbytehq/airbyte/pull/45193) | Endpoint customer usage ignore 405 response |
| 0.5.0 | 2024-08-23 | [44613](https://github.com/airbytehq/airbyte/pull/44613) | Refactor connector to manifest-only format |
| 0.4.11 | 2024-08-17 | [44273](https://github.com/airbytehq/airbyte/pull/44273) | Update dependencies |
| 0.4.10 | 2024-08-12 | [43800](https://github.com/airbytehq/airbyte/pull/43800) | Update dependencies |
Expand Down
Loading