Skip to content

Commit

Permalink
feat(source-getlago): ignore 405 response for customer usage (#45193)
Browse files Browse the repository at this point in the history
Co-authored-by: Marcos Marx <[email protected]>
  • Loading branch information
sviande and marcosmarxm authored Sep 9, 2024
1 parent bb1833c commit 52744ec
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
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:
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

0 comments on commit 52744ec

Please sign in to comment.