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

dbtCloud - Add support for multi-cell region account #14029

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/dbt/actions/get-environment/get-environment.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "dbt-get-environment",
name: "Get Environment",
description: "Retrieve information about an environment. [See the documentation](https://docs.getdbt.com/dbt-cloud/api-v3#/operations/Retrieve%20Projects%20Environment)",
version: "0.0.1",
version: "0.0.2",
type: "action",
props: {
dbt,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "dbt-get-run-artifact",
name: "Get Run Artifact",
description: "Retrieve information about a run artifact. [See the documentation](https://docs.getdbt.com/dbt-cloud/api-v2#/operations/Retrieve%20Run%20Artifact)",
version: "0.0.1",
version: "0.0.2",
type: "action",
props: {
dbt,
Expand Down
2 changes: 1 addition & 1 deletion components/dbt/actions/get-run/get-run.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "dbt-get-run",
name: "Get Run",
description: "Retrieve information about a run. [See the documentation](https://docs.getdbt.com/dbt-cloud/api-v2#/operations/Retrieve%20Run)",
version: "0.0.3",
version: "0.0.4",
type: "action",
props: {
dbt,
Expand Down
2 changes: 1 addition & 1 deletion components/dbt/actions/trigger-job-run/trigger-job-run.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "dbt-trigger-job-run",
name: "Trigger Job Run",
description: "Trigger a specified job to begin running. [See the documentation](https://docs.getdbt.com/dbt-cloud/api-v2#/operations/Trigger%20Job%20Run)",
version: "0.0.3",
version: "0.0.4",
type: "action",
props: {
dbt,
Expand Down
4 changes: 3 additions & 1 deletion components/dbt/dbt.app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ export default {
},
methods: {
_baseUrl() {
return "https://cloud.getdbt.com/api";
return this.$auth.access_url
? `${this.$auth.access_url}api`
: `https://${this.$auth.region}.com/api`;
},
_headers() {
return {
Expand Down
4 changes: 2 additions & 2 deletions components/dbt/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/dbt",
"version": "0.2.0",
"version": "0.2.1",
"description": "Pipedream dbt Cloud Components",
"main": "dbt.app.mjs",
"keywords": [
Expand All @@ -13,6 +13,6 @@
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^1.5.1"
"@pipedream/platform": "^3.0.3"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "dbt-job-run-completed",
name: "Job Run Completed (Instant)",
description: "Emit new event when a job run has completed.",
version: "0.0.1",
version: "0.0.2",
type: "source",
dedupe: "unique",
methods: {
Expand Down
2 changes: 1 addition & 1 deletion components/dbt/sources/job-run-errored/job-run-errored.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "dbt-job-run-errored",
name: "Job Run Errored (Instant)",
description: "Emit new event when a job run has errored.",
version: "0.0.1",
version: "0.0.2",
type: "source",
dedupe: "unique",
methods: {
Expand Down
2 changes: 1 addition & 1 deletion components/dbt/sources/job-run-started/job-run-started.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "dbt-job-run-started",
name: "Job Run Started (Instant)",
description: "Emit new event when a job run has started.",
version: "0.0.1",
version: "0.0.2",
type: "source",
dedupe: "unique",
methods: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "dbt-new-job-run-event",
name: "New Job Run Event (Instant)",
description: "Emit new event when a job run has started, errored, or completed.",
version: "0.0.1",
version: "0.0.2",
type: "source",
dedupe: "unique",
props: {
Expand Down
106 changes: 53 additions & 53 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading