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

TDL-23186 Schema automation #963

Merged
merged 357 commits into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
357 commits
Select commit Hold shift + click to select a range
4d385f4
generated shemas
Oct 4, 2023
66b6859
update for discovery mode files
Oct 4, 2023
d467ab3
Update format_json.py
Oct 4, 2023
db03e03
Update format_json.py
Oct 4, 2023
9cf76e6
Update get-json-files.py
Oct 4, 2023
b2f8cb9
generated missing schemas
Oct 4, 2023
fe14c2f
Update snapshot-attributes.yml
Oct 4, 2023
3f9d679
remove shared json files
Oct 4, 2023
76d165f
Merge branch 'master' into TDL-23186-json-schema
Oct 4, 2023
972ed71
re-generated after updating from master
Oct 4, 2023
ff0ea64
fix ref loop and format issue
Oct 4, 2023
bc77e2d
fix format loop
Oct 4, 2023
49e8f27
Update get-json-files.py
Oct 4, 2023
0d1f8d7
fix for amazon dsp schema
Oct 5, 2023
c6576fd
Update format_json.py
Oct 5, 2023
b9a1be6
updated schemas
Oct 5, 2023
c54a154
handle arrays and anyOf in HTML template
Oct 5, 2023
c2777a1
generated schemas
Oct 5, 2023
5187313
Update wootric-latest.md
Oct 5, 2023
d5c9bac
remove old files and rename new ones
Oct 6, 2023
b5c7a0d
sort json
Oct 6, 2023
5ae2a97
generated ordered json files
Oct 6, 2023
a664ced
add list of tables
Oct 6, 2023
69e43c8
convet markdown schemas to json
Oct 6, 2023
8bc3631
Revert "convet markdown schemas to json"
Oct 6, 2023
e06d10f
Create convert_md_schemas.py
Oct 6, 2023
8681335
Update convert_md_schemas.py
Oct 6, 2023
bbc9cc7
converted md schemas to json
Oct 6, 2023
af05cb8
Update amplitude-v1-tables.yml
Oct 6, 2023
500683e
add option to ignore json schemas
Oct 10, 2023
db860c2
Update get-table-data-from-md.py
Oct 11, 2023
7101821
fixed schema issues
Oct 11, 2023
8eb8f25
converted md schemas
Oct 11, 2023
e0f00e1
Update convert_md_schemas.py
Oct 11, 2023
c014d4b
updates for parent/child tables
Oct 11, 2023
1a272d8
remove old template
Oct 11, 2023
c5bf458
remove empty foreign keys
Oct 11, 2023
d0f17d4
fixed foreign key issues
Oct 11, 2023
4139b9d
added note about nested data structures
Oct 11, 2023
800f469
added primary key and replication key icons
Oct 11, 2023
4589bfa
renamed files
Oct 11, 2023
57fa2f2
Update metadata_accounts.json
Oct 12, 2023
c588fae
Revert "Update metadata_accounts.json"
Oct 12, 2023
b168d62
format json
Oct 12, 2023
8b99a39
fix json
Oct 12, 2023
a153446
Revert "fix json"
Oct 12, 2023
d6ef036
Revert "format json"
Oct 12, 2023
059f528
Revert "Revert "format json""
Oct 12, 2023
9bd644e
Revert "Revert "fix json""
Oct 12, 2023
ebbd9d2
Update allocations.json
Oct 12, 2023
8f58df2
fix json format issues
Oct 12, 2023
51904d2
refactor integration data script
Oct 12, 2023
b03a43e
Update check_json_issues.py
Oct 13, 2023
9b20741
move scripts
Oct 13, 2023
690a9b0
updated paths
Oct 13, 2023
7d9b647
Update get_table_data_from_md.py
Oct 13, 2023
41c2701
refactored table data script
Oct 13, 2023
764a249
Create manual_json_import.py
Oct 13, 2023
9515d5a
cleaned up scripts
Oct 13, 2023
efa626f
delete file after conversion
Oct 13, 2023
0404779
added github actions
Oct 13, 2023
b3c9368
Update import_json_schemas.yml
Oct 13, 2023
feb9a4a
fixed workflows
Oct 13, 2023
cf29c7c
fixed module name
Oct 13, 2023
bf15246
Create catalog.json
Oct 13, 2023
206d850
Update get_integration_data.py
Oct 13, 2023
5ae3837
fixed workflow
Oct 13, 2023
933d3b7
Automated commit: Generate JSON schemas
invalid-email-address Oct 13, 2023
15263cd
Revert "Automated commit: Generate JSON schemas"
Oct 13, 2023
10d8aad
Update get_json_schema_from_catalog.yml
Oct 13, 2023
2616ed7
Automated commit: Generate JSON schemas
invalid-email-address Oct 13, 2023
dcf301c
Merge branch 'master' into TDL-23186-json-schema
Oct 13, 2023
c3c113c
Merge branch 'TDL-23186-json-schema' of https://github.com/stitchdata…
Oct 13, 2023
bca6dd9
Revert "Automated commit: Generate JSON schemas"
Oct 13, 2023
9823140
Delete catalog.json
Oct 13, 2023
c0ec32a
renamed file
Oct 13, 2023
c34a76c
add foreign keys workflow
Oct 13, 2023
1f1d937
testing
Oct 13, 2023
c559279
Revert "testing"
Oct 13, 2023
20ea2cc
Update generate_foreign_keys.yml
Oct 13, 2023
835b5e6
testing
Oct 13, 2023
068db34
Update generate_foreign_keys.yml
Oct 13, 2023
f9ff520
Revert "testing"
Oct 13, 2023
73fe51d
replace index with column name
Oct 13, 2023
47f8b68
tsting
Oct 13, 2023
4a1decb
Automated commit: Generate JSON schemas
invalid-email-address Oct 13, 2023
9f8117c
Revert "Automated commit: Generate JSON schemas"
Oct 13, 2023
b5901f1
Revert "tsting"
Oct 13, 2023
7337849
Update generate_foreign_keys.yml
Oct 13, 2023
76ec0ba
Update import_json_schemas.yml
Oct 13, 2023
5d2dfd9
fixed files
Oct 13, 2023
88a5cdf
fix files
Oct 13, 2023
0c6f354
Create sample-report.json
Oct 13, 2023
4d60bff
TDL-24280 started documenting scripts and workflows
Oct 16, 2023
997a28d
Merge branch 'master' into TDL-23186-json-schema
lmilan Oct 16, 2023
1bac2df
check in anyof elements
Oct 17, 2023
0562b2b
Merge branch 'TDL-23186-json-schema' of https://github.com/stitchdata…
Oct 17, 2023
9b9ba47
changed display for arrays
Oct 17, 2023
3342b41
remove issues file if empty
Oct 17, 2023
89a9971
Update schemas-table.html
Oct 17, 2023
d4b6354
fixed 3plcentral issues
Oct 17, 2023
6c99d9e
Update README.md
Oct 18, 2023
19f93b3
Update README.md
Oct 18, 2023
05bfa1a
Update check_json_issues.py
Oct 18, 2023
eb3108e
fix for empty properties
Oct 18, 2023
ce0c64e
Update check_table_data.py
Oct 18, 2023
8e81a60
Update generate_foreign_keys.py
Oct 18, 2023
1ea1e32
Update get_integration_data.py
Oct 18, 2023
fd6b346
Update get_table_data.py
Oct 19, 2023
c720b8a
remove ignored files from list of issues
Oct 19, 2023
61f1106
fixed activecampaign issues
Oct 19, 2023
b07cc6f
Update get_table_data.py
Oct 19, 2023
83b8465
removed amazon dsp
Oct 19, 2023
a9a4c79
fixed issues
Oct 19, 2023
a8a5343
fixed asana issues
Oct 19, 2023
1df95b6
fixed autopilot issues
Oct 19, 2023
7e3d41f
fixed bigcommerce issues
Oct 19, 2023
244b70a
fixed asana v2
Oct 19, 2023
d0fb57b
fixed bing ads v2
Oct 19, 2023
0dcca1a
Delete bing-ads-v1-issues.txt
Oct 19, 2023
776092b
fixed braintree
Oct 19, 2023
56f03ae
fixed bronto
Oct 19, 2023
a90e4a6
fixed chargebee
Oct 19, 2023
03a3214
fixed chargify
Oct 19, 2023
f1ae2be
fixed closeio
Oct 19, 2023
83d695f
revert to older version for demo
Oct 20, 2023
f651901
ignore leads stream
Oct 20, 2023
52260e6
fixed facebook issues
Oct 20, 2023
62f02a4
fix for schemas without doc links
Oct 20, 2023
1b251c0
fixed clubspeed
Oct 20, 2023
09ccc56
fixed codat
Oct 20, 2023
93f9033
fixed covid-19 issues
Oct 20, 2023
ceaa440
fixed crossbeam
Oct 20, 2023
182dc42
Automated commit: Generate foreign keys
invalid-email-address Oct 20, 2023
3529268
fixed schemas
Oct 23, 2023
c18b2d8
Update convert_md_schemas.py
Oct 23, 2023
e6072f1
fixed schemas
Oct 23, 2023
148e46d
fix deputy issues
Oct 23, 2023
8882881
fixed ebay
Oct 23, 2023
2a71140
fixed eloqua
Oct 23, 2023
42e3c7f
fixed freshdesk
Oct 23, 2023
07fc70b
update branch for demo
Oct 24, 2023
ad33d7c
fixed pendo issues
Oct 25, 2023
5265b98
add catalog file for demo
Oct 25, 2023
baeaa98
remove element for demo
Oct 25, 2023
5010650
Delete catalog.json
Oct 25, 2023
0fc7e06
Update get_json_schema_from_catalog.yml
Oct 25, 2023
4965c50
remove netsuite schema links
Oct 27, 2023
64d7e28
fixed frontapp issues
Oct 30, 2023
fe2b90b
fix for system columns
Oct 30, 2023
cb91e77
Delete fullstory-v1-issues.txt
Oct 30, 2023
86a04a0
fixed github issues
Oct 30, 2023
12ebe5f
fixed gitlab issues
Oct 30, 2023
3153a9d
ignore issues
Oct 30, 2023
84f0c35
Update check_table_data.py
Oct 30, 2023
38ae4b3
ignore reports for table check
Oct 30, 2023
cd3ade6
fixed adwords issues
Oct 30, 2023
deb24ab
replace system column names
Oct 30, 2023
8300288
add table templates
Oct 30, 2023
a499974
fixed ga360 issues
Oct 30, 2023
5cf007e
fixed google sheets
Oct 30, 2023
fc157a7
Update get_table_data.py
Oct 30, 2023
5873994
fixed harvest
Nov 2, 2023
4019e88
fixed harvest issues
Nov 2, 2023
968b34b
fixed harvest forecast
Nov 2, 2023
c69e13d
remove not found status for taps with no schemas
Nov 2, 2023
a25e4a2
fixed heap issues
Nov 2, 2023
bf34198
add default value
Nov 2, 2023
4273df0
fixed helpscout
Nov 2, 2023
b47a112
fixed ilevel issues
Nov 2, 2023
55c6106
fixed impact issues
Nov 2, 2023
2cc8d43
removed insided
Nov 2, 2023
20474f4
fixed intercom issues
Nov 2, 2023
a391294
fixed invoiced issues
Nov 2, 2023
09dc866
fixed iterable
Nov 2, 2023
2ce950c
fixed iterable
Nov 2, 2023
01ea015
fixed jira issues
Nov 2, 2023
a0ed453
fixed klaviyo issues
Nov 2, 2023
411a469
Update get_json_files.py
Nov 2, 2023
b5e4958
fixed kustomer issues
Nov 2, 2023
bbb82fa
fixed liveperson issues
Nov 2, 2023
ea3337c
fixed looker issues
Nov 2, 2023
e066bd5
fixed lookml
Nov 2, 2023
9a371e8
fixed mailshake
Nov 2, 2023
266a5f2
fixed mambu issues
Nov 3, 2023
8049675
fixed marketo
Nov 3, 2023
4cb62ee
fixed mixpanel
Nov 3, 2023
0335369
fixed teams issues
Nov 3, 2023
22ee188
fixed onfleet issues
Nov 3, 2023
9961966
fixed outbrain
Nov 3, 2023
038dd37
fixed outreach issues
Nov 3, 2023
b0277da
fixed pepperjam
Nov 3, 2023
1c93f61
fixed pipedrive
Nov 3, 2023
11f60db
remove quick-base
Nov 3, 2023
28b2ed1
fixed quickbooks
Nov 3, 2023
c4e4489
fixed recharge issue
Nov 6, 2023
07f7215
fixed recurly issues
Nov 6, 2023
f646919
fixed referral-saasquatch
Nov 6, 2023
ccadfc8
fixed revinate
Nov 6, 2023
8ec9150
fixed sailthru
Nov 6, 2023
616b81d
fixed salesforce
Nov 6, 2023
86571bc
fixed salesforce marketing cloud issues
Nov 6, 2023
85d9e19
fixed selligent
Nov 6, 2023
f2ba491
fixed shiphero
Nov 8, 2023
e8c2f54
fixed shippo
Nov 8, 2023
ee9dbc3
fixed shopify
Nov 8, 2023
17f357f
fixed slack
Nov 8, 2023
a6f3e32
disable table data check for report tables
Nov 17, 2023
be28342
fixed snapchat issues
Nov 17, 2023
814ac1e
fixed snapchat issues
Nov 17, 2023
f6b3f1d
Update check_json_issues.py
Nov 17, 2023
8d620dd
fixed square issues
Nov 17, 2023
07d15b1
fixed stripe issues
Nov 17, 2023
ca4fab6
fixed taboola issues
Nov 17, 2023
0a105b0
fixed toggl issues
Nov 17, 2023
31ee930
fixed trello issues
Nov 17, 2023
6b0d896
fixed twilio issues
Nov 17, 2023
a743774
fixed twitter issues
Nov 17, 2023
e64ca4b
fixed typeform issues
Nov 17, 2023
ab23cf5
fixed ujet issues
Nov 17, 2023
e66fbf9
fixed urban-airship issues
Nov 17, 2023
38ee97d
fixed urban-airship issues
Nov 17, 2023
476a8ff
fixed uservoice issues
Nov 17, 2023
81a9adc
fixed wootric issues
Nov 17, 2023
80bf9b3
removed workday
Nov 17, 2023
8c27fa9
fixed xero issues
Nov 17, 2023
4cde0de
Update get_json_files.py
Nov 17, 2023
d1fe487
fixed yotpo issues
Nov 20, 2023
4b200f2
fixed zendesk issues
Nov 20, 2023
dbb439f
fixed zoom
Nov 20, 2023
5529a34
fixed zendesk-chat
Nov 20, 2023
412415c
renamed files
Nov 20, 2023
190fcca
added renamed files
Nov 20, 2023
ccff256
fixed some zuora issues
Nov 20, 2023
ca7f611
fixed google integrations
Nov 23, 2023
591a827
changes system for files to ignore
Nov 23, 2023
ddd58e4
moved old integration schema files
Nov 23, 2023
edcc193
fixed hubspot issues
Nov 23, 2023
0e0be58
replaced v0 with v1
Nov 30, 2023
454a4ce
deal with tables not found
Nov 30, 2023
38c9960
improve script
Nov 30, 2023
9a4b160
fixed issues
Nov 30, 2023
f722333
fixed duplicate and broken links
Nov 30, 2023
0c45cab
fixed issues
Nov 30, 2023
926d7cc
Merge branch 'master' into TDL-23186-json-schema
Dec 1, 2023
83ab258
updated for frontapp v2
Dec 1, 2023
b68f270
fixed facebook issues
Dec 1, 2023
9dce84f
Update schemas.html
Dec 1, 2023
b5ad544
fixed hubspot issue
Dec 1, 2023
b092c1d
Merge branch 'master' into TDL-23186-json-schema
Dec 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 4 additions & 3 deletions .github/workflows/generate_foreign_keys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ on:
push:
paths:
- '**-foreign-keys.yml'
branches:
- '!master'
branches-ignore:
- 'master'

jobs:
generate-foreign-keys:
Expand All @@ -23,6 +23,7 @@ jobs:
with:
packages: |
pyyaml
pandas

- name: Generate foreign keys
run: python generate_foreign_keys.py
Expand All @@ -38,5 +39,5 @@ jobs:
git add -A
git config --global user.email "[email protected]"
git config --global user.name 'github-actions'
git commit -am "Automated commit: Generate JSON schemas"
git commit -am "Automated commit: Generate foreign keys"
git push
8 changes: 4 additions & 4 deletions .github/workflows/get_json_schema_from_catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
required: true

jobs:
generate-changelog:
get-json-schemas:
runs-on: ubuntu-latest
steps:
- name: Get current date
Expand All @@ -51,7 +51,7 @@ jobs:
pyyaml

- name: Get JSON files
run: python manual_json_import.py ${{ secrets.GITHUB_TOKEN }} ${{ github.event.inputs.tap }} ${{ github.event.inputs.version }} ${{ github.event.inputs.file }}
run: python manual_json_import.py ${{ github.event.inputs.tap }} ${{ github.event.inputs.version }} ${{ github.event.inputs.file }}
working-directory: ./scripts/json

- name: Check for changes
Expand All @@ -74,11 +74,11 @@ jobs:
branch: ${{ github.event.inputs.branch }}

- name: Create pull request
if: steps.get_changes.outputs.changed != 0 && ${{ github.event.inputs.pr }} == true
if: steps.get_changes.outputs.changed != 0 && github.event.inputs.pr == 'true'
uses: repo-sync/pull-request@v2
with:
source_branch: ${{ github.event.inputs.branch }}
destination_branch: "master"
destination_branch: "TDL-23186-json-schema"
github_token: ${{ secrets.GITHUB_TOKEN }}
pr_label: "json-schemas-update"
pr_title: ${{ github.event.inputs.tap }} JSON schema updates ${{ env.date }}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/import_json_schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
required: false

jobs:
generate-changelog:
import-schemas:
runs-on: ubuntu-latest
steps:
- name: Get current date
Expand Down Expand Up @@ -47,6 +47,7 @@ jobs:
with:
packages: |
requests
pyyaml

- name: Get JSON files
run: python get_json_files.py ${{ secrets.GITHUB_TOKEN }} ${{ github.event.inputs.repo }} ${{ github.event.inputs.branch }}
Expand All @@ -62,7 +63,7 @@ jobs:
git add -A
git config --global user.email "[email protected]"
git config --global user.name 'github-actions'
git commit -am "Automated commit: Add JSON schemas"
git commit -am "Automated commit: Import JSON schemas"

- name: Push changes
if: steps.get_changes.outputs.changed != 0
Expand All @@ -76,7 +77,7 @@ jobs:
uses: repo-sync/pull-request@v2
with:
source_branch: ${{ env.branch }}
destination_branch: "master"
destination_branch: "TDL-23186-json-schema"
github_token: ${{ secrets.GITHUB_TOKEN }}
pr_label: "json-schemas-update"
pr_title: ${{ github.event.inputs.repo }} JSON schema updates ${{ env.date }}
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ Thumbs.db
*~
*.scssc
.cache_ggshield
__pycache__
*.pyc
Loading