Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(core): Port endpoints config (no-changelog) #10268

Merged
merged 4 commits into from
Jul 31, 2024
Merged

Conversation

ivov
Copy link
Contributor

@ivov ivov commented Jul 31, 2024

Follow-up to: #10223

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Jul 31, 2024
Copy link
Member

@netroy netroy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

Copy link
Contributor

✅ All Cypress E2E specs passed

Copy link

cypress bot commented Jul 31, 2024



Test summary

217 3 0 0Flakiness 0


Run details

Project n8n
Status Failed
Commit 3170f11
Started Aug 1, 2024 7:40 AM
Ended Aug 1, 2024 7:44 AM
Duration 04:39 💡
OS Linux Debian -
Browser Electron 118

View run in Cypress Cloud ➡️


Failures

7-workflow-actions.cy.ts Failed
1 Workflow Actions > should not save workflow twice when save is in progress
2-credentials.cy.ts Failed
1 Credentials > should correctly render required and optional credentials
26-resource-locator.cy.ts Failed
1 Resource Locator > should retrieve list options when other params throw errors

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Cloud

@ivov ivov merged commit 1608d25 into master Jul 31, 2024
27 checks passed
@ivov ivov deleted the port-endpoints-config branch July 31, 2024 15:45
MiloradFilipovic added a commit that referenced this pull request Aug 1, 2024
* master:
  refactor(core): Port endpoints config (no-changelog) (#10268)
MiloradFilipovic added a commit that referenced this pull request Aug 1, 2024
* master:
  refactor(core): Decouple workflow created, saved, deleted events from internal hooks (no-changelog) (#10264)
  fix(core): Fix oauth2 callback and add integration tests (no-changelog) (#10272)
  fix(n8n Form Trigger Node): Improve copy and a few tweaks (no-changelog) (#10243)
  fix(core): Fix expressions in webhook nodes(Form, Webhook) to access previous node's data (#10247)
  refactor(core): Port endpoints config (no-changelog) (#10268)
  feat(AWS Lambda Node): Add support for paired items (no-changelog) (#10270)
  fix: Loop node no input data shown (#10224)
  fix(core): Make OAuth1/OAuth2 callback not require auth (#10263)
  🚀 Release 1.53.0 (#10266)
  fix(core): Upgrade @n8n/vm2 to address CVE‑2023‑37466 (#10265)
  feat(Calendly Trigger Node): Add OAuth Credentials Support (#10251)
  test(core): Improve and expand log streaming tests (no-changelog) (#10261)
  refactor(editor): Migrate `WorkflowExecutionsListView.vue` to composition API (no-changelog) (#10198)
  fix(core): Restore log event `n8n.workflow.failed` (#10253)
  test(core): Stop showing JWT warning during test runs (no-changelog) (#10255)
  fix(Postgres Node): Expressions in query parameters for Postgres executeQuery operation (#10217)
  fix(editor): Fix workflow execution list scrolling after filter change (#10226)
despairblue added a commit that referenced this pull request Aug 2, 2024
Comment on lines -1006 to 1019

const webhookBaseUrl = urlBaseWebhook + config.getEnv('endpoints.webhook');
const webhookTestBaseUrl = urlBaseWebhook + config.getEnv('endpoints.webhookTest');
const webhookWaitingBaseUrl = urlBaseWebhook + config.getEnv('endpoints.webhookWaiting');
const globalConfig = Container.get(GlobalConfig);

const variables = await WorkflowHelpers.getVariables();

return {
credentialsHelper: Container.get(CredentialsHelper),
executeWorkflow,
restApiUrl: urlBaseWebhook + config.getEnv('endpoints.rest'),
restApiUrl: urlBaseWebhook + globalConfig.endpoints.rest,
instanceBaseUrl: urlBaseWebhook,
formWaitingBaseUrl,
webhookBaseUrl,
webhookWaitingBaseUrl,
webhookTestBaseUrl,
formWaitingBaseUrl: globalConfig.endpoints.formWaiting,
webhookBaseUrl: globalConfig.endpoints.webhook,
webhookWaitingBaseUrl: globalConfig.endpoints.webhookWaiting,
webhookTestBaseUrl: globalConfig.endpoints.webhookTest,
currentNodeParameters,
executionTimeoutTimestamp,
Copy link
Contributor

@michael-radency michael-radency Aug 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ivov
here is regression - paths not prefixed with baseUrl
image

@janober
Copy link
Member

janober commented Aug 7, 2024

Got released with n8n@1.54.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants