Skip to content

Commit

Permalink
🐛 Source Slack: add float_ts field (#4683)
Browse files Browse the repository at this point in the history
* rename float_ts to ts cursor_field

* add float_ts

* change float_ts to number

* change channel_msg

* bump version

* increase default timeout_seconds slack acc test

* timeout_seconds to 1750

* timeout_seconds to 3600 :p

* add changelog for slack connector
  • Loading branch information
marcosmarxm authored and gl-pix committed Jul 22, 2021
1 parent 6bf15bf commit 3383d2b
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-slack/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@
"ts": {
"type": ["null", "string"]
},
"float_ts": {
"type": ["null", "number"]
},
"type": {
"type": ["null", "string"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"type": ["null", "string"]
},
"ts": {
"type": ["null", "string"]
},
"float_ts": {
"type": ["null", "number"]
},
"team": {
Expand Down Expand Up @@ -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"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@
"ts": {
"type": ["null", "string"]
},
"float_ts": {
"type": ["null", "number"]
},
"type": {
"type": ["null", "string"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"type": ["null", "string"]
},
"ts": {
"type": ["null", "string"]
},
"float_ts": {
"type": ["null", "number"]
},
"team": {
Expand Down
6 changes: 6 additions & 0 deletions docs/integrations/sources/slack.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |

0 comments on commit 3383d2b

Please sign in to comment.