Compare commits

...
8 Commits
5 changed files with 15 additions and 10 deletions
+7 -7
View File
@@ -18,7 +18,7 @@
"@nestjs/microservices": "^8.4.3", "@nestjs/microservices": "^8.4.3",
"@nestjs/platform-express": "^8.4.3", "@nestjs/platform-express": "^8.4.3",
"@nestjs/swagger": "^5.2.1", "@nestjs/swagger": "^5.2.1",
"@victorradael/protospack": "^1.5.5", "@victorradael/protospack": "^1.5.9",
"axios": "^0.25.0", "axios": "^0.25.0",
"dotenv": "^14.2.0", "dotenv": "^14.2.0",
"helmet": "^5.0.2", "helmet": "^5.0.2",
@@ -2344,9 +2344,9 @@
} }
}, },
"node_modules/@victorradael/protospack": { "node_modules/@victorradael/protospack": {
"version": "1.5.5", "version": "1.5.9",
"resolved": "https://registry.npmjs.org/@victorradael/protospack/-/protospack-1.5.5.tgz", "resolved": "https://registry.npmjs.org/@victorradael/protospack/-/protospack-1.5.9.tgz",
"integrity": "sha512-5yGW/EuZDY9N56CVMXJW1IrBkkv6KpalBepu0LLQvM5Y+Pr8lwY2i1p/1rlsjHo6Gk1RODKuWSXAL870jQEAdg==", "integrity": "sha512-h96qwtRftVkZ0ftsahymnxO/bwCL8/bHvllyjTuhcLLmBj0fKG6q/nz5S9cFpq8OAEljehO+luNj388mZCF7Yg==",
"dependencies": { "dependencies": {
"rxjs": "^7.5.5" "rxjs": "^7.5.5"
} }
@@ -10904,9 +10904,9 @@
} }
}, },
"@victorradael/protospack": { "@victorradael/protospack": {
"version": "1.5.5", "version": "1.5.9",
"resolved": "https://registry.npmjs.org/@victorradael/protospack/-/protospack-1.5.5.tgz", "resolved": "https://registry.npmjs.org/@victorradael/protospack/-/protospack-1.5.9.tgz",
"integrity": "sha512-5yGW/EuZDY9N56CVMXJW1IrBkkv6KpalBepu0LLQvM5Y+Pr8lwY2i1p/1rlsjHo6Gk1RODKuWSXAL870jQEAdg==", "integrity": "sha512-h96qwtRftVkZ0ftsahymnxO/bwCL8/bHvllyjTuhcLLmBj0fKG6q/nz5S9cFpq8OAEljehO+luNj388mZCF7Yg==",
"requires": { "requires": {
"rxjs": "^7.5.5" "rxjs": "^7.5.5"
} }
+1 -1
View File
@@ -30,7 +30,7 @@
"@nestjs/microservices": "^8.4.3", "@nestjs/microservices": "^8.4.3",
"@nestjs/platform-express": "^8.4.3", "@nestjs/platform-express": "^8.4.3",
"@nestjs/swagger": "^5.2.1", "@nestjs/swagger": "^5.2.1",
"@victorradael/protospack": "^1.5.5", "@victorradael/protospack": "^1.5.9",
"axios": "^0.25.0", "axios": "^0.25.0",
"dotenv": "^14.2.0", "dotenv": "^14.2.0",
"helmet": "^5.0.2", "helmet": "^5.0.2",
+1 -1
View File
@@ -182,7 +182,7 @@ export class PipelinesClientService implements OnModuleInit {
return logsPipelineResponse; return logsPipelineResponse;
} }
async getPipelineStatus(data: IIdRequest) { async getPipelineStatus(data) {
console.log('PipelinesClientService', 'GetPipelineStatus'); console.log('PipelinesClientService', 'GetPipelineStatus');
const statusPipelineResponse = await new Promise((resolve, reject) => { const statusPipelineResponse = await new Promise((resolve, reject) => {
+5
View File
@@ -60,6 +60,11 @@ class CatalogService {
const { data } = await axios.get( const { data } = await axios.get(
`${process.env.NIMBUS_BASE_URL}${customer}.${process.env.ENV}.dadosfera/api/catalog/dashboard-metabase/${id}`, `${process.env.NIMBUS_BASE_URL}${customer}.${process.env.ENV}.dadosfera/api/catalog/dashboard-metabase/${id}`,
); );
const [, path] = data.iframe_url.split('.dadosfera');
const host = `https://metabase-${body.info.customer.toLowerCase()}.dadosfera.ai`;
data.iframe_url = host + path;
return data; return data;
} }