-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixes legacy logger * Initial pass at removing legacy logging * Update log file output to use json format * Updates server logging to send events * Removes outdated comment * Support partial parsing (#151) * Support partial parsing * Updates todo * Core integration playground (#129) * possible way of intergrating all of the dbt commands * somewhat working version of a generalized framework * working version of run, a lot of refactor and better core interface needed * using some new interface * remove unused function * using state for run task * some clean up * Resolves merge conflicts (#145) * Core integration updates (#148) * Updates state_id usage * Moves task logic to StateController * removes hardcoded command * Initiates logmanager in async function * Removes old async logic and reinstates python logger for dbt-server Co-authored-by: Rachel <[email protected]> Co-authored-by: Rachel Daniel <[email protected]> * Upgrade FastAPI version in requirements.txt and add httpx to dev-requirements.txt to resolve error handling issue with underlying FastAPI dependency (#149) * Upgrade FastAPI version in requirements.txt and add httpx to dev-requirements.txt to resolve error handling issue with underlying FastAPI dependency * Add changelog entry * Accept project path in addition to state_id (#154) * possible way of intergrating all of the dbt commands * somewhat working version of a generalized framework * working version of run, a lot of refactor and better core interface needed * using some new interface * remove unused function * using state for run task * some clean up * Core integration updates (#148) * Updates state_id usage * Moves task logic to StateController * removes hardcoded command * Removes old async logic and reinstates python logger for dbt-server * Beginning logic to accept a project path * Adds project_path storing and cacheing * Removes prints and fixes caching issue * removes unused task functions * adds changie entry * removes dup code from rebase error * removes dup code from rebase error * removes dup code from rebase error * Adds tests for dbt_entry and preliminary state tests * Removes unused file * Copies minimal project to tempdir to avoid writing files Co-authored-by: Chenyu Li <[email protected]> Co-authored-by: Chenyu Li <[email protected]> * Fixes broken tests (#156) * Fix profile for async endpoint (#157) * Updates async endpoint to use set_profile_name function * Adds checkfirst flag to avoid table exists error * Fixes profile name and potential fix for sqlalchemy error * Adds profile back to command args * Fixes whitespace * Adds status endpoint * Fixes shutdown and removes middleware * Fixes response_model as called out by community member on main branch * Sync dbt endpoint (#161) * Adds sync endpoint and fixes linting * Adds test for sync dbt entry endpoint * Fixes formatting * Adds changie entry * Add task status callback (#164) * Add the requests library to the requirements * Replace each specific task update method with a generic method so that it can be called cleanly upstream * Update this class to use camel casing * Add new update task status method that sets the task status in the local DB as well as calling the callback if there is one * Accept a callback url and pass it to the async command method * Call the new update task status method where the crud methods were previously called * Move requests from the dev requirements to requirements * Return the state ID in addition to the other task fields in the async response * Remove commented out code * Specify to retry post requests since it isn't enabled by default * Update dbt_server/views.py Co-authored-by: Rachel <[email protected]> * Rename DBTCommandArgs to DbtCommandArgs * Add a change log entry --------- Co-authored-by: Rachel <[email protected]> * make server working with dbt-core main (#167) * Control server write locations (#166) * Updates db path to working dir instead of app root * Solidifies locations that the dbt-server writes to * Changes back to app root after dbt command run * Fixes comment * Accept a task ID as part of the request and, if present, use it when creating the async task. If not present, create a task ID and use it (#168) * Adds error handling for json conversion * Include all exceptions in error handling. (#169) * Fix bug of not chdir back (#175) * Fix tests. (#173) * Fix tests. * Fix wrong package * Remove adaptor requirements and skip tests without dependency. * Fix wrong package name * Update actions (#176) * Resolves merge conflicts * Cherry-pick gone awry * spaces * Allows images to build on PR * Removes conditional on test, tailors to branch (#181) * Removes conditional on test, tailors to branch * Adds changie entry * Comments out unused matrix * fixes formatting * fixes formatting * Testing installations in one line * Undoes consolidaiton to single line * Adds quotes to head installs * Adds 1.5.0b1 to github action * Adds prerelease flag * RUNTIME-733 Add smoke tests (#170) * Add smoke test and check in test dbt project jaffle shop. * nits * nits * Add changie * Update smoke test. * Start dbt-server inside smoke test. * Fix format. * Fixes linting * Removes conditionals in github actions * Removes additional branch-- to be managed separately --------- Co-authored-by: Chenyu Li <[email protected]> Co-authored-by: Jennifer Miller <[email protected]> Co-authored-by: Chenyu Li <[email protected]> Co-authored-by: jp-dbt <[email protected]> Co-authored-by: dichenqiandbt <[email protected]>
- Loading branch information
1 parent
3bbff6b
commit c9190c0
Showing
106 changed files
with
4,404 additions
and
801 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
kind: Features | ||
body: With this PR, dbt-server users/clients can pass a project path directly through | ||
/parse rather than sending a dictionary of file contents to /push. If a user does | ||
this, they can then call other endpoints such as /async/dbt and /compile without | ||
a state_id, and the server will default to using that project path. | ||
time: 2023-01-17T08:38:48.019196-06:00 | ||
custom: | ||
Author: racheldaniel | ||
Issue: "155" | ||
PR: "154" |
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,9 @@ | ||
kind: Features | ||
body: This PR adds a new synchronous endpoint, which will block and return command | ||
results rather than return a task_id. These tasks are not added to the db, and do | ||
not output logs | ||
time: 2023-01-30T16:02:07.497161-06:00 | ||
custom: | ||
Author: racheldaniel | ||
Issue: "162" | ||
PR: "161" |
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,7 @@ | ||
kind: Features | ||
body: Add new task status callback functionality to the async dbt endpoint | ||
time: 2023-02-06T12:04:26.954999-05:00 | ||
custom: | ||
Author: jp-dbt | ||
Issue: "165" | ||
PR: "164" |
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,7 @@ | ||
kind: Features | ||
body: Add smoke test. | ||
time: 2023-02-21T18:34:01.400318-08:00 | ||
custom: | ||
Author: dichenqiandbt | ||
Issue: "727" | ||
PR: "170" |
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,8 @@ | ||
kind: Under the Hood | ||
body: Upgrade FastAPI version in requirements.txt and add httpx to dev-requirements.txt | ||
to resolve error handling issue with underlying FastAPI dependency | ||
time: 2022-12-21T11:27:02.990803-08:00 | ||
custom: | ||
Author: jenniferjsmmiller | ||
Issue: "599" | ||
PR: "149" |
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,8 @@ | ||
kind: Under the Hood | ||
body: Update github actions to test by dbt branch and deploy different images based | ||
on branch (0.1.latest) | ||
time: 2023-02-22T12:47:03.781432-06:00 | ||
custom: | ||
Author: racheldaniel | ||
Issue: "172" | ||
PR: "171" |
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,7 @@ | ||
kind: Under the Hood | ||
body: Only run tests for github actions on appropriate branch | ||
time: 2023-02-27T11:39:05.03617-06:00 | ||
custom: | ||
Author: racheldaniel | ||
Issue: "182" | ||
PR: "181" |
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 |
---|---|---|
|
@@ -16,3 +16,5 @@ sql_app.db | |
/env | ||
/venv | ||
dbt-core-server-exploration/ | ||
dbt.log | ||
.DS_Store |
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,6 +1,5 @@ | ||
from sqlalchemy import Column, String | ||
from enum import Enum | ||
|
||
from .database import Base | ||
|
||
|
||
|
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
Oops, something went wrong.