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

Bug/disable freshness #20

Merged
merged 4 commits into from
Aug 6, 2021
Merged
Show file tree
Hide file tree
Changes from all 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
11 changes: 2 additions & 9 deletions dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
config-version: 2

name: 'zendesk_source'
version: '0.4.0'
version: '0.4.1'

require-dbt-version: ">=0.20.0"

Expand All @@ -28,11 +28,4 @@ vars:
ticket_schedule: "{{ source('zendesk', 'ticket_schedule') }}"
ticket_tag: "{{ source('zendesk', 'ticket_tag') }}"
user_tag: "{{ source('zendesk', 'user_tag') }}"
user: "{{ source('zendesk', 'user') }}"

using_schedules: True
using_domain_names: True
using_user_tags: True
using_ticket_form_history: True
using_organization_tags: True
using_satisfaction_ratings: True
user: "{{ source('zendesk', 'user') }}"
2 changes: 1 addition & 1 deletion integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
config-version: 2

name: 'zendesk_source_integration_tests'
version: '0.4.0'
version: '0.4.1'

profile: 'integration_tests'

Expand Down
10 changes: 10 additions & 0 deletions models/src_zendesk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ sources:

- name: domain_name
description: Domain names associated with an organization. An organization may have multiple domain names.
meta:
is_enabled: "{{ var('using_domain_names', true) }}"
columns:
- name: organization_id
description: Reference to the organization
Expand All @@ -115,6 +117,8 @@ sources:

- name: organization_tag
description: The tags associated with an organization. An organization may have multiple tags.
meta:
is_enabled: "{{ var('using_organization_tags', true) }}"
columns:
- name: organization_id
description: Reference to the organization
Expand Down Expand Up @@ -185,6 +189,8 @@ sources:

- name: user_tag
description: Table containing all tags associated with a user. Only present if your account has user tagging enabled.
meta:
is_enabled: "{{ var('using_user_tags', true) }}"
columns:
- name: user_id
description: Reference to the user
Expand Down Expand Up @@ -217,6 +223,8 @@ sources:
- name: schedule
description: The support schedules created with different business hours and holidays.
freshness: null
meta:
is_enabled: "{{ var('using_schedules', true) }}"
columns:
- name: id
description: ID automatically assigned to the schedule upon creation
Expand All @@ -242,6 +250,8 @@ sources:

- name: ticket_form_history
description: Ticket forms allow an admin to define a subset of ticket fields for display to both agents and end users.
meta:
is_enabled: "{{ var('using_ticket_form_history', true) }}"
columns:
- name: id
description: Automatically assigned when creating ticket form
Expand Down