-
Notifications
You must be signed in to change notification settings - Fork 40
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
✨ Add orchestration module #917
Merged
Merged
Changes from 249 commits
Commits
Show all changes
276 commits
Select commit
Hold shift + click to select a range
850ab79
🐛 Fixed bug in `viadot-lite.Dockerfile`
djagoda881 dd999e5
🔖 Upgraded version to `2.0.0-alpha.1`
djagoda881 f95694d
👷 Updated `docker-publish.yml`
djagoda881 cf22f58
🚚 Moved `orchiestration` folder into `src/viadot`
djagoda881 e1415d0
🚚 Renamed path from `prefect-viadot-test` to `prefect-test`
djagoda881 5f50f97
🔖 Bumped version to `2.0.0-alpha.2`
djagoda881 d7922f0
♻️ Synchronized `prefect-viadot` with `orchiestration/prefect`
djagoda881 c39ff5c
🐛 Fixed import in `test_git.py`
djagoda881 674343b
🧱 Updated `docker-compose.yml`
djagoda881 df3e4ce
🚚 Moved `prefect_viadot` to `src/viadot/orchestration`
djagoda881 bb7f65c
🚚 Changes imports in prefect-viadot
djagoda881 bec9d3e
⬆️ Added prefect-viadot dependencies to viadot
djagoda881 fb62dc2
⬆️ Upgraded `prefect` dependencie
djagoda881 deedb07
🔧 Updated `Dockerfile`
djagoda881 d89f1e4
⬆️ Upgraded dependecies
djagoda881 f97c97c
🔥 Depreacted `datahub.py`
djagoda881 aee4d0b
➕ Added `viadot-azure` and `viadot-aws` dependecies
djagoda881 0a148c7
🧱 Added `viadot-azure.Dockerfile`
djagoda881 035589e
🐛 Added import error handlig to all optional sources
djagoda881 e3e7c17
🐛 Fixed adls import
djagoda881 cadf4ea
🧱 Added `viadot-aws.Dockerfile`
djagoda881 363541c
🐛 Fixed import errors in `prefect-viadot`
djagoda881 7ba3915
✅ Added prefect-viadot test and refactored viadot tests
djagoda881 b1619e2
🙈 Updated .gitignore file
djagoda881 1d49a83
➕ Added new dev dependencies
djagoda881 4c19a04
🧱 Removed not needed packages from `viadot-azure.Dockerfile`
djagoda881 a39c1d9
➕ Added dependecies to `pyproject.toml`
djagoda881 7dcc38f
⬆️ Upgraded `viadot-azure` packages
djagoda881 b066f6e
🐛 Fixed imports in viadot integration tests
djagoda881 e24a6d4
🧱 Refacroed `viadot-azure.Dockerfile`
djagoda881 e59dc28
⬆️ Upgraded aws dependecies in `pyproject.toml`
djagoda881 e5941a7
⬆️ Upgraded dependecies
djagoda881 7323b7f
🧱 Added viadot-lite image
djagoda881 da48de5
♻️ Refactored viadot-aws image
djagoda881 763e4ca
🧱 Updated `docker-compose.yml`
djagoda881 8189c41
🐛 Fixed bug in `viadot-lite.Dockerfile`
djagoda881 7bc5882
🔖 Upgraded version to `2.0.0-alpha.1`
djagoda881 030b010
👷 Updated `docker-publish.yml`
djagoda881 f4988f8
🚚 Moved `orchiestration` folder into `src/viadot`
djagoda881 39a9a26
🚚 Renamed path from `prefect-viadot-test` to `prefect-test`
djagoda881 86d006a
🔖 Bumped version to `2.0.0-alpha.2`
djagoda881 f9f79f9
♻️ Synchronized `prefect-viadot` with `orchiestration/prefect`
djagoda881 bbbdc7a
🐛 Fixed import in `test_git.py`
djagoda881 260579c
🧱 Updated `docker-compose.yml`
djagoda881 bec901b
➕ Added docs dependencies
djagoda881 53e9e18
🎨 Fixed rye formatting
djagoda881 ebdeb9e
➖ Removed duplicated dependecies
djagoda881 c74474f
🐛 Fixed mkdocs config bug
djagoda881 1de5fc5
Merge branch '2.0-new-repository-structure' of https://github.com/dyv…
Diego-H-S 24507e0
🧱 Moved images into one multistage `Dockerfile` (#932)
djagoda881 e0ec929
🔖 Bumped version to `2.0.0-alpha.3`
djagoda881 36641a0
Merge branch '2.0-new-repository-structure' of https://github.com/dyv…
Diego-H-S baec9e5
⬇️ Downgraded `requests` package
djagoda881 fad8396
🔖 Bumped to `2.0.0-alpha.4` version
djagoda881 ccb2024
🧱 Upgraded images in `docker-compose.yml`
djagoda881 ee1a0c2
Add documentation for viadot 2.0 with new repository structure (#929)
djagoda881 46861ba
Merge branch '2.0-new-repository-structure' of https://github.com/dyv…
Diego-H-S 2dda7fd
🚚 Moved `prefect_viadot` to `src/viadot/orchestration`
djagoda881 473f87b
🚚 Changes imports in prefect-viadot
djagoda881 9996ca1
⬆️ Added prefect-viadot dependencies to viadot
djagoda881 e991f7c
⬆️ Upgraded `prefect` dependencie
djagoda881 a347965
🔧 Updated `Dockerfile`
djagoda881 fd085a7
⬆️ Upgraded dependecies
djagoda881 c826c88
🔥 Depreacted `datahub.py`
djagoda881 9db8eb3
➕ Added `viadot-azure` and `viadot-aws` dependecies
djagoda881 7f185a7
🧱 Added `viadot-azure.Dockerfile`
djagoda881 3d235a3
🐛 Added import error handlig to all optional sources
djagoda881 cba0ae0
🐛 Fixed adls import
djagoda881 2feb0f4
🧱 Added `viadot-aws.Dockerfile`
djagoda881 c86a9a4
🐛 Fixed import errors in `prefect-viadot`
djagoda881 c57ad62
✅ Added prefect-viadot test and refactored viadot tests
djagoda881 8b2f0b7
🙈 Updated .gitignore file
djagoda881 471273b
➕ Added new dev dependencies
djagoda881 3b4146d
🧱 Removed not needed packages from `viadot-azure.Dockerfile`
djagoda881 d992a31
➕ Added dependecies to `pyproject.toml`
djagoda881 b2a83f8
⬆️ Upgraded `viadot-azure` packages
djagoda881 ce43343
🐛 Fixed imports in viadot integration tests
djagoda881 025b9c9
🧱 Refacroed `viadot-azure.Dockerfile`
djagoda881 d2326d1
⬆️ Upgraded aws dependecies in `pyproject.toml`
djagoda881 398c6c5
⬆️ Upgraded dependecies
djagoda881 1ae1661
🧱 Added viadot-lite image
djagoda881 1254151
♻️ Refactored viadot-aws image
djagoda881 61262fc
🧱 Updated `docker-compose.yml`
djagoda881 36960d5
🐛 Fixed bug in `viadot-lite.Dockerfile`
djagoda881 a67406b
🔖 Upgraded version to `2.0.0-alpha.1`
djagoda881 840e5b2
👷 Updated `docker-publish.yml`
djagoda881 860bdec
🚚 Moved `orchiestration` folder into `src/viadot`
djagoda881 14d9284
🚚 Renamed path from `prefect-viadot-test` to `prefect-test`
djagoda881 3f67aa6
🔖 Bumped version to `2.0.0-alpha.2`
djagoda881 b592f72
♻️ Synchronized `prefect-viadot` with `orchiestration/prefect`
djagoda881 a8a2844
🐛 Fixed import in `test_git.py`
djagoda881 e0d8e6c
🧱 Updated `docker-compose.yml`
djagoda881 0c99d9e
➕ Added docs dependencies
djagoda881 1f02e79
🎨 Fixed rye formatting
djagoda881 3f1da80
➖ Removed duplicated dependecies
djagoda881 25ef425
🧱 Moved images into one multistage `Dockerfile` (#932)
djagoda881 62d56a3
🔖 Bumped version to `2.0.0-alpha.3`
djagoda881 17f221f
⬇️ Downgraded `requests` package
djagoda881 db919fb
🔖 Bumped to `2.0.0-alpha.4` version
djagoda881 bb167ec
🧱 Upgraded images in `docker-compose.yml`
djagoda881 a50320c
Add documentation for viadot 2.0 with new repository structure (#929)
djagoda881 83ce192
✨ Added new param to `sharepoint_to_readshift_spectrum`
djagoda881 26f1fc5
✨ Added new param to `sharepoint.py`
djagoda881 e21af5b
✨ Added `basename_template` to MinIO source
b588854
✨ Added `SQLServer` source and tasks for it
2c5bf7d
✨ Added handling for `DatabaseCredentials` and `Secret` in get_creden…
c987afa
✨ Added `df_to_minio` task for prefect
783355f
Added `sql_server_to_minio` flow for prefect
e2f0fbf
✅ Added tests sql_server_to_minio
f0f4337
📝 Updated changelog with `sql_server_to_mino` and related functions
0404004
🐛 Added missing package to Dockerfile
djagoda881 beb93b2
⬆️ Upgraded `prefect` version to `2.19.7`
djagoda881 908341e
🔖 Bumped viadot version to `2.0.0-alpha.5`
djagoda881 8ce8f89
✅ Added tests
6bc3512
🎨 Updated credentials options
d4ed0d9
🔧 Updated docker setup
53e9a5a
🎨 Updated data type
f5e0870
🎨 Added contexlib for MinIO
97d640a
📝 Updated requirements.lock `s
95437e1
📝 Updates SQL Server docs
724b38e
🎨 Added whitespaces
442745b
Merge pull request #941 from dyvenia/sql_server_to_minio
djagoda881 506ca20
⬇️ Downgraded dependecies
djagoda881 75f3d1f
🔖 Bumped viadot to version `2.0.0-alpha.6`
djagoda881 8141c1c
Merge branch '2.0-new-repository-structure' of https://github.com/dyv…
Diego-H-S 25ef74a
📝 updated CHANGELOG.md
Diego-H-S ffaacf6
✨ updated Outlook connector version 1.
Diego-H-S 2f398b8
✨ updated Outlook connector version 2.
Diego-H-S a095f35
📝 updated docstrings.
Diego-H-S 128964f
✅ added outlook test file.
Diego-H-S 53f1b56
👔 updated some files to aling the rebase.
Diego-H-S ca1dc5e
📝 updated CHANGELOG.md
Diego-H-S d568c4c
✨ added Hubspot connector version 1.
Diego-H-S dee7ae8
✅ added hubspot test file.
Diego-H-S b144ef7
📝 updated docstrings.
Diego-H-S f536c00
✅ updated local lock file.
Diego-H-S 0cb3f00
🔊 updated logger in source.
Diego-H-S e8f19ec
👔 updated some files to aling the rebase.
Diego-H-S 9fd66c3
👔 updated some more files to aling the rebase.
Diego-H-S 96e23a1
📝 updated CHANGELOG.
Diego-H-S cf201a8
✨ added Mindful to __init__ files.
Diego-H-S 150e01a
✨ created new Minsful connector.
Diego-H-S 30ff4c8
🎨 updated mindful flow and task connector.
Diego-H-S 66963e2
✅ added mindful test file.
Diego-H-S e3e2bcf
📝 updated mindful docstrings.
Diego-H-S 9a2e132
⚡️ added sep parameter in adls task.
Diego-H-S 9206a8b
🔊 updated logs.
Diego-H-S e5f5cdd
📝 updated docstrings.
Diego-H-S 7ea818e
🔊 updated logger in source.
Diego-H-S bc22643
👔 updated some files to aling the rebase.
Diego-H-S 419218f
📝 update CHANGELOG.md and __init__ files.
Diego-H-S 4a0cda2
✨ added Genesys file structure version 1.
Diego-H-S 0347bf4
📝 updated rebased files.
Diego-H-S d2c3721
✨ added Genesys file structure version 2.
Diego-H-S 56c20de
✨ added Genesys file structure version 3.
Diego-H-S eaea63a
📝 adding some extra log information.
Diego-H-S 2b6c90e
✨ added Genesys file structure version 4.
Diego-H-S 7812bcf
✅ added genesys test files.
Diego-H-S dc9482e
✅ upsted genesys test file.
Diego-H-S 2d0fa75
🔊 updated logger in source.
Diego-H-S 3fbb27c
👔 updated some files to aling the rebase.
Diego-H-S 5831ac0
📝 updated docstring.
Diego-H-S 0eba969
🎨 implemented flake8 and pylint tests.
Diego-H-S eaed4b0
💄 added prints to source level.
Diego-H-S 2d57ab8
📝 updated variable names.
Diego-H-S 267c6e8
Duckdb connectors (#945)
angelika233 eeb4d8c
Delete .python_history
trymzet fb6360c
✅ updated test file.
Diego-H-S fdc83ff
🎨 updated code performance.
Diego-H-S 6a50834
✅ updated test file.
Diego-H-S 83cb1cc
c4c code checker passed and tests coverage passed
fdelgadodyvenia e819f99
🎨 updated code performance.
Diego-H-S 4cd6e2c
✅ updated test file.
Diego-H-S b182aa6
🎨 updated code performance.
Diego-H-S ac87397
✅ updated test file.
Diego-H-S 4c8542b
flows_tasks_for c4c
fdelgadodyvenia 57a6b64
✅ updated test file to reach 80% coverage.
Diego-H-S 40acc95
✏️ corrected a typo.
Diego-H-S 932b3df
✅ updated test file to reach 80% coverage.
Diego-H-S 27809b7
✅ updated test file.
Diego-H-S ebd119e
✏️ fixed a typo.
Diego-H-S 00fe031
✏️ fixed another typo.
Diego-H-S 798f542
✨ Added sap_to_parquet flow (#947)
judynah b442372
✅ updated test file to reach 80% coverage.
Diego-H-S 2cfab52
✅ updated test file.
Diego-H-S 927ac35
✅ updated test file.
Diego-H-S 054fbe3
Merge branch '2.0-new-repository-structure' into mindful_migration
Diego-H-S f06e6c4
Merge branch '2.0-new-repository-structure' into hubspot_migration
Diego-H-S c83a41d
✅ updated test file to reach 80% coverage.
Diego-H-S d4d99b6
Merge branch '2.0-new-repository-structure' into outlook_migration
Diego-H-S 30fbe16
🦺 added `return` in flow file.
Diego-H-S b898ee0
Merge branch 'outlook_migration' of https://github.com/Diego-H-S/viad…
Diego-H-S baf9440
🦺 added `return` in flow file.
Diego-H-S 9989cd9
🦺 added `return` in flow file.
Diego-H-S 26b1307
🦺 added `return` in flow file.
Diego-H-S 20b31c1
Merge branch '2.0-new-repository-structure' into genesys_migration
Diego-H-S 965f508
✅ added test integration file.
Diego-H-S b0cda1f
Merge branch 'genesys_migration' of https://github.com/Diego-H-S/viad…
Diego-H-S f505640
✅ added test integration file.
Diego-H-S 214c375
✅ added test integration file.
Diego-H-S baafabd
📝 updated credential typo.
Diego-H-S 3c71189
✅ added test integration file.
Diego-H-S d9d67f8
Merge pull request #923 from Diego-H-S/mindful_migration
fdelgadodyvenia 2130a4f
Merge branch '2.0-new-repository-structure' into hubspot_migration
fdelgadodyvenia 05d2546
Merge pull request #936 from Diego-H-S/hubspot_migration
fdelgadodyvenia 19214ab
Merge branch '2.0-new-repository-structure' into outlook_migration
fdelgadodyvenia c404979
Merge pull request #939 from Diego-H-S/outlook_migration
fdelgadodyvenia ce6dbec
Merge branch '2.0-new-repository-structure' into genesys_migration
fdelgadodyvenia e609b03
Merge pull request #934 from Diego-H-S/genesys_migration
fdelgadodyvenia ee568e9
➕ Added `duckdb` to dependecies
djagoda881 4d286c1
➕ Added `prefect-aws` dependecy
djagoda881 c65cd9c
Merge pull request #960 from dyvenia/duckdb_dependency_bug_fix
djagoda881 27535c2
🚀 Relase 2.0.0-beta.1
djagoda881 dd4878c
Merge pull request #961 from dyvenia/2.0.0-beta.1
djagoda881 e8068f9
cloud for customer improvement
fdelgadodyvenia 99faec2
recover gitignore
fdelgadodyvenia 4ff50c6
removing unuseless files
fdelgadodyvenia 029c90a
docker initial
fdelgadodyvenia 78d54fc
rollback gitignore
fdelgadodyvenia cd05bba
update ignore
fdelgadodyvenia b4fc75b
rollback gitignore
fdelgadodyvenia f667ab6
remove unuseless file
fdelgadodyvenia 22a4957
Merge pull request #962 from fdelgadodyvenia/c4c_test
fdelgadodyvenia 0c43153
Sharepoint orchestration code refactor (#950)
Rafalz13 e08fc0a
Sharepoint - multiple files logic applied to the source class (#942)
Rafalz13 3303435
✨ Added 0365 (#969)
Rafalz13 ebc1a79
Orchestration last changes (#953)
trymzet 923b95f
✨ Add GitHub release step
trymzet a37ce7b
📝 Document the new release process
trymzet 51af7d7
📌 Bump version
trymzet 5c81b74
♻️ Add last changes from other branches
trymzet 38dde53
♻️ Update some sources' test configuration to match rest of lib
trymzet fac1183
📝 Add more docs on contributing
trymzet 662ad38
📝 Update a link
trymzet 17e91a5
🐛 Update lock files, removing optional deps
trymzet f752987
Merge branch '2.0' into 2.0-new-repository-structure
trymzet 91d185d
⬆️ Update dependencies
trymzet 04912f4
🚨 Linting
trymzet c2c9d41
🐛 Add TOML support to coverage
trymzet 5b81385
✅ Fix `_cast_df()` test failing on datetimes in pandas 2.0
trymzet 090d6bc
⬆️ Run CI on Python 3.12
trymzet 1972760
➖ Remove unused `pytest-cov`
trymzet 5ecad24
⬆️ Upgrade Python version so Rye CI action uses 3.12
trymzet ee3b66e
⬆️ Upgrade Python to 3.12 in the images
trymzet bf32428
📝 Improve container env docs
trymzet 795c895
⬇️ Rollback `pyarrow` to v10.x
trymzet 51f8c2d
♻️ Use a `skip_test_on_missing_extra()` utils to simplify life
trymzet ad42983
🧑💻 Install dev dependencies in local containers
trymzet 9db5a06
🐛 Fix for broken `numpy` version
trymzet 075b333
🚧 RedshiftSpectrum source unit tests - WIP
trymzet File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,34 @@ | ||
version: "3" | ||
|
||
services: | ||
viadot_2: | ||
image: ghcr.io/dyvenia/viadot/viadot:2.0-latest | ||
container_name: viadot_2 | ||
viadot_2_lite: | ||
image: ghcr.io/dyvenia/viadot/viadot-lite:2.0.0-beta.1 | ||
container_name: viadot_2_lite | ||
volumes: | ||
# - ${HOME}/.databricks-connect:/home/viadot/.databricks-connect | ||
# - ${HOME}/.config/viadot/config.yaml:/home/viadot/.config/viadot/config.yaml | ||
- ../:/home/viadot | ||
shm_size: "4gb" | ||
command: sleep infinity | ||
restart: "unless-stopped" | ||
viadot_2_azure: | ||
image: ghcr.io/dyvenia/viadot/viadot-azure:2.0.0-beta.1 | ||
container_name: viadot_2_azure | ||
volumes: | ||
# - ${HOME}/.databricks-connect:/home/viadot/.databricks-connect | ||
# - ${HOME}/.config/viadot/config.yaml:/home/viadot/.config/viadot/config.yaml | ||
- ../:/home/viadot | ||
shm_size: "4gb" | ||
command: sleep infinity | ||
restart: "unless-stopped" | ||
viadot_2_aws: | ||
image: ghcr.io/dyvenia/viadot/viadot-aws:2.0.0-beta.1 | ||
container_name: viadot_2_aws | ||
volumes: | ||
# - ${HOME}/.databricks-connect:/home/viadot/.databricks-connect | ||
# - ${HOME}/.config/viadot/config.yaml:/home/viadot/.config/viadot/config.yaml | ||
- ../:/home/viadot | ||
shm_size: "4gb" | ||
command: sleep infinity | ||
restart: "unless-stopped" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Currently there are tree available containers to build: | ||
|
||
- `viadot-lite` - It has installed default dependencies and supports only non-cloud-specific sources. | ||
- `viadot-azure` - It has installed default and viadot-azure dependencies. Supports Azure-based sources and non-cloud-specific ones. | ||
- `viadot-aws` - It has installed default and aws-azure dependencies. Supports AWS-based sources and non-cloud-specific ones. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
### Prerequisites | ||
|
||
We assume that you have [Rye](https://rye-up.com/) installed: | ||
|
||
```console | ||
curl -sSf https://rye-up.com/get | bash | ||
``` | ||
|
||
### Installation | ||
|
||
Clone the `2.0` branch, and set up and run the environment: | ||
|
||
```console | ||
git clone https://github.com/dyvenia/viadot.git -b 2.0 && \ | ||
cd viadot && \ | ||
rye sync | ||
``` | ||
|
||
### Configuration | ||
|
||
In order to start using sources, you must configure them with required credentials. Credentials can be specified either in the viadot config file (by default, `~/.config/viadot/config.yaml`), or passed directly to each source's `credentials` parameter. | ||
|
||
You can find specific information about each source's credentials in [the documentation](../references/sources/sql_sources.md). |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was needed in the past to be able to reliably build the image on WSL, since WSL hardware clock would sometimes get out of sync and cause random issues such as this one.