Skip to content

Commit 338a62f

Browse files
authored
dbtCloud - Add support for multi-cell region account (#14029)
* update baseUrl * package.json * pnpm-lock.yaml
1 parent 34680f8 commit 338a62f

File tree

11 files changed

+66
-64
lines changed

11 files changed

+66
-64
lines changed

components/dbt/actions/get-environment/get-environment.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "dbt-get-environment",
55
name: "Get Environment",
66
description: "Retrieve information about an environment. [See the documentation](https://docs.getdbt.com/dbt-cloud/api-v3#/operations/Retrieve%20Projects%20Environment)",
7-
version: "0.0.1",
7+
version: "0.0.2",
88
type: "action",
99
props: {
1010
dbt,

components/dbt/actions/get-run-artifact/get-run-artifact.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "dbt-get-run-artifact",
55
name: "Get Run Artifact",
66
description: "Retrieve information about a run artifact. [See the documentation](https://docs.getdbt.com/dbt-cloud/api-v2#/operations/Retrieve%20Run%20Artifact)",
7-
version: "0.0.1",
7+
version: "0.0.2",
88
type: "action",
99
props: {
1010
dbt,

components/dbt/actions/get-run/get-run.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "dbt-get-run",
55
name: "Get Run",
66
description: "Retrieve information about a run. [See the documentation](https://docs.getdbt.com/dbt-cloud/api-v2#/operations/Retrieve%20Run)",
7-
version: "0.0.3",
7+
version: "0.0.4",
88
type: "action",
99
props: {
1010
dbt,

components/dbt/actions/trigger-job-run/trigger-job-run.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "dbt-trigger-job-run",
55
name: "Trigger Job Run",
66
description: "Trigger a specified job to begin running. [See the documentation](https://docs.getdbt.com/dbt-cloud/api-v2#/operations/Trigger%20Job%20Run)",
7-
version: "0.0.3",
7+
version: "0.0.4",
88
type: "action",
99
props: {
1010
dbt,

components/dbt/dbt.app.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@ export default {
151151
},
152152
methods: {
153153
_baseUrl() {
154-
return "https://cloud.getdbt.com/api";
154+
return this.$auth.access_url
155+
? `${this.$auth.access_url}api`
156+
: `https://${this.$auth.region}.com/api`;
155157
},
156158
_headers() {
157159
return {

components/dbt/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/dbt",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "Pipedream dbt Cloud Components",
55
"main": "dbt.app.mjs",
66
"keywords": [
@@ -13,6 +13,6 @@
1313
"access": "public"
1414
},
1515
"dependencies": {
16-
"@pipedream/platform": "^1.5.1"
16+
"@pipedream/platform": "^3.0.3"
1717
}
1818
}

components/dbt/sources/job-run-completed/job-run-completed.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "dbt-job-run-completed",
77
name: "Job Run Completed (Instant)",
88
description: "Emit new event when a job run has completed.",
9-
version: "0.0.1",
9+
version: "0.0.2",
1010
type: "source",
1111
dedupe: "unique",
1212
methods: {

components/dbt/sources/job-run-errored/job-run-errored.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "dbt-job-run-errored",
77
name: "Job Run Errored (Instant)",
88
description: "Emit new event when a job run has errored.",
9-
version: "0.0.1",
9+
version: "0.0.2",
1010
type: "source",
1111
dedupe: "unique",
1212
methods: {

components/dbt/sources/job-run-started/job-run-started.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "dbt-job-run-started",
77
name: "Job Run Started (Instant)",
88
description: "Emit new event when a job run has started.",
9-
version: "0.0.1",
9+
version: "0.0.2",
1010
type: "source",
1111
dedupe: "unique",
1212
methods: {

components/dbt/sources/new-job-run-event/new-job-run-event.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "dbt-new-job-run-event",
77
name: "New Job Run Event (Instant)",
88
description: "Emit new event when a job run has started, errored, or completed.",
9-
version: "0.0.1",
9+
version: "0.0.2",
1010
type: "source",
1111
dedupe: "unique",
1212
props: {

0 commit comments

Comments
 (0)