-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdaily.yml
95 lines (95 loc) · 2.58 KB
/
daily.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
kind: source
spec:
name: typeform
registry: grpc
path: typeform-plugin:7777
tables: ["*"]
destinations: ["postgresql"]
# Typeform-specific configuration
spec:
access_token: ${TYPEFORM_TOKEN}
base_url: "https://api.typeform.com" # use https://api.eu.typeform.com for EU accounts
# Optional configuration
# concurrency: 100
# queue_size: 10000
---
kind: source
spec:
name: "simple-analytics"
path: "simple-analytics/simple-analytics"
version: "v2.0.0"
registry: cloudquery
backend_options:
table_name: "cq_state_simpleanalytics"
connection: "@@plugins.postgresql.connection"
tables:
["*"]
destinations:
- "postgresql"
spec:
# plugin spec section
api_key: ${SA_API_KEY}
user_id: ${SA_USER_ID}
websites:
- hostname: cloudquery.io
- hostname: hub.cloudquery.io
- hostname: cloud.cloudquery.io
- hostname: docs.cloudquery.io
---
kind: source
spec:
# Source spec section
name: github
path: cloudquery/github
registry: cloudquery
version: "v7.4.1"
tables: ["github_issues"]
destinations: ["postgresql"]
spec:
access_token: ${GITHUB_PAT} # Personal Access Token required if not using App Authentication.
# orgs: ["cloudquery"] # Optional. List of organizations to sync from
repos: ["cloudquery/cloudquery", "cloudquery/cloudquery-issues"] # Optional. List of repositories to sync from
---
kind: source
spec:
name: "hubspot"
path: cloudquery/hubspot
version: "v3.0.11"
registry: cloudquery
destinations: ["postgresql"]
tables: ["hubspot_crm_companies", "hubspot_crm_contacts", "hubspot_crm_deals"]
spec:
# optional, default is 5.
# See https://developers.hubspot.com/docs/api/usage-details#rate-limits
max_requests_per_second: 5
table_options:
hubspot_crm_companies:
associations: ["contact"]
properties: ["annualRevenue","country", "description", "industry", "isPublic", "numberOfEmployees", "yearFounded", "domain"]
hubspot_crm_contacts:
associations: ["company"]
properties: []
hubspot_crm_deals:
associations: ["company"]
properties: []
hubspot_crm_line_items:
associations: []
properties: []
hubspot_crm_products:
associations: []
properties: []
hubspot_crm_quotes:
associations: []
properties: []
hubspot_crm_tickets:
associations: []
properties: []
---
kind: destination
spec:
name: postgresql
path: cloudquery/postgresql
registry: cloudquery
version: "v6.1.3"
spec:
connection_string: ${PG_CONNECTION_STRING}