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 Hubspot: update SAT config #6995

Merged
merged 4 commits into from
Oct 14, 2021
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
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"sourceDefinitionId": "36c891d9-4bd9-43ac-bad2-10e12756272c",
"name": "Hubspot",
"dockerRepository": "airbyte/source-hubspot",
"dockerImageTag": "0.1.16",
"dockerImageTag": "0.1.17",
"documentationUrl": "https://docs.airbyte.io/integrations/sources/hubspot",
"icon": "hubspot.svg"
}
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
- sourceDefinitionId: 36c891d9-4bd9-43ac-bad2-10e12756272c
name: Hubspot
dockerRepository: airbyte/source-hubspot
dockerImageTag: 0.1.16
dockerImageTag: 0.1.17
documentationUrl: https://docs.airbyte.io/integrations/sources/hubspot
icon: hubspot.svg
sourceType: api
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-hubspot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ RUN pip install .

ENV AIRBYTE_ENTRYPOINT "/airbyte/base.sh"

LABEL io.airbyte.version=0.1.16
LABEL io.airbyte.version=0.1.17
LABEL io.airbyte.name=airbyte/source-hubspot
Original file line number Diff line number Diff line change
Expand Up @@ -17,38 +17,15 @@ tests:
- config_path: "secrets/config.json"
basic_read:
- config_path: "secrets/config.json"
configured_catalog_path: "sample_files/configured_catalog.json"
empty_streams:
[
"contact_lists",
"campaigns",
"tickets",
"subscription_changes",
"quotes",
"email_events",
"engagements",
"forms",
"products",
"workflows",
]
configured_catalog_path: "sample_files/full_refresh_catalog.json"
empty_streams: ["workflows"]
- config_path: "secrets/config_oauth.json"
configured_catalog_path: "sample_files/configured_catalog.json"
empty_streams:
[
"companies",
"deals",
"owners",
"contact_lists",
"campaigns",
"tickets",
"subscription_changes",
"quotes",
"email_events",
"engagements",
"forms",
"products",
"workflows",
]
configured_catalog_path: "sample_files/configured_catalog_for_oauth_config.json"
# The `campaigns` stream is empty in this case, because we use a catalog with
# incremental streams: subscription_changes and email_events (it takes a long time to read)
# and therefore the start date is set at 2021-10-10 for `config_oauth.json`,
# but the campaign was created on 2021-01-11
empty_streams: ["campaigns", "workflows"]
# incremental: fixme (eugene): '<=' not supported between instances of 'int' and 'str'
# See https://github.com/airbytehq/airbyte/issues/6509
# - config_path: "secrets/config.json"
Expand All @@ -59,6 +36,6 @@ tests:
# email_events: ["timestamp"]
full_refresh:
- config_path: "secrets/config.json"
configured_catalog_path: "sample_files/configured_catalog.json"
configured_catalog_path: "sample_files/full_refresh_catalog.json"
- config_path: "secrets/config_oauth.json"
configured_catalog_path: "sample_files/configured_catalog.json"
configured_catalog_path: "sample_files/configured_catalog_for_oauth_config.json"
Original file line number Diff line number Diff line change
Expand Up @@ -4,72 +4,54 @@
"stream": {
"name": "campaigns",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_cursor": false,
"default_cursor_field": ["lastUpdatedTime"]
"supported_sync_modes": ["full_refresh"]
},
"sync_mode": "full_refresh",
"cursor_field": null,
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "companies",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_cursor": false,
"default_cursor_field": ["updatedAt"]
"supported_sync_modes": ["full_refresh"]
},
"sync_mode": "full_refresh",
"cursor_field": null,
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "contact_lists",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_cursor": false,
"default_cursor_field": ["updatedAt"]
"supported_sync_modes": ["full_refresh"]
},
"sync_mode": "full_refresh",
"cursor_field": null,
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "contacts",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_cursor": false,
"default_cursor_field": ["updatedAt"]
"supported_sync_modes": ["full_refresh"]
},
"sync_mode": "full_refresh",
"cursor_field": null,
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "deal_pipelines",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_cursor": false,
"default_cursor_field": ["updatedAt"]
"supported_sync_modes": ["full_refresh"]
},
"sync_mode": "full_refresh",
"cursor_field": null,
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "deals",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_cursor": false,
"default_cursor_field": ["updatedAt"]
"supported_sync_modes": ["full_refresh"]
},
"sync_mode": "full_refresh",
"cursor_field": null,
"destination_sync_mode": "overwrite"
},
{
Expand All @@ -88,72 +70,54 @@
"stream": {
"name": "engagements",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_cursor": false,
"default_cursor_field": ["lastUpdated"]
"supported_sync_modes": ["full_refresh"]
},
"sync_mode": "full_refresh",
"cursor_field": null,
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "forms",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_cursor": false,
"default_cursor_field": ["updatedAt"]
"supported_sync_modes": ["full_refresh"]
},
"sync_mode": "full_refresh",
"cursor_field": null,
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "line_items",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_cursor": false,
"default_cursor_field": ["updatedAt"]
"supported_sync_modes": ["full_refresh"]
},
"sync_mode": "full_refresh",
"cursor_field": null,
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "owners",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_cursor": false,
"default_cursor_field": ["updatedAt"]
"supported_sync_modes": ["full_refresh"]
},
"sync_mode": "full_refresh",
"cursor_field": null,
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "products",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_cursor": false,
"default_cursor_field": ["updatedAt"]
"supported_sync_modes": ["full_refresh"]
},
"sync_mode": "full_refresh",
"cursor_field": null,
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "quotes",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_cursor": false,
"default_cursor_field": ["updatedAt"]
"supported_sync_modes": ["full_refresh"]
},
"sync_mode": "full_refresh",
"cursor_field": null,
"destination_sync_mode": "overwrite"
},
{
Expand All @@ -172,24 +136,18 @@
"stream": {
"name": "tickets",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_cursor": false,
"default_cursor_field": ["updatedAt"]
"supported_sync_modes": ["full_refresh"]
},
"sync_mode": "full_refresh",
"cursor_field": null,
"destination_sync_mode": "overwrite"
},
{
"stream": {
"name": "workflows",
"json_schema": {},
"supported_sync_modes": ["full_refresh"],
"source_defined_cursor": false,
"default_cursor_field": ["updatedAt"]
"supported_sync_modes": ["full_refresh"]
},
"sync_mode": "full_refresh",
"cursor_field": null,
"destination_sync_mode": "overwrite"
}
]
Expand Down
Loading