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

migrate to dbt v3 api for project endpoints #39214

Merged
merged 2 commits into from
Apr 30, 2024
Merged

Conversation

Lee-W
Copy link
Member

@Lee-W Lee-W commented Apr 24, 2024

As suggested in https://github.com/dbt-labs/dbt-cloud-openapi-spec/blob/02726f68474d69844bdf87ce267d5ba9218c171c/openapi-v2.yaml#L44, some of the dbt v2 API has been deprecated and v3 is suggested


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@Lee-W
Copy link
Member Author

Lee-W commented Apr 24, 2024

The list below shows what has been migrated to v3 API.

v2 v3
/
{account_id}/
{account_id}/projects/
{account_id}/projects/{project_id}/
{account_id}/jobs/
{account_id}/jobs/{job_id}
{account_id}/jobs/{job_id}/run/
{account_id}/runs/
{account_id}/runs/{run_id}/
{account_id}/runs/{run_id}/cancel/
{account_id}/runs/{run_id}/artifacts/
{account_id}/runs/{run_id}/artifacts/{path}

airflow/providers/dbt/cloud/hooks/dbt.py Outdated Show resolved Hide resolved
@Lee-W Lee-W changed the title migrate to dbt v3 api for "/", "{account_id}/projects/" and "{account_id}/projects/{project_id}/" migrate to dbt v3 api for project endpoints Apr 30, 2024
@Lee-W Lee-W merged commit d4bdffc into apache:main Apr 30, 2024
40 checks passed
@Lee-W Lee-W deleted the dbt-api-v3 branch April 30, 2024 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants