@gooddata/fixtures
Advanced tools
Comparing version 1.7.0 to 1.8.0
@@ -9,2 +9,3 @@ // (C) 2022 GoodData Corporation | ||
const WORKSPACE_SEPARATOR = ' -- '; | ||
const API_PREFIX = '/api/v1'; | ||
const { tigerClientFactory, newAxios, setAxiosAuthorizationToken, JsonApiWorkspaceInTypeEnum } = require('@gooddata/api-client-tiger'); | ||
@@ -191,3 +192,3 @@ | ||
const sdkTiger = getTigerBackendSdk(token, host, backend); | ||
const responseResult = await sdkTiger.axios.post(`/api/actions/dataSources/${dataSourceId}/scan`, payload) | ||
const responseResult = await sdkTiger.axios.post(`${API_PREFIX}/actions/dataSources/${dataSourceId}/scan`, payload) | ||
.then((responses) => { | ||
@@ -197,3 +198,3 @@ return responses.data; | ||
await sdkTiger.axios.put(`/api/layout/dataSources/${dataSourceId}/physicalModel`, responseResult); | ||
await sdkTiger.axios.put(`${API_PREFIX}/layout/dataSources/${dataSourceId}/physicalModel`, responseResult); | ||
} | ||
@@ -200,0 +201,0 @@ |
{ | ||
"name": "@gooddata/fixtures", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"description": "", | ||
@@ -30,4 +30,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"@gooddata/api-client-bear": "^8.10.0-alpha.110", | ||
"@gooddata/api-client-tiger": "^8.10.0-alpha.110", | ||
"@gooddata/api-client-bear": "^8.10.0-alpha.124", | ||
"@gooddata/api-client-tiger": "^8.10.0-alpha.124", | ||
"@gooddata/sdk-model": "^8.10.0-alpha.124", | ||
"archiver": "2.0.0", | ||
@@ -34,0 +35,0 @@ "get-stream": "3.0.0", |
237757156
121
7968
10