Skip to content

Conversation

typotter
Copy link
Collaborator

@typotter typotter commented Mar 27, 2025

Fixes FF-4143
πŸ“œ Design Doc
πŸ‘―β€β™€οΈ PR/12588

Motivation and Context

In order to support off-boarding of customers, we have created an architecture where requests to the CDN, Edge Compute, and Event Ingestion are all routed through customer-specific subdomains (which can be blocked when customers off-board.

Description

  • Parse "enhanced" SDK tokens to extract encoded fields
  • Expanded SdkKeyDecoder and relocated it
  • revamp ApiEndpoints to inject subdomains and build event URLs
  • The baseURL param can NO LONGER equal the default URL

How has this been tested?

  • additional unit tests
  • no net new functionality to the existing codepaths; pre-existing tests work without changes

@typotter typotter changed the title wip feat: use encoded subdomain for endpoints Mar 27, 2025
@typotter typotter requested a review from petzel March 27, 2025 19:40
@typotter typotter requested a review from leoromanovsky March 28, 2025 17:47
@typotter typotter assigned typotter and leoromanovsky and unassigned typotter Mar 28, 2025
Copy link
Member

@leoromanovsky leoromanovsky left a comment

Choose a reason for hiding this comment

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

1 question about event logger init

@typotter typotter merged commit 5edebab into main Mar 28, 2025
8 checks passed
@typotter typotter deleted the typo/ff-4143 branch March 28, 2025 19:43
typotter added a commit that referenced this pull request Apr 22, 2025
* move event URL into api endpoints
* Expand, move, and rename SdkKeyDecoder to produce customer subdomain
* v4.15.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants