Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎉 Source Kustomer: Clarify setup fields #8738

Merged
merged 19 commits into from
Dec 22, 2021
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,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.0
LABEL io.airbyte.version=0.1.1
LABEL io.airbyte.name=airbyte/source-kustomer
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,7 @@ tests:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
validate_output_from_all_streams: yes
# TODO uncomment this block to specify that the tests should assert the connector outputs the records provided in the input file a file
# expect_records:
# path: "integration_tests/expected_records.txt"
# extra_fields: no
# exact_order: no
# extra_records: yes
incremental: # TODO if your connector does not implement incremental sync, remove this block
incremental:
- config_path: "secrets/config.json"
configured_catalog_path: "integration_tests/configured_catalog.json"
future_state_path: "integration_tests/abnormal_state.json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,4 @@

@pytest.fixture(scope="session", autouse=True)
def connector_setup():
"""This fixture is a placeholder for external resources that acceptance test might require."""
# TODO: setup test dependencies
yield
# TODO: clean up test dependencies
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"api_token": "api_token",
"start_date": "2021-01-01T00:00:00Z",
"user_agent": "tap-kustomer <test@test.com>",
"date_window_size": "60",
"page_size_limit": "100"
"api_token": "invalid_api_token",
"start_date": "0000-01-01T00:00:00Z"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
{
"todo-stream-name": {
"todo-field-name": "value"
"bookmarks": {
"conversations": "2021-12-25T18:00:00Z",
"customers": "2021-12-25T18:00:00Z",
"kobjects": "2021-12-25T18:00:00Z",
"messages": "2021-12-25T18:00:00Z",
"notes": "2021-12-25T18:00:00Z",
"shortcuts": "2021-12-25T18:00:00Z",
"tags": "2021-12-25T18:00:00Z",
"teams": "2021-12-25T18:00:00Z",
"users": "2021-12-25T18:00:00Z"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,16 @@
"additionalProperties": true,
"properties": {
"api_token": {
"title": "API Token",
"type": "string",
"description": "The API token for your Kustomer account",
"airbyte_secret": true
},
"start_date": {
"title": "Start Date",
"type": "string",
"description": "The date from which you'd like to replicate the data",
"examples": ["2019-01-01T00:00:00Z"]
},
"user_agent": {
"type": "string",
"examples": "tap-kustomer <api_user_email@your_company.com>"
},
"date_window_size": {
"type": "string",
"description": "The integer number of days (between the from and to dates) for date-windowing through the date-filtered endpoints"
},
"page_size_limit": {
"type": "string",
"description": "The integer number of records to return per API request"
}
}
}
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/kustomer.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ Kustomer has some [rate limit restrictions](https://developer.kustomer.com/kusto

| Version | Date | Pull Request | Subject |
| :--- | :--- | :--- | :--- |
| 0.1.1 | 2021-12-13 | [0000](https://github.com/airbytehq/airbyte/pull/0000) | Deleted `user-agent`, `date_window_size`, `page_size_limit` from `spec.json` file |
| 0.1.0 | 2021-07-22 | [4550](https://github.com/airbytehq/airbyte/pull/4550) | Add Kustomer Source Connector |