-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c69f609
commit 9ff57de
Showing
9 changed files
with
42 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
airbyte-integrations/connectors/source-zendesk-chat/.dockerignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
* | ||
!Dockerfile | ||
!Dockerfile.test | ||
!main_dev.py | ||
!source_zendesk_chat | ||
!setup.py | ||
!secrets |
6 changes: 4 additions & 2 deletions
6
airbyte-integrations/connectors/source-zendesk-chat/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
FROM airbyte/integration-base-python:0.1.6 | ||
FROM python:3.7-slim | ||
|
||
# Bash is installed for more convenient debugging. | ||
RUN apt-get update && apt-get install -y bash && rm -rf /var/lib/apt/lists/* | ||
|
||
ENV CODE_PATH="source_zendesk_chat" | ||
ENV AIRBYTE_IMPL_MODULE="source_zendesk_chat" | ||
ENV AIRBYTE_IMPL_PATH="SourceZendeskChat" | ||
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main_dev.py" | ||
|
||
WORKDIR /airbyte/integration_code | ||
COPY $CODE_PATH ./$CODE_PATH | ||
COPY main_dev.py ./ | ||
COPY setup.py ./ | ||
RUN pip install . | ||
|
||
ENV AIRBYTE_ENTRYPOINT "/airbyte/base.sh" | ||
ENTRYPOINT ["python", "/airbyte/integration_code/main_dev.py"] | ||
|
||
LABEL io.airbyte.version=0.1.3 | ||
LABEL io.airbyte.name=airbyte/source-zendesk-chat |
6 changes: 2 additions & 4 deletions
6
airbyte-integrations/connectors/source-zendesk-chat/integration_tests/invalid_config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
{ | ||
"credentials": { | ||
"access_token": "wrongkey-access-token", | ||
"start_date": "2020-12-12T00:00:00Z" | ||
} | ||
"access_token": "wrongkey-access-token", | ||
"start_date": "2020-12-12T00:00:00Z" | ||
} |
2 changes: 1 addition & 1 deletion
2
airbyte-integrations/connectors/source-zendesk-chat/sample_files/sample_config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"access_token": "<your_access_token>", | ||
"start_date": "2020-11-01T00:00:00" | ||
"start_date": "2020-11-01T00:00:00Z" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters