Skip to content

[ISSUE #6292] Avoid mutating divide upstream for specify-domain#6392

Draft
Federicorao wants to merge 1 commit into
apache:masterfrom
Federicorao:codex/fix-divide-specify-domain
Draft

[ISSUE #6292] Avoid mutating divide upstream for specify-domain#6392
Federicorao wants to merge 1 commit into
apache:masterfrom
Federicorao:codex/fix-divide-specify-domain

Conversation

@Federicorao

Copy link
Copy Markdown

Summary

  • derive the request domain from the specify-domain header without mutating the selected cached Upstream
  • add a DividePlugin regression test that verifies the exchange domain changes while the cached upstream URL remains unchanged

Verification

  • git diff --check
  • attempted ./mvnw -pl shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-divide -Dtest=DividePluginTest -DskipITs test, but the local shell cannot locate a Java runtime

Fixes #6292

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.

DividePlugin specify-domain

1 participant