diff --git a/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/c2281cee-86f9-4a86-bb48-d23286b4c7bd.json b/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/c2281cee-86f9-4a86-bb48-d23286b4c7bd.json index 75e5f20c283a..d535b0f62aa6 100644 --- a/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/c2281cee-86f9-4a86-bb48-d23286b4c7bd.json +++ b/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/c2281cee-86f9-4a86-bb48-d23286b4c7bd.json @@ -2,7 +2,7 @@ "sourceDefinitionId": "c2281cee-86f9-4a86-bb48-d23286b4c7bd", "name": "Slack", "dockerRepository": "airbyte/source-slack", - "dockerImageTag": "0.1.7", + "dockerImageTag": "0.1.8", "documentationUrl": "https://hub.docker.com/repository/docker/airbyte/source-slack", "icon": "slack.svg" } diff --git a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml index 0ab6f14de2e0..acb58b315671 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -335,7 +335,7 @@ - sourceDefinitionId: c2281cee-86f9-4a86-bb48-d23286b4c7bd name: Slack dockerRepository: airbyte/source-slack - dockerImageTag: 0.1.7 + dockerImageTag: 0.1.8 documentationUrl: https://hub.docker.com/repository/docker/airbyte/source-slack icon: slack.svg - sourceDefinitionId: 6ff047c0-f5d5-4ce5-8c81-204a830fa7e1 diff --git a/airbyte-integrations/connectors/source-slack/Dockerfile b/airbyte-integrations/connectors/source-slack/Dockerfile index 061d046f0839..745fecf685db 100644 --- a/airbyte-integrations/connectors/source-slack/Dockerfile +++ b/airbyte-integrations/connectors/source-slack/Dockerfile @@ -16,5 +16,5 @@ RUN pip install . ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py" ENTRYPOINT ["python", "/airbyte/integration_code/main.py"] -LABEL io.airbyte.version=0.1.7 +LABEL io.airbyte.version=0.1.8 LABEL io.airbyte.name=airbyte/source-slack diff --git a/airbyte-integrations/connectors/source-slack/acceptance-test-config.yml b/airbyte-integrations/connectors/source-slack/acceptance-test-config.yml index a106a054c13c..54381c1aac0d 100644 --- a/airbyte-integrations/connectors/source-slack/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-slack/acceptance-test-config.yml @@ -16,6 +16,7 @@ tests: incremental: - config_path: "secrets/config.json" configured_catalog_path: "integration_tests/configured_catalog.json" + timeout_seconds: 3600 cursor_paths: channel_messages: ["float_ts"] full_refresh: diff --git a/airbyte-integrations/connectors/source-slack/integration_tests/configured_catalog.json b/airbyte-integrations/connectors/source-slack/integration_tests/configured_catalog.json index f26dce72388f..c03b16c51c09 100644 --- a/airbyte-integrations/connectors/source-slack/integration_tests/configured_catalog.json +++ b/airbyte-integrations/connectors/source-slack/integration_tests/configured_catalog.json @@ -192,6 +192,9 @@ "ts": { "type": ["null", "string"] }, + "float_ts": { + "type": ["null", "number"] + }, "type": { "type": ["null", "string"] }, diff --git a/airbyte-integrations/connectors/source-slack/sample_files/configured_catalog.json b/airbyte-integrations/connectors/source-slack/sample_files/configured_catalog.json index b3dfd2074f0d..7cc0909e504f 100644 --- a/airbyte-integrations/connectors/source-slack/sample_files/configured_catalog.json +++ b/airbyte-integrations/connectors/source-slack/sample_files/configured_catalog.json @@ -24,6 +24,9 @@ "type": ["null", "string"] }, "ts": { + "type": ["null", "string"] + }, + "float_ts": { "type": ["null", "number"] }, "team": { @@ -66,9 +69,9 @@ }, "supported_sync_modes": ["full_refresh", "incremental"], "source_defined_cursor": true, - "default_cursor_field": ["ts"] + "default_cursor_field": ["float_ts"] }, - "cursor_field": ["ts"], + "cursor_field": ["float_ts"], "sync_mode": "incremental", "destination_sync_mode": "append" } diff --git a/airbyte-integrations/connectors/source-slack/source_slack/schemas/channel_messages.json b/airbyte-integrations/connectors/source-slack/source_slack/schemas/channel_messages.json index 806613ad6ab0..5b94bf0c604d 100644 --- a/airbyte-integrations/connectors/source-slack/source_slack/schemas/channel_messages.json +++ b/airbyte-integrations/connectors/source-slack/source_slack/schemas/channel_messages.json @@ -186,6 +186,9 @@ "ts": { "type": ["null", "string"] }, + "float_ts": { + "type": ["null", "number"] + }, "type": { "type": ["null", "string"] }, diff --git a/airbyte-integrations/connectors/source-slack/source_slack/schemas/threads.json b/airbyte-integrations/connectors/source-slack/source_slack/schemas/threads.json index eeed705e2c2f..d7804390f839 100644 --- a/airbyte-integrations/connectors/source-slack/source_slack/schemas/threads.json +++ b/airbyte-integrations/connectors/source-slack/source_slack/schemas/threads.json @@ -18,6 +18,9 @@ "type": ["null", "string"] }, "ts": { + "type": ["null", "string"] + }, + "float_ts": { "type": ["null", "number"] }, "team": { diff --git a/docs/integrations/sources/slack.md b/docs/integrations/sources/slack.md index 5cc83607d8ed..52e4277d1d29 100644 --- a/docs/integrations/sources/slack.md +++ b/docs/integrations/sources/slack.md @@ -97,3 +97,9 @@ You can no longer create "Legacy" API Keys, but if you already have one, you can We recommend creating a restricted, read-only key specifically for Airbyte access. This will allow you to control which resources Airbyte should be able to access. +## Changelog + +| Version | Date | Pull Request | Subject | +| :------ | :-------- | :----- | :------ | +| 0.1.8 | 2021-07-14 | [4683](https://github.com/airbytehq/airbyte/pull/4683) | Add float_ts primary key | +| 0.1.7 | 2021-06-25 | [3978](https://github.com/airbytehq/airbyte/pull/3978) | Release Slack CDK Connector |