From bc74c3d7c2cc6c0042df7d24628f710deb3b107c Mon Sep 17 00:00:00 2001 From: Marcos Marx Date: Tue, 17 Aug 2021 17:42:10 -0300 Subject: [PATCH 1/5] correct zendesk chat --- .../source_zendesk_chat/schemas/chats.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/airbyte-integrations/connectors/source-zendesk-chat/source_zendesk_chat/schemas/chats.json b/airbyte-integrations/connectors/source-zendesk-chat/source_zendesk_chat/schemas/chats.json index 9382a9886fe5e..a5ccc2a144132 100644 --- a/airbyte-integrations/connectors/source-zendesk-chat/source_zendesk_chat/schemas/chats.json +++ b/airbyte-integrations/connectors/source-zendesk-chat/source_zendesk_chat/schemas/chats.json @@ -200,7 +200,7 @@ "type": ["null", "integer"] }, "avg": { - "type": ["null", "number", "integer"] + "type": ["null", "number"] } }, "type": ["null", "object"], @@ -233,7 +233,7 @@ "type": ["null", "string"] }, "unread": { - "type": ["null", "boolean", "integer"] + "type": ["string"] }, "visitor": { "properties": { From eda50a1902bc7855b397bbfa6613cc77b1a972fc Mon Sep 17 00:00:00 2001 From: Marcos Marx Date: Tue, 17 Aug 2021 17:43:27 -0300 Subject: [PATCH 2/5] change to boolean --- .../source-zendesk-chat/source_zendesk_chat/schemas/chats.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airbyte-integrations/connectors/source-zendesk-chat/source_zendesk_chat/schemas/chats.json b/airbyte-integrations/connectors/source-zendesk-chat/source_zendesk_chat/schemas/chats.json index a5ccc2a144132..fa0fcd82a3f8b 100644 --- a/airbyte-integrations/connectors/source-zendesk-chat/source_zendesk_chat/schemas/chats.json +++ b/airbyte-integrations/connectors/source-zendesk-chat/source_zendesk_chat/schemas/chats.json @@ -233,7 +233,7 @@ "type": ["null", "string"] }, "unread": { - "type": ["string"] + "type": ["boolean"] }, "visitor": { "properties": { From 2100848e11c128eadc73e1778d93e5edd7fa590e Mon Sep 17 00:00:00 2001 From: Marcos Marx Date: Tue, 17 Aug 2021 19:00:08 -0300 Subject: [PATCH 3/5] add null to schema --- airbyte-integrations/connectors/source-zendesk-chat/Dockerfile | 2 +- .../test_core.py::TestBasicRead::test_read[inputs0].txt | 0 ...resh.py::TestFullRefresh::test_sequential_reads[inputs0].txt | 0 .../source-zendesk-chat/source_zendesk_chat/schemas/chats.json | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 airbyte-integrations/connectors/source-zendesk-chat/acceptance_tests_logs/test_core.py::TestBasicRead::test_read[inputs0].txt create mode 100644 airbyte-integrations/connectors/source-zendesk-chat/acceptance_tests_logs/test_full_refresh.py::TestFullRefresh::test_sequential_reads[inputs0].txt diff --git a/airbyte-integrations/connectors/source-zendesk-chat/Dockerfile b/airbyte-integrations/connectors/source-zendesk-chat/Dockerfile index f365c9ec3548c..958d43448ce58 100644 --- a/airbyte-integrations/connectors/source-zendesk-chat/Dockerfile +++ b/airbyte-integrations/connectors/source-zendesk-chat/Dockerfile @@ -14,5 +14,5 @@ RUN pip install . ENV AIRBYTE_ENTRYPOINT "/airbyte/base.sh" -LABEL io.airbyte.version=0.1.1 +LABEL io.airbyte.version=0.1.2 LABEL io.airbyte.name=airbyte/source-zendesk-chat diff --git a/airbyte-integrations/connectors/source-zendesk-chat/acceptance_tests_logs/test_core.py::TestBasicRead::test_read[inputs0].txt b/airbyte-integrations/connectors/source-zendesk-chat/acceptance_tests_logs/test_core.py::TestBasicRead::test_read[inputs0].txt new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/airbyte-integrations/connectors/source-zendesk-chat/acceptance_tests_logs/test_full_refresh.py::TestFullRefresh::test_sequential_reads[inputs0].txt b/airbyte-integrations/connectors/source-zendesk-chat/acceptance_tests_logs/test_full_refresh.py::TestFullRefresh::test_sequential_reads[inputs0].txt new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/airbyte-integrations/connectors/source-zendesk-chat/source_zendesk_chat/schemas/chats.json b/airbyte-integrations/connectors/source-zendesk-chat/source_zendesk_chat/schemas/chats.json index fa0fcd82a3f8b..f2005c056e357 100644 --- a/airbyte-integrations/connectors/source-zendesk-chat/source_zendesk_chat/schemas/chats.json +++ b/airbyte-integrations/connectors/source-zendesk-chat/source_zendesk_chat/schemas/chats.json @@ -233,7 +233,7 @@ "type": ["null", "string"] }, "unread": { - "type": ["boolean"] + "type": ["null", "boolean"] }, "visitor": { "properties": { From 0c704d963d9853a18c63d2feecfffcabcadaf1a3 Mon Sep 17 00:00:00 2001 From: Marcos Marx Date: Tue, 17 Aug 2021 19:07:53 -0300 Subject: [PATCH 4/5] add docs --- .../test_core.py::TestBasicRead::test_read[inputs0].txt | 0 ...efresh.py::TestFullRefresh::test_sequential_reads[inputs0].txt | 0 2 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 airbyte-integrations/connectors/source-zendesk-chat/acceptance_tests_logs/test_core.py::TestBasicRead::test_read[inputs0].txt delete mode 100644 airbyte-integrations/connectors/source-zendesk-chat/acceptance_tests_logs/test_full_refresh.py::TestFullRefresh::test_sequential_reads[inputs0].txt diff --git a/airbyte-integrations/connectors/source-zendesk-chat/acceptance_tests_logs/test_core.py::TestBasicRead::test_read[inputs0].txt b/airbyte-integrations/connectors/source-zendesk-chat/acceptance_tests_logs/test_core.py::TestBasicRead::test_read[inputs0].txt deleted file mode 100644 index e69de29bb2d1d..0000000000000 diff --git a/airbyte-integrations/connectors/source-zendesk-chat/acceptance_tests_logs/test_full_refresh.py::TestFullRefresh::test_sequential_reads[inputs0].txt b/airbyte-integrations/connectors/source-zendesk-chat/acceptance_tests_logs/test_full_refresh.py::TestFullRefresh::test_sequential_reads[inputs0].txt deleted file mode 100644 index e69de29bb2d1d..0000000000000 From 9cfd59e877cfb960210e4b2cb6fe5707a8269809 Mon Sep 17 00:00:00 2001 From: Marcos Marx Date: Tue, 17 Aug 2021 19:09:08 -0300 Subject: [PATCH 5/5] add doc changelog --- .../40d24d0f-b8f9-4fe0-9e6c-b06c0f3f45e4.json | 2 +- .../init/src/main/resources/seed/source_definitions.yaml | 2 +- docs/integrations/sources/zendesk-chat.md | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/40d24d0f-b8f9-4fe0-9e6c-b06c0f3f45e4.json b/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/40d24d0f-b8f9-4fe0-9e6c-b06c0f3f45e4.json index bfa9c42239228..017ddd500244f 100644 --- a/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/40d24d0f-b8f9-4fe0-9e6c-b06c0f3f45e4.json +++ b/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/40d24d0f-b8f9-4fe0-9e6c-b06c0f3f45e4.json @@ -2,7 +2,7 @@ "sourceDefinitionId": "40d24d0f-b8f9-4fe0-9e6c-b06c0f3f45e4", "name": "Zendesk Chat", "dockerRepository": "airbyte/source-zendesk-chat", - "dockerImageTag": "0.1.1", + "dockerImageTag": "0.1.2", "documentationUrl": "https://docs.airbyte.io/integrations/sources/zendesk-chat", "icon": "zendesk.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 ec67519ebb764..5c45ecb6039f3 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -182,7 +182,7 @@ - sourceDefinitionId: 40d24d0f-b8f9-4fe0-9e6c-b06c0f3f45e4 name: Zendesk Chat dockerRepository: airbyte/source-zendesk-chat - dockerImageTag: 0.1.1 + dockerImageTag: 0.1.2 documentationUrl: https://docs.airbyte.io/integrations/sources/zendesk-chat icon: zendesk.svg - sourceDefinitionId: 79c1aa37-dae3-42ae-b333-d1c105477715 diff --git a/docs/integrations/sources/zendesk-chat.md b/docs/integrations/sources/zendesk-chat.md index b3a6ba8b073dd..de636cbbdb883 100644 --- a/docs/integrations/sources/zendesk-chat.md +++ b/docs/integrations/sources/zendesk-chat.md @@ -58,3 +58,10 @@ Generate a Access Token as described in [Zendesk Chat docs](https://developer.ze 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.2 | 2021-08-17 | [5476](https://github.com/airbytehq/airbyte/pull/5476) | Correct field unread to boolean type | +| 0.1.1 | 2021-06-09 | [3973](https://github.com/airbytehq/airbyte/pull/3973) | Add `AIRBYTE_ENTRYPOINT` for Kubernetes support | +| 0.1.0 | 2021-05-03 | [3088](https://github.com/airbytehq/airbyte/pull/3088) | Initial release | \ No newline at end of file