Skip to content
Merged
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
3 changes: 3 additions & 0 deletions forward_engineering/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ module.exports = {
callback(null, '');
},
applyToInstance(connectionInfo, logger, callback, app) {
logger.clear();
logger.log('info', connectionInfo, 'connectionInfo', connectionInfo.hiddenKeys);

applyToInstanceHelper
.applyToInstance(connectionInfo, logger, app)
.then(result => {
Expand Down
11 changes: 11 additions & 0 deletions reverse_engineering/api.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

const connectionHelper = require('./helpers/connectionHelper');
const mysqlHelper = require('./helpers/mysqlHelper');

Expand Down Expand Up @@ -28,7 +30,11 @@ module.exports = {
hiddenKeys: connectionInfo.hiddenKeys,
logger,
});

try {
logger.clear();
logger.log('info', connectionInfo, 'connectionInfo', connectionInfo.hiddenKeys);

const sshService = app.require('@hackolade/ssh-service');

const connection = await this.connect(connectionInfo, sshService);
Expand Down Expand Up @@ -60,6 +66,8 @@ module.exports = {
});

try {
logger.clear();
logger.log('info', connectionInfo, 'connectionInfo', connectionInfo.hiddenKeys);
const systemDatabases = connectionInfo.includeSystemCollection
? []
: ['information_schema', 'mysql', 'performance_schema'];
Expand Down Expand Up @@ -119,7 +127,10 @@ module.exports = {
});

try {
logger.log('info', data, 'data', data.hiddenKeys);

const sshService = app.require('@hackolade/ssh-service');

const collections = data.collectionData.collections;
const dataBaseNames = data.collectionData.dataBaseNames;
const connection = await this.connect(data, sshService);
Expand Down