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

Fix #18834: Introduce new setting OpenMetadataBaseUrlConfiguration to set the server endpoint #19366

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

Siddhanttimeline
Copy link
Contributor

@Siddhanttimeline Siddhanttimeline commented Jan 15, 2025

Describe your changes:

Fixes #18834

  1. Removed OM Base URL configuration from smtpSettings.
  2. Introduced a new OpenMetadataBaseUrlConfiguration to set the server endpoint.

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

…rver endpoint and remove OpenMetadataUrl from smtpSettings.json
Copy link
Contributor

github-actions bot commented Jan 15, 2025

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 64%
64.61% (40820/63179) 40.87% (16395/40115) 44.02% (4957/11260)

@mohityadav766
Copy link
Contributor

Missing migrations @Siddhanttimeline for email settings in openmetadata_settings table

@mohityadav766
Copy link
Contributor

@Siddhanttimeline also you need to update openmetadata_test.yaml for the same

Copy link
Contributor

@mohityadav766 mohityadav766 left a comment

Choose a reason for hiding this comment

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

please check comments

@@ -383,6 +382,9 @@ email:
transportationStrategy: ${SMTP_SERVER_STRATEGY:-"SMTP_TLS"}
templates: ${TEMPLATES:-"openmetadata"}

openMetadataBaseUrlConfiguration:
Copy link
Contributor

Choose a reason for hiding this comment

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

@harshach would it make sense to create something like below
global:
serverBaseUrl: {}
other configs: {}
or we should keep it separate?
cc @Siddhanttimeline

Copy link
Collaborator

Choose a reason for hiding this comment

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

@mohityadav766 @Siddhanttimeline this shouldn't be part of server configs, we should let them configure in system settings and provide openmetadata-ops.sh to configure to help with devops automation

Copy link

Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend safe to test Add this label to run secure Github workflows on PRs To release Will cherry-pick this PR into the release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slack Entity URLs Not Working If OpenMetadata URL Is Not Set in SMTP UI
3 participants