Skip to content

Commit 2c97aa3

Browse files
Turn off default httpavailabilitystrategy for source-marketo (GA) (#22015)
* Turn off default for source-marketo (GA) * Update source.py * Update marketo.md * auto-bump connector version --------- Co-authored-by: Octavia Squidington III <[email protected]>
1 parent 1ebd913 commit 2c97aa3

File tree

5 files changed

+9
-3
lines changed

5 files changed

+9
-3
lines changed

airbyte-config/init/src/main/resources/seed/source_definitions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@
10231023
- name: Marketo
10241024
sourceDefinitionId: 9e0556f4-69df-4522-a3fb-03264d36b348
10251025
dockerRepository: airbyte/source-marketo
1026-
dockerImageTag: 1.0.0
1026+
dockerImageTag: 1.0.1
10271027
documentationUrl: https://docs.airbyte.com/integrations/sources/marketo
10281028
icon: marketo.svg
10291029
sourceType: api

airbyte-config/init/src/main/resources/seed/source_specs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8141,7 +8141,7 @@
81418141
supportsNormalization: false
81428142
supportsDBT: false
81438143
supported_destination_sync_modes: []
8144-
- dockerImage: "airbyte/source-marketo:1.0.0"
8144+
- dockerImage: "airbyte/source-marketo:1.0.1"
81458145
spec:
81468146
documentationUrl: "https://docs.airbyte.com/integrations/sources/marketo"
81478147
connectionSpecification:

airbyte-integrations/connectors/source-marketo/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ COPY source_marketo ./source_marketo
3434
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
3535
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
3636

37-
LABEL io.airbyte.version=1.0.0
37+
LABEL io.airbyte.version=1.0.1
3838
LABEL io.airbyte.name=airbyte/source-marketo

airbyte-integrations/connectors/source-marketo/source_marketo/source.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
from airbyte_cdk.models import SyncMode
1515
from airbyte_cdk.sources import AbstractSource
1616
from airbyte_cdk.sources.streams import Stream
17+
from airbyte_cdk.sources.streams.availability_strategy import AvailabilityStrategy
1718
from airbyte_cdk.sources.streams.http import HttpStream
1819
from airbyte_cdk.sources.streams.http.auth import Oauth2Authenticator
1920

@@ -41,6 +42,10 @@ def __init__(self, config: Mapping[str, Any], stream_name: str = None, param: Ma
4142
def url_base(self) -> str:
4243
return self._url_base
4344

45+
@property
46+
def availability_strategy(self) -> Optional["AvailabilityStrategy"]:
47+
return None
48+
4449
def path(self, **kwargs) -> str:
4550
return f"rest/v1/{self.name}.json"
4651

docs/integrations/sources/marketo.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ If the 50,000 limit is too stringent, contact Marketo support for a quota increa
106106

107107
| Version | Date | Pull Request | Subject |
108108
|:---------|:-----------|:---------------------------------------------------------|:----------------------------------------------------------------------------------------------|
109+
| `1.0.1` | 2023-01-31 | [22015](https://github.com/airbytehq/airbyte/pull/22015) | Set `AvailabilityStrategy` for streams explicitly to `None` |
109110
| `1.0.0` | 2023-01-25 | [21790](https://github.com/airbytehq/airbyte/pull/21790) | Fix `activities_*` stream schemas |
110111
| `0.1.12` | 2023-01-19 | [20973](https://github.com/airbytehq/airbyte/pull/20973) | Fix encoding error (note: this change is not in version 1.0.0, but is in later versions |
111112
| `0.1.11` | 2022-09-30 | [17445](https://github.com/airbytehq/airbyte/pull/17445) | Do not use temporary files for memory optimization |

0 commit comments

Comments
 (0)