Skip to content

Fixes #37526: Expose the storage key of web analytic event data (backport 2.1 #37527) - #37532

Merged
manerow merged 1 commit into
2.1from
chore/public-web-analytics-extension-2.1
Nov 11, 2026
Merged

manerow merged 1 commit into
2.1from
chore/public-web-analytics-extension-2.1

Conversation

@manerow

@manerow manerow commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes:

Backport of #37527 to 2.1. Fixes #37526.

Makes WebAnalyticEventRepository.WEB_ANALYTICS_EVENT_DATA_EXTENSION public, so code that reads web analytic events with SQL can reference the storage key instead of copying the string. The value does not change, only its visibility.

Cherry-picked from 2bb9c8ea9ff; applied cleanly, and git patch-id --stable is identical to the original commit.

Type of change:

  • Improvement

Tests:

Backend integration tests

  • Not applicable (no backend API changes).

Local Java test run: PASSED

  • Commit: 89ae48bc5611 (base origin/2.1)
  • Finished: 2026-11-11 08:39 UTC · 1.1 min
  • Scope: focused; merge readiness is not established. Broader steps deferred: 2 (run --scope full).
Step Scope Classes Tests Failed Skipped Min Result
unit openmetadata-service (1 class) 1 2 0 0 1.1 passed

Ran WebAnalyticEventResourceTest on 2.1 as a focused regression (2 tests, 0 failures) and installed openmetadata-service 2.1.0-rc2 with the change. WebAnalyticEventResourceIT was not run locally.

UI screen recording:

Not applicable: backend-only visibility change.

Checklist:

@manerow
manerow requested a review from a team as a code owner November 11, 2026 08:40
@manerow manerow added the skip-pr-checks Bypass PR metadata validation check label Nov 11, 2026
@manerow
manerow requested review from TeddyCr and removed request for a team November 11, 2026 08:40
@gitar-bot

gitar-bot Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

Making the web-analytics storage-key constant public enables callers to depend on it, so future key changes could break them.

Makes WebAnalyticEventRepository.WEB_ANALYTICS_EVENT_DATA_EXTENSION public so SQL readers can reference the storage key instead of copying the string; the value is unchanged. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@manerow
manerow merged commit a572b8b into 2.1 Nov 11, 2026
56 checks passed
@manerow
manerow deleted the chore/public-web-analytics-extension-2.1 branch November 11, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-pr-checks Bypass PR metadata validation check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant