n8n/packages/cli/commands
Omar Ajoue 7ce7285f7a
Load credentials from the database (#1741)
* Changes to types so that credentials can be always loaded from DB

This first commit changes all return types from the execute functions
and calls to get credentials to be async so we can use await.

This is a first step as previously credentials were loaded in memory and
always available. We will now be loading them from the DB which requires
turning the whole call chain async.

* Fix updated files

* Removed unnecessary credential loading to improve performance

* Fix typo

*  Fix issue

* Updated new nodes to load credentials async

*  Remove not needed comment

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-08-20 18:57:30 +02:00
..
export Added logging to n8n (#1381) 2021-05-01 22:43:01 -05:00
import 🚨 Add Workflow testing framework (#1814) 2021-07-01 09:04:24 +02:00
list 🚨 Add Workflow testing framework (#1814) 2021-07-01 09:04:24 +02:00
update Added logging to n8n (#1381) 2021-05-01 22:43:01 -05:00
execute.ts Load credentials from the database (#1741) 2021-08-20 18:57:30 +02:00
executeBatch.ts Load credentials from the database (#1741) 2021-08-20 18:57:30 +02:00
Interfaces.d.ts Add full continue-on-fail support to all nodes (#1996) 2021-07-20 08:58:54 +02:00
start.ts Add new version notification (#1977) 2021-07-22 10:22:17 +02:00
webhook.ts Revert " Simplify config imports in cli package (#1840)" (#1931) 2021-06-23 11:20:07 +02:00
worker.ts Load credentials from the database (#1741) 2021-08-20 18:57:30 +02:00