Skip to content

Commit

Permalink
Merge pull request #20 from fivetran/bug/disable-freshness
Browse files Browse the repository at this point in the history
Bug/disable freshness
  • Loading branch information
fivetran-jamie authored Aug 6, 2021
2 parents 358e962 + e27fa01 commit b4fadeb
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
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

0 comments on commit b4fadeb

Please sign in to comment.