Skip to content

Commit

Permalink
Apply to instance: fix connection via external browser (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtseluiko authored Feb 3, 2023
1 parent b48fcbe commit e2e6191
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
8 changes: 7 additions & 1 deletion forward_engineering/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,16 @@ module.exports = {
});
},

async getExternalBrowserUrl(connectionInfo, logger, cb, app) {
const reApi = require('../reverse_engineering/api');

reApi.getExternalBrowserUrl(connectionInfo, logger, cb, app);
},

testConnection(connectionInfo, logger, callback, app) {
const reApi = require('../reverse_engineering/api');

reApi.testConnection(connectionInfo, logger, callback, app).then(callback, callback);
reApi.testConnection(connectionInfo, logger, callback, app);
},

isDropInStatements(data, logger, callback, app) {
Expand Down
9 changes: 9 additions & 0 deletions forward_engineering/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@
"container": true
},
"applyScriptToInstance": true,
"applyToInstanceSettings": {
"scenario": [{
"dependency": {
"key": "authType",
"value": "externalbrowser"
},
"value": "connectByExternalBrowser"
}]
},
"additionalOptions": [
{
"id": "applyDropStatements",
Expand Down

0 comments on commit e2e6191

Please sign in to comment.