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

✨ Source Gong: add incremental extensiveCalls #55803

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
"stream": {
"name": "extensiveCalls",
"json_schema": {},
"supported_sync_modes": ["full_refresh"]
"supported_sync_modes": ["full_refresh", "incremental"]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
"sync_mode": "incremental",
"destination_sync_mode": "append"
},
{
"stream": {
Expand Down
17 changes: 17 additions & 0 deletions airbyte-integrations/connectors/source-gong/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,23 @@ definitions:
page_size: 100
cursor_value: "{{ response.records.cursor }}"
stop_condition: "{{ 'records' not in response }}"
incremental_sync:
type: DatetimeBasedCursor
cursor_field: metaData.started
cursor_datetime_formats:
- "%Y-%m-%dT%H:%M:%S.%f%z"
- "%Y-%m-%dT%H:%M:%S%z"
datetime_format: "%Y-%m-%dT%H:%M:%SZ"
start_datetime:
type: MinMaxDatetime
datetime: >-
{{ config.start_date or (now_utc() -
duration('P90DT23H')).strftime('%Y-%m-%dT%H:%M:%SZ') }}
datetime_format: "%Y-%m-%dT%H:%M:%SZ"
start_time_option:
type: RequestOption
inject_into: request_parameter
field_name: fromDateTime
transformations:
- type: AddFields
fields:
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-gong/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: 32382e40-3b49-4b99-9c5c-4076501914e7
dockerImageTag: 0.3.15
dockerImageTag: 0.3.16
dockerRepository: airbyte/source-gong
documentationUrl: https://docs.airbyte.com/integrations/sources/gong
githubIssueLabel: source-gong
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/gong.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ By default Gong limits your company's access to the service to 3 API calls per s

| Version | Date | Pull Request | Subject |
| :------ | :--------- | :------------------------------------------------------- | :------------------------------------------------------------------------------ |
| 0.3.16 | 2025-03-18 | [55803](https://github.com/airbytehq/airbyte/pull/55803 | Add incremental for `extensive calls` |
| 0.3.15 | 2025-03-08 | [55269](https://github.com/airbytehq/airbyte/pull/55269) | Update dependencies |
| 0.3.14 | 2025-03-01 | [54962](https://github.com/airbytehq/airbyte/pull/54962) | Update dependencies |
| 0.3.13 | 2025-02-22 | [54394](https://github.com/airbytehq/airbyte/pull/54394) | Update dependencies |
Expand Down
Loading