n8n/packages/cli/src
Michael Auerswald 7b49cf2a2c
feat(core): Add commands to workers to respond with current state (#7029)
This PR adds new endpoints to the REST API:
`/orchestration/worker/status` and `/orchestration/worker/id`

Currently these just trigger the return of status / ids from the workers
via the redis back channel, this still needs to be handled and passed
through to the frontend.

It also adds the eventbus to each worker, and triggers a reload of those
eventbus instances when the configuration changes on the main instances.
2023-09-07 14:44:19 +02:00
..
audit refactor: Move community package logic to service (no-changelog) (#6973) 2023-09-01 15:13:19 +02:00
auth refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
commands feat(core): Add commands to workers to respond with current state (#7029) 2023-09-07 14:44:19 +02:00
config fix(core): Add support for in-transit encryption (TLS) on Redis connections (#7047) 2023-09-05 18:18:50 +02:00
controllers feat(core): Add commands to workers to respond with current state (#7029) 2023-09-07 14:44:19 +02:00
credentials feat(core): Add list query middleware to credentials (#7041) 2023-09-04 15:00:25 +02:00
databases feat: Add workflow history repository files (no-changelog) (#7071) 2023-09-06 12:23:40 +02:00
decorators refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
environments ci: Fix prettier auto-formatting (no-changelog) (#7063) 2023-09-01 13:29:31 +02:00
eventbus feat(core): Add commands to workers to respond with current state (#7029) 2023-09-07 14:44:19 +02:00
executions ci: Fix prettier auto-formatting (no-changelog) (#7063) 2023-09-01 13:29:31 +02:00
ExternalSecrets feat: External Secrets storage for credentials (#6477) 2023-08-25 10:33:46 +02:00
Ldap refactor(core): Remove slow LDAP query and unused telemetry event (#7068) 2023-09-01 12:05:14 +02:00
license refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
Mfa ci: Fix occasionally failing MFA e2e test (no-changelog) (#7040) 2023-08-29 15:39:10 +02:00
middlewares feat(HTTP Request Node): Determine binary file name from content-disposition headers (#7032) 2023-09-06 12:38:37 +02:00
posthog refactor: Async functions don't need to explicitly return promises (no-changelog) (#6041) 2023-04-24 13:17:08 +02:00
PublicApi fix(core): Lazy-load express-openapi-validator to reduce initial memory spike (no-changelog) (#7111) 2023-09-05 14:42:14 +02:00
push fix(core): Setup websocket keep-live messages (#6866) 2023-08-28 10:26:27 +02:00
services feat(core): Add commands to workers to respond with current state (#7029) 2023-09-07 14:44:19 +02:00
sso refactor: Upgrade to Prettier 3 (no-changelog) (#6947) 2023-08-16 17:13:57 +02:00
telemetry feat: Remove PostHog event calls (#6915) 2023-08-17 11:39:32 -04:00
types refactor: Move CLI commands types to own dir (no-changelog) (#6658) 2023-07-13 10:10:08 +02:00
UserManagement feat(core): Add filtering, selection and pagination to users (#6994) 2023-08-28 16:13:17 +02:00
workflows feat: Add workflow history repository files (no-changelog) (#7071) 2023-09-06 12:23:40 +02:00
AbstractServer.ts feat(core): Add commands to workers to respond with current state (#7029) 2023-09-07 14:44:19 +02:00
ActiveExecutions.ts ci: Fix prettier auto-formatting (no-changelog) (#7063) 2023-09-01 13:29:31 +02:00
ActiveWebhooks.ts refactor(core): Delete some duplicate code between ActiveWebhooks and ActiveWorkflowRunner (no-changelog) (#6951) 2023-08-17 17:18:14 +02:00
ActiveWorkflowRunner.ts refactor(core): Move static data handling to workflow service (no-changelog) (#7104) 2023-09-05 13:42:31 +02:00
constants.ts feat: External Secrets storage for credentials (#6477) 2023-08-25 10:33:46 +02:00
CrashJournal.ts fix: Enable crash journal only in production mode (no-changelog) (#4948) 2022-12-16 15:27:49 +01:00
CredentialsHelper.ts feat: External Secrets storage for credentials (#6477) 2023-08-25 10:33:46 +02:00
CredentialsOverwrites.ts ci: Fix linting issues (no-changelog) (#6788) 2023-07-28 18:28:17 +02:00
CredentialTypes.ts fix(core): Fix credentials lazy-loading (no-changelog) (#6615) 2023-07-10 17:57:26 +02:00
curlconverter.d.ts refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
CurlConverterHelper.ts refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
Db.ts feat: Add workflow history repository files (no-changelog) (#7071) 2023-09-06 12:23:40 +02:00
ErrorReporting.ts fix(HTTP Request Node): Improve error handling for TCP socket errors when Continue On Fail is enabled (#6925) 2023-08-14 17:26:40 +02:00
ExternalHooks.ts refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
GenericHelpers.ts feat(core): Make Redis available for backend communication (#6719) 2023-08-02 12:51:25 +02:00
index.ts ci: Refactor cli tests to speed up CI (no-changelog) (#5718) 2023-03-17 17:24:05 +01:00
Interfaces.ts feat: Add workflow history repository files (no-changelog) (#7071) 2023-09-06 12:23:40 +02:00
InternalHooks.ts refactor(core): Remove slow LDAP query and unused telemetry event (#7068) 2023-09-01 12:05:14 +02:00
jest.d.ts feat(core): Security audit (#5034) 2023-01-05 13:28:40 +01:00
License.ts feat(core): Add support for floating licenses (#7090) 2023-09-04 15:56:20 +02:00
LoadNodesAndCredentials.ts refactor: Move community package logic to service (no-changelog) (#6973) 2023-09-01 15:13:19 +02:00
Logger.ts refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
NodeTypes.ts refactor: Move node i18n logic to NodeTypes (no-changelog) (#7035) 2023-08-29 10:46:24 +02:00
Queue.ts feat(core): Make Redis available for backend communication (#6719) 2023-08-02 12:51:25 +02:00
ReloadNodesAndCredentials.ts refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
requests.ts feat(core): Add commands to workers to respond with current state (#7029) 2023-09-07 14:44:19 +02:00
ResponseHelper.ts feat(core): Add MFA (#4767) 2023-08-23 22:59:16 -04:00
SecretsHelpers.ts feat: External Secrets storage for credentials (#6477) 2023-08-25 10:33:46 +02:00
Server.ts feat(core): Add commands to workers to respond with current state (#7029) 2023-09-07 14:44:19 +02:00
sse-channel.d.ts feat(core): Add support for WebSockets as an alternative to Server-Sent Events (#5443) 2023-02-10 15:02:47 +01:00
TestWebhooks.ts fix(Webhook Node): Fix URL params for webhooks (#6986) 2023-08-25 13:28:32 +02:00
utils.ts fix(core): Set up OAuth2 cred test (#6960) 2023-08-18 16:18:44 +02:00
WaitingWebhooks.ts fix(Webhook Node): Fix URL params for webhooks (#6986) 2023-08-25 13:28:32 +02:00
WaitTracker.ts refactor(core): Cache workflow ownership (#6738) 2023-07-31 11:37:09 +02:00
WebhookHelpers.ts refactor(core): Move static data handling to workflow service (no-changelog) (#7104) 2023-09-05 13:42:31 +02:00
WebhookServer.ts feat(core): Add unique id to instances (#6863) 2023-08-07 17:03:21 +02:00
WorkflowCredentials.ts refactor: Clear unused ESLint directives from BE packages (no-changelog) (#6798) 2023-07-31 11:00:48 +02:00
WorkflowExecuteAdditionalData.ts refactor(core): Move static data handling to workflow service (no-changelog) (#7104) 2023-09-05 13:42:31 +02:00
WorkflowHelpers.ts refactor(core): Move static data handling to workflow service (no-changelog) (#7104) 2023-09-05 13:42:31 +02:00
WorkflowRunner.ts refactor(core): Abstract away duplication when finding first pinned trigger (no-changelog) (#5927) 2023-08-10 15:06:16 +03:00
WorkflowRunnerProcess.ts refactor(core): Abstract away duplication when finding first pinned trigger (no-changelog) (#5927) 2023-08-10 15:06:16 +03:00