|
1 | 1 | const _ = require('lodash');
|
2 |
| -const logInfo = require('./helpers/logInfo'); |
3 | 2 | const oracleHelper = require('./helpers/oracleHelper');
|
4 | 3 |
|
5 | 4 | module.exports = {
|
6 | 5 | async connect(connectionInfo, logger, callback, app) {
|
7 | 6 | const sshService = app.require('@hackolade/ssh-service');
|
8 |
| - logInfo('Connect to instance', connectionInfo, logger); |
9 | 7 | oracleHelper.logEnvironment(logger);
|
10 | 8 | try {
|
11 | 9 | await oracleHelper.connect(connectionInfo, sshService, message => {
|
@@ -40,7 +38,6 @@ module.exports = {
|
40 | 38 |
|
41 | 39 | async getSchemaNames(connectionInfo, logger, callback, app) {
|
42 | 40 | try {
|
43 |
| - logInfo('Get schemas', connectionInfo, logger); |
44 | 41 | await this.connect(connectionInfo, logger, () => {}, app);
|
45 | 42 | const schemas = await oracleHelper.getSchemaNames();
|
46 | 43 | logger.log('info', schemas, 'All schemas list', connectionInfo.hiddenKeys);
|
@@ -84,7 +81,6 @@ module.exports = {
|
84 | 81 | logger.log('info', { message, schema: containerName, table: entityName }, 'Retrieving schema');
|
85 | 82 | logger.progress({ message, containerName, entityName });
|
86 | 83 | };
|
87 |
| - logger.log('info', collectionsInfo, 'Retrieving schema', collectionsInfo.hiddenKeys); |
88 | 84 | progress({ message: 'Start reverse-engineering process', containerName: '', entityName: '' });
|
89 | 85 | const data = collectionsInfo.collectionData;
|
90 | 86 | const collections = data.collections;
|
|
0 commit comments