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

[CLOUDEXEC-766] Add callback function. #203

Merged
merged 62 commits into from
Mar 28, 2023
Merged

[CLOUDEXEC-766] Add callback function. #203

merged 62 commits into from
Mar 28, 2023

Commits on Dec 2, 2022

  1. Fixes legacy logger

    racheldaniel committed Dec 2, 2022
    Configuration menu
    Copy the full SHA
    1c36731 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2022

  1. Configuration menu
    Copy the full SHA
    652eda7 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2022

  1. Configuration menu
    Copy the full SHA
    666e781 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f9d0c9b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ac06e11 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2023

  1. Support partial parsing (#151)

    * Support partial parsing
    
    * Updates todo
    racheldaniel authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    d63a729 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    92dd55e View commit details
    Browse the repository at this point in the history
  3. Merge branch 'feature/server-on-core-1.5' of github.com:dbt-labs/dbt-…

    …server into feature/server-on-core-1.5
    racheldaniel committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    23b23f3 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2023

  1. 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]>
    3 people authored Jan 12, 2023
    Configuration menu
    Copy the full SHA
    ef59eaa View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2023

  1. Merging latest main

    racheldaniel committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    52adba7 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2023

  1. Upgrade FastAPI version in requirements.txt and add httpx to dev-requ…

    …irements.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
    jenniferjsmmiller authored Jan 19, 2023
    Configuration menu
    Copy the full SHA
    34d3cc4 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2023

  1. 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]>
    3 people authored Jan 20, 2023
    Configuration menu
    Copy the full SHA
    479d1a4 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2023

  1. Configuration menu
    Copy the full SHA
    fc3a38e View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2023

  1. 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
    racheldaniel authored Jan 27, 2023
    Configuration menu
    Copy the full SHA
    cec0320 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2023

  1. Configuration menu
    Copy the full SHA
    b380581 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f2f5279 View commit details
    Browse the repository at this point in the history
  3. Resolves merge conflicts

    racheldaniel committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    b2a88bb View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2023

  1. Sync dbt endpoint (#161)

    * Adds sync endpoint and fixes linting
    
    * Adds test for sync dbt entry endpoint
    
    * Fixes formatting
    
    * Adds changie entry
    racheldaniel authored Feb 1, 2023
    Configuration menu
    Copy the full SHA
    b3ccc38 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2023

  1. 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]>
    jp-dbt and racheldaniel authored Feb 8, 2023
    Configuration menu
    Copy the full SHA
    11b5ff7 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2023

  1. Configuration menu
    Copy the full SHA
    4c85644 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2023

  1. 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
    racheldaniel authored Feb 15, 2023
    Configuration menu
    Copy the full SHA
    fec173e View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2023

  1. 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)
    jp-dbt authored Feb 16, 2023
    Configuration menu
    Copy the full SHA
    c90ccb9 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2023

  1. Configuration menu
    Copy the full SHA
    bd84ae0 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2023

  1. Configuration menu
    Copy the full SHA
    1945b6f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a5318f View commit details
    Browse the repository at this point in the history
  3. Fix tests. (#173)

    * Fix tests.
    
    * Fix wrong package
    
    * Remove adaptor requirements and skip tests without dependency.
    
    * Fix wrong package name
    dichenqiandbt authored Feb 23, 2023
    Configuration menu
    Copy the full SHA
    4bcba85 View commit details
    Browse the repository at this point in the history
  4. Merging latest main

    racheldaniel committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    64c7732 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2023

  1. Configuration menu
    Copy the full SHA
    90b60cd View commit details
    Browse the repository at this point in the history
  2. Update actions (#176)

    * Resolves merge conflicts
    
    * Cherry-pick gone awry
    
    * spaces
    
    * Allows images to build on PR
    racheldaniel authored Feb 27, 2023
    Configuration menu
    Copy the full SHA
    6797958 View commit details
    Browse the repository at this point in the history
  3. Removes conditional on test, tailors to branch (#181)

    * Removes conditional on test, tailors to branch
    
    * Adds changie entry
    
    * Comments out unused matrix
    racheldaniel authored Feb 27, 2023
    Configuration menu
    Copy the full SHA
    6699d43 View commit details
    Browse the repository at this point in the history
  4. fixes formatting

    racheldaniel committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    5d98ba9 View commit details
    Browse the repository at this point in the history
  5. fixes formatting

    racheldaniel committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    3f2ee12 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    831cbd2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    07a9256 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0bc0ac9 View commit details
    Browse the repository at this point in the history
  9. Fix format and nits.

    dichenqiandbt committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    57381e4 View commit details
    Browse the repository at this point in the history
  10. nits

    dichenqiandbt committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    3858bfc View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3809953 View commit details
    Browse the repository at this point in the history
  12. fix comment

    dichenqiandbt committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    586fe70 View commit details
    Browse the repository at this point in the history
  13. nits

    dichenqiandbt committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    9a49fbc View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. Configuration menu
    Copy the full SHA
    2b34dc0 View commit details
    Browse the repository at this point in the history
  2. Adds prerelease flag

    racheldaniel committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    e675fb6 View commit details
    Browse the repository at this point in the history
  3. 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.
    dichenqiandbt authored Feb 28, 2023
    Configuration menu
    Copy the full SHA
    bdd765c View commit details
    Browse the repository at this point in the history
  4. Fixes linting

    racheldaniel committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    60826ec View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b2a2a8a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7bf26df View commit details
    Browse the repository at this point in the history
  7. nit

    dichenqiandbt committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    98c523b View commit details
    Browse the repository at this point in the history
  8. nits

    dichenqiandbt committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    7d71fc6 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2023

  1. Update dbt_server/state.py

    Co-authored-by: Rachel <[email protected]>
    dichenqiandbt and racheldaniel authored Mar 1, 2023
    Configuration menu
    Copy the full SHA
    3032136 View commit details
    Browse the repository at this point in the history
  2. format

    dichenqiandbt committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    8cf4923 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9ca5b47 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. Update dbt_server/state.py

    Co-authored-by: Rachel <[email protected]>
    dichenqiandbt and racheldaniel authored Mar 2, 2023
    Configuration menu
    Copy the full SHA
    c27c93e View commit details
    Browse the repository at this point in the history
  2. Update dbt_server/state.py

    Co-authored-by: Rachel <[email protected]>
    dichenqiandbt and racheldaniel authored Mar 2, 2023
    Configuration menu
    Copy the full SHA
    2a4bfed View commit details
    Browse the repository at this point in the history
  3. Update dbt_server/state.py

    Co-authored-by: Rachel <[email protected]>
    dichenqiandbt and racheldaniel authored Mar 2, 2023
    Configuration menu
    Copy the full SHA
    6deba7f View commit details
    Browse the repository at this point in the history
  4. Update dbt_server/state.py

    Co-authored-by: Rachel <[email protected]>
    dichenqiandbt and racheldaniel authored Mar 2, 2023
    Configuration menu
    Copy the full SHA
    1c988ba View commit details
    Browse the repository at this point in the history
  5. Update dbt_server/state.py

    Co-authored-by: Rachel <[email protected]>
    dichenqiandbt and racheldaniel authored Mar 2, 2023
    Configuration menu
    Copy the full SHA
    20a1731 View commit details
    Browse the repository at this point in the history
  6. Nits

    dichenqiandbt committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    dfdf6e3 View commit details
    Browse the repository at this point in the history
  7. Format

    dichenqiandbt committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    7f96f1c View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2023

  1. Configuration menu
    Copy the full SHA
    8a9d26b View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2023

  1. Configuration menu
    Copy the full SHA
    a40354c View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2023

  1. Implement task status

    dichenqiandbt committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    2e0fb47 View commit details
    Browse the repository at this point in the history
  2. Add try

    dichenqiandbt committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    7bc7105 View commit details
    Browse the repository at this point in the history